:root {
  --primary-color: var(--primary);
  --accent-color: #ffd700;
  --bg-color: var(--bg);
  --text-color: var(--text);
  --bg: #f6fbff;
  --text: #123047;
  --muted: #5f7688;
  --primary: #0f7bbd;
  --primary-dark: #0a5f92;
  --white: #ffffff;
  --card: #eef6fb;
  --border: #d8e7f2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: #0d334e;
  color: #d9ebf7;
  font-size: 0.9rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--primary-dark);
}

.page-hero {
  background: linear-gradient(180deg, #f6fbff 0%, #edf7ff 100%);
  padding: 2.6rem 0 2.2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--white);
  max-width: 760px;
  opacity: 0.9;
  margin: 0 auto;
}

.info-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.treatment-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.treatment-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.treatment-list a {
  color: #1f4359;
  font-weight: 500;
}

.service-steps {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.service-steps li {
  color: #284c63;
}

.mvv-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mvv-card {
  border-radius: 10px;
  padding: 1rem;
  color: #ffffff;
}

.mvv-card h3 {
  margin-bottom: 0.7rem;
}

.mvv-card p {
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.mvv-mission {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.mvv-vision {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.mvv-values {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.3rem;
  font-weight: 500;
  color: #29495f;
}

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  font: inherit;
  color: inherit;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(18, 48, 71, 0.14);
  z-index: 60;
  padding: 0.4rem 0;
}

.dropdown-menu a {
  display: block;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
}

.dropdown-menu a:hover {
  background: #eef6fb;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.78rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}

.btn-sm {
  padding: 0.58rem 1rem;
}

.btn-secondary {
  background: var(--card);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.hero {
  background: linear-gradient(135deg, #f6fbff 0%, #ecf6ff 100%);
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.tag,
.section-label {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

h1 {
  font-size: clamp(1.9rem, 4.1vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.stats div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  min-width: 140px;
}

.stats strong {
  display: block;
  font-size: 1.15rem;
}

.stats span {
  font-size: 0.86rem;
  color: var(--muted);
}

.section {
  padding: 4rem 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.check-list,
.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.check-list li,
.contact-list li {
  margin-bottom: 0.55rem;
  color: #2f5269;
}

.achievements {
  background: #ffffff;
}

.achievements-intro {
  color: var(--muted);
}

.achievements-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.achievement-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.6rem;
}

.achievement-card img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  background: var(--bg);
}

.section-intro {
  color: var(--muted);
  font-size: 1rem;
  max-width: 700px;
  margin-top: 0.7rem;
  line-height: 1.6;
}

.service-grid,
.doctor-grid,
.testimonial-grid,
.gallery-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid a {
  display: block;
  color: inherit;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(15, 123, 189, 0.15);
}

.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  margin: 1.2rem 0 0.7rem;
  padding: 0 1.3rem;
  color: var(--text);
  font-size: 1.15rem;
}

.service-card p {
  color: var(--muted);
  padding: 0 1.3rem 1.3rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.card,
.quote,
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
}

.card h3,
.doctor-card h3 {
  margin-bottom: 0.45rem;
}

.card p,
.quote p,
.doctor-card p {
  color: var(--muted);
}

.doctors {
  background: #fcfeff;
}

.doctor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}

.doctor-image {
  flex-shrink: 0;
}

.doctor-image img {
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
}

.doctor-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.doctor-info .credentials {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.doctor-info p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.doctor-info p strong {
  color: var(--text);
}

.doctor-card img {
  height: 250px;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.testimonials {
  background: var(--bg);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote h4 {
  margin-top: 0.7rem;
  color: #1f4359;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid img {
  height: 190px;
  object-fit: cover;
}

.contact {
  background: linear-gradient(180deg, #f8fcff 0%, #eff7ff 100%);
}

.appointment-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.94rem;
  font-weight: 500;
}

input,
select,
textarea {
  border: 1px solid #c8ddea;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-message {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.footer {
  background: #0d334e;
  color: #d4e8f5;
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .doctor-grid,
  .testimonial-grid,
  .achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .treatment-list,
  .mvv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 4vw;
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-trigger {
    width: 100%;
    text-align: left;
    padding: 0;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    max-height: 210px;
    border-radius: 8px;
    margin-top: 0.45rem;
    box-shadow: none;
  }

  .nav-links.active {
    display: flex;
  }

  .btn-sm {
    display: none;
  }

  .topbar-inner,
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .service-grid,
  .doctor-grid,
  .doctor-detail-grid,
  .testimonial-grid,
  .gallery-grid,
  .info-grid,
  .treatment-list,
  .achievements-grid,
  .mvv-grid {
    grid-template-columns: 1fr;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 48px;
  width: auto;
}


/* Before & After Results Section */
.results {
  background: linear-gradient(180deg, #fef5f2 0%, #fdece5 100%);
}

.results h2 {
  text-align: center;
  color: #b94e2b;
  margin-bottom: 2rem;
}

.results-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.result-tab {
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-family: inherit;
}

.result-tab:hover,
.result-tab.active {
  color: #d16b40;
  border-bottom-color: #f6ad55;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

.result-item {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  background: #fff;
}

.result-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


 . s t e p - c a r d   { 
     b a c k g r o u n d :   w h i t e ; 
     p a d d i n g :   2 r e m ; 
     b o r d e r - r a d i u s :   1 2 p x ; 
     b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 0 , 0 , 0 , 0 . 0 5 ) ; 
     p o s i t i o n :   r e l a t i v e ; 
     b o r d e r - t o p :   4 p x   s o l i d   v a r ( - - p r i m a r y - c o l o r ) ; 
     t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ; 
 } 
 
 . s t e p - c a r d : h o v e r   { 
     t r a n s f o r m :   t r a n s l a t e Y ( - 5 p x ) ; 
 } 
 
 . s t e p - n u m b e r   { 
     b a c k g r o u n d :   v a r ( - - a c c e n t - c o l o r ) ; 
     c o l o r :   w h i t e ; 
     w i d t h :   4 0 p x ; 
     h e i g h t :   4 0 p x ; 
     b o r d e r - r a d i u s :   5 0 % ; 
     d i s p l a y :   f l e x ; 
     a l i g n - i t e m s :   c e n t e r ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     f o n t - w e i g h t :   b o l d ; 
     f o n t - s i z e :   1 . 2 r e m ; 
     p o s i t i o n :   a b s o l u t e ; 
     t o p :   - 2 0 p x ; 
     l e f t :   2 r e m ; 
     b o r d e r :   3 p x   s o l i d   v a r ( - - b g - c o l o r ) ; 
 } 
 
 
 

.step-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
  border-top: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
  margin-top: 1.5rem;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  background: var(--accent-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  top: -20px;
  left: 2rem;
  border: 3px solid #f9fafb;
}
