/* Table of Contents
------------------------------------
1. Global Styles & Variables
2. Typography
3. Layout (Container, Columns)
4. Header & Navigation
5. Footer
6. Buttons & Forms
7. Hero Section
8. Content Sections (General)
9. Specific Sections
    - About Us
    - Services (Cards)
    - Our Process (Accordion)
    - Projects (Cards)
    - History
    - Sustainability
    - Clientele (Testimonials)
    - Press
    - External Resources
    - Contact
10. UI Components
    - Cards (General)
    - Accordion
    - Progress Bar
    - Switch Toggle
    - Animated Icon Placeholder
11. Utility Classes
12. Page-Specific Styles
    - Legal Pages (Privacy, Terms)
    - Success Page
13. Responsive Design
------------------------------------ */

/* 1. Global Styles & Variables
------------------------------------ */
:root {
  /* Colors */
  --primary-color: #0d47a1; /* Deep Blue */
  --secondary-color: #ff6f00; /* Vibrant Orange */
  --accent-color: #fdd835; /* Bright Yellow */
  
  --neutral-darkest: #121212;
  --neutral-dark: #222222;
  --neutral-medium: #5f6368;
  --neutral-light: #e8eaed;
  --neutral-lightest: #f8f9fa;

  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --text-color-medium: #555555;

  --background-color-light: #ffffff;
  --background-color-page: var(--neutral-lightest);
  
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(45deg, #4e54c8, #8f94fb);
  --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  --gradient-hero-overlay: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);


  /* Fonts */
  --font-family-headings: 'Poppins', sans-serif;
  --font-family-body: 'Work Sans', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;  /* 8px */
  --spacing-sm: 1rem;    /* 16px */
  --spacing-md: 1.5rem;  /* 24px */
  --spacing-lg: 2.5rem;  /* 40px */
  --spacing-xl: 4rem;    /* 64px */

  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  /* Transitions */
  --transition-speed-fast: 0.2s;
  --transition-speed-normal: 0.3s;
  --transition-speed-slow: 0.5s;

  /* Header Height */
  --header-height: 70px; /* Adjust as needed */
}

*,
*::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-family-body);
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-color-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* 2. Typography
------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--neutral-dark);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-color-medium);
}

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

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

/* 3. Layout (Container, Columns)
------------------------------------ */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: calc(-1 * var(--spacing-sm) / 2); /* Gutter compensation */
}

.column {
  padding: calc(var(--spacing-sm) / 2); /* Gutter */
  flex-grow: 1;
  flex-basis: 0;
}

.column.is-one-third { flex: none; width: 33.3333%; }
.column.is-two-thirds { flex: none; width: 66.6667%; }
.column.is-half { flex: none; width: 50%; }
.column.is-full { flex: none; width: 100%; }

/* Asymmetric balance can be achieved by combining column widths */
.asymmetric-balance-container {
  align-items: center; /* Vertically align items in asymmetric layouts */
}

/* 4. Header & Navigation
------------------------------------ */
.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--spacing-xs) 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: var(--header-height);
}

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

.logo {
  font-family: var(--font-family-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
}
.logo-accent {
  color: var(--secondary-color);
}

.main-navigation .nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.main-navigation .nav-menu li {
  margin-left: var(--spacing-md);
}

.main-navigation .nav-menu a {
  font-family: var(--font-family-body);
  font-weight: 500;
  color: var(--neutral-dark);
  text-decoration: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: color var(--transition-speed-fast), background-color var(--transition-speed-fast);
}

.main-navigation .nav-menu a:hover,
.main-navigation .nav-menu a.active {
  color: var(--secondary-color);
  background-color: rgba(0,0,0,0.05);
}

.nav-toggle {
  display: none; /* Hidden by default, shown on mobile */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle .hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--neutral-dark);
  margin: 5px 0;
  transition: var(--transition-speed-normal);
  border-radius: 3px;
}

/* Hamburger animation for active state (JS controlled) */
.nav-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 5. Footer
------------------------------------ */
.site-footer {
  background-color: var(--neutral-darkest);
  color: var(--neutral-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: auto; /* Push footer to bottom in flex layouts like success page */
}

.footer-container {
  /* Uses default container styling */
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-column {
  flex: 1;
  min-width: 200px; /* Ensure columns don't get too squeezed */
}

.footer-column h4 {
  color: var(--text-color-light);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  font-weight: 600;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: var(--spacing-xs);
  display: inline-block;
}

.footer-column p {
  color: var(--neutral-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.footer-column ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-column ul a {
  color: var(--neutral-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-speed-fast), padding-left var(--transition-speed-fast);
}

.footer-column ul a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
  text-decoration: none;
}

.social-links-text a {
  /* Uses default link styling from .footer-column ul a */
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--neutral-medium);
  font-size: 0.85rem;
  color: var(--neutral-light);
}

/* 6. Buttons & Forms
------------------------------------ */
.button, button, input[type="submit"], input[type="button"] {
  display: inline-block;
  font-family: var(--font-family-headings);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-speed-normal) ease;
  white-space: nowrap; /* Prevent wrapping */
}

.button-primary {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  border-color: var(--secondary-color);
}
.button-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.button-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.button-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  transform: translateY(-2px);
}

