/*
Theme Name: Greek Life Management
Theme URI: https://oneenormousidea.com/greek-life-management
Author: One Enormous Idea LLC
Author URI: https://oneenormousidea.com
Description: A professional, responsive, and SEO-friendly WordPress child theme for Greek Life Management (a unified SaaS operating system for Divine Nine chapters and family reunion organizations).
Version: 1.0.0
Template: Divi
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greek-life-management
*/

/* ==========================================
   1. DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================== */
:root {
  /* Colors - default to Elegant Themes SaaS company design values but let them be overridden dynamically */
  --color-primary: #1e2329;        /* Charcoal fallback */
  --color-primary-light: #292d38;  /* Secondary dark fallback */
  --color-secondary: #326bff;      /* Cobalt blue fallback */
  --color-secondary-hover: #2059ea;
  --color-accent: #00b5e6;         /* Accent Teal fallback */
  --color-accent-hover: #00a1cd;
  --color-success: #10B981;        /* Emerald */
  --color-danger: #EF4444;         /* Rose */
  
  /* Neutrals */
  --neutral-darkest: #2b303a;      /* Heading dark text */
  --neutral-dark: #474f5d;         /* Secondary dark text */
  --neutral-medium: #6d7c90;       /* SaaS slate body text */
  --neutral-light: #e1e8ed;        /* Light borders */
  --neutral-lightest: #f5f8fa;     /* Soft background grey-blue */
  --white: #FFFFFF;
  
  /* Typography - inherit dynamically from parent Divi customizer styling */
  --font-headings: inherit;
  --font-body: inherit;
  
  /* Box Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 24px -6px rgba(50, 107, 255, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(50, 107, 255, 0.12), 0 10px 20px -5px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 30px 60px -15px rgba(50, 107, 255, 0.15), 0 15px 30px -10px rgba(0, 0, 0, 0.05);
  --shadow-glass: 0 8px 32px 0 rgba(50, 107, 255, 0.06);
  
  /* Borders */
  --radius-sm: 6px;
  --radius-md: 100px;              /* Fully pill-shaped default buttons */
  --radius-lg: 16px;               /* Clean SaaS-style rounded cards */
  --radius-full: 100px;            /* Pill button fallback */
  
  /* Transitions */
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s ease-in-out;
  --transition-slow: all 0.5s ease-in-out;
  
  /* Layout */
  --container-width: 1080px;       /* Match Divi's standard row width */
  --header-height: 80px;
}

/* ==========================================
   2. GLOBAL RESETS & STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body), sans-serif;
  background-color: var(--neutral-lightest);
  color: inherit; /* Dynamically inherit from active Divi layout pack */
  line-height: inherit; /* Dynamically inherit from active Divi layout pack */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings - inherit font-family and colors dynamically from active Divi layout pack */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings), sans-serif;
  color: inherit;
  font-weight: inherit;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

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

a:hover {
  color: var(--color-secondary-hover);
}

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

ul, ol {
  list-style: none;
}

/* Buttons - dynamically inherit typography, border-radius, and base styles from active Divi customizer buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  color: inherit;
}

/* Add et_pb_button helper to map directly to builder layouts */
.et_pb_button.btn {
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  line-height: inherit !important;
}

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

.btn-primary:hover,
.et_pb_button.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary,
.et_pb_button.btn-secondary {
  background-color: transparent;
  color: var(--neutral-darkest);
  border-color: var(--neutral-light);
}

.btn-secondary:hover,
.et_pb_button.btn-secondary:hover {
  background-color: var(--neutral-lightest);
  border-color: var(--neutral-darkest);
  transform: translateY(-2px);
}

.btn-accent,
.et_pb_button.btn-accent {
  background-color: var(--color-accent);
  color: var(--white);
  border-color: var(--color-accent);
}

.btn-accent:hover,
.et_pb_button.btn-accent:hover {
  background-color: var(--color-accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-white:hover,
.et_pb_button.btn-white:hover {
  background-color: var(--neutral-lightest);
  color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Forms */
input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--white);
  transition: var(--transition-fast);
  color: var(--neutral-darkest);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-light {
  background-color: var(--white);
}

.section-gradient {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  color: var(--white);
}

.section-gradient h1,
.section-gradient h2,
.section-gradient h3 {
  color: var(--white);
}

/* ==========================================
   3. HEADER & NAVIGATION
   ========================================== */
.site-header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

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

.logo a {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-accent {
  color: var(--color-secondary);
}

.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-menu a {
    color: var(--neutral-dark);
    font-weight: 500;
    font-size: 0.95rem;
  }
  
  .nav-menu a:hover,
  .nav-menu .current-menu-item > a {
    color: var(--color-secondary);
  }
  
  .nav-menu .menu-item-has-children {
    position: relative;
  }
  
  .nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    border: 1px solid var(--neutral-light);
  }
  
  .nav-menu .sub-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .nav-menu .sub-menu a:hover {
    background-color: var(--neutral-lightest);
  }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--neutral-darkest);
  margin-bottom: 5px;
  transition: var(--transition-normal);
}

.mobile-nav-toggle span:last-child {
  margin-bottom: 0;
}

.mobile-nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

/* Mobile Menu Panel */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 1050;
  padding: 6rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-menu.active {
  right: 0;
}

