/* ================================================================================
   AMBER GRANT FUNDING - CONSOLIDATED STYLESHEET
   Modern, Animated, Secure Design inspired by Horizon Engineering
   ================================================================================ */

/* ================== */
/* 1. RESET & BASE STYLES */
/* ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #8b4dff;
  --primary-dark: #6a1b9a;
  --primary-light: #9966ff;
  --secondary-color: #f39c12;
  --secondary-dark: #e67e22;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f9f9f9;
  --bg-white: #fff;
  --border-color: #e0e0e0;
  --success-color: #2ecc71;
  --error-color: #c0392b;
  --warning-color: #f39c12;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-dark));
  border-radius: 2px;
}

/* ================== */
/* 2. COUNTDOWN BANNER */
/* ================== */
#topCountdownBar {
  /* High-end Gold Gradient */
  background: linear-gradient(90deg, #fdfbfb 0%, #ebedee 100%);
  background: linear-gradient(135deg, #fff3d4 0%, #fceabb 100%);
  color: #5d4037; /* Deep professional bronze/brown */
  padding: 12px 20px;
  font-family: 'Inter', sans-serif; /* Modern font choice */
  border-bottom: 2px solid #eec07b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky; /* Keeps it at the top while scrolling */
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#countdownTop {
  color: #d84315; /* Urgent but professional red-orange */
  margin-left: 8px;
  display: inline-block;
  min-width: 140px; /* Prevents text jumping while counting */
}

/* Close Button Styling */
#closeBanner {
  position: absolute;
  right: 0;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #8b4d00;
  cursor: pointer;
  padding: 5px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

#closeBanner:hover {
  opacity: 1;
  color: #000;
}

/* Hidden state for JS */
.banner-hidden {
  display: none !important;
}
/* ================== */
/* 3. NAVBAR STYLES (COMPACT VERSION) */
/* ================== */

/* 1. Base Navbar - Reduced Vertical Padding */
.navbar {
  /* Reduced from 1rem to 0.75rem top/bottom padding for a smaller bar */
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.navbar.scrolled {
  /* Reduced from 0.6rem to 0.4rem top/bottom padding */
  padding: 0.4rem 1.5rem;
  background: rgba(139, 77, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

/* 2. Brand/Logo - Smaller Font and Image */
.navbar-brand {
  color: var(--bg-white) !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  /* Reduced font size for smaller appearance */
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  transition: transform var(--transition-normal);
}
.navbar-brand:hover {
  transform: scale(1.02);
}
.navbar-brand img {
  /* Reduced image width and margin */
  margin-right: 8px;
  width: 40px;
  height: auto;
  transition: transform var(--transition-normal);
  border-radius: 8px;
}
.navbar-brand:hover img {
  transform: rotate(5deg) scale(1.1);
}
.navbar-nav {
  margin-left: auto !important;
}

/* 3. Nav Links - Reduced Padding for Shorter Buttons */
.nav-link {
  color: var(--bg-white) !important;
  font-weight: 500;
  margin: 0 6px; /* Slightly reduced horizontal margin */
  /* Reduced padding from 10px/16px to 8px/12px */
  padding: 8px 12px !important;
  border-radius: 8px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--bg-white);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}
.nav-link:hover::before {
  width: 80%;
}
.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  outline: none !important;
  box-shadow: none !important;
  transition: transform var(--transition-normal);
}
.navbar-toggler:hover {
  transform: scale(1.1);
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu improvements */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px; /* Reduced margin-top slightly */
    box-shadow: var(--shadow-md);
    animation: slideDown 0.3s ease;
  }
  
  .nav-link {
    padding: 10px 16px !important; /* Slightly reduced padding in collapsed menu */
    margin: 6px 0; /* Slightly reduced margin */
    text-align: center;
    border-radius: 8px;
  }
  
  .navbar-brand {
    font-size: 1.2rem; /* Reduced mobile font size */
  }
}

/* Extra Small Mobile Improvements */
@media (max-width: 575.98px) {
  .navbar {
    /* Reduced padding on smallest screens */
    padding: 0.6rem 0.8rem;
  }
  
  .navbar-brand img {
    /* Reduced image size further for smallest screens */
    width: 35px;
  }
  
  .navbar-brand {
    /* Reduced font size further for smallest screens */
    font-size: 1rem;
  }
}
/* ================== */
/* 4. HERO SECTION */
/* ================== */
.hero {
  position: relative;
  min-height: 80vh; /* Enough room for the image */
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(assets/about-mast.png);
  background-size: cover;
  background-position: center;
  /* background-attachment: fixed; Remove for better mobile performance */
  text-align: center;
  padding: 8rem 1rem;
  color: var(--bg-white);
  overflow: hidden;
}