.form-field, .field {
  margin-bottom: var(--spacing-md);
}

.label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color-dark); /* Default for light backgrounds */
}

.input, .textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid var(--neutral-light);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--text-color-dark);
  background-color: var(--background-color-light);
  transition: border-color var(--transition-speed-fast), box-shadow var(--transition-speed-fast);
}
.input:focus, .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb, 13, 71, 161), 0.1); /* Define --primary-color-rgb if using rgba with it */
  outline: none;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

/* For forms on dark/gradient backgrounds */
.section-gradient-bg .label,
.section-gradient-bg .checkbox-label {
  color: var(--text-color-light);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.section-gradient-bg .input,
.section-gradient-bg .textarea {
  background-color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--text-color-light);
}
.section-gradient-bg .input::placeholder,
.section-gradient-bg .textarea::placeholder {
  color: rgba(255,255,255,0.7);
}
.section-gradient-bg .input:focus,
.section-gradient-bg .textarea:focus {
  border-color: var(--accent-color);
  background-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb, 253, 216, 53), 0.2);
}


/* 7. Hero Section
------------------------------------ */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Basic parallax effect for background */
  /* background-attachment: fixed; -> Can cause issues on mobile or with complex layouts. GSAP is better. */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero-overlay); /* Darkening overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-color-light);
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--text-color-light); /* Explicitly white */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-color-light); /* Explicitly white */
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-cta {
  font-size: 1.1rem;
  padding: var(--spacing-md) var(--spacing-xl);
}

/* 8. Content Sections (General)
------------------------------------ */
main {
  padding-top: var(--header-height); /* Offset for fixed header */
}

.content-section {
  padding: var(--spacing-xl) 0;
  position: relative; /* For potential parallax elements or pseudo-elements */
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neutral-darkest);
  margin-bottom: var(--spacing-xs);
  position: relative;
}
.section-title::after { /* Optional underline accent */
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: var(--spacing-xs) auto var(--spacing-lg) auto;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-color-medium);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.section-gradient-bg {
  background: var(--gradient-primary);
}
.section-gradient-bg .section-title,
.section-gradient-bg .section-subtitle,
.section-gradient-bg p,
.section-gradient-bg h3,
.section-gradient-bg .card-title {
  color: var(--text-color-light);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.section-gradient-bg .section-title::after {
  background-color: var(--accent-color);
}

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

.image-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.image-container img {
    border-radius: var(--border-radius-md); /* If not already handled by overflow */
}

/* 9. Specific Sections
------------------------------------ */
/* About Us, History */
.asymmetric-balance-container .column.is-one-third .image-container {
    max-width: 400px; /* Control image size in asymmetric layouts */
    margin: 0 auto;
}

/* Sustainability */
.image-responsive-centered {
  display: block;
  max-width: 100%;
  height: auto;
  margin: var(--spacing-md) auto;
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Clientele (Testimonials) */
.testimonial-card {
  background-color: var(--background-color-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 20px rgba(0,0,0,0.07);
  height: 100%; /* For equal height in a row */
  display: flex;
  flex-direction: column;
  text-align: left;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-color-medium);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  font-size: 1rem;
  position: relative;
  padding-left: var(--spacing-lg);
}
.testimonial-text::before {
  content: '“';
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--secondary-color);
  position: absolute;
  left: -5px;
  top: -10px;
}
.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  text-align: right;
  margin-top: auto;
  font-size: 0.9rem;
}

/* Press */
.press-article {
  background: var(--background-color-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: var(--spacing-md); /* If stacked */
  height: 100%;
  display: flex;
  flex-direction: column;
}
.press-title {
  color: var(--primary-color);
  font-size: 1.4rem;
}
.press-article p {
  flex-grow: 1;
}
.press-link {
  margin-top: auto; /* Pushes button to bottom */
  align-self: flex-start; /* Aligns button to left */
}

/* External Resources */
.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}
.resource-item {
  background-color: var(--background-color-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary-color);
}
.resource-title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}
.resource-title a {
  color: var(--primary-color);
  font-weight: 600;
}
.resource-title a:hover {
  color: var(--secondary-color);
}
.resource-description {
  font-size: 0.9rem;
  color: var(--text-color-medium);
}
.resource-item a[target="_blank"] {
  display: inline-block;
  margin-top: var(--spacing-sm);
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  font-size: 0.9rem;
}
.resource-item a[target="_blank"]::after {
  content: ' →'; /* Simple arrow */
}
.resource-item a[target="_blank"]:hover {
  text-decoration: underline;
}

