/* ============================================================
   APADE - Academy of Paramedical & Allied Dental Education
   Main Stylesheet v1.0
   Color Palette:
     Primary Green  : #3ab286
     White          : #ffffff
     Light Grey     : #dde4e5
     Teal Blue      : #3aa2b2
     Deep Blue      : #3a66b2
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:       #3ab286;
  --green-dark:  #2d9070;
  --green-light: #e8f7f2;
  --teal:        #3aa2b2;
  --teal-dark:   #2d8a99;
  --blue:        #3a66b2;
  --blue-dark:   #2d52a0;
  --white:       #ffffff;
  --grey-light:  #dde4e5;
  --grey:        #b0bec5;
  --grey-dark:   #78909c;
  --text:        #1a2636;
  --text-muted:  #607d8b;
  --bg:          #f7fafb;
  --shadow-sm:   0 2px 8px rgba(58,178,134,0.08);
  --shadow-md:   0 6px 24px rgba(58,102,178,0.12);
  --shadow-lg:   0 16px 48px rgba(58,102,178,0.18);
  --radius:      12px;
  --radius-sm:   6px;
  --radius-lg:   20px;
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
  --font-main:   'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display:'Poppins', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-green { color: var(--green); }
.text-blue  { color: var(--blue); }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}
.section-sm {
  padding: 48px 0;
}
.section-lg {
  padding: 120px 0;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; gap: 16px; flex-wrap: wrap; }
.align-center { align-items: center; }

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58,178,134,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-dark), var(--teal-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,178,134,0.45);
  color: var(--white);
}
.btn-secondary {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-blue {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(58,102,178,0.3);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,102,178,0.45);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--green);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--green-light);
  color: var(--green-dark);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ── Top Bar ────────────────────────────────────────────────── */
.topbar {
  background: var(--blue);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.83rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a {
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.topbar a:hover { color: var(--white); }
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-item svg { flex-shrink: 0; }

/* Admission ticker */
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  max-width: 500px;
}
.ticker-text {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
  font-size: 0.8rem;
  color: #b3e8ff;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ── Header / Navbar ────────────────────────────────────────── */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 32px rgba(58,102,178,0.15);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.logo-text {
  line-height: 1.25;
}
.logo-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.logo-tagline {
  display: block;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--green);
  background: var(--green-light);
}
.nav-link svg { transition: transform var(--transition); }
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 100;
  overflow: hidden;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.dropdown-link:hover {
  background: var(--green-light);
  color: var(--green);
  padding-left: 26px;
}
.dropdown-link svg { color: var(--green); flex-shrink: 0; }

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Hamburger — always rendered, visibility controlled by media query */
.hamburger {
  display: none;          /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--green-light); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav — ALWAYS hidden unless .open; never visible on desktop */
.mobile-nav {
  display: none;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2240 0%, #1a4470 50%, #0e3356 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--green);
  top: -200px; right: -150px;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--teal);
  bottom: -150px; left: -100px;
}
.hero-shape-3 {
  width: 200px; height: 200px;
  background: var(--blue);
  top: 50%; right: 30%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58,178,134,0.15);
  border: 1px solid rgba(58,178,134,0.4);
  color: #7de8c0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge span { width: 8px; height: 8px; background: var(--green); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Hero Form */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.form-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(58,178,134,0.12);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--grey);
}
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 90px; }

