:root {
  --primary: #0a4b7a;
  --primary-dark: #06355a;
  --primary-light: #1a6ba0;
  --secondary: #28a745;
  --secondary-light: #48c76a;
  --accent: #17a2b8;
  --light: #f0f4f8;
  --dark: #1e2a3a;
  --gray: #6c757d;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0a4b7a 0%, #1a6ba0 100%);
  --gradient-secondary: linear-gradient(135deg, #28a745 0%, #48c76a 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10,75,122,0.95) 0%, rgba(26,107,160,0.85) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  width: 100%;
}

/* TOP BAR */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}
.top-bar a { color: var(--white); text-decoration: none; transition: var(--transition); }
.top-bar a:hover { color: var(--secondary-light); }
.top-bar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-left: 6px;
  transition: var(--transition);
}
.top-bar .social-icons a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1031;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--secondary); }
.navbar-brand i { font-size: 28px; margin-right: 8px; color: var(--primary); }
.navbar-brand img { height: 52px; width: auto; }
.nav-link {
  font-weight: 600;
  color: var(--dark);
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* HERO SLIDER */
.hero-slider { position: relative; }
.hero-slide {
  position: relative;
  height: 90vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.7;
}
.hero-slide .content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 650px;
}
.hero-slide .content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}
.hero-slide .content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}
.hero-slide .content .btn {
  animation: fadeInUp 1s ease 0.4s both;
}
.hero-slider .carousel-indicators button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
}
.hero-slider .carousel-indicators button.active { background: var(--secondary); border-color: var(--secondary); }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next {
  width: 50px; height: 50px;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  opacity: 0; transition: var(--transition);
}
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next { opacity: 1; }
.hero-slider .carousel-control-prev { left: 30px; }
.hero-slider .carousel-control-next { right: 30px; }

/* SECTION TITLES */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-title p {
  color: var(--gray);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* BUTTONS */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(10,75,122,0.3);
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(10,75,122,0.4);
  color: var(--white);
}
.btn-secondary-custom {
  background: var(--gradient-secondary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}
.btn-secondary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40,167,69,0.4);
  color: var(--white);
}
.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ABOUT SECTION */
.about-section {
  padding: 100px 0;
  background: var(--white);
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.about-image img { width: 100%; height: auto; transition: var(--transition); }
.about-image:hover img { transform: scale(1.05); }
.about-image .experience-badge {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-image .experience-badge h3 { font-size: 36px; font-weight: 800; margin: 0; }
.about-image .experience-badge p { margin: 0; font-size: 14px; opacity: 0.9; }
.about-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}
.about-content p { color: var(--gray); line-height: 1.8; margin-bottom: 15px; }
.about-features { list-style: none; padding: 0; margin: 20px 0; }
.about-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.about-features li i {
  width: 30px; height: 30px;
  background: var(--gradient-secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* SERVICES SECTION */
.services-section {
  padding: 100px 0;
  background: var(--light);
}
.service-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.service-card .icon {
  width: 70px; height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--white);
  transition: var(--transition);
}
.service-card:hover .icon {
  background: var(--gradient-secondary);
  transform: rotateY(180deg);
}
.service-card h5 { font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.service-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* PACKAGES SECTION */
.packages-section {
  padding: 100px 0;
  background: var(--white);
}
.test-chip {
  background: var(--light);
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  transition: var(--transition);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.test-chip:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.package-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: 2px solid transparent;
}
.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.package-card .package-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 25px 20px;
  text-align: center;
}
.package-card .package-header h4 { font-weight: 700; margin-bottom: 8px; }
.package-card .package-header .price {
  font-size: 36px;
  font-weight: 800;
}
.package-card .package-header .price span { font-size: 16px; opacity: 0.8; font-weight: 400; }
.package-card .package-body { padding: 25px 20px; }
.package-card .package-body ul { list-style: none; padding: 0; margin: 0; }
.package-card .package-body ul li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.package-card .package-body ul li i { color: var(--secondary); font-size: 14px; }
.package-card .package-footer { padding: 0 20px 25px; text-align: center; }
.package-card.popular .package-header { background: var(--gradient-secondary); }
.package-card.popular {
  border-color: var(--secondary);
  transform: scale(1.05);
}
.package-card.popular .popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--secondary);
  color: var(--white);
  padding: 5px 35px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(45deg);
}

/* WHY CHOOSE US */
.whychoose-section {
  padding: 100px 0;
  background: var(--light);
}
.choose-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.choose-card .icon {
  width: 60px; height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 24px;
  color: var(--white);
  transition: var(--transition);
}
.choose-card:hover .icon { background: var(--gradient-primary); transform: scale(1.1); }
.choose-card h6 { font-weight: 700; color: var(--primary); }
.choose-card p { color: var(--gray); font-size: 14px; }

