:root {
  --blue: #18588A;
  --blue-dark: #0E4168;
  --navy: #18588A;
  --pink: #E35B95;
  --pink-light: #FFF1F7;
  --cream: #FFFFFF;
  --text: #2e3038;
  --muted: #626773;
  --white: #ffffff;
  --line: #eee1e3;
  --shadow: 0 14px 40px rgba(73, 31, 37, 0.08);
  --shadow-hover: 0 20px 50px rgba(24, 88, 138, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* TOPBAR */
.topbar {
  background: #092C48;
  color: #fff;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.topbar a {
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover {
  color: var(--pink-light);
  opacity: 1;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* LANGUAGE SWITCHER BUTTON */
.lang-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  outline: none;
}

.lang-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  transform: scale(1.04);
}

/* HEADER & NAV */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text strong {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 21px;
  color: var(--blue);
  letter-spacing: 0.4px;
  display: block;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  font-size: 14px;
  font-weight: 700;
  color: #45464e;
  position: relative;
  padding: 8px 0;
}

nav a:not(.cta):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: var(--transition);
}

nav a:not(.cta):hover:after,
nav a.active:not(.cta):after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: var(--blue);
}

.cta {
  background: var(--blue);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(24, 88, 138, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 88, 138, 0.35);
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--blue);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

.menu:hover {
  background: var(--pink-light);
}

/* HERO SECTION */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(227, 91, 149, 0.15), transparent 30%),
    radial-gradient(circle at 4% 85%, rgba(24, 88, 138, 0.08), transparent 32%),
    linear-gradient(120deg, #ffffff, #fff5f7);
  position: relative;
  padding: 60px 0;
}

.hero:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(227, 91, 149, 0.12);
  border-radius: 50%;
  right: -180px;
  top: -180px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-block;
  background: var(--pink-light);
  color: var(--blue);
  padding: 7px 16px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 17px;
  border: 1px solid rgba(227, 91, 149, 0.2);
}

h1 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  color: var(--blue-dark);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  margin-bottom: 13px;
  letter-spacing: 0.5px;
}

h1 span {
  color: var(--pink);
}

.hero h2 {
  font-size: 16px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
  gap: 8px;
}

.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 25px rgba(24, 88, 138, 0.25);
}

.primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(24, 88, 138, 0.35);
}

.secondary {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: #fff;
}

.secondary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.hero-card {
  position: relative;
  text-align: center;
}

.hero-card img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
  transition: var(--transition);
  object-fit: cover;
}

.hero-card img:hover {
  box-shadow: var(--shadow-hover);
}

