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

:root {
  --navy: #101f4b;
  --blue: #2952e3;
  --blue-light: #4fa3e3;
  --sky: #eaf3ff;
  --text-dark: #1c1c2b;
  --text-gray: #6b7280;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: 0.25s ease;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); color:var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.full-width { width: 100%; }

.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 650px; margin:  auto 50px; }
.section-header h2 { font-size: 32px; margin-bottom: 12px; }
.section-header span { color: var(--blue); }
.section-header p { color: var(--text-gray); }

/* ================= TOPBAR ================= */
.topbar { 
  background: var(--navy); 
  color: #cfd8f5; 
  font-size: 13.5px; 
  padding: 8px 0; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 20px;
}

/* Left Side Content & Link */
.topbar-left { 
  display: flex; 
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-promo-text {
  color: #cfd8f5;
  font-weight: 400;
}

/* Get Licensed Link Styling */
.topbar-link-btn {
  color: var(--white);
  background: var(--blue, #101f4b);
  padding: 3px 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.topbar-link-btn i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.topbar-link-btn:hover {
  background: var(--blue-light, #1e40af);
  color: var(--white);
  border-color: transparent;
}

.topbar-link-btn:hover i {
  transform: translateX(3px);
}

/* Right Side Contact Links */
.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfd8f5;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.topbar-contact:hover {
  color: var(--white);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
  .topbar-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .topbar-left, 
  .topbar-right {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .topbar-promo-text {
    font-size: 12.5px;
  }
  .topbar-right {
    flex-direction: column;
    gap: 6px;
  }
}

/* ================= HEADER ================= */
.main-header { 
  background: var(--white); 
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
  position: sticky; 
  top: 0; 
  z-index: 100; 
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 10px 20px; 
  gap: 15px;
}

/* ================= RESPONSIVE LOGO ================= */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

/* ================= MAIN NAV ================= */
.main-nav { 
  display: flex; 
  gap: 28px; 
  align-items: center; 
}
.main-nav > a, 
.nav-dropdown > .dropdown-toggle { 
  font-weight: 500; 
  color: var(--text-dark); 
  padding: 8px 0; 
  position: relative; 
  cursor: pointer; 
  transition: color 0.3s ease; 
  font-size: 15px;
  white-space: nowrap;
}
.main-nav > a:hover, 
.nav-dropdown > .dropdown-toggle:hover { 
  color: var(--blue); 
}

.main-nav > a::after,
.nav-dropdown > .dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.main-nav > a:hover::after,
.nav-dropdown:hover > .dropdown-toggle::after {
  width: 100%;
}

.mobile-cta { display: none; }

/* ================= DROPDOWN ================= */
.nav-dropdown { position: relative; }

.nav-dropdown > .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown .dropdown-toggle i {
  font-size: 10px;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 250px;
  box-shadow: 0 20px 40px rgba(16, 31, 75, 0.12);
  border-radius: 10px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #f0f0f0;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--white);
  border-left: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li { list-style: none; }

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-menu li a i {
  color: var(--blue-light);
  font-size: 15px;
  width: 20px;
  text-align: center;
  transition: color 0.3s ease;
}

.dropdown-menu li a:hover {
  color: var(--blue);
  background: var(--sky);
  padding-left: 26px;
}
.dropdown-menu li a:hover i { color: var(--blue); }

.dropdown-menu li + li { border-top: 1px solid #f5f5f5; }

/* ================= NAV TOGGLE (Hamburger) ================= */
.nav-toggle { 
  display: none; 
  flex-direction: column; 
  gap: 5px; 
  background: none; 
  border: none; 
  cursor: pointer; 
  padding: 8px;
  z-index: 300;
  position: relative;
}
.nav-toggle span { 
  width: 28px; 
  height: 3px; 
  background: var(--navy); 
  border-radius: 3px; 
  transition: all 0.3s ease;
  display: block;
}

/* X animation */
.nav-toggle.active {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 300;
}
.nav-toggle.active span {
  background: var(--navy);
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.header-cta { white-space: nowrap; }

/* ================= NAV OVERLAY ================= */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: #eaf3ff;
  margin-bottom: 32px;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}



/* ================= INTRO / ABOUT + FORM SECTION ================= */
.intro-section { padding: 80px 0; }
.intro-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 50px; align-items: start; }
.intro-grid h2 { font-size: 30px; margin-bottom: 20px; }
.intro-grid h2 span { color: var(--blue); }
.intro-grid p { color: var(--text-gray); margin-bottom: 16px; }

.appointment-form-box {
  background: var(--navy);
  color: var(--white);
  padding: 35px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.appointment-form-box h3 { margin-bottom: 20px; font-size: 20px; text-align: center; }
.form-row { margin-bottom: 14px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
  color: var(--text-dark);
}
.appointment-form textarea { resize: vertical; }

.form-alert { padding: 12px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.form-alert.success { background: #d1fae5; color: #065f46; }
.form-alert.error { background: #fee2e2; color: #991b1b; }

/* ================= SERVICE TABS SECTION ================= */
.service-tabs-section {
  padding: 80px 0;
  background: #eaeaea;
}
.service-tabs-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}
.service-tabs-menu {
  display: flex;
  flex-direction: column;
}
.tab-btn {
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  font-family: inherit;
}
.tab-btn i {
  color: var(--blue-light);
  font-size: 18px;
  width: 20px;
  text-align: center;
}
.tab-btn:hover, .tab-btn.active {
  background: #f8fbff;
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 10px rgba(41, 82, 227, 0.08);
}
.tab-btn.active i { color: var(--blue); }

.tab-pane { display: none; animation: fadeIn 0.4s ease-in-out; }
.tab-pane.active { display: block; }

.tab-pane-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--text-gray);
  background: #fafafa;
}
.feature-list li i { color: var(--blue); margin-top: 3px; }

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

/* ================= CTA BANNER ================= */
.cta-banner {
   background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 30px; margin-bottom: 12px; }
.cta-banner p { margin-bottom: 24px; color: #eaf3ff; }

/* ================= SPLIT SECTION ================= */
.split-section { padding: 80px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-grid h2 { font-size: 28px; margin-bottom: 16px; }
.split-grid h2 span { color: var(--blue); }
.split-grid ul { margin: 18px 0; }
.split-grid ul li { margin-bottom: 10px; color: var(--text-gray); padding-left: 22px; position: relative; }
.split-grid ul li::before { content: "✓"; color: var(--blue); position: absolute; left: 0; font-weight: 700; }
.split-actions { display: flex; gap: 15px; margin-top: 10px; flex-wrap: wrap; }

/* ================= BLOG SECTION (EXACT MATCH DESIGN 2) ================= */
.blog-section { 
  background-color: #f8fafc; 
  padding: 70px 0;
}

.blog-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px; 
}

/* Card Outer Container */
.blog-card { 
  background: #ffffff; 
  border-radius: 8px; 
  overflow: hidden; 
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); 
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(16, 31, 75, 0.09);
  border-color: #cbd5e1;
}

/* Image Container */
.blog-card-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.blog-card-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: fit; 
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

/* Body Styling */
.blog-card-body { 
  padding: 24px; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Meta Data */
.blog-meta { 
  font-size: 13px; 
  color: #64748b; 
  margin-bottom: 12px; 
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.blog-meta i {
  color: var(--blue, #101f4b);
  font-size: 13px;
}

/* Title & Links */
.blog-title { 
  font-size: 18px; 
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px; 
}

.blog-title a {
  color: var(--navy, #101f4b);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title a {
  color: var(--blue-light, #1e40af);
}

/* Description Paragraph */
.blog-desc { 
  color: #64748b; 
  font-size: 14px; 
  line-height: 1.6;
  margin-bottom: 20px; 
  flex-grow: 1;
}

/* ================= DIVIDER & FOOTER (IMAGE 2 EXACT) ================= */
.blog-card-footer {
  border-top: 1px solid #e2e8f0; /* Divider Line */
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left Side Read More Link */
.blog-card a.read-more { 
  color: var(--blue-light, #1e40af); 
  font-weight: 600; 
  font-size: 14px; 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.blog-card a.read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.blog-card a.read-more:hover {
  color: var(--navy, #101f4b);
}

.blog-card:hover a.read-more i {
  transform: translateX(4px);
}

/* Right Side Social Links */
.blog-social-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-social-share a {
  color: #94a3b8;
  font-size: 13px;
  transition: color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.blog-social-share a:hover {
  color: var(--navy, #101f4b);
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .blog-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .blog-section {
    padding: 40px 0;
  }
  .blog-grid { 
    grid-template-columns: 1fr; 
  }
  .blog-card-img {
    height: 160px;
  }
}

/* ================= FAQ ================= */
.faq-section { padding: 80px 0; }
.faq-item {
  background: var(--sky);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  color: var(--text-gray);
  font-size: 14px;
}
.faq-item.active .faq-answer { max-height: 200px; padding: 0 22px 18px; }

/* ================= TESTIMONIALS ================= */
.testimonial-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 40px; }
.testimonial-card {
  background: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}
.testimonial-card img { width: 55px; height: 55px; border-radius: 50%; margin: 0 auto 14px; }
.testimonial-card p { font-size: 14px; margin-bottom: 14px; color: #eaf3ff; }
.testimonial-card h4 { font-size: 15px; }

/* ================= PAGE HEADER ================= */
.page-header {
  background: linear-gradient(rgba(16,31,75,0.85), rgba(16,31,75,0.85)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.page-header h1 { font-size: 34px; margin-bottom: 8px; }
.breadcrumb { color: #cfd8f5; font-size: 14px; }
.breadcrumb a { color: var(--white); }

/* ================= FOOTER ================= */
.site-footer { background: var(--navy); color: #cfd8f5; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 40px; }
.footer-logo { font-size: 20px; margin-bottom: 14px; display: inline-block; }
.footer-col p { font-size: 14px; margin-top: 10px; color: #aab4d6; }
.footer-col h4 { margin-bottom: 16px; font-size: 16px; color: var(--white); }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a:hover { color: var(--white); }
.contact-list li { color: #aab4d6; }
.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons a { background: rgba(255,255,255,0.1); padding: 8px 12px; border-radius: 6px; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; font-size: 13px; color: #aab4d6; }

/* ================= CONTACT PAGE ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info-item .icon { font-size: 22px; }
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { color: var(--text-gray); font-size: 14px; }

/* ================= LIVE VALIDATION ================= */
.field-wrap { display: flex; flex-direction: column; }
.appointment-form input.invalid,
.appointment-form select.invalid,
.appointment-form textarea.invalid {
  border: 2px solid #e74c3c;
  background: #fff5f5;
}
.error-message {
  color: #ffb3b3;
  font-size: 12px;
  margin-top: 4px;
  min-height: 14px;
  display: block;
}

/* ================= RESPONSIVE BREAKPOINTS ==================== */

/* ----------- max-width: 1024px ----------- */
@media (max-width: 1024px) {
  .logo-img {
    height: 65px;
  }
  .main-nav {
    gap: 18px;
  }
  .main-nav > a, 
  .nav-dropdown > .dropdown-toggle {
    font-size: 14px;
  }
  .header-cta {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* ----------- max-width: 991px ----------- */
@media (max-width: 991px) {
  .intro-grid,
  .split-grid,
  .contact-grid { grid-template-columns: 1fr; }
  
  .services-grid,
  .blog-grid,
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .hero h1 { font-size: 34px; }
  
  .service-tabs-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-tabs-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
  }
  .tab-btn {
    white-space: nowrap;
    margin-bottom: 0;
    margin-right: 12px;
    flex-shrink: 0;
  }
}

/* ----------- max-width: 768px (MOBILE NAV) ----------- */
@media (max-width: 768px) {
  /* Hide Topbar on Mobile */
  .topbar { display: none; }
  
  /* Logo */
  .logo-img { height: 60px; }
  
  /* Header */
  .header-inner { padding: 10px 15px; }
  
  /* Show Hamburger */
  .nav-toggle { display: flex; }
  
  /* Hide Desktop CTA */
  .header-cta { display: none; }
  
  /* Mobile Navigation Slide-in */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 75px 25px 30px;
    gap: 0;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 250;
  }
  .main-nav.open { 
    right: 0;
  }
  
  /* Nav Links Mobile */
  .main-nav > a,
  .nav-dropdown > .dropdown-toggle {
    font-size: 16px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    display: block;
    color: var(--text-dark);
  }
  
  .main-nav > a::after,
  .nav-dropdown > .dropdown-toggle::after { display: none; }
  
  /* Dropdown Container Mobile */
  .nav-dropdown {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-dropdown > .dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    width: 100%;
  }
  
  .nav-dropdown > .dropdown-toggle i {
    font-size: 12px;
  }
  
  /* Dropdown Menu Mobile - RESET ALL DESKTOP STYLES */
  .dropdown-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 8px;
    min-width: 100% !important;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    transition: max-height 0.4s ease, padding 0.3s ease, margin 0.3s ease;
    padding: 0;
    background: var(--sky);
    margin: 0;
    display: block;
  }
  
  .dropdown-menu::before { 
    display: none !important; 
  }
  
  /* Kill hover behavior */
  .nav-dropdown:hover .dropdown-menu {
    max-height: 0;
    padding: 0;
    margin: 0;
    transform: none !important;
  }
  
  /* Open State */
  .nav-dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
    margin: 5px 0 10px;
  }
  
  .nav-dropdown.open > .dropdown-toggle i {
    transform: rotate(180deg);
  }
  
  .nav-dropdown.open > .dropdown-toggle {
    color: var(--blue);
  }
  
  /* Dropdown Items */
  .dropdown-menu li + li { 
    border-top: 1px solid rgba(255,255,255,0.5); 
  }
  
  .dropdown-menu li a {
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text-dark);
  }
  
  .dropdown-menu li a:hover { 
    padding-left: 24px;
    background: transparent;
  }
  
  /* Mobile CTA Button */
  .mobile-cta {
    display: block;
    margin-top: 25px;
    text-align: center;
    width: 100%;
    color: var(--white) !important;
    padding: 14px 20px;
  }
  
  /* Hamburger always on top */
  .nav-toggle,
  .nav-toggle.active {
    z-index: 300;
  }
  
  /* Hero */
  .hero { padding: 70px 0; }
  .hero p { font-size: 16px; }
  
  /* Grids */
  .services-grid,
  .blog-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social-icons { justify-content: center; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .tab-pane-inner { grid-template-columns: 1fr; }
  
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: 15px; }
}

/* ----------- max-width: 480px ----------- */
@media (max-width: 480px) {
  .container { padding: 0 15px; }
  
  .logo-img { height: 50px; }
  
  .header-inner { padding: 8px 12px; }
  
  .main-nav {
    width: 280px;
    padding: 70px 22px 25px;
  }
  
  .nav-toggle span {
    width: 24px;
    height: 3px;
  }
  
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .section { padding: 50px 0; background-color: var(--white); }
  .section-header h2 { font-size: 24px; }
  .intro-grid h2 { font-size: 24px; }
  .appointment-form-box { padding: 25px 20px; }
  .service-tabs-section { padding: 50px 0; }
  .tab-btn { padding: 12px 16px; font-size: 13px; }
  .page-header { padding: 45px 0; }
  .page-header h1 { font-size: 26px; }
  .split-grid h2 { font-size: 24px; }
  .blog-card img { height: 160px; }
  .testimonial-card { padding: 20px; }
  .footer-grid { gap: 25px; }
}

/* ----------- max-width: 360px ----------- */
@media (max-width: 360px) {
  .logo-img { height: 42px; }
  .hero h1 { font-size: 22px; }
  .btn { padding: 12px 20px; font-size: 13px; }
}
/* ================= FINAL Z-INDEX SAFETY OVERRIDE ============= */

@media (max-width: 768px) {
  .main-header {
    z-index: 100 !important;
  }
  .nav-overlay,
  .nav-overlay.active {
    z-index: 150 !important;
    pointer-events: none !important;
  }
  .nav-overlay.active {
    pointer-events: auto !important;
  }
  .main-nav {
    z-index: 250 !important;
  }
  .main-nav.open {
    z-index: 250 !important;
  }
  .main-nav.open a,
  .main-nav.open button,
  .main-nav.open .nav-dropdown,
  .main-nav.open .dropdown-menu,
  .main-nav.open .dropdown-menu li,
  .main-nav.open .dropdown-menu li a {
    pointer-events: auto !important;
    position: relative;
    z-index: 251;
  }
  .nav-toggle,
  .nav-toggle.active {
    z-index: 300 !important;
  }
}

/* ================= ABOUT US PAGE STYLES ================= */

.about-header {
  background: linear-gradient(rgba(16, 31, 75, 0.7), rgba(16, 31, 75, 0.7)), url('../images/about-hero.jpg') center/cover no-repeat;
  text-align: left;
  padding: 100px 0;
}
.about-header .breadcrumb {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.about-header h1 {
  font-size: 42px;
  color: var(--blue-light);
}

/* Zig-Zag Row Layout */
.about-content-section {
  padding: 100px 0;
}
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-row.reverse {
  grid-template-columns: 1.1fr 0.9fr; 
}
.about-row.reverse .about-text-wrapper {
  order: 1;
}
.about-row.reverse .about-image-wrapper {
  order: 2;
}

/* Image Wrappers and Overlaps */
.about-image-wrapper {
  position: relative;
  z-index: 1;
}
.about-image-wrapper > img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  display: block;
}

/* The overlapping small image from the reference */
.overlap-img {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 55% !important;
  border: 10px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 2;
}

/* Text Content Styling */
.about-text-wrapper h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.about-text-wrapper h2 span {
  color: var(--blue);
}
.about-text-wrapper p {
  color: var(--text-gray);
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.7;
}

/* Bullet Points */
.about-list {
  margin-top: 24px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 15px;
}
.about-list li i {
  color: var(--blue);
  font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .about-row, .about-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-row.reverse .about-text-wrapper {
    order: 2;
  }
  .about-row.reverse .about-image-wrapper {
    order: 1;
  }
  .overlap-img {
    display: none;
  }
  .about-row.reverse {
    margin-top: 60px !important;
  }
}
/* ================= NEW CONTACT PAGE STYLES ================= */

/* 4 Column Contact Cards */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.info-card {
  background: #fafafa;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.info-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  border: 1px dashed var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--blue-light);
}
.info-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}
.info-card p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* Map & Contact Form Layout */
.map-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.simple-contact-form {
  display: flex;
  flex-direction: column;
}
.simple-contact-form,
.custom-contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Form Rows Layout */
.simple-contact-form .form-row,
.custom-contact-form .form-row {
  margin-bottom: 18px;
  width: 100%;
}

/* 2 Columns Layout for First/Last Name & Phone/Email */
.simple-contact-form .form-row.two-col,
.custom-contact-form .form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.simple-contact-form .field-wrap,
.custom-contact-form .field-wrap {
  width: 100%;
}

/* Input, Select & Textarea Common Styling */
.simple-contact-form input,
.simple-contact-form select,
.simple-contact-form textarea,
.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  background-color: var(--white, #ffffff);
  color: var(--text-dark, #000000);
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0; /* Row margin-bottom controls spacing */
}

/* Custom Dropdown / Select Arrow Styling */
.simple-contact-form select,
.custom-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}

/* Dropdown Placeholder Color Handling */
.simple-contact-form select:invalid,
.custom-contact-form select:invalid {
  color: #000000;
}

.simple-contact-form textarea,
.custom-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Focus States */
.simple-contact-form input:focus,
.simple-contact-form select:focus,
.simple-contact-form textarea:focus,
.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
  outline: none;
  border-color: var(--blue, #101f4b);
  box-shadow: 0 0 0 3px rgba(16, 31, 75, 0.1);
}

/* Button Alignment & Style */
.simple-contact-form button,
.custom-contact-form button {
  align-self: flex-start;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 5px;
}

/* Responsive Styles for Tablet & Mobile */
@media (max-width: 991px) {
  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .map-form-grid {
    grid-template-columns: 1fr; /* Tablet par map aur form stack ho jayenge */
  }
  .map-container iframe {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .contact-info-cards {
    grid-template-columns: 1fr; /* Mobile par sab cards 1 column mein */
  }
  .map-form-wrapper {
    padding: 20px;
  }
  /* Mobile par two-col fields (First Name/Last Name, Phone/Email) vertical stack ho jayengi */
  .simple-contact-form .form-row.two-col,
  .custom-contact-form .form-row.two-col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .simple-contact-form button,
  .custom-contact-form button {
    width: 100%;
    align-self: stretch; /* Mobile par button full width */
  }
}
/* Section Container & Geometrical Background */
.results-realtime-section {
  padding: 80px 20px;
  background-color: #f8fbfe; /* Theme color */
  position: relative;
  overflow: hidden; /* Important for background pattern to fit */
  font-family: inherit;
}

/* Geometrical Geometrical Background Pattern */
.results-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(30deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(150deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(30deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(150deg, #dbeafe 12%, transparent 12.5%, transparent 87%, #dbeafe 87.5%, #dbeafe),
                    linear-gradient(60deg, #dbeafe77 25%, transparent 25.5%, transparent 75%, #dbeafe77 75.5%, #dbeafe77),
                    linear-gradient(60deg, #dbeafe77 25%, transparent 25.5%, transparent 75%, #dbeafe77 75.5%, #dbeafe77);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  opacity: 0.15; /* Adjusted opacity to make it subtle and match the image */
}

/* Ensure content stays on top of the pattern */
.relative-content {
  position: relative;
  z-index: 1;
}

/* Heading Styling */
.results-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.results-title .highlight-cyan {
  color: #00a8ec; /* Cyan color from your theme */
}

.results-title .highlight-dark {
  color: #1e293b; /* Dark color from your theme */
  position: relative;
  display: inline-block;
}

/* Curved blue top border on 'Results' */
.results-title .highlight-dark::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: #00a8ec;
  border-radius: 4px;
}

.results-subtitle {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 60px;
}

/* 3-Column Layout */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Stat Cards */
.results-card {
  padding: 20px 30px;
  position: relative;
  text-align: center;
}

/* Subtle vertical dividers between cards */
.results-card:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.card-heading {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a; /* Indigo/Navy from your theme */
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.upto-tag {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

/* Main Numbers */
.results-card .stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1;
  margin-bottom: 12px;
}

.card-label {
  font-size: 16px;
  font-weight: 700;
  color: #00a8ec;
  margin-bottom: 6px;
}

.card-subtext {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* Responsive view for mobile */
@media (max-width: 991px) {
  .results-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .results-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 40px;
  }
}


/* ================= TESTIMONIAL SLIDER STYLING ================= */
.testimonial-section {
  background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), 
              url('../images/hero.png') center/cover no-repeat;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-slider .swiper-slide {
  height: auto; 
  display: flex;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  
  /* Flexbox settings for Equal Height */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Top elements aur Bottom client info me proper gap rakhega */
  
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue, #2952e3);
  box-shadow: 0 12px 25px rgba(41, 82, 227, 0.12);
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 3px solid #eff6ff;
}

.testimonial-card p {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 20px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}
.testimonial-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy, #101f4b);
  margin: 0;
}

/* Swiper Pagination Bullets */
.swiper-pagination-bullet {
  background: #cbd5e1 !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: var(--blue, #2952e3) !important;
  width: 26px !important;
  border-radius: 6px !important;
}