/* COUNTERS */
.counter-section {
  padding: 80px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  background-size: 30px;
}
.counter-item { text-align: center; color: var(--white); position: relative; z-index: 1; }
.counter-item .counter {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 5px;
}
.counter-item .counter-plus::after { content: '+'; }
.counter-item .counter-label { font-size: 16px; opacity: 0.9; }
.legacy-counters .counter-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TESTIMONIALS */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}
.testimonial-card {
  background: var(--light);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  position: relative;
  margin: 10px;
}
.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 40px;
  color: rgba(10,75,122,0.1);
}
.testimonial-card .stars { color: #ffc107; margin-bottom: 15px; }
.testimonial-card p { color: var(--gray); font-style: italic; line-height: 1.8; }
.testimonial-card .patient-info { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.testimonial-card .patient-info img {
  width: 55px; height: 55px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .patient-info h6 { margin: 0; font-weight: 700; color: var(--primary); }
.testimonial-card .patient-info span { font-size: 13px; color: var(--gray); }

/* CTA SECTION */
.cta-section {
  padding: 80px 0;
  background: var(--gradient-hero);
  text-align: center;
  color: var(--white);
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.cta-section p { opacity: 0.9; margin-bottom: 30px; font-size: 18px; }
.cta-section .btn { margin: 0 8px; }

/* PAGE BANNER */
.page-banner {
  padding: 120px 0 60px;
  background: var(--gradient-primary);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.08)"/></svg>') repeat;
  background-size: 30px;
}
.page-banner h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.page-banner .breadcrumb { justify-content: center; background: none; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb-item.active { color: var(--secondary-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ABOUT PAGE - History */
.history-section { padding: 80px 0; }
.history-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 450px;
  margin: 0 auto;
}
.history-content h2 { color: var(--primary); font-weight: 800; margin-bottom: 20px; }
.history-content p { color: var(--gray); line-height: 1.8; }

/* MISSION/VISION CARDS */
.mv-card {
  padding: 35px 25px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.mv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.mv-card .icon {
  width: 65px; height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: var(--white);
}
.mv-card h5 { font-weight: 700; margin-bottom: 12px; }
.mv-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }
.mv-card.mission { background: var(--light); }
.mv-card.mission .icon { background: var(--gradient-primary); }
.mv-card.mission h5 { color: var(--primary); }
.mv-card.vision { background: var(--light); }
.mv-card.vision .icon { background: var(--gradient-primary); }
.mv-card.vision h5 { color: var(--primary); }
.mv-card.care { background: var(--light); }
.mv-card.care .icon { background: var(--accent); }
.mv-card.care h5 { color: var(--accent); }
.mv-card.values { background: var(--light); }
.mv-card.values .icon { background: var(--primary); }
.mv-card.values h5 { color: var(--primary); }

/* TEAM SECTION */
.team-section { padding: 80px 0; background: var(--light); }
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}
.team-card:hover img { transform: scale(1.05); }
.team-card .team-info { padding: 20px; }
.team-card .team-info h5 { font-weight: 700; color: var(--primary); }
.team-card .team-info p { color: var(--gray); font-size: 14px; }
.founder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-card img { width: 100%; height: 400px; object-fit: cover; }
.founder-card .founder-info { padding: 30px; }
.founder-card .founder-info h4 { font-weight: 800; color: var(--primary); }
.founder-card .founder-info p { color: var(--gray); }

/* FAQ SECTION */
.faq-section { padding: 80px 0; }
.accordion-item { border: none; margin-bottom: 10px; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm) !important; }
.accordion-button {
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230a4b7a'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

/* CSR SECTION */
.csr-section { padding: 80px 0; background: var(--light); }

/* TESTS PAGE */
.test-search-section { padding: 40px 0; background: var(--light); }
.test-table-section { padding: 40px 0; }
.test-table thead { background: var(--gradient-primary); color: var(--white); }
.test-table thead th { font-weight: 600; border: none; padding: 15px 12px; }
.test-table tbody td { padding: 12px; vertical-align: middle; }
.test-table tbody tr { transition: var(--transition); }
.test-table tbody tr:hover { background: rgba(40,167,69,0.05); }
.test-table .btn-sm { padding: 5px 15px; font-size: 13px; }

/* PROFILES PAGE */
.profile-card { transition: var(--transition); }
.profile-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important; }
.profile-name { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.profile-tests { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-test-badge {
  background: var(--light);
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid #dee2e6;
}

/* GALLERY */
.gallery-section { padding: 80px 0; }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 20px;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,75,122,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay i {
  color: var(--white);
  font-size: 40px;
  transform: scale(0);
  transition: var(--transition) 0.15s;
}
.gallery-item:hover .overlay i { transform: scale(1); }
.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 40px 15px 15px;
  font-weight: 600;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
}
.lightbox .close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox .close-lightbox:hover { color: var(--secondary); }

/* CONTACT PAGE */
.contact-section { padding: 80px 0; }
.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-info-card .icon {
  width: 55px; height: 55px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 15px;
}
.contact-info-card h6 { font-weight: 700; color: var(--primary); }
.contact-info-card p { color: var(--gray); margin: 0; font-size: 14px; }
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrapper h3 { font-weight: 700; color: var(--primary); margin-bottom: 25px; }
.form-control {
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 2px solid #e8e8e8;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,75,122,0.1);
}
.form-control.is-invalid { border-color: #dc3545; }
.form-control.is-valid { border-color: var(--secondary); }
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
.footer p { font-size: 14px; line-height: 1.8; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer ul li a:hover {
  color: var(--secondary-light);
  padding-left: 5px;
}
.footer ul li a i { font-size: 12px; }
.footer .contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}
.footer .contact-info li i {
  color: var(--secondary);
  margin-top: 4px;
  font-size: 16px;
}
.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  margin-right: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.footer .social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 50px;
  font-size: 14px;
}
.footer-bottom a { color: var(--secondary-light); text-decoration: none; }

/* BACK TO TOP */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px; height: 45px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 999;
}
#backToTop:hover { background: var(--gradient-secondary); transform: translateY(-3px); }
#backToTop.show { display: flex; }

/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-spinner {
  width: 50px; height: 50px;
  border: 5px solid var(--light);
  border-top: 5px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent));
  border-radius: 4px;
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: 14px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary);
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(10,75,122,0.15);
}
.timeline-item:nth-child(2) .timeline-marker { border-color: var(--primary-light); }
.timeline-item:nth-child(3) .timeline-marker { border-color: var(--accent); }
.timeline-item:nth-child(4) .timeline-marker { border-color: var(--secondary); }
.timeline-item:nth-child(5) .timeline-marker { border-color: var(--secondary-light); }
.timeline-content {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.timeline-item:nth-child(2) .timeline-content { border-left-color: var(--primary-light); }
.timeline-item:nth-child(3) .timeline-content { border-left-color: var(--accent); }
.timeline-item:nth-child(4) .timeline-content { border-left-color: var(--secondary); }
.timeline-item:nth-child(5) .timeline-content { border-left-color: var(--secondary-light); }
.timeline-year {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 2px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
  background: #1da851;
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.7); }
  100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
}