/* Contact */
.contact-layout .contact-form-column {
    /* Styles for form area */
}
.contact-layout .contact-info-column {
    /* Styles for info area */
}
.contact-info-column h3 {
    margin-bottom: var(--spacing-md);
}
.contact-info-column p {
    margin-bottom: var(--spacing-sm);
}
.contact-link {
    color: var(--text-color-light); /* Assuming on gradient bg */
    font-weight: 500;
}
.contact-link:hover {
    color: var(--accent-color);
}
.map-placeholder img {
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* 10. UI Components
------------------------------------ */
/* Cards (General for Services, Projects) */
.card-grid {
    /* Uses .columns for layout */
}
.card {
  background-color: var(--background-color-light);
  border-radius: var(--border-radius-md);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  height: 100%; /* For equal height cards in a row */
  display: flex;
  flex-direction: column;
  text-align: center; /* Center inline/inline-block content within */
  transition: transform var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
  position: relative; /* For potential overlays on image */
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed-slow) ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
  padding: var(--spacing-md);
  flex-grow: 1; /* Allows content to push footer elements (if any) down */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* If there are elements to space out */
}
.card-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}
.card .animated-icon-placeholder {
    margin-top: auto; /* Push to bottom if card content uses flex-grow */
}

/* For cards on gradient backgrounds */
.section-gradient-bg .card {
  background-color: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(5px); */ /* Can be performance intensive */
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color-light);
}
.section-gradient-bg .card .card-title {
    color: var(--text-color-light);
    text-shadow: none; /* Already has general text-shadow for section */
}
.section-gradient-bg .card p {
    color: var(--neutral-light);
    text-shadow: none;
}


/* Accordion */
.accordion-container {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg) auto;
  border: 1px solid var(--neutral-light);
  border-radius: var(--border-radius-md);
  overflow: hidden; /* For rounded corners on items */
}
.accordion-item {
  border-bottom: 1px solid var(--neutral-light);
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-header {
  background-color: var(--background-color-light);
  color: var(--text-color-dark);
  cursor: pointer;
  padding: var(--spacing-md);
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-family-headings);
  transition: background-color var(--transition-speed-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header:hover {
  background-color: var(--neutral-lightest);
}
.accordion-icon {
  font-size: 1.3rem;
  color: var(--secondary-color);
  transition: transform var(--transition-speed-normal);
  font-weight: bold;
}
.accordion-icon::before { content: '+'; }
.accordion-header[aria-expanded="true"] .accordion-icon::before { content: '−'; }

.accordion-content {
  background-color: var(--neutral-lightest);
  padding: 0 var(--spacing-md); /* Padding applied when open */
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed-normal) ease-out, padding var(--transition-speed-normal) ease-out;
}
.accordion-header[aria-expanded="true"] + .accordion-content {
  padding: var(--spacing-md);
  /* max-height is set by JS */
}
.accordion-content p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
  color: var(--text-color-medium);
}
.accordion-content p:last-child { margin-bottom: 0; }

/* Progress Bar */
.progress-indicator-container {
  margin-top: var(--spacing-lg);
  width: 100%;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.progress-indicator-container p {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-xs);
  color: var(--text-color-light); /* Specific for Hero section */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.progress-bar {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius-sm);
  height: 12px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}
.progress-bar-fill {
  height: 100%;
  background: var(--gradient-secondary); /* Eye-catching fill */
  border-radius: var(--border-radius-sm);
  transition: width var(--transition-speed-slow) ease-in-out;
  box-shadow: 0 0 10px rgba(var(--accent-color-rgb, 253, 216, 53), 0.5);
}

/* Switch Toggle */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-right: var(--spacing-sm);
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neutral-medium);
  transition: var(--transition-speed-normal);
  border-radius: 24px;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: var(--transition-speed-normal);
  border-radius: 50%;
}
.switch input:checked + .switch-slider {
  background-color: var(--secondary-color);
}
.switch input:focus + .switch-slider {
  box-shadow: 0 0 1px var(--secondary-color);
}
.switch input:checked + .switch-slider:before {
  transform: translateX(20px);
}

