/* Reset and Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette */
  --color-primary: #0040A5;
  --color-primary-hover: #002D75;
  --color-primary-light: #EBF3FF;
  --color-primary-glow: rgba(0, 64, 165, 0.15);
  
  --color-accent: #E53935;
  --color-accent-hover: #C62828;
  --color-accent-light: #FFEBEE;
  
  --color-success: #4CAF50;
  --color-success-light: #E8F5E9;
  
  --color-dark: #0F172A;
  --color-muted: #64748B;
  --color-light: #F8FAFC;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  
  /* Font Family */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout Spacing */
  --container-max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 50px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 20px 32px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 8px 20px rgba(0, 64, 165, 0.2);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
}

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

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

button, select, input, textarea {
  font-family: inherit;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-phone {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-phone:hover {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-blue);
  transform: scale(1.03);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius-pill);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  padding: 60px 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-authorized {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border: 1px solid rgba(229, 57, 85, 0.15);
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulse-badge 2s infinite ease-in-out;
}

.badge-icon {
  flex-shrink: 0;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Highlights Grid */
.hero-highlights {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  gap: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 64, 165, 0.1);
}

.highlight-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
}

.highlight-text p {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* Hero Right: Images & Deco */
.hero-image-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Grid Dots Background Decoration */
.deco-dots {
  position: absolute;
  width: 150px;
  height: 150px;
  left: -20px;
  bottom: 20px;
  background-image: radial-gradient(var(--color-primary-glow) 2px, transparent 2px);
  background-size: 15px 15px;
  z-index: 1;
}

/* Medical Plus Background Decoration */
.deco-plus {
  position: absolute;
  color: var(--color-primary-glow);
  font-family: var(--font-heading);
  font-weight: 300;
  user-select: none;
  z-index: 1;
}

.deco-plus-1 {
  font-size: 6rem;
  top: -30px;
  left: 30px;
}

.deco-plus-2 {
  font-size: 4rem;
  right: 10px;
  top: 40px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--border-radius-lg);
  overflow: visible;
  z-index: 2;
}

/* Light blue curved blob matching the reference layout */
.image-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: 15px;
  left: 15px;
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-lg);
  z-index: -1;
  border: 1px solid rgba(0, 64, 165, 0.08);
}

.hero-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.hero-image:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Priority Card Overlay */
.glass-card-priority {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  animation: float-card 4s ease-in-out infinite;
  z-index: 3;
}

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

.priority-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.priority-info {
  display: flex;
  flex-direction: column;
}

.priority-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
  line-height: 1.2;
}

.priority-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.2;
}

/* Section Common Layout */
.section-header {
  margin-bottom: 48px;
}

.section-tag, .services-tag {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title, .services-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 16px;
}

/* About Us Section */
.about-section {
  padding: 80px 0;
  background-color: var(--color-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text-content p {
  color: var(--color-muted);
  margin-bottom: 24px;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background-color: var(--color-white);
  padding: 20px 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
  line-height: 1.3;
}

/* Feature Item Box Layout */
.about-features-graphic {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item-box {
  background-color: var(--color-white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.feature-item-box:hover {
  transform: translateX(5px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pink-bg { background-color: var(--color-accent-light); }
.blue-bg { background-color: var(--color-primary-light); }
.gold-bg { background-color: #FFF8E1; }

.feature-box-desc h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.feature-box-desc p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Services Section Styling */
.services-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.services-header {
  margin-bottom: 60px;
}

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

/* Service Card Design */
.service-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 64, 165, 0.2);
}

/* Red checkmark badge on card top right, matched from ref image */
.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background-color: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(229, 57, 85, 0.3);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 64, 165, 0.08);
}

.service-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: auto; /* Push Learn More btn to bottom */
}

.learn-more-btn {
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.learn-more-btn:hover {
  color: var(--color-accent);
}

.learn-more-btn:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  transition: var(--transition-smooth);
}

/* Vaccination Schedules Checker Section */
.schedule-section {
  padding: 80px 0;
  background-color: var(--color-light);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto;
}

.schedule-calculator-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

.calc-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-light);
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}

textarea.form-control {
  border-radius: var(--border-radius-md);
  resize: vertical;
}

.input-with-btn {
  display: flex;
  gap: 12px;
}

.input-with-btn .form-control {
  flex: 1;
}

/* Timeline Results Grid */
.calc-results {
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
  animation: fade-in 0.5s ease-out;
}

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

.results-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.timeline-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.timeline-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.timeline-table th {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 16px 20px;
  font-weight: 700;
  border-bottom: 1.5px solid var(--color-border);
}

.timeline-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-dark);
}