/* ── Announcement Banner ─────────────────────────────────────── */
.announcement {
  background: linear-gradient(90deg, var(--green), var(--teal));
  padding: 14px 0;
  overflow: hidden;
}
.announcement-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.announcement-label {
  background: var(--white);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
  flex-shrink: 0;
}
.announcement-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-ticker-inner {
  display: inline-block;
  animation: ticker-scroll 25s linear infinite;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ── Course Cards ────────────────────────────────────────────── */
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-light);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.course-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-light), var(--grey-light));
}
.course-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--green-light) 0%, #c5e8f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card-img-placeholder svg { opacity: 0.35; }
.course-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.badge-diploma { background: #e3f2fd; color: var(--blue); }
.badge-certificate { background: var(--green-light); color: var(--green-dark); }
.badge-masters { background: #fce4ec; color: #c62828; }
.badge-mba { background: #fff3e0; color: #e65100; }
.course-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.course-card-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.course-meta-item svg { color: var(--green); flex-shrink: 0; }
.course-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--grey-light);
}

/* ── Feature Cards ───────────────────────────────────────────── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1.5px solid var(--grey-light);
  transition: all var(--transition);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green-light), #c5e8f5);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p  { font-size: 0.88rem; margin: 0; }

/* ── Stats Section ───────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1a3a6e 100%);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  text-align: center;
}
.stat-item .stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── Testimonial Cards ───────────────────────────────────────── */
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--grey-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
.testimonial-stars svg { color: #f59e0b; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.testimonial-course {
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
}

/* ── Blog Cards ─────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-light);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--grey-light);
  transition: transform var(--transition);
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap { overflow: hidden; }
.blog-card-body { padding: 22px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 4px;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--grey-dark);
}
.blog-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card h3 a:hover { color: var(--green); }
.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  transition: gap var(--transition);
}
.read-more:hover { gap: 10px; color: var(--green-dark); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 50%, var(--blue) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Page Hero (Inner Pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0d2240 0%, #1a4470 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.breadcrumb-item {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb-item a { color: rgba(255,255,255,0.8); }
.breadcrumb-item a:hover { color: var(--green); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.breadcrumb-current { color: var(--green); font-weight: 600; }

/* ── Cards generic ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--grey-light);
  overflow: hidden;
}
.card-body { padding: 24px; }

/* ── Forms (Full page) ───────────────────────────────────────── */
.form-section { padding: 80px 0; background: var(--bg); }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

/* ── Contact Section ─────────────────────────────────────────── */
.contact-info-card {
  background: linear-gradient(135deg, var(--blue), #1a3a6e);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  height: 100%;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-text h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-text p  { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin: 0; }

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-container iframe { display: block; }

/* ── Notification/Alert Cards ────────────────────────────────── */
.notification-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: all var(--transition);
}
.notification-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.notification-card.urgent { border-left-color: #ef4444; }
.notification-card.important { border-left-color: #f59e0b; }
.notification-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 6px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.notification-card.urgent .notification-dot { background: #ef4444; }
.notification-card.important .notification-dot { background: #f59e0b; }
.notification-title { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.notification-meta { font-size: 0.78rem; color: var(--text-muted); }
.notification-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
}
.badge-urgent { background: #fee2e2; color: #b91c1c; }
.badge-important { background: #fef3c7; color: #92400e; }

/* ── Gallery Grid ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,178,134,0.7), rgba(58,102,178,0.7));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Pay Now Section ─────────────────────────────────────────── */
.pay-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.pay-card .amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  font-family: var(--font-display);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #0d1e35;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo-img { width: 48px; height: 48px; object-fit: contain; }
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  font-weight: 600;
  display: block;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-social:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--green); padding-left: 6px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.83rem;
}
.footer-contact-icon { color: var(--green); margin-top: 2px; flex-shrink: 0; }
.footer-contact-text { color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-contact-text a { color: var(--green); }
.footer-contact-text a:hover { color: #7de8c0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--green); }
.footer-bottom-links { display: flex; gap: 16px; }

/* ── Whatsapp Float ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}
.whatsapp-btn {
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all var(--transition);
  color: var(--white);
}
.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

/* ── Back to top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 16px;
  border-left: 4px solid;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #f0fdf4; border-color: var(--green); color: #166534; }
.alert-error   { background: #fef2f2; border-color: #ef4444;      color: #991b1b; }
.alert-info    { background: #eff6ff; border-color: var(--blue);   color: #1e40af; }
.alert-warning { background: #fffbeb; border-color: #f59e0b;       color: #92400e; }

/* ── Accordion ───────────────────────────────────────────────── */
.accordion-item {
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition);
  text-align: left;
  gap: 12px;
}
.accordion-header:hover { background: var(--green-light); }
.accordion-header.active {
  background: var(--green);
  color: var(--white);
}
.accordion-header.active svg { transform: rotate(180deg); }
.accordion-icon { transition: transform var(--transition); flex-shrink: 0; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body.open { max-height: 2000px; }
.accordion-content { padding: 16px 20px; font-size: 0.9rem; color: var(--text-muted); }

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--grey-light);
  border-radius: 50px;
  padding: 4px;
  margin-bottom: 32px;
  width: fit-content;
}
.tab-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  cursor: pointer;
}
.tab-btn.active {
  background: var(--white);
  color: var(--green);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Check list ──────────────────────────────────────────────── */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--grey-light);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Loader/Spinner ──────────────────────────────────────────── */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--grey-light);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Utility ─────────────────────────────────────────────────── */
.hidden { display: none !important; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.bg-grey  { background: var(--bg); }
.bg-green { background: var(--green-light); }
.rounded  { border-radius: var(--radius); }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 480px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding: 60px 0; }
}

@media (max-width: 768px) {
  /* Hide desktop nav links; keep nav-cta visible so hamburger shows */
  .nav-links { display: none; }
  .nav-apply-btn { display: none; }   /* hide Apply Now button on mobile, keep hamburger */
  .hamburger { display: flex; }

  /* Mobile nav overlay */
  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 2000;
    overflow-y: auto;
    padding: 80px 24px 40px;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
  }
  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: background var(--transition);
  }
  .mobile-nav-link:hover, .mobile-nav-link.active {
    background: var(--green-light);
    color: var(--green);
  }
  .mobile-dropdown {
    padding-left: 16px;
    display: none;
  }
  .mobile-dropdown.open { display: block; }
  .mobile-dropdown-link {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-left: 2px solid var(--grey-light);
    margin-left: 8px;
    margin-bottom: 4px;
    transition: all var(--transition);
  }
  .mobile-dropdown-link:hover {
    color: var(--green);
    border-left-color: var(--green);
    padding-left: 24px;
  }
  .mobile-nav-cta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--grey-light); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .page-hero { padding: 48px 0; }
  .form-card { padding: 28px 20px; }
  .topbar-left .topbar-item:not(:first-child) { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .testimonial-card { flex: 0 0 280px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
}
