/* style.css */

:root {
  /* Fonts */
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Lato', sans-serif;

  /* Corporate Primary Colors (Cool, Professional) */
  --color-primary-dark: #0A2463;  /* Deep Navy Blue */
  --color-primary-medium: #3E92CC; /* Professional Blue */
  --color-primary-light: #A6D9F7;  /* Light Sky Blue */

  /* Complementary Accent Colors (Warm, Energetic) */
  --color-accent-primary: #FF8C42;  /* Vibrant Orange */
  --color-accent-secondary: #FFB347; /* Softer Orange/Peach */
  --color-accent-highlight: #FFD700; /* Gold/Yellow for highlights */

  /* Neutral Colors */
  --color-text-dark: #222222;
  --color-text-medium: #333333;
  --color-text-light: #555555;
  --color-text-inverted: #FFFFFF; /* For dark backgrounds */
  --color-background-light: #FFFFFF;
  --color-background-medium: #f4f7f9; /* Slightly bluish light gray for sections */
  --color-background-dark: #1a1a1a; /* Darker for footer */
  --color-border: #dde3e8; /* Soft border color */

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-medium) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
  --gradient-hero-overlay: linear-gradient(135deg, rgba(10, 36, 99, 0.7) 0%, rgba(62, 146, 204, 0.6) 100%);
  --gradient-stats-overlay: linear-gradient(135deg, rgba(10, 36, 99, 0.88) 0%, rgba(62, 146, 204, 0.82) 100%);
  --gradient-dynamic-bg: linear-gradient(120deg, var(--color-primary-light) 0%, var(--color-background-medium) 100%);

  /* UI Elements */
  --border-radius-small: 6px;
  --border-radius-medium: 10px;
  --border-radius-large: 16px;
  --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.06);
  --box-shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.1);
  --box-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.12);

  /* Transitions & Animations */
  --transition-curve: cubic-bezier(0.68, -0.55, 0.27, 1.55); /* For non-linear bouncy effects */
  --transition-smooth: 0.35s ease-in-out;
  --transition-fast: 0.2s ease-out;

  /* Spacing */
  --space-xs: 0.5rem;  /* 8px */
  --space-s: 1rem;    /* 16px */
  --space-m: 1.5rem;  /* 24px */
  --space-l: 2.5rem;  /* 40px */
  --space-xl: 4rem;   /* 64px */
  --space-xxl: 6rem;  /* 96px */

  /* Header Height */
  --header-height: 70px; /* Adjust based on actual header styling */
}

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

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

body {
  font-family: var(--font-secondary);
  line-height: 1.7;
  color: var(--color-text-medium);
  background-color: var(--color-background-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
  margin-bottom: var(--space-m);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); } /* Responsive font size */
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  margin-bottom: var(--space-s);
  color: var(--color-text-light);
}

a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover, a:focus {
  color: var(--color-primary-medium);
  text-decoration: underline;
}

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

/* Container */
.container {
  width: 90%;
  max-width: 1280px; /* Slightly wider for modern layouts */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-s);
  padding-right: var(--space-s);
}

/* Section Styling */
.section-padding { padding: var(--space-xl) 0; }
.section-padding-small { padding: var(--space-l) 0; }

.section-title {
  text-align: center;
  margin-bottom: var(--space-l);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background-color: var(--color-accent-primary);
  margin: var(--space-xs) auto 0;
  border-radius: var(--border-radius-small);
}

.section-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto var(--space-l) auto;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

/* Buttons - GLOBAL STYLES */
.btn, button, input[type="submit"], input[type="button"] {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--space-s) var(--space-l);
  border-radius: var(--border-radius-medium);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-smooth) var(--transition-curve);
  box-shadow: var(--box-shadow-light);
  transform-origin: center;
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover,
.btn:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {
  transform: scale(1.05) translateY(-2px);
  box-shadow: var(--box-shadow-medium);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-text-inverted);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gradient-accent); /* Keep gradient, shadow handles interaction */
  filter: brightness(1.1);
}