.timeline-table tbody tr:last-child td {
  border-bottom: none;
}

/* Timeline status pills */
.badge-status {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
}

.badge-upcoming {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.badge-due {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.timeline-note {
  margin-top: 20px;
  padding: 16px;
  background-color: #FFFDE7;
  border-left: 4px solid #FBC02D;
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  color: #5D4037;
}

/* Resources Section styling */
.resources-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.resource-card {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 32px 24px;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 64, 165, 0.15);
}

.resource-type {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.resource-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.resource-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.resource-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 1.5px solid var(--color-primary-light);
  padding-bottom: 2px;
}

.resource-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent-light);
}

/* Custom Homepage Sections (managed via Admin Dashboard) */
.custom-section {
  padding: 80px 0;
  background-color: var(--color-white);
}

.custom-section:nth-of-type(even) {
  background-color: var(--color-light);
}

.custom-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.custom-section-reverse .custom-section-grid {
  direction: rtl;
}

.custom-section-reverse .custom-section-grid > * {
  direction: ltr;
}

.custom-section-image img {
  width: 100%;
  border-radius: var(--border-radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.custom-section-content .section-title {
  margin-bottom: 20px;
}

.custom-section-content p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  white-space: pre-line;
}

.custom-section-grid:has(.custom-section-content:only-child) {
  grid-template-columns: 1fr;
  text-align: center;
}

.custom-section-grid:has(.custom-section-content:only-child) .custom-section-content p {
  max-width: 760px;
  margin: 0 auto;
}

/* Service card images uploaded via Admin (replaces default SVG icons) */
.service-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

/* Contact Section Styling */
.contact-section {
  padding: 80px 0;
  background-color: var(--color-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-info-panel p {
  color: var(--color-muted);
  margin-bottom: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* Contact Form Panel */
.contact-form-panel {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.contact-form-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--color-primary);
}

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

.form-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.feedback-success {
  background-color: var(--color-success-light);
  color: var(--color-success);
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.feedback-error {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  border: 1px solid rgba(229, 57, 85, 0.2);
}

/* Footer Banner (Blue Ribbon) */
.footer-banner {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 40px 0;
}

.footer-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-banner-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-banner-item:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}

.footer-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.footer-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Main Footer bottom */
.footer-main {
  background-color: var(--color-primary-hover);
  color: rgba(255, 255, 255, 0.6);
  padding: 24px 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Modals & Overlays styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: var(--transition-smooth);
}

.modal-container {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(1);
  transition: var(--transition-smooth);
  animation: modal-zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-zoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--color-accent);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Success state within modals */
.modal-success-state {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fade-in 0.4s ease-out;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-success-light);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.modal-success-state h3 {
  color: var(--color-success);
  font-size: 1.6rem;
}

.success-msg {
  font-size: 1.05rem;
  color: var(--color-dark);
}

.success-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Service details modal content */
.svc-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.svc-detail-header h3 {
  font-size: 1.8rem;
  color: var(--color-primary);
}

.svc-detail-body {
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.svc-detail-body p {
  margin-bottom: 16px;
}

.svc-detail-highlights {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-detail-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark);
  font-weight: 600;
}

.svc-detail-highlights li svg {
  color: var(--color-success);
  flex-shrink: 0;
}

/* Responsive Media Queries */

@media (max-width: 1100px) {
  .hero-title {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-banner-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 16px;
  }
  .footer-banner-item:nth-child(even) {
    padding-right: 0;
  }
  .footer-banner-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-highlights {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
  }
  .btn-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  
  /* Mobile Menu Drawer style */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1.5px solid var(--color-border);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 99;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }
  .hero-highlights {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .highlight-item {
    width: 100%;
    max-width: 280px;
  }
  .image-wrapper {
    max-width: 360px;
  }
  .glass-card-priority {
    right: -10px;
    bottom: 20px;
    padding: 10px 16px;
  }
  .section-title, .services-title {
    font-size: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .custom-section-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .custom-section-reverse .custom-section-grid {
    direction: ltr;
  }
  .footer-banner-grid {
    grid-template-columns: 1fr;
  }
  .footer-banner-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 20px;
    padding-right: 0;
  }
  .footer-banner-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .input-with-btn {
    flex-direction: column;
  }
  .modal-container {
    padding: 24px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .feature-item-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
