/* ==========================================================================
   VED PATHOLOGY LABORATORY - DESIGN SYSTEM & STYLESHEET
   Colors:
     - Deep Navy Blue: #102D55
     - Teal / Petrol Green: #197675
     - White: #FFFFFF
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-navy: #102D55;
  --primary-navy-dark: #0A1C36;
  --primary-navy-light: #1A4278;
  --teal-accent: #197675;
  --teal-hover: #135A59;
  --teal-light: #E8F4F4;
  --teal-glow: rgba(25, 118, 117, 0.25);
  
  --pure-white: #FFFFFF;
  --off-white: #F8FAFC;
  --bg-ice: #F0F5FA;
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5B;
  
  --border-color: #E2E8F0;
  --border-focus: #197675;

  --shadow-sm: 0 2px 8px rgba(16, 45, 85, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 45, 85, 0.1);
  --shadow-lg: 0 16px 40px rgba(16, 45, 85, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.25;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-teal { color: var(--teal-accent); }
.text-navy { color: var(--primary-navy); }
.bg-navy { background-color: var(--primary-navy); color: var(--pure-white); }
.bg-ice { background-color: var(--bg-ice); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-teal {
  background-color: var(--teal-light);
  color: var(--teal-accent);
  border: 1px solid rgba(25, 118, 117, 0.2);
}

.badge-navy {
  background-color: rgba(16, 45, 85, 0.08);
  color: var(--primary-navy);
}

/* Credential Pills for Doctor */
.credential-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #EBF5F5;
  color: var(--teal-accent);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(25, 118, 117, 0.2);
}

.credential-pill i {
  color: var(--teal-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--teal-accent);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(25, 118, 117, 0.35);
}

.btn-primary:hover {
  background-color: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 118, 117, 0.45);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(16, 45, 85, 0.3);
}

.btn-navy:hover {
  background-color: var(--primary-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 45, 85, 0.4);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: var(--pure-white);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal-accent);
  border: 2px solid var(--teal-accent);
}

.btn-outline-teal:hover {
  background-color: var(--teal-accent);
  color: var(--pure-white);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* Header Main Navbar */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 64px;
  max-height: 70px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.logo-img:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  background-color: #F1F5F9;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-navy);
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-link:hover {
  color: var(--teal-accent);
  background-color: rgba(25, 118, 117, 0.08);
}

/* Active Page Highlight Box */
.nav-link.active {
  background-color: var(--primary-navy) !important;
  color: var(--pure-white) !important;
  box-shadow: 0 4px 12px rgba(16, 45, 85, 0.28);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  background-color: var(--teal-accent);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background-color: var(--pure-white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 999;
}

.mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-nav-links a.active {
  background-color: var(--primary-navy) !important;
  color: var(--pure-white) !important;
}

/* Sub-page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: var(--pure-white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  color: var(--pure-white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 650px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: #5EEAD4;
}

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

/* Hero Section (Home) */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 60%, #153A68 100%);
  color: var(--pure-white);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--pure-white);
  font-size: 2.6rem;
  margin: 1.2rem 0 1rem;
  line-height: 1.18;
}

.hero-content h1 span {
  color: #38BDF8;
  background: linear-gradient(120deg, #38BDF8, #5EEAD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.8rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 0.8rem;
  text-align: center;
  transition: var(--transition-fast);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.stat-icon {
  font-size: 1.6rem;
  color: #5EEAD4;
  margin-bottom: 0.3rem;
}

.stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pure-white);
}

.stat-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero Media Box */
.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-media-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(16, 45, 85, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doctor-avatar-sm {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-accent);
}

.hero-badge-info h4 {
  color: var(--pure-white);
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.hero-badge-info p {
  color: #5EEAD4;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Section Header Styles */
.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin: 0.5rem 0 0.8rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Search Bar Component */
.search-container {
  max-width: 700px;
  margin: -2.2rem auto 3rem;
  position: relative;
  z-index: 10;
}

.search-box {
  background: var(--pure-white);
  border-radius: var(--radius-full);
  padding: 0.5rem 0.6rem 0.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 2px solid rgba(25, 118, 117, 0.15);
}

.search-box i {
  color: var(--teal-accent);
  font-size: 1.2rem;
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
}

.search-btn {
  background-color: var(--primary-navy);
  color: var(--pure-white);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-btn:hover {
  background-color: var(--teal-accent);
}

/* Sections General */
section {
  padding: 5rem 0;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-box img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.experience-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--teal-accent);
  color: var(--pure-white);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.doctor-qualification {
  display: block;
  color: var(--teal-accent);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.credentials-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.about-features-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-navy);
}

.about-features-list li i {
  color: var(--teal-accent);
  font-size: 1.1rem;
}

/* Facilities Section */
.facilities {
  background-color: var(--bg-ice);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.facility-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.facility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--teal-accent);
  transition: var(--transition-fast);
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(25, 118, 117, 0.3);
}

.facility-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--teal-light);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.facility-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.facility-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.facility-card .facility-cta {
  align-self: flex-start;
}

/* Packages Section */
.packages-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tab {
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab.active,
.filter-tab:hover {
  background-color: var(--primary-navy);
  color: var(--pure-white);
  border-color: var(--primary-navy);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.package-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-accent);
}

.package-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #173E6E 100%);
  color: var(--pure-white);
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
}

.package-badge-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--teal-accent);
  color: var(--pure-white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.package-header h3 {
  color: var(--pure-white);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.package-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.package-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-tests-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.package-tests-list li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-main);
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.package-tests-list li i {
  color: var(--teal-accent);
  font-size: 0.95rem;
}

.package-meta {
  background-color: var(--bg-ice);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

/* Gallery Section */
.gallery {
  background-color: var(--bg-ice);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 45, 85, 0.85) 0%, rgba(16, 45, 85, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--pure-white);
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-subtitle {
  color: #5EEAD4;
  font-size: 0.82rem;
}

/* Contact Us Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--primary-navy);
  color: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  color: var(--pure-white);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5EEAD4;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-detail-text p,
.contact-detail-text a {
  color: var(--pure-white);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-detail-text a:hover {
  color: #5EEAD4;
  text-decoration: underline;
}

/* Form Styling */
.form-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-accent);
  box-shadow: 0 0 0 3px rgba(25, 118, 117, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Map Frame */
.map-frame {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  border: none;
  margin-top: 1.5rem;
}

/* Modal Windows */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(10, 28, 54, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  background: var(--primary-navy);
  color: var(--pure-white);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: var(--pure-white);
  font-size: 1.25rem;
}

.modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--pure-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: 1.8rem 1.5rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-green);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1500;
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: var(--whatsapp-hover);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
  background-color: var(--primary-navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--pure-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--teal-accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #5EEAD4;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

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

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

  .nav-links,
  .header-cta-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .about-features-list {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 0.8rem;
  }

  .search-btn {
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.75rem;
  }
}