.btn-secondary {
  background-color: var(--color-primary-medium);
  color: var(--color-text-inverted);
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--color-primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}
.btn-outline:hover, .btn-outline:focus {
  background-color: var(--color-accent-primary);
  color: var(--color-text-inverted);
}

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.9); /* Slight glassmorphism */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-s) 0;
  box-shadow: var(--box-shadow-light);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: none;
}
.logo .logo-accent { color: var(--color-accent-primary); }

.main-nav .nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}
.main-nav .nav-menu li { margin-left: var(--space-m); }
.main-nav .nav-menu li a {
  color: var(--color-text-dark);
  font-weight: 700;
  text-decoration: none;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}
.main-nav .nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-accent-primary);
  border-radius: var(--border-radius-small);
  transition: width var(--transition-smooth) var(--transition-curve);
}
.main-nav .nav-menu li a:hover,
.main-nav .nav-menu li a.active {
  color: var(--color-accent-primary);
}
.main-nav .nav-menu li a:hover::after,
.main-nav .nav-menu li a.active::after {
  width: 100%;
}
.nav-toggle { display: none; } /* For mobile */

/* Registration Form Top Section */
.registration-section.form-top-section {
  background: var(--gradient-primary); /* Already set inline, ensure consistency */
  color: var(--color-text-inverted);
}
.registration-section .form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 700;
  color: var(--color-text-inverted);
}
.registration-form-top .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-m);
  margin-bottom: var(--space-l);
}
.registration-form-top input[type="text"],
.registration-form-top input[type="email"],
.registration-form-top input[type="tel"] {
  width: 100%;
  padding: var(--space-s);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-medium);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.registration-form-top input:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.4);
}
.btn-register {
  display: block;
  width: auto;
  margin: 0 auto;
  padding: var(--space-s) var(--space-xl);
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - var(--header-height)); /* Ensure it takes considerable space */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text-inverted); /* IMPORTANT: Hero text is white */
  padding: var(--space-xl) 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero-overlay); /* Darkened overlay */
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-title {
  color: var(--color-text-inverted); /* Ensure white */
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  margin-bottom: var(--space-m);
}
.hero-subtitle {
  color: var(--color-text-inverted); /* Ensure white */
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.8;
  margin-bottom: var(--space-l);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.btn-hero { font-size: 1.1rem; padding: var(--space-m) var(--space-xl); }

/* Cards (General for Services, Resources, etc.) */
.card {
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow-medium);
  overflow: hidden;
  transition: transform var(--transition-smooth) var(--transition-curve), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  /* align-items: center; /* STROGO: Centers card-image and card-content blocks */
  text-align: center; /* STROGO: Centers text within card-content */
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--box-shadow-heavy);
}
.card-image {
  width: 100%;
  height: 220px; /* STROGO: Fixed height for image container */
  overflow: hidden;
  /* margin: 0 auto; /* STROGO: Ensure image container is centered if card has padding */
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* STROGO: Correctly display image */
  transition: transform 0.4s ease-out;
}
.card:hover .card-image img {
  transform: scale(1.1);
}
.card-content {
  padding: var(--space-l);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Pushes content and read-more apart if used */
}
.card-title {
  color: var(--color-primary-dark);
  margin-bottom: var(--space-s);
}
.card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-m); /* Space before potential "Read More" */
}
.read-more-link {
  font-weight: 700;
  color: var(--color-accent-primary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-top: auto; /* Pushes to the bottom if card-content is flex */
  padding: var(--space-xs) 0;
  position: relative;
}
.read-more-link::after {
  content: '→';
  margin-left: var(--space-xs);
  transition: transform var(--transition-fast);
}
.read-more-link:hover::after {
  transform: translateX(5px);
}

/* Services Section Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-l);
}

/* Features Section */
.features-section { background-color: var(--color-background-medium); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-l);
  margin-top: var(--space-l);
}
.feature-item {
  background-color: var(--color-background-light);
  padding: var(--space-l);
  border-radius: var(--border-radius-medium);
  text-align: center;
  box-shadow: var(--box-shadow-light);
  transition: transform var(--transition-smooth) var(--transition-curve), box-shadow var(--transition-smooth);
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-medium);
}
.feature-icon { margin-bottom: var(--space-m); }
.feature-icon img {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.feature-title {
  font-size: 1.4rem;
  margin-bottom: var(--space-s);
  color: var(--color-primary-medium);
}
.feature-item p { font-size: 0.95rem; color: var(--color-text-light); }

/* Statistics Section */
.statistics-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--color-text-inverted);
}
.statistics-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gradient-stats-overlay);
}
.statistics-section .container { position: relative; z-index: 1; }
.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-l);
  text-align: center;
}
.statistic-item {
  padding: var(--space-m);
  background-color: rgba(255,255,255,0.08); /* Glassmorphism touch */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: var(--border-radius-medium);
  border: 1px solid rgba(255,255,255,0.15);
}
.statistic-number {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-accent-highlight);
  text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}
