/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1F2937;
  overflow-x: hidden;
  line-height: 1.2;
  background: linear-gradient(135deg, #FDF2F8 0%, #FFF7ED 35.36%, #EFF6FF 70.71%);
  position: relative;
}

body::after { 
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./images/body-bg.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
}
 
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER ===== */
.header {
  width: 100%;
  position: relative;
}

.header__top {
  top: 0;
  left: 0;
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 35px 50px 0 30px;
}

.header__logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__logo-img {
  width: 139px;
  height: auto;
  flex-shrink: 0;
}

.header__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header__hospital-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 4vw, 60px);
  color: #3E4095;
  line-height: 1.2;
}

.header__doctor-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.header__doctor-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 35px);
  color: #C53A75;
  line-height: 1.2;
}

.header__credentials {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 2vw, 30px);
  color: #413F66;
}

/* Language Toggle Switch */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}

.lang-toggle__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ADB1C2;
  transition: color 0.3s;
}

.lang-toggle__label--active {
  color: #473B8B;
}

.lang-toggle__track {
  width: 62px;
  height: 38px;
  background: linear-gradient( 180deg, #44AF5A 0%, #66C495 100% );
  border-radius: 50px;
  position: relative;
  transition: background 0.3s;
}

.lang-toggle__track--en {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.lang-toggle__thumb {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transform: translate(0%, -50%);
}

.lang-toggle__thumb--en {
  transform: translate(-24px, -50%);
}

.lang-toggle__flag {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.header__animals-bar {
  width: 100%;
  overflow: hidden;
  background-image: url(images/header-bg-gradiant.png);
  background-size: cover;
  background-position: center;
  height: 340px;
  display: flex; 
  align-items: end;
}

.header__animals-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.header__animals-img--mobile { 
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
 }

/* Ticker / Marquee Banner */
.header__ticker {
  background: linear-gradient(180deg, #DBEAFE 0%, #BFDBFE 100%);
  border: 2px solid #93C5FD;
  padding: 17px 0px 15px;
  white-space: nowrap;
}

.marquee-content { display: flex; align-items: center; }

marquee p {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(10px, 1.8vw, 32px);
  color: #1F2937;
  display: inline-block;
  line-height: 1;
  letter-spacing: -0.5px;
}

.header__ticker-dots {
  background-color: #000000;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.header__ticker-dots:nth-child(even) {
  margin: 0 2px;
  background-color: #01BBDE;
}

.ticker-dots { 
  display:inline-flex;
  margin-left: 11px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== MAIN CONTENT ===== */
.main {
  max-width: 1903px;
  margin: 0 auto;
  padding: 0 50px;
}

.main__grid {
  display: grid;
  padding-top: 30px;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  column-gap: 50px;
  padding-bottom: 45px;
}

/* ===== CARD BASE ===== */
.card {
  border-radius: 16px;
  position: relative;
}

.card__inner {
  height: 100%;
  position: relative;
  padding: 30px 30px 0;
}

.card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(25px, 3vw, 55px);
  color: #1F2937;
  margin-bottom: 85px;
  margin-top: 35px;
  letter-spacing: -0.5px;
}


.card__illustration img {
  max-width: 100%;
  height: auto;
}

/* ===== CARD: APPOINTMENT ===== */
.card--appointment {
  background: #FFFFFFCC;
  box-shadow: 0px 10px 15px 0px #0000001A, 0px 4px 6px 0px #0000001A;
  border: 1px solid #E5E7EB;
}

.btn-appointment {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2;
  align-self: flex-start;
  cursor: pointer;
  text-decoration: none;
  filter: drop-shadow(0 0 20px rgba(0, 187, 221, 0.35));
  transition: filter 0.2s, transform 0.2s;
  margin: auto;
}

.btn-appointment:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 30px rgba(0, 187, 221, 0.55));
}

.btn-appointment__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 144px;
  height: 144px;
  background: linear-gradient(90deg, #00BDE0 0%, #00B7D9 100%);
  border: 5px solid white;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0px 0px 40px 0px #00BBDD40;
}
.brid-img { position: relative; z-index: 3; top: 10px; left: 35px; }

.btn-appointment__pill {
  display: flex;
  align-items: center;
  height: 135px;
  background: linear-gradient(90deg, #00BDE0 0%, #00B7D9 100%);
  border: 5px solid white;
  border-radius: 100px;
  padding: 0 33px 0 83px;
  margin-left: -65px;
  box-shadow: 0px 0px 40px 0px #00BBDD;
}

.card__illustration--appointment img { padding-top: 40px; }

.btn-appointment__text {
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 2.5vw, 44px);
  color: white;
  white-space: nowrap;
}

.card__illustration--appointment {
 margin: auto;
}

.card--appointment .card__inner { display: flex; align-items: center; flex-direction: column; }

/* ===== CARD: CONTACT ===== */
.card--contact {
  background: linear-gradient(90deg, #22C55E 0%, #059669 100%);
  box-shadow: 0px 10px 15px 0px #0000001A,0px 4px 6px 0px #0000001A;
}

.card--contact .card__inner .card__contact-wrapper {
  display: flex;
  gap: 20px;
}

.card__contact-info {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 65%;
  width: 100%;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 25px;
  background: white;
  border-radius: 16px;
    padding: clamp(20px, 2vw, 40px) clamp(20px, 1vw, 55px);
  transition: transform 0.2s;
  border: 1px solid #E5E7EB;
  justify-content: center;
}

.contact-box:hover {
  transform: translateY(-2px);
}

.contact-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-box__details {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-box__label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 30px);
  color: #6B7280;
  letter-spacing: -0.5px;
  line-height: 1;
}

.contact-box__number {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 34px);
  color: #1F2937;
  letter-spacing: -0.57px;
  line-height: 1;
}

.card__illustration--cat {
  max-width: 45%;
  width: 100%;
  padding-top: 28px;
}

.card__disclaimer {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 2.5vw, 40px);
  color: white;
  line-height: 1.45;
  text-align: center;
  padding-top: 27px;
  letter-spacing: -0.5px;
}