.mobile-nav-menu a {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--neutral-darkest);
  display: block;
  border-bottom: 1px solid var(--neutral-light);
  padding-bottom: 0.5rem;
}

.mobile-nav-menu .sub-menu {
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-nav-menu .sub-menu a {
  font-size: 1rem;
  font-weight: 400;
  border-bottom: none;
  padding-bottom: 0.25rem;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1024;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   4. HERO SECTIONS
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  color: var(--white);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-content {
  z-index: 2;
}

.hero-tagline {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  color: var(--white);
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-family: var(--font-headings);
  font-weight: 800;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--neutral-light);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-graphic {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.glass-dashboard {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
}

.glass-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-1 { background-color: var(--color-danger); }
.dot-2 { background-color: var(--color-accent); }
.dot-3 { background-color: var(--color-success); }

.glass-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glass-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.5rem;
}

.glass-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-success));
  border-radius: var(--radius-full);
}

/* ==========================================
   5. BENCHMARKS & STATS
   ========================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

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

.stat-card {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--neutral-light);
  transition: var(--transition-normal);
}

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

.stat-number {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--neutral-medium);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================
   6. GRID LAYOUTS & CARDS
   ========================================== */
.section-title-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tagline {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--neutral-medium);
  font-size: 1.125rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.feature-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-light);
  transition: var(--transition-normal);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--neutral-dark);
}

/* Two-column Feature Presentation */
.split-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.split-feature:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .split-feature {
    grid-template-columns: 1fr 1fr;
  }
  
  .split-feature.reverse .split-content {
    order: 2;
  }
  .split-feature.reverse .split-visual {
    order: 1;
  }
}

.split-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.split-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.split-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bullet-icon {
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.15rem;
}

/* ==========================================
   7. TESTIMONIALS
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--neutral-darkest);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-text::before {
  content: '“';
  font-family: var(--font-headings);
  font-size: 4rem;
  color: rgba(79, 70, 229, 0.1);
  position: absolute;
  top: -2rem;
  left: -1rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-secondary);
}

.testimonial-info h4 {
  margin-bottom: 0.1rem;
  font-size: 1rem;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--neutral-medium);
}

/* ==========================================
   8. PRICING COMPONENTS
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-light);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--color-secondary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .pricing-card.featured {
    transform: none;
  }
}

.badge-popular {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--color-secondary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-darkest);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--neutral-darkest);
  line-height: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}

.pricing-price-currency {
  font-size: 1.75rem;
  font-weight: 600;
}

.pricing-price-period {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--neutral-medium);
  font-weight: 400;
}

.pricing-plan-desc {
  color: var(--neutral-medium);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.pricing-features-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: bold;
}

.pricing-footer .btn {
  width: 100%;
}

.pricing-subtext {
  text-align: center;
  font-size: 0.9rem;
  color: var(--neutral-medium);
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   9. COMPARATIVE TABLE (OR GRID)
   ========================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-light);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--white);
  min-width: 800px;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--neutral-light);
}

.comparison-table th {
  background-color: var(--neutral-lightest);
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--neutral-darkest);
}

.comparison-table tr:hover td {
  background-color: rgba(79, 70, 229, 0.02);
}

.comparison-table td strong {
  color: var(--neutral-darkest);
}

.check-icon {
  color: var(--color-success);
  font-weight: bold;
  text-align: center;
}

.cross-icon {
  color: var(--color-danger);
  font-weight: bold;
  text-align: center;
}

/* ==========================================
   10. ACCORDION (FAQ)
   ========================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--white);
  border: 1px solid var(--neutral-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--neutral-darkest);
}

.accordion-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
  transition: var(--transition-normal);
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  background-color: var(--neutral-darkest);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::before {
  width: 16px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 16px;
  transition: var(--transition-normal);
}

.accordion-item.active .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--neutral-dark);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* ==========================================
   11. TEAM CARDS
   ========================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-light);
  overflow: hidden;
  text-align: center;
  transition: var(--transition-normal);
}

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

.team-image {
  background-color: var(--color-primary-light);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  font-family: var(--font-headings);
  font-weight: 800;
}

.team-info {
  padding: 1.5rem;
}

.team-info h4 {
  margin-bottom: 0.25rem;
}

.team-info p {
  color: var(--neutral-medium);
  font-size: 0.9rem;
}

/* ==========================================
   12. CALL TO ACTION (CTA)
   ========================================== */
.cta-banner {
  background: linear-gradient(135deg, #4F46E5 0%, #1E1B4B 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.125rem;
}

.cta-banner .btn {
  margin: 0.5rem;
}

/* ==========================================
   13. FOOTER
   ========================================== */
.site-footer {
  background-color: var(--color-primary);
  color: var(--neutral-light);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-brand p {
  margin: 1rem 0 1.5rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Newsletter Form */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.newsletter-form-wrapper {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form-wrapper input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.newsletter-form-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form-wrapper input:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form-wrapper button {
  padding: 0.5rem 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================
   14. SYSTEM PAGES / DEFAULT TEMPLATE HELPERS
   ========================================== */
.post-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
}

.post-card-content {
  padding: 2rem;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--neutral-medium);
  margin-bottom: 0.5rem;
}

.page-header-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: var(--white);
  padding: 5rem 0 3rem 0;
  text-align: center;
}

.page-header-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header-banner p {
  color: var(--neutral-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-content-wrapper {
  padding: 4rem 0;
}

/* Accessible Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