.statistic-description { font-size: 1rem; line-height: 1.5; opacity: 0.9; }

/* Partners Section */
.partners-slider {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-l);
  margin-top: var(--space-l);
}
.partners-slider .slide img {
  max-height: 70px;
  width: auto;
  filter: grayscale(100%) brightness(1.5); /* Lighter grayscale for dark logos */
  opacity: 0.7;
  transition: filter var(--transition-smooth), opacity var(--transition-smooth), transform var(--transition-smooth) var(--transition-curve);
}
.partners-slider .slide img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.1);
}

/* Sustainability Section */
.sustainability-section { background-color: var(--gradient-dynamic-bg); }
.content-columns {
  display: grid;
  grid-template-columns: 1fr; /* Default for mobile */
  gap: var(--space-l);
  align-items: center;
}
@media (min-width: 768px) {
  .content-columns {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Auto-fit columns */
  }
  .column.is-two-thirds {
    grid-column: span 2; /* Example if you have a 3-column setup and want one to span 2 */
  }
}
.sustainability-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow-heavy);
  object-fit: cover;
}

/* External Resources Section */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-l);
}
.resource-card {
  background-color: var(--color-background-light);
  border-left: 6px solid var(--color-primary-medium);
}
.resource-card .card-content { padding: var(--space-m); text-align: left;}
.resource-card .card-title a { color: var(--color-primary-dark); font-size: 1.25rem; }
.resource-card .card-title a:hover { color: var(--color-accent-primary); }
.resource-card p { font-size: 0.9rem; color: var(--color-text-light); }

/* Contact Info Block (Index Page) */
.contact-info-section {
  background-color: var(--color-primary-dark);
  color: var(--color-text-inverted);
}
.contact-info-section .section-title,
.contact-info-section .section-title::after {
  color: var(--color-text-inverted); /* Ensure title is white */
}
.contact-info-section .section-title::after { background-color: var(--color-accent-primary); }
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-l);
  margin-bottom: var(--space-l);
}
.contact-detail-item h4 {
  color: var(--color-accent-highlight);
  margin-bottom: var(--space-s);
  font-size: 1.3rem;
}
.contact-detail-item p { opacity: 0.9; margin-bottom: 0; font-size: 1rem; }
.contact-detail-item a { color: var(--color-accent-highlight); }
.contact-detail-item a:hover { color: var(--color-text-inverted); }
.contact-cta { text-align: center; margin-top: var(--space-l); }
.contact-cta p { margin-bottom: var(--space-m); font-size: 1.15rem; }


/* Footer */
.site-footer {
  background-color: var(--color-background-dark);
  color: #a0a0a0; /* Lighter text for footer */
  padding: var(--space-xl) 0 var(--space-m);
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-l);
}
.site-footer h4 {
  color: var(--color-text-inverted);
  margin-bottom: var(--space-m);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: var(--space-s); }
.site-footer ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.site-footer ul li a:hover {
  color: var(--color-accent-primary);
  padding-left: var(--space-xs);
}
/* Footer Social Links (Text-based) */
.footer-social ul { display: flex; flex-direction: column; } /* Or row if preferred */
.footer-social ul li a {
  font-weight: 700;
  /* Add any specific styling like icons before text if desired with ::before */
}

.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: var(--space-l);
  padding-top: var(--space-m);
  border-top: 1px solid #333333;
  font-size: 0.9rem;
  color: #888888;
}

/* Specific Page Styles */