.card--contact .card__inner { padding: 90px 30px 60px; }

/* ===== CARD: OPD TIMINGS ===== */
.card--opd {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 10px 15px rgba(0,0,0,0.1);
  border: 1px solid #E5E7EB;
  padding-bottom: 20px;
}

.opd-schedule {
  display: flex;
  flex-direction: column;
  gap: 70px;
  position: relative;
  z-index: 1;
}

.opd-schedule__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.opd-schedule__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
}

.opd-schedule__icon--morning {
  background: #FACC15;
}

.opd-schedule__icon--evening {
  background: #6366F1;
}

.opd-schedule__details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.opd-schedule__period {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.5vw, 40px);
  color: #1F2937;
  letter-spacing: -0.5px;
}

.opd-schedule__time {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 32px);
  color: #4B5563;
  letter-spacing: -0.5px;
}

.card__illustration--opd img {
  max-width: clamp(300px, 30vw, 565px);
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-top: -200px;
}

/* ===== CARD: MAP & ADDRESS ===== */
.card--map {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0px 10px 15px 0px #0000001A, 0px 4px 6px 0px #0000001A;
  border: 1px solid #E5E7EB;
}

.card--map .card__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.map-container {
  position: relative;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.map-container__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.address-card {
  background: linear-gradient(135deg, #F0FDFA 0%, #ECFEFF 70.71%);
  border: 2px solid #99F6E4;
  border-radius: 16px;
  padding: 26px 26px 34px;
  margin: 0 48px; position: absolute; bottom: 27px; width: calc(100% - 96px);
}

.address-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.address-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #14B8A6;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}

.address-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 40px);
  color: #1F2937;
  letter-spacing: -0.5px;
}