/* Animated Icon Placeholder */
.animated-icon-placeholder {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  margin: var(--spacing-sm) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem; /* For icon font or SVG */
  color: var(--text-color-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.animated-icon-placeholder::before {
  /* content: attr(data-icon-name); For actual icons, use icon font or SVG */
  /* Example for FontAwesome if used: content: '\f12e'; font-family: 'Font Awesome 5 Free'; */
}

/* 11. Utility Classes
------------------------------------ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.margin-bottom-lg { margin-bottom: var(--spacing-lg); }
/* Add more as needed */

/* Parallax placeholder styles (actual implementation often uses JS like GSAP) */
.parallax-element {
  /* To be animated by JS */
  transition: transform 0.1s linear; /* Smooth movement if driven by scroll */
}

/* 12. Page-Specific Styles
------------------------------------ */
/* Legal Pages (Privacy, Terms) */
body.legal-page main { /* Assuming a class 'legal-page' is added to body for these pages */
  padding-top: calc(var(--header-height) + var(--spacing-xl)); /* Extra top padding */
  padding-bottom: var(--spacing-xl);
}
body.legal-page .container h1 {
    margin-bottom: var(--spacing-lg);
}
body.legal-page .container h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
}

/* Success Page */
body.success-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.success-page main { /* Assuming main content for success message */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--gradient-primary); /* Or a softer gradient */
}
.success-message-container {
  background-color: var(--background-color-light);
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: 600px;
}
.success-message-container h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}
.success-message-container p {
  color: var(--text-color-medium);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}
.success-message-container .button {
  font-size: 1.1rem;
}


/* Focus States for Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--background-color-light), 0 0 0 4px var(--accent-color); /* More visible on dark bgs */
}
.switch input:focus-visible + .switch-slider {
  box-shadow: 0 0 0 2px var(--background-color-light), 0 0 0 4px var(--accent-color);
}
.accordion-header:focus-visible {
    background-color: var(--neutral-lightest);
    outline: 2px solid var(--accent-color);
    outline-offset: -2px; /* Inside */
}


/* 13. Responsive Design
------------------------------------ */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  .hero-title { font-size: 3rem; }
  h2, .section-title { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  .columns {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .column {
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 1001; /* Above nav menu */
  }
  .main-navigation .nav-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--background-color-light);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--neutral-light);
  }
  .main-navigation .nav-menu.is-active {
    display: flex; /* Shown when active */
  }
  .main-navigation .nav-menu li {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .main-navigation .nav-menu a {
    display: block;
    padding: var(--spacing-sm);
    width: 100%;
    border-radius: 0;
  }
  .main-navigation .nav-menu a:hover {
      background-color: var(--neutral-lightest);
  }

  .columns, .card-grid {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
  }
  .column,
  .column.is-one-third,
  .column.is-two-thirds,
  .column.is-half {
    width: 100%;
    flex: none;
    margin-bottom: var(--spacing-md);
    padding-left: 0;
    padding-right: 0;
  }
  .columns .column:last-child {
      margin-bottom: 0;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; }

  .footer-columns {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  .footer-column {
    min-width: auto; /* Reset min-width for stacked layout */
    margin-bottom: var(--spacing-md);
  }
  .footer-column:last-child {
      margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xs: 0.4rem;
    --spacing-sm: 0.8rem;
    --spacing-md: 1.2rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }
  .container {
      width: 95%;
  }
  h1 { font-size: 2rem; }
  .hero-title { font-size: 2.2rem; }
  h2, .section-title { font-size: 1.6rem; }
  .button, button, input[type="submit"] {
      font-size: 0.9rem;
      padding: var(--spacing-sm) var(--spacing-md);
  }
  .hero-cta {
      padding: var(--spacing-md) var(--spacing-lg);
  }
}

/* Print styles */
@media print {
  body {
    background-color: #fff;
    color: #000;
  }
  .site-header, .site-footer, .nav-toggle, .hero-cta, .contact-form, .map-placeholder, .cookie-popup {
    display: none !important;
  }
  main {
      padding-top: 0;
  }
  .section-gradient-bg {
      background: none;
      color: var(--text-color-dark);
  }
  .section-gradient-bg .section-title,
  .section-gradient-bg .section-subtitle,
  .section-gradient-bg p,
  .section-gradient-bg h3,
  .section-gradient-bg .card-title,
  .section-gradient-bg .label,
  .section-gradient-bg .checkbox-label {
    color: var(--text-color-dark);
    text-shadow: none;
  }
  a {
    text-decoration: underline;
    color: #000;
  }
  .card, .press-article, .resource-item {
      box-shadow: none;
      border: 1px solid #ccc;
  }
}