/* About Page */
.about-section .section-subtitle {
  text-align: left; /* Override global center for subtitles in multi-col layouts */
  margin-bottom: var(--space-s);
  font-size: 1.8em;
  color: var(--color-primary-dark);
}
.about-section .section-subtitle::after { display: none; }
.about-image img { border-radius: var(--border-radius-large); box-shadow: var(--box-shadow-medium); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-l);
  margin-top: var(--space-l);
  text-align: center;
}
.value-item img { margin: 0 auto var(--space-m) auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1)); }
.value-item h3 { color: var(--color-primary-medium); font-size: 1.35rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-l);
  margin-top: var(--space-l);
}
.team-member-card .card-image {
    height: 180px; /* Adjust for team member portrait */
    width: 180px;
    margin: 0 auto; /* Center the image container */
    border-radius: 50%;
    overflow: hidden; /* Ensure image stays within circle */
    border: 5px solid var(--color-background-light);
    box-shadow: var(--box-shadow-medium);
}
.team-member-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.team-member-card .card-content { text-align: center; padding-top: var(--space-m); }
.team-member-role { font-style: italic; color: var(--color-text-light); margin-bottom: var(--space-s); }

/* Contact Page */
.contact-page-section .page-title { margin-bottom: var(--space-s); }
.contact-page-section .section-intro { margin-bottom: var(--space-xl); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 2fr 1fr; /* Form takes more space */
  }
}
.contact-form-container, .contact-info-aside {
    padding: var(--space-l);
    background-color: var(--color-background-light);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-medium);
}
.contact-form-container .section-subtitle,
.contact-info-aside .section-subtitle {
    text-align: left;
    margin-bottom: var(--space-l);
}
.contact-form-container .section-subtitle::after,
.contact-info-aside .section-subtitle::after { display: none; }

.contact-form .form-group { margin-bottom: var(--space-m); }
.contact-form .form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 700;
  color: var(--color-text-dark);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: var(--space-s);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-medium);
  font-size: 1rem;
  color: var(--color-text-medium);
  background-color: #fdfdfd;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary-medium);
  box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.3);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form .checkbox-label { font-size: 0.9rem; color: var(--color-text-light); }
.contact-form .checkbox-label a { color: var(--color-primary-dark); }
.btn-submit-form { width: 100%; padding: var(--space-m); font-size: 1.1rem; }

.contact-info-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-l);
}
.contact-info-block img { /* Icon */
  margin-right: var(--space-m);
  margin-top: var(--space-xs);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.contact-info-block h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}
.contact-info-block p, .contact-info-block a { margin: 0; line-height: 1.6; color: var(--color-text-light); }
.contact-info-block a:hover { color: var(--color-accent-primary); }
.map-placeholder img { border-radius: var(--border-radius-medium); border: 1px solid var(--color-border); }

/* Legal Pages (Privacy, Terms) */
.legal-page-section {
  padding-top: calc(var(--header-height) + var(--space-l)); /* Offset for fixed header */
  padding-bottom: var(--space-xl);
}
.legal-page-section .page-title { margin-bottom: var(--space-xs); }
.legal-page-section .last-updated {
  text-align: center;
  display: block;
  margin-bottom: var(--space-xl);
  font-style: italic;
  color: var(--color-text-light);
}
.legal-content h2 {
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  margin-top: var(--space-l);
  margin-bottom: var(--space-m);
  padding-bottom: var(--space-s);
  border-bottom: 2px solid var(--color-border);
}
.legal-content h3 {
  font-size: 1.4rem;
  color: var(--color-primary-medium);
  margin-top: var(--space-m);
  margin-bottom: var(--space-s);
}
.legal-content p, .legal-content ul li {
  margin-bottom: var(--space-s);
  line-height: 1.8;
  color: var(--color-text-light);
}
.legal-content ul { padding-left: var(--space-l); }