/* Overlay: Subtle transparent gradient without heavy darkening */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Softer, more transparent gradient to keep image clear */
  background: linear-gradient(
    135deg, 
    rgba(106, 27, 154, 0.2) 0%, 
    rgba(0, 0, 0, 0.1) 50%, 
    rgba(139, 77, 255, 0.2) 100%
  );
  z-index: 1;
}

/* Subtle Bottom Fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-white), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 100%;
}

.hero h2 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Reduced shadow for clarity */
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: #ffffff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); /* Reduced shadow */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.98; /* Slightly more opaque */
}

/* Optional: subtle hero entrance animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeInUp 1s ease-out forwards;
}

/* ================== */
/* 5. BUTTONS */
/* ================== */
.btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(139, 77, 255, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 77, 255, 0.4);
}

.btn:active {
  transform: translateY(-1px);
}

/* ================== */
/* 6. FORM STYLES */
/* ================== */
.form-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
  font-weight: 700;
}

.alert-box {
  background: linear-gradient(135deg, #fff7e6 0%, #ffefc4 100%);
  border-left: 5px solid var(--warning-color);
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.alert-box strong {
  color: var(--primary-dark);
}

.help-link {
  font-size: 1rem;
  margin: 15px 0 25px;
  text-align: center;
}

.help-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.help-link a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

form fieldset {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  transition: all var(--transition-normal);
}

form fieldset:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

form legend {
  font-weight: bold;
  color: var(--primary-color);
  padding: 0 15px;
  font-size: 1.2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.required {
  color: var(--error-color);
}

input,
textarea,
select {
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--transition-normal);
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 77, 255, 0.1);
  outline: none;
}

.hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 5px;
}

.error-msg {
  font-size: 0.85rem;
  color: var(--error-color);
  margin-top: 5px;
  display: none;
}

.error input,
.error textarea,
.error select {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.error .error-msg {
  display: block;
}

.success-msg {
  margin-top: 1.5rem;
  padding: 20px;
  background: linear-gradient(135deg, #e8fbe8 0%, #d4f4dd 100%);
  border-left: 5px solid var(--success-color);
  border-radius: 12px;
  color: #2d6a4f;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

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

/* ================== */
/* 7. LOADER/SPINNER */
/* ================== */
.loader {
  text-align: center;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================== */
/* 9. MONTHLY WINNERS (Past Recipients Page) */
/* ==================  */
.monthly-winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.winner-panel {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 3px solid transparent;
}

.winner-panel:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.panel-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff6b9d 100%);
  padding: 20px;
  text-align: center;
  color: var(--white);
}

.month-label {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.category-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
}

.panel-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f0f0f0;
}

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

.winner-panel:hover .panel-image img {
  transform: scale(1.1);
}

.panel-content {
  padding: 20px;
  text-align: center;
}

.panel-content h4 {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.winner-badge {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(139, 77, 255, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
}

/* Winner Modal */
.winner-modal-content {
  background: var(--white);
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
}

.winner-detail-content {
  animation: fadeIn 0.5s ease;
}

.winner-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--primary-color);
}

.winner-month {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, #a85aff 100%);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 15px;
}

.winner-category {
  display: inline-block;
  background: rgba(139, 77, 255, 0.1);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
}

.winner-detail-image {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.winner-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-detail-info h2 {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.winner-quote {
  background: linear-gradient(135deg, var(--primary-color) 0%, #a85aff 100%);
  color: var(--white);
  padding: 25px;
  border-radius: 15px;
  font-size: 1.2rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.winner-quote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.3;
}

.winner-description h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 25px;
}

.winner-description p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ================== */
/* 8. TESTIMONIALS */
/* ================== */
#testimonials {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f0f0f0 100%);
  padding: 5rem 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .round-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
}

.testimonial-card:hover .round-img {
  transform: scale(1.1);
  border-color: var(--secondary-color);
}

.testimonial-card .name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.testimonial-card .city {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.testimonial-card .testimony {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-style: italic;
}

/* ================== */
/* 9. FAQ SECTION */
/* ================== */
#faq {
  background: linear-gradient(135deg, #f8f5ff 0%, #f0ebff 100%);
  padding: 5rem 1rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-white);
  transition: all var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 1.3rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-normal);
}

.faq-question:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #5a0dad 100%);
}

