*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #571221;   
  --navy-dark: #571221;   
  --white:     #FFFFFF;
  --off-white: rgba(255,255,255,0.55);  
  --text-dark: #111111;
  --font: 'Inter', sans-serif;
  --font-logo: 'Poppins', sans-serif;
  --nav-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: #ffffff;
  color: var(--text-dark);
  min-height: 100vh;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--navy);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}


.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
.nav-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  display: inline-block;
}

.nav-link:not(.active) { opacity: 0.85; }
.nav-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-link.active {
  font-weight: 700;
}


.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  padding: 4px 0;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.menu-toggle:hover {
  opacity: 0.75;
  transform: scale(1.05);
}

.mobile-nav-header {
  display: none;
}

.close-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  padding: 4px 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.close-toggle:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .menu-toggle  { display: block; }
  .nav-inner    { padding: 0 24px; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .mobile-nav-header {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    padding: 0 24px;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link {
    font-size: 35px;
    font-weight: 700;
    color: var(--off-white);
    opacity: 1;
    transition: color 0.2s ease, transform 0.2s ease;
  }
  .nav-link:not(.active) { opacity: 1; }

  .nav-link.active {
    color: var(--white);
    font-weight: 700;
  }

  .nav-link:hover {
    color: var(--white);
    transform: scale(1.04);
    opacity: 1;
  }

  .nav-links.open .nav-link {
    animation: slideUp 0.35s ease both;
  }
  .nav-links.open .nav-link:nth-of-type(1) { animation-delay: 0.05s; }
  .nav-links.open .nav-link:nth-of-type(2) { animation-delay: 0.10s; }
  .nav-links.open .nav-link:nth-of-type(3) { animation-delay: 0.15s; }
  .nav-links.open .nav-link:nth-of-type(4) { animation-delay: 0.20s; }
  .nav-links.open .nav-link:nth-of-type(5) { animation-delay: 0.25s; }
}

@media (max-width: 480px) {
  .nav-link { font-size: 29px; }
}




.footer {
  background: var(--navy);
  width: 100%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer--visible {
  opacity: 1;
  transform: translateY(0);
}


.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 60px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.2fr;
  gap: 40px 32px;
  align-items: start;
}


.footer-logo {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.75;
  color: var(--off-white);
}


.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}


.footer-nav ul,
.footer-quick ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a,
.footer-quick a {
  font-size: 15px;
  color: var(--off-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-quick a:hover {
  color: var(--white);
}


.social-icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-btn {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn img {
  width: 48px;
  height: 48px;
  display: block;
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.252);
  padding: 20px 60px;
  max-width: 100%;
}

.footer-bottom p {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--off-white);
}


@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 48px 40px 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding: 40px 24px 32px;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-bottom {
    padding: 16px 24px;
    text-align: center;
  }

  .social-icons {
    gap: 12px;
  }
}

.about-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-hero-text {
  animation: fadeInLeft 0.7s ease both;
}

.about-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-hero-title {
  font-family: var(--font);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.about-hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.about-hero-cta {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease;
}



.about-hero-image {
  animation: fadeInRight 0.7s ease 0.15s both;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.about-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}


.doctor-section {
  background: var(--navy);
  padding: 80px 0;
}

.doctor-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
}

.doctor-photo-wrap {
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 6px;
}

.doctor-info {
  color: var(--white);
}

.doctor-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.doctor-rating-star {
  font-size: 18px;
  color: var(--white);
}

.doctor-rating-text {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.04em;
}

.doctor-name {
  font-family: var(--font-logo);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.1;
}

.doctor-title {
  font-size: 15px;
  color:rgba(255, 255, 255, 0.737);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.doctor-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.799);
  margin-bottom: 40px;
  max-width: 720px;
}

.doctor-badges {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.doctor-badge {
  background-color: var(--white);
  padding: 16px 15px;
  border-radius: 4px;
  min-width: 180px;
}

.doctor-badge-label {
  font-size: 11px;
  color: var(--text-dark);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 6px;
}

.doctor-badge-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}


.why-section {
  background: #ffffff;
  padding: 96px 60px;
}

.why-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-logo);
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 64px;
  letter-spacing: -0.01em;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(32, 32, 204, 0.1);
  border-radius: 8px;
  padding: 48px 36px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(32,32,204,0.1);
}

.why-card-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.why-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.why-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.why-card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  opacity: 0.7;
}



@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


@media (max-width: 1024px) {
  .about-hero {
    padding: 100px 80px 40px;
    gap: 48px;
  }

  .about-hero-title {
    font-size: 40px;
  }

  .doctor-inner {
    grid-template-columns: 340px 1fr;
    gap: 48px;
    padding: 0 40px;
  }

  .doctor-name {
    font-size: 38px;
  }

  .why-section {
    padding: 72px 40px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 40px; 
    gap: 32px;
    text-align: center;
  }

  .about-hero-text {
    order: 2; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-hero-image {
    margin: 50px auto 0;
    order: 1; 
    width: 90%;
  }

  .about-hero-image img {
    height: auto;
    max-height: 300px;
    width: 100%;
    aspect-ratio: 16/9;
  }

  .about-hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .about-hero-desc {
    margin: 0 auto 24px;
    font-size: 16px;
  }

  .doctor-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 36px;
    text-align: center; 
  }

  .doctor-photo-wrap {
    margin: 0 auto;
    width: 100%;
    max-width: 400px; 
  }

  .doctor-photo-wrap img {
    height: 480px; 
    width: 100%;
    object-position: center top;
  }

  .doctor-rating {
    justify-content: center; 
  }

  .doctor-badges {
    justify-content: center; 
  }
  .why-section {
    padding: 60px 24px;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 400px) {
  .doctor-name {
    font-size: 32px;
  }
  .doctor-title {
    font-size: 14px;
  }
  .doctor-photo-wrap {
    height: auto; 
    max-width: 100%;
  }
  .doctor-photo-wrap img {
    height: 400px; 
  }
  .doctor-desc {
    font-size: 14px;
  }
  .doctor-badge {
    min-width: 140px; 
    padding: 12px;
  }
}