/* Success Page */
.success-page-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* Full viewport height */
  text-align: center;
  background: var(--gradient-dynamic-bg);
  padding: var(--space-l);
}
.success-icon {
  font-size: 6rem; /* Make icon larger */
  color: var(--color-accent-primary); /* Use accent color */
  margin-bottom: var(--space-l);
  animation: success-bounce 0.8s var(--transition-curve) forwards; /* Non-linear bounce */
}
@keyframes success-bounce {
  0% { transform: scale(0.5) translateY(20px); opacity: 0; }
  60% { transform: scale(1.1) translateY(-10px); opacity: 1; }
  80% { transform: scale(0.95) translateY(5px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.success-message h1 {
  color: var(--color-text-dark);
  margin-bottom: var(--space-m);
}
.success-message p {
  color: var(--color-text-light);
  font-size: 1.15rem;
  margin-bottom: var(--space-l);
  max-width: 600px;
}

/* Cookie Consent Popup */
/* (Inline styles in HTML take precedence, but can be overridden here if needed) */
#cookie-consent-popup {
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  /* Use variables for colors if desired for consistency */
}
#cookie-consent-popup p a { text-decoration: underline; }
#cookie-consent-popup p a:hover { color: var(--color-accent-secondary); }
#accept-cookies-btn {
  /* Using global button styles, can add specifics if needed */
  background-color: var(--color-accent-primary) !important; /* Ensure override inline style if any */
}
#accept-cookies-btn:hover {
   filter: brightness(1.1);
}

/* Responsive (Mobile Menu) */
@media (max-width: 991px) { /* Breakpoint for tablet and mobile menu */
  .main-nav .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: absolute;
    top: var(--header-height); /* Position below header */
    left: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: var(--space-s) 0;
    border-top: 1px solid var(--color-border);
  }
  .main-nav .nav-menu.active { display: flex; }
  .main-nav .nav-menu li { margin: 0; width: 100%; text-align: left; }
  .main-nav .nav-menu li a {
    display: block;
    padding: var(--space-m) var(--space-l);
    border-bottom: 1px solid var(--color-border);
    font-size: 1.1rem;
  }
  .main-nav .nav-menu li:last-child a { border-bottom: none; }
  .main-nav .nav-menu li a::after { display: none; }

  .nav-toggle {
    display: flex; /* Use flex for alignment */
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    width: 40px;
    height: 40px;
    z-index: 1001; /* Above menu */
  }
  .hamburger {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary-dark);
    position: relative;
    border-radius: var(--border-radius-small);
    transition: transform var(--transition-smooth), background-color var(--transition-smooth);
  }
  .hamburger::before,
  .hamburger::after {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-primary-dark);
    position: absolute;
    left: 0;
    border-radius: var(--border-radius-small);
    transition: transform var(--transition-smooth), top var(--transition-smooth);
  }
  .hamburger::before { top: -8px; }
  .hamburger::after { top: 8px; }

  .nav-toggle.active .hamburger { background-color: transparent; } /* Middle bar disappears */
  .nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
  .nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

  .hero-section { min-height: 70vh; } /* Adjust hero for smaller screens */
  .registration-form-top .form-grid { grid-template-columns: 1fr; }
  .footer-container { text-align: center; }
  .footer-container > div { margin-bottom: var(--space-m); }
  .site-footer h4 { margin-top: 0; }
  .footer-social ul { justify-content: center; flex-direction: row; gap: var(--space-m); }
}

@media (max-width: 767px) {
  .column.is-two-thirds {
      grid-column: span 1; /* Stack columns on mobile */
  }
  .content-columns {
      grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary-dark { color: var(--color-primary-dark); }
.text-accent { color: var(--color-accent-primary); }
.text-white { color: var(--color-text-inverted); }
.bg-light { background-color: var(--color-background-light); }
.bg-medium { background-color: var(--color-background-medium); }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.d-none { display: none !important; }

/* Parallax & Scroll Animations (Placeholders for GSAP) */
.parallax-element { /* GSAP will target this */ }
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  /* GSAP handles transition, but good for no-JS fallback if slightly visible */
}
/* .scroll-animate.is-visible { opacity: 1; transform: translateY(0); } /* GSAP will add this */

/* Glassmorphism example (can be applied to modals, specific cards) */
.glass-effect {
  background: rgba(255, 255, 255, 0.2); /* Adjust alpha for desired transparency */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-large);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); /* Subtle shadow */
}