.faq-question::after {
  content: '▼';
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
  padding: 0 1.5rem;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
}

.faq-answer.show {
  max-height: 1000px;
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin-bottom: 1rem;
}

.faq-answer ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

.faq-highlight {
  background-color: #f0ebff;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
  .faq-question {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
  
  .faq-answer.show {
    padding: 1.2rem;
  }
}

/* ========================= */
/* 10. TEAM SECTION (REFINED) */
/* ========================= */

#team {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #f4f6f8 100%);
}

/* ---------- Header ---------- */

.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-header h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.team-header p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Category Titles ---------- */

.team-category-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  position: relative;
}

.team-category-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--secondary-dark)
  );
}

/* ---------- Grid ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* ---------- Card ---------- */

.team-card {
  background: var(--bg-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Image ---------- */

.team-card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* Force rectangular images */
  transition: transform 0.6s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.06);
}

/* ---------- Overlay (Bio Preview) ---------- */

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.15)
  );
  color: #ffffff;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.team-card-overlay p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Content ---------- */

.team-card-content {
  padding: 1.6rem;
  text-align: center;
}

.team-card-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.team-card-position {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* ---------- Social Icons ---------- */

.team-social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 1.2rem;
}

.team-social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-dark);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.team-social-links a:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ---------- Values Section ---------- */

.team-values {
  margin-top: 5rem; /* Increased spacing from section above */
  padding: 4rem 2rem;
  background: var(--bg-white);
  border-radius: 24px; /* Softer, more modern corners */
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border for definition */
}

.team-values-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem); /* Fluid typography */
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.team-values-grid {
  display: grid;
  /* Slightly wider min-width for better readability on tablets */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.team-value-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Smoother curve */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Enhanced Hover State */
.team-value-item:hover {
  background: var(--bg-white);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Icon Container - Making the icon a focal point */
.team-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--bg-light); /* Light background circle */
  border-radius: 50%;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.team-value-item:hover .team-value-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.team-value-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.team-value-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 280px; /* Prevents lines from getting too long */
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .team-values {
    padding: 3rem 1.5rem;
    margin-top: 3rem;
  }

  .team-values-grid {
    gap: 1.5rem;
  }
  
  .team-value-item {
    padding: 2rem 1rem;
  }
}
/* ================== */
/* 11. FOOTER */
/* ================== */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-dark), var(--secondary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section {
  padding: 0 1rem;
}

.footer-section h4 {
  color: var(--bg-white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  font-weight: 700;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--bg-white);
  transform: translateX(5px);
}

.footer-contact-info {
  list-style: none;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-info i {
  margin-right: 10px;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  transition: all var(--transition-normal);
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 50px 0 0 50px;
  outline: none;
}

.newsletter-form button {
  background: var(--secondary-color);
  border: none;
  color: white;
  padding: 0 20px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: background var(--transition-normal);
}

.newsletter-form button:hover {
  background: var(--secondary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-dark), #5a0dad);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 50px;
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: 50px;
    padding: 12px;
  }
}

/* ================== */
/* 12. MODALS */
/* ================== */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1050;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--bg-white);
  padding: 35px;
  border-radius: 16px;
  text-align: center;
  max-width: 550px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideIn 0.4s ease;
  overflow: hidden;
}

.modal-header {
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.modal-header h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.8rem;
}

.modal-body {
  margin-bottom: 30px;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: 15px;
}

.modal-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

.modal-btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-size: 1rem;
  margin: 0 8px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(139, 77, 255, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 77, 255, 0.4);
}

.modal-btn-secondary {
  background: var(--border-color);
  color: var(--text-dark);
}

.modal-btn-secondary:hover {
  background: #d0d0d0;
  transform: translateY(-2px);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: all var(--transition-fast);
}

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

.success-icon {
  color: var(--success-color);
  font-size: 3.5rem;
  margin-bottom: 15px;
  display: block;
}

.warning-icon {
  color: var(--warning-color);
  font-size: 3.5rem;
  margin-bottom: 15px;
  display: block;
}

