/* ==========================================================================
   Artmount Academy - Master Design System
   Brand: Clean White (#fff), Cyan (#2ea8df), Plum (#87298b), Slate (#6d6e70)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-alt: #f1f5f9;
  --card-bg: #ffffff;
  --card-border: rgba(109, 110, 112, 0.16);

  /* Primary Brand: Cyan / Sky Blue */
  --primary: #2ea8df;
  --primary-hover: #1f94ca;
  --primary-glow: rgba(46, 168, 223, 0.25);
  --primary-light: rgba(46, 168, 223, 0.08);
  --primary-fg: #ffffff;

  /* Secondary Brand: Purple / Plum */
  --secondary: #87298b;
  --secondary-hover: #701d74;
  --secondary-glow: rgba(135, 41, 139, 0.22);
  --secondary-light: rgba(135, 41, 139, 0.08);
  --secondary-fg: #ffffff;

  /* Status Colors */
  --success: #10b981;
  --success-fg: #ffffff;

  /* Neutrals & Typography */
  --text-heading: #0f172a;
  --text-main: #334155;
  --text-muted: #6d6e70;
  --border: #e2e8f0;
  --input-bg: #ffffff;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 10px 30px -4px rgba(109, 110, 112, 0.08), 0 4px 10px -2px rgba(109, 110, 112, 0.03);
  --shadow-hover: 0 20px 38px -6px rgba(46, 168, 223, 0.16), 0 10px 16px -4px rgba(135, 41, 139, 0.08);
  --shadow-glow-blue: 0 8px 20px -4px var(--primary-glow);
  --shadow-glow-purple: 0 8px 20px -4px var(--secondary-glow);

  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 8px;
}

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

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

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