.badge {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
  border: 1px solid var(--line);
  animation: float 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.badge i {
  font-size: 22px;
  color: var(--pink);
}

.badge strong {
  display: block;
  font-size: 16px;
  color: var(--blue-dark);
}

.badge.one {
  left: -15px;
  top: 35px;
}

.badge.two {
  right: -12px;
  bottom: 35px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* QUICK STATS STRIP */
.stats-strip {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 35px 0;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 13px;
  color: var(--pink-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* SECTION STYLES */
.section {
  padding: 80px 0;
}

.heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.heading small {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 6px;
}

.heading h2 {
  font-family: "Playfair Display", serif;
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 8px 0 14px;
}

.heading p {
  color: var(--muted);
  font-size: 16px;
}

/* ABOUT SECTION - ALIGNED GRID */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.doctor-profile-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.doctor-profile-card:hover {
  box-shadow: var(--shadow-hover);
}

.doctor-profile-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.doctor-card-body {
  padding: 25px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #fff5f8);
}

.doctor-card-body h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--blue-dark);
  margin-bottom: 4px;
}

.doctor-card-body p {
  color: var(--pink);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.about-content h3 {
  font-family: "Playfair Display", serif;
  color: var(--blue);
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 16px;
  line-height: 1.25;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.qualifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.qualification {
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  transition: var(--transition);
}

.qualification:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227, 91, 149, 0.1);
}

.qualification b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.qualification span {
  font-size: 12px;
  color: var(--muted);
}

/* SERVICES HORIZONTAL CAROUSEL / SCROLL */
.services {
  background: #fff8fa;
  position: relative;
}

.services-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.scroll-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.scroll-arrow-btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  transform: scale(1.08);
}

.service-scroll-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 15px 5px 25px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.service-scroll-container::-webkit-scrollbar {
  display: none;
}

.service-card-item {
  flex: 0 0 340px;
  max-width: 340px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(80, 30, 40, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(24, 88, 138, 0.3);
}

.service-img-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-item:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-icon-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--pink);
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  color: var(--blue-dark);
  font-size: 20px;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.service-body p {
  font-size: 14px;
  color: var(--muted);
  flex-grow: 1;
  margin-bottom: 18px;
  line-height: 1.6;
}

.service-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.service-link:hover {
  color: var(--pink);
  gap: 10px;
}

/* GRID VIEW FOR SERVICES PAGE */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* FEATURE SPECIALITIES SECTION */
.feature {
  padding: 85px 0;
  background: linear-gradient(110deg, var(--blue-dark), #1d3557);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.feature p {
  opacity: 0.85;
  margin-bottom: 24px;
  font-size: 16px;
}

.checks {
  display: grid;
  gap: 14px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
  font-size: 12px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 36px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat b {
  display: block;
  color: var(--blue);
  font-size: 26px;
  font-family: "Oswald", sans-serif;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

/* PROCESS SECTION */
.process {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--pink);
  box-shadow: var(--shadow);
}

.process-num {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(24, 88, 138, 0.25);
}

.process-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.process-card p {
  color: var(--muted);
  font-size: 14px;
}

/* APPOINTMENT BANNER */
.appointment {
  padding: 25px 0 80px;
}

.appointment-box {
  background: linear-gradient(110deg, var(--blue), #246B9D);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(24, 88, 138, 0.25);
}

.appointment-box:after {
  content: "+";
  position: absolute;
  right: 40px;
  top: -55px;
  font-size: 250px;
  color: rgba(255, 255, 255, 0.06);
  font-weight: 200;
  pointer-events: none;
}

.appointment-box h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.appointment-box p {
  opacity: 0.9;
  font-size: 16px;
}

.appointment-box .btn {
  background: #fff;
  color: var(--blue);
  position: relative;
  z-index: 1;
  white-space: nowrap;
  font-size: 15px;
}

.appointment-box .btn:hover {
  background: var(--pink-light);
  color: var(--pink);
  transform: scale(1.03);
}

/* CONTACT SECTION */
.contact {
  background: #fff8fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.contact-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 24px;
}

.contact-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 18px;
}

.contact-row b {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.contact-row span {
  color: var(--muted);
  font-size: 14px;
}

/* FORM STYLES */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 88, 138, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* PAGE BANNER FOR SUBPAGES */
.page-banner {
  background: linear-gradient(135deg, #061F33, var(--blue-dark));
  color: #fff;
  padding: 55px 0;
  text-align: center;
  position: relative;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.88;
}

.breadcrumb a {
  color: var(--pink-light);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* SEARCH & FILTER TABS */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* HIGH-END FOOTER STYLING */
footer {
  background: linear-gradient(135deg, #051A2C, #092C48);
  color: #ffffff;
  padding: 70px 0 25px;
  position: relative;
  border-top: 4px solid var(--pink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 45px;
  padding-bottom: 45px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  border-radius: 12px;
  border: 2px solid var(--pink-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

footer h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
}

footer h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
}

footer p, footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

footer a:hover {
  color: #ffffff;
  padding-left: 5px;
}

footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  transition: var(--transition);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.scroll-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
}

.scroll-to-top:hover {
  background: var(--blue);
  transform: translateY(-4px);
}

/* ========================================================= */
/* COMPREHENSIVE RESPONSIVE DESIGN (MOBILE & TABLET EXCELLENCE) */
/* ========================================================= */
@media (max-width: 992px) {
  .nav {
    height: 76px;
  }

  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 25px;
    flex-direction: column;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    align-items: flex-start;
    border-bottom: 4px solid var(--blue);
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
  }

  nav a.cta {
    text-align: center;
    margin-top: 12px;
    justify-content: center;
    width: 100%;
  }

  .menu {
    display: block;
  }

  .hero-grid,
  .about-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doctor-profile-card img {
    height: 340px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-item {
    flex: 0 0 310px;
    max-width: 310px;
  }

  .process-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-card {
    margin-top: 15px;
  }

  .appointment-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 8px 12px;
    gap: 6px;
  }

  .topbar .hide-mobile {
    display: none;
  }

  .nav {
    height: 70px;
  }

  nav {
    top: 70px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .footer-brand img {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 35px 0;
  }

  h1 {
    font-size: 34px;
  }

  .badge {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .heading {
    margin-bottom: 35px;
  }

  .heading h2 {
    font-size: 26px;
  }

  .about-content h3 {
    font-size: 24px;
  }

  .qualifications {
    grid-template-columns: 1fr;
  }

  .qualification {
    grid-column: span 1 !important;
  }

  .service-grid,
  .process-grid,
  .stat-grid,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .service-card-item {
    flex: 0 0 280px;
    max-width: 280px;
  }

  .services-carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .feature h2 {
    font-size: 26px;
  }

  .appointment-box {
    padding: 30px 20px;
  }

  .appointment-box h2 {
    font-size: 24px;
  }

  .copyright {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .form-group style-grid {
    grid-template-columns: 1fr !important;
  }
}