@media (max-width: 576px) {
  .modal-content {
    padding: 25px;
    width: 95%;
  }
  
  .modal-header {
    padding-bottom: 15px;
    margin-bottom: 20px;
  }
  
  .modal-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}

/* ================== */
/* 13. ANIMATIONS */
/* ================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
  animation: slideUp 1s ease forwards;
}

.animate-slide-down {
  animation: slideDown 1s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* Scroll Reveal Animations */
.reveal {
  position: relative;
  opacity: 0;
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
}

.reveal-left {
  transform: translateX(-100px);
}

.reveal-left.active {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(100px);
}

.reveal-right.active {
  transform: translateX(0);
}

.reveal-up {
  transform: translateY(100px);
}

.reveal-up.active {
  transform: translateY(0);
}

.reveal-down {
  transform: translateY(-100px);
}

.reveal-down.active {
  transform: translateY(0);
}

/* Hover Effects */
.hover-grow {
  transition: transform var(--transition-normal);
}

.hover-grow:hover {
  transform: scale(1.05);
}

.hover-shadow {
  transition: box-shadow var(--transition-normal);
}

.hover-shadow:hover {
  box-shadow: var(--shadow-lg);
}

.hover-lift {
  transition: transform var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ================== */
/* 14. SECURITY FEATURES */
/* ================== */
/* Input validation visual feedback */
input:valid {
  border-color: var(--success-color);
}

input:invalid:not(:placeholder-shown) {
  border-color: var(--error-color);
}

/* Prevent text selection on sensitive elements */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide honeypot fields */
input[name="address_field"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

/* ================== */
/* 15. UTILITY CLASSES */
/* ================== */
.text-center {
  text-align: center;
}

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

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

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

/* ================== */
/* 16. RESPONSIVE DESIGN */
/* ================== */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}
/* ================== */
/* ADDITIONAL STYLES — MAJOR UPDATE April 2026 */
/* ================== */

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.page-hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.page-hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.page-hero .breadcrumb-item a,
.page-hero .breadcrumb-item.active {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ---- Stats Strip ---- */
.stats-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4a0080 100%);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 576px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ---- Hero outline button ---- */
.btn-outline-hero {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

/* ---- Legal pages (privacy, terms, cookies) ---- */
.legal-page-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.legal-effective-date {
  background: #f8f5ff;
  border-left: 4px solid var(--primary-color);
  padding: 12px 18px;
  border-radius: 6px;
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.privacy-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0eaff;
}
.privacy-block:last-child { border-bottom: none; }
.privacy-block h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.privacy-block ul {
  padding-left: 1.5rem;
  line-height: 1.9;
  color: #555;
}
.privacy-block a { color: var(--primary-color); }

/* Cookie type cards */
.cookie-type-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #f8f5ff;
  border: 1px solid #e8dfff;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 1rem;
}
.cookie-type-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.cookie-type-card h5 {
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.cookie-type-card p { color: #555; font-size: 0.92rem; margin-bottom: 0.3rem; }
.cookie-type-card small { color: #888; font-size: 0.82rem; }

/* ---- Contact Info Cards ---- */
.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 14px 16px;
  background: #f8f5ff;
  border-radius: 10px;
  border: 1px solid #e8dfff;
}
.contact-info-icon {
  color: var(--primary-color);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-card p { margin: 0; color: #555; font-size: 0.92rem; }
.contact-info-card a { color: var(--primary-color); text-decoration: none; }

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a0a2e;
  color: #e8e0ff;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  border-top: 3px solid var(--primary-color);
}
.cookie-banner-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-content p {
  margin: 0;
  font-size: 0.92rem;
  flex: 1;
  line-height: 1.6;
}
.cookie-banner-content a { color: #c39fff; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: var(--primary-dark); }
.btn-cookie-decline {
  background: transparent;
  color: #c39fff;
  border: 1px solid rgba(195,159,255,0.4);
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cookie-decline:hover { background: rgba(255,255,255,0.05); }

/* ---- Terms checkbox style ---- */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.93rem;
  color: #555;
  line-height: 1.6;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

/* ---- Section header ---- */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-subtitle { color: var(--text-light); font-size: 1rem; margin-top: 0.5rem; }

/* ---- Newsletter success ---- */
#newsletterSuccess {
  color: var(--success-color);
  font-size: 0.9rem;
  margin-top: 8px;
}