.address-card__text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.5vw, 28px);
  color: #374151;
  margin-bottom: 37px;
  padding-left: 76px;
  line-height: 1.321;
  letter-spacing: -0.5px;
}

.address-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  background: linear-gradient(90deg, #14B8A6 0%, #06B6D4 100%);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 20px);
  padding: 12px 20px;
  border-radius: 12px;
  transition: opacity 0.2s;
  letter-spacing: -0.5px;
}

.address-card__btn:hover {
  opacity: 0.9;
}

.perrot-image { position: absolute; right: 0; top: 37px; max-width: 180px; }

/* ===== FOOTER ===== */
.footer {
  width: 100%;
  position: relative;
}

.footer__illustration {
  width: 100%;
  line-height: 0;
}

.footer__illustration img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.footer__copyright {
  text-align: center;
  padding: 6px 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.footer__copyright p {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(10px, 2vw, 20px);
  color: white;
  letter-spacing: -0.5px;
}

.mobile-footer-bg { display: none; }

@media (max-width: 1500px) {
  .header__logo-img { width: 80px; }

  .main { padding: 0 15px; }
}

@media (max-width: 1440px) {
  .btn-appointment__pill { height: 90px; }
  .btn-appointment__icon { height: 110px; width: 110px; }
  .btn-appointment__icon img { width: 50px; }
  .brid-img { top: 20px; max-width: 230px; }
  .contact-box__icon img { width: 48px; }
  .card__contact-info { gap: 20px; }

  .opd-schedule__icon { width: 65px; height: 65px; } 
  .opd-schedule__icon img { max-width: 25px; }
  
  .perrot-image { max-width: 120px; }
  .address-card { width: calc(100% - 30px); margin: 0 16px; }
  .map-container iframe { height: 280px; }

  .card__illustration--opd img { max-width: 300px; padding-top: 80px; }

  .opd-schedule { gap: 30px; }
}

@media (max-width: 1199px) {
  .header__animals-bar { height: 250px; }
  .header__top { padding: 20px 20px 0 20px; }

  .contact-box__icon img { width: 36px; }
  .card__illustration--cat { max-width: 150px; }

  .card__illustration--opd img { padding-top: 170px; }

  .card__title { margin-bottom: 37px; margin-top: 10px; }

  .address-card__text br { display: none; }
}

@media (max-width: 991px) {
  .header__animals-bar { height: 220px; }
  .main__grid { gap: 35px; }
    .btn-appointment {
    margin: 0 auto;
  }

  .card__illustration--cat { margin: auto; }
  .opd-schedule__icon { width: 48px; height: 48px; }
  .perrot-image { max-width: 72px; }
  .card__illustration--opd img { max-width: 220px; }

  .address-card__icon { width: 42px; height: 37px; border-radius: 5px; } 
  .address-card__icon img { height: 22px; } 
  .address-card { padding: 15px 25px 10px; } 
  .address-card__text { padding-left: 62px; margin-bottom: 16px; line-height: 1.643; }

  .btn-appointment__icon {
    width: 55px;
    height: 55px;
    border-width: 2px;
    box-shadow: 0px 0px 8px 0px #00BBDD;

  }

  .brid-img {
    max-width: 120px;
    top: 0px;
    left: 10px;
  }

  .btn-appointment__pill {
    height: 52px;
    padding: 0 12px 0 32px;
    margin-left: -30px;
    border-width: 2px;
  }

  .btn-appointment__icon img { width: 30px; }
  .card--contact .card__inner,
  .card--appointment .card__inner { padding: 20px; }
  .card__disclaimer { padding-top: 20px; }
  .card__contact-info { max-width: none; }

  .card--contact .card__inner .card__contact-wrapper { flex-direction: column; }
}

/* ===== RESPONSIVE: MOBILE (<767px) ===== */
@media (max-width: 767px) {
  .header__animals-img { display: none; }
  .header__animals-img--mobile { display: block; }
  .header__animals-bar { background-image: url('images/mobile-header-bg-gradiant.png'); height: 150px; }

  .card--contact .card__inner .card__contact-wrapper { flex-direction: row; }
  .card__illustration--appointment img { display: none; }

  .btn-appointment__pill { box-shadow: 0px 0px 8px 0px #00BBDD; }
  .main__grid { grid-template-columns: 1fr; }

  .card__illustration--opd img { display: none; }

  .opd-schedule__details { gap: 11px; }
  
  .card--appointment { order: 1; }
  .card--opd { order: 2; }
  .card--contact { order: 3; }
  .card--map { order: 4; }

  .header__top {
    padding: 15px 10px 0;
  }

  .header__logo-img {
    width: 45px;
  }

  .header__hospital-name {
    font-size: 17px;
  }

  .header__doctor-name {
    font-size: 12px;
  }

  .header__credentials {
    font-size: 9px;
  }

  .header__logo-area { 
    gap: 8px;
  }

  .header__doctor-info {
    gap: 1px;
  }
  .lang-toggle__label {
    font-size: 0.75rem;
  }

  .lang-toggle__track {
    width: 28px;
    height: 18px;
    border-radius: 12px;
  }

  .lang-toggle__thumb {
    width: 22px;
    height: 22px;
  }

  .lang-toggle__thumb--en {
    transform: translate(-7px, -50%)
  }

  .lang-toggle{
    gap: 6px;
    padding-top: 7px;
  }

  .lang-toggle__flag {
    width: 13px;
    height: 13px;
  }

  .header__ticker {
    padding: 5px 0px 5px
  }
  .lang-toggle__thumb {
    width: fit-content;
    height: fit-content;
  }

  .header__ticker-dots {
    width: 3px;
    height: 3px;
  }

  .ticker-dots {
    margin-left: 3px;
  }

  .header__ticker-dots:nth-child(even) {
    margin: 0 1px;
  }

  .header__ticker-text {
    font-size: 10px;
  }

  /* Mobile card order matches mobile design */


  .card__inner {
    padding: 20px;
  }

  .card--contact .card__inner {
    padding: 20px 20px 16px;
  }

  .card__illustration--appointment {
    display: none;
  }

  .card--contact {
    min-height: auto;
  }

  .contact-box {
    padding: 15px 20px;
    gap: 20px;
  }

  .contact-box__icon svg {
    width: 28px;
    height: 28px;
  }

  .card__illustration--cat {
    max-width: 110px;
  }

 .address-card { margin-bottom: -145px; bottom: 0; }
 .card--map { padding-bottom: 60px; }
 .map-container iframe { height: 220px; }
 .address-card__header { margin-bottom: 0; }
 .address-card__btn { gap: 6px; padding: 8px 20px; }
 .address-card__btn img { height: 16px; }
 .footer { padding-top: 75px; }
 .footer-bg { display: none; }
 .mobile-footer-bg { display: block; }
 body::after { background-image: url('./images/mobile-body-bg.png'); }
}

/* ===== RESPONSIVE: TABLET (768px - 1200px) ===== */
@media (min-width: 768px) and (max-width: 1199px) {

  .header__logo-img {
    width: 55px;
  }

}

@media (max-width: 460px) {
  .contact-box { justify-content: start; }
}

@media (max-width: 410px) {
  .header__logo-img { width: 40px; } 
  .header__hospital-name { font-size: 15px; }
  .contact-box__number,
  marquee p,
  .footer__copyright p { font-size: 16px; } 
  .contact-box__icon img { width: 30px; } 
  .contact-box { padding: 15px; gap: 15px; } 
  .card__illustration--cat { max-width: 90px; }
  .address-card { padding: 15px; }
  .address-card__text { padding-top: 10px; }
  .header__ticker { padding: 10px 0px 5px; }
}