/* RESPONSIVE */
@media (max-width: 1199px) {
  .hero-slide { height: 70vh; }
  .hero-slide .content h1 { font-size: 38px; }
}
@media (max-width: 991px) {
  .hero-slide { height: 60vh; min-height: 400px; }
  .hero-slide .content h1 { font-size: 32px; }
  .hero-slide .content p { font-size: 16px; }
  .section-title h2 { font-size: 30px; }
  .about-content h2 { font-size: 30px; }
  .top-bar .social-icons { text-align: center; margin-top: 5px; }
  .package-card.popular { transform: scale(1); }
  .founder-card img { height: 300px; }
}
@media (max-width: 767px) {
  /* ===== MOBILE OVERFLOW FIX ===== */
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  section, .container, .container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* ================================ */
  .hero-slide {
    height: 50vh;
    min-height: 350px;
    text-align: center;
  }
  .hero-slide .content {
    margin: 0 auto !important;
    text-align: center !important;
  }
  .hero-slide .content h1 { font-size: 26px; }
  .hero-slide .content p { font-size: 14px; }
  .hero-slide .content .btn {
    margin: 6px 4px !important;
  }
  .section-title h2 { font-size: 26px; }
  .counter-item .counter { font-size: 36px; }
  .page-banner h1 { font-size: 30px; }
  .page-banner { padding: 100px 0 40px; }
  .cta-section h2 { font-size: 28px; }
  .about-section, .services-section, .packages-section,
  .whychoose-section, .testimonials-section { padding: 60px 0; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { display: none; }
  .about-image .experience-badge { right: 10px; bottom: 15px; padding: 12px 18px; }
  .about-image .experience-badge h3 { font-size: 28px; }
  .legacy-counters {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 1.5rem;
  }
  .legacy-counters > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .navbar-brand {
    font-size: 18px !important;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .navbar-brand img {
    height: 36px !important;
  }
  .navbar-toggler {
    padding: 4px 8px !important;
    font-size: 14px !important;
  }
  .navbar {
    padding: 10px 0 !important;
    top: 0 !important;
    position: sticky !important;
  }
  .navbar.scrolled {
    padding: 6px 0 !important;
  }
  .mobile-sticky-bottom {
    display: block !important;
  }
  .whatsapp-float {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
  .footer {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
  }
  #backToTop {
    display: none !important;
  }
  .nav-link::after {
    left: 16px !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    width: 35px !important;
    height: 2px !important;
  }
  .nav-link:hover::after,
  .nav-link.active::after {
    transform: scaleX(1) !important;
  }
}
@media (max-width: 575px) {
  .hero-slide .content h1 { font-size: 22px; }
  .btn-primary-custom, .btn-secondary-custom { padding: 10px 22px; font-size: 14px; }
  .btn-outline-custom { padding: 8px 22px; font-size: 14px; }
}

/* MOBILE STICKY BOTTOM BAR */
.mobile-sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-sticky-bottom .row {
  margin: 0;
}

.mobile-sticky-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-whatsapp-sticky {
  background: #25d366;
  color: var(--white) !important;
}

.btn-whatsapp-sticky:hover {
  background: #1da851;
}

.btn-call-sticky {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-call-sticky:hover {
  background: var(--primary-dark);
}

.btn-backtotop-sticky {
  background: var(--light);
  color: var(--primary) !important;
  border: none;
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-backtotop-sticky:hover {
  background: #e2e8f0;
}