.ambient-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(109, 110, 112, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(109, 110, 112, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, .brand-title, .brand-subtitle, .stat-num, .step-num {
  font-family: 'Sora', sans-serif;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

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

/* --- Layout Utilities --- */
.container-page {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section-y {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .section-y { padding: 6.5rem 0; }
}

.bg-surface { background-color: var(--surface); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.text-center { text-align: center; }
.block { display: block; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.font-bold { font-weight: 700; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.max-w-3xl { max-width: 48rem; }
.max-w-xl { max-width: 36rem; }
.justify-center { justify-content: center; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Responsive Grids --- */
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-3 {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Badges & Eyebrows --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-accent {
  background: var(--secondary-light);
  color: var(--secondary);
  border: 1px solid rgba(135, 41, 139, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(135, 41, 139, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(135, 41, 139, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(135, 41, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(135, 41, 139, 0); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1f94ca 100%);
  color: var(--primary-fg) !important;
  box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
  box-shadow: 0 12px 24px -4px var(--primary-glow);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #6e1c72 100%);
  color: var(--secondary-fg) !important;
  box-shadow: var(--shadow-glow-purple);
}

.btn-secondary:hover {
  box-shadow: 0 12px 24px -4px var(--secondary-glow);
}

.btn-outline {
  border-color: rgba(46, 168, 223, 0.6);
  color: var(--primary) !important;
  background: rgba(46, 168, 223, 0.04);
}

.btn-outline:hover {
  background: rgba(46, 168, 223, 0.12);
  border-color: var(--primary);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}

.btn-block { width: 100%; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==================== HEADER & DYNAMIC GLASS STYLES ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.75rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, height 0.35s ease;
}

.site-header.header-scrolled {
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  height: 4.25rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-header .brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1200px) {
  .main-nav { display: flex; }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(46, 168, 223, 0.25);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==================== MOBILE MENU ZERO-GAP ANCHOR ==================== */
@media (max-width: 1199px) {
  .site-header {
    height: 4.25rem;
  }

  .site-header .brand-logo-img {
    height: 36px;
    max-width: 160px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%; /* Sits completely flush with header border - zero gap */
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 !important;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.65);
    flex-direction: column;
    gap: 0.4rem;
    z-index: 999;
  }

  .main-nav.nav-open {
    display: flex !important;
  }

  .main-nav .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .main-nav .nav-link.active,
  .main-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(46, 168, 223, 0.25) !important;
  }
}

@media (max-width: 639px) { .sm-hidden { display: none !important; } }
@media (min-width: 1200px) { .lg-hidden { display: none !important; } .xl-hidden { display: none !important; } }

/* ==================== HEROES & GLOSSY FORMS ==================== */
.page-hero, .hero-section {
  position: relative;
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .page-hero, .hero-section {
    padding-top: 9.5rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.hero-blur-1 {
  width: 320px;
  height: 320px;
  background: var(--primary);
  top: 5%;
  left: -60px;
  opacity: 0.25;
}

.hero-blur-2 {
  width: 350px;
  height: 350px;
  background: var(--secondary);
  bottom: 5%;
  right: -60px;
  opacity: 0.18;
}

.hero-title, .page-hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 0.85rem;
}

@media (min-width: 640px) {
  .hero-title, .page-hero-title { font-size: 3.25rem; }
}

.hero-desc, .section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.feature-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bullet-icon {
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Glossy Form Components */
.hero-form-wrapper { position: relative; }

.lead-form, .form-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.glossy-glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.glossy-glass-card input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.glossy-glass-card input:focus, 
.glossy-glass-card select:focus {
  border-color: var(--primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 168, 223, 0.35) !important;
}

.form-title { font-size: 1.35rem; }
.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
}

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

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

.form-group input,
.form-group select,
.form-group textarea,
.search-input {
  width: 100%;
  height: 2.65rem;
  padding: 0 0.85rem;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  height: auto;
  min-height: 90px;
  padding: 0.75rem 0.85rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* --- Cards (General, Course, Project, Mentor) --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 168, 223, 0.4);
  box-shadow: var(--shadow-hover);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
}

.card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-design { background: #f0f9ff; }
.visual-uiux   { background: #faf5ff; }
.visual-video  { background: #fdf4ff; }
.visual-mkt    { background: #f0fdf4; }
.visual-web    { background: #f8fafc; }

.mesh-graphic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.75;
}

.mg-1 { background: linear-gradient(135deg, var(--primary), #0284c7); }
.mg-2 { background: linear-gradient(135deg, var(--secondary), #c084fc); }
.mg-3 { background: linear-gradient(135deg, #f43f5e, var(--secondary)); }
.mg-4 { background: linear-gradient(135deg, #10b981, var(--primary)); }
.mg-5 { background: linear-gradient(135deg, #6366f1, var(--primary)); }

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

.card-title { font-size: 1.2rem; }
.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  flex: 1;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 0;
  margin-top: 0.75rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* Feature Boxes */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  padding: 1.85rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 168, 223, 0.4);
}

.feature-title { font-size: 1.15rem; }
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* --- Filter & Category Chips --- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ==================== ACCORDIONS (SYLLABUS & FAQ) ==================== */
.syllabus-item {
  border: 1px solid var(--card-border);
  background: #ffffff;
}

.syllabus-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
}

.syllabus-toggle:hover { color: var(--primary); }

.syllabus-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* --- CTA Box & Footer --- */
.cta-box {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 4.5rem;
}

.site-footer .brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 22rem;
  margin-top: 0.75rem;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  color: var(--text-heading);
}

.footer-links li, .contact-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.footer-links a:hover, .contact-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; }
}

/* Floating Actions & Mobile Bar */
.whatsapp-btn {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  width: 3.25rem;
  height: 3.25rem;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  z-index: 99;
  transition: transform 0.2s ease;
}

.whatsapp-btn:hover { transform: scale(1.06); }

@media (min-width: 1024px) {
  .whatsapp-btn { bottom: 2rem; right: 2rem; }
}

.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 1000;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar { display: none; }
}

.mob-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  border-right: 1px solid var(--border);
  color: var(--text-heading);
}

.mob-btn:last-child { border-right: none; }

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== BALANCED DARK TONE FOOTER & MOBILE BAR ==================== */
.site-footer {
  background: #1e293b; /* Softer slate navy */
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 4.5rem;
  color: #cbd5e1;
}

.site-footer .brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  max-width: 22rem;
  margin-top: 0.75rem;
  line-height: 1.65;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-transform: uppercase;
}

.footer-links li, 
.contact-list li {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0.65rem;
}

.footer-links a,
.contact-list a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-links a:hover, 
.contact-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #94a3b8;
  background: #0f172a; /* Subtle secondary depth */
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom-inner { 
    flex-direction: row; 
  }
}

/* Softer Mobile Bottom Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5rem;
  background: rgba(30, 41, 59, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 1000;
}

@media (min-width: 1024px) {
  .mobile-bottom-bar { 
    display: none; 
  }
}

.mob-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mob-btn:last-child { 
  border-right: none; 
}

/* ==================== MODERN FILTER & SEARCH SYSTEM ==================== */
.filter-panel {
  background: #ffffff;
  border: 1px solid rgba(109, 110, 112, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .filter-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Search Bar Wrapper */
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.search-input {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem 0 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text-heading);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Pill Filter Buttons */
.filter-chips, 
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.chip-filter, 
.cat-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  cursor: pointer;
  outline: none;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chip-filter:hover, 
.cat-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.chip-filter.active, 
.cat-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, #1f94ca 100%);
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(46, 168, 223, 0.35);
}

/* ==================== CLEAN FAQ / ACCORDION STYLES ==================== */
.faq-list,
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 820px;
  margin: 2.5rem auto 0 auto;
}

.accordion-item,
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(109, 110, 112, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion-item:hover,
.faq-item:hover {
  border-color: rgba(46, 168, 223, 0.4);
  box-shadow: 0 6px 18px rgba(46, 168, 223, 0.08);
}

.accordion-toggle,
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes question to left and icon to right */
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.accordion-toggle:hover,
.faq-toggle:hover {
  color: var(--primary);
}

/* Icon indicator (+ / -) */
.accordion-icon,
.faq-icon {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.accordion-item.active .accordion-icon,
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.accordion-content,
.faq-content {
  display: none; /* Controlled by JS or standard details tag */
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px solid rgba(109, 110, 112, 0.08);
}

.accordion-item.active .accordion-content,
.faq-item.active .faq-content {
  display: block;
}