/* style.css */

/* --- CSS Variables --- */
:root {
    /* Color Palette (Triad - Futuristic) */
    --primary-color: #1A1A2E; /* Deep Space Blue/Purple */
    --primary-color-light: #2c2c4a;
    --secondary-color: #60C8D1; /* Futuristic Teal */
    --secondary-color-dark: #4AB8C0;
    --accent-color: #F7B801; /* Vibrant Gold/Yellow */
    --accent-color-dark: #dba400;

    /* Text Colors */
    --text-color-light: #F0F4F8; /* Light gray for dark backgrounds */
    --text-color-medium: #adb5bd; /* Medium gray for secondary text */
    --text-color-dark: #212529;  /* Dark gray for light backgrounds */
    --text-color-headings: #FFFFFF; /* White for hero and dark section titles */

    /* Background Colors */
    --background-color-dark: #12121F; /* Slightly darker than primary */
    --background-color-light: #F8F9FA; /* Very light gray/off-white */
    --background-color-section-dark: var(--primary-color);
    --background-color-section-light: var(--background-color-light);

    /* Card & UI Element Colors */
    --card-background-dark: rgba(26, 26, 46, 0.8); /* Dark, slightly transparent for glassmorphism on dark backgrounds */
    --card-background-light: #FFFFFF;
    --border-color: rgba(96, 200, 209, 0.3); /* Subtle border using secondary color */
    --input-background: rgba(255, 255, 255, 0.05);
    --input-border: rgba(96, 200, 209, 0.5);
    --input-focus-border: var(--secondary-color);

    /* Fonts */
    --font-family-headings: 'Inter', sans-serif;
    --font-family-body: 'IBM Plex 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 & Shadows */
    --border-radius-sm: 5px;
    --border-radius-md: 8px;
    --box-shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --box-shadow-futuristic: 0 5px 20px rgba(var(--secondary-color-rgb), 0.2); /* For glowing effects */
    --secondary-color-rgb: 96, 200, 209; /* For RGBA shadows */

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s ease-in-out;
}

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

.main-container {
    width: 100%;
    overflow: hidden; /* For Barba.js transitions */
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color-dark); /* Default for light backgrounds */
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.8rem; letter-spacing: -1px; }
h2 { font-size: 2.2rem; } /* Section titles */
h3 { font-size: 1.6rem; } /* Card titles, sub-headings */
h4 { font-size: 1.2rem; }

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

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

a:hover, a:focus {
    color: var(--secondary-color-dark);
    text-decoration: underline;
}

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

/* --- Utility Classes --- */
.content-wrapper {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
    color: var(--text-color-dark); /* Default for light backgrounds */
    position: relative;
    padding-bottom: var(--spacing-sm);
}

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

.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    color: var(--text-color-medium);
}

/* Dark section text adjustments */
.content-section[style*="background-color: var(--primary-color)"],
.content-section[style*="background-image: linear-gradient(rgba(0,0,0"],
.content-section[style*="background-image: linear-gradient(rgba(26,26,46"] {
    color: var(--text-color-light);
}

.content-section[style*="background-color: var(--primary-color)"] .section-title,
.content-section[style*="background-image: linear-gradient(rgba(0,0,0"] .section-title,
.content-section[style*="background-image: linear-gradient(rgba(26,26,46"] .section-title,
.content-section[style*="background-color: var(--primary-color)"] h1,
.content-section[style*="background-image: linear-gradient(rgba(0,0,0"] h1,
.content-section[style*="background-image: linear-gradient(rgba(26,26,46"] h1,
.content-section[style*="background-color: var(--primary-color)"] h2,
.content-section[style*="background-image: linear-gradient(rgba(0,0,0"] h2,
.content-section[style*="background-image: linear-gradient(rgba(26,26,46"] h2,
.content-section[style*="background-color: var(--primary-color)"] h3,
.content-section[style*="background-image: linear-gradient(rgba(0,0,0"] h3,
.content-section[style*="background-image: linear-gradient(rgba(26,26,46"] h3 {
    color: var(--text-color-headings);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Ensure contrast */
}
.content-section[style*="background-color: var(--primary-color)"] p,
.content-section[style*="background-image: linear-gradient(rgba(0,0,0"] p,
.content-section[style*="background-image: linear-gradient(rgba(26,26,46"] p,
.content-section[style*="background-color: var(--primary-color)"] .section-intro,
.content-section[style*="background-image: linear-gradient(rgba(0,0,0"] .section-intro,
.content-section[style*="background-image: linear-gradient(rgba(26,26,46"] .section-intro {
    color: var(--text-color-light);
}

/* --- Header --- */
.site-header {
    background-color: rgba(26, 26, 46, 0.9); /* Semi-transparent dark blue */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-smooth);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo a {
    font-family: var(--font-family-headings);
    font-weight: 800;
    font-size: 1.8rem;
    color: #FFFFFF; /* Ensure logo is white on dark header */
    text-decoration: none;
}

.main-navigation .nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.main-navigation .nav-links a {
    color: var(--text-color-light);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
    position: relative;
}

.main-navigation .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width var(--transition-smooth);
}

.main-navigation .nav-links a:hover,
.main-navigation .nav-links a:focus,
.main-navigation .nav-links a.active { /* Add .active for current page */
    color: var(--accent-color);
}

.main-navigation .nav-links a:hover::after,
.main-navigation .nav-links a:focus::after,
.main-navigation .nav-links a.active::after {
    width: 70%;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-light);
    position: relative;
    transition: transform var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-light);
    left: 0;
    transition: transform var(--transition-smooth), top var(--transition-smooth), bottom var(--transition-smooth);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }


/* --- Hero Section --- */
.hero-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-color-headings); /* White text as per requirement */
    padding: calc(var(--spacing-xl) * 2.5) 0; /* More padding to make it prominent */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Ensure it's substantial */
    position: relative; /* For parallax or other effects */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    color: #FFFFFF; /* Explicitly white */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF; /* Explicitly white */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* --- General Content Section Styling --- */
.content-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.content-section:nth-child(even) { /* Alternate background for visual rhythm */
   background-color: var(--background-color-section-light);
}
.content-section:nth-child(odd):not(#hero) {
    background-color: var(--background-color-dark); /* Dark sections */
    color: var(--text-color-light);
}
/* Ensure dark sections have light text for titles and paragraphs by default */
.content-section:nth-child(odd):not(#hero) .section-title,
.content-section:nth-child(odd):not(#hero) h1,
.content-section:nth-child(odd):not(#hero) h2,
.content-section:nth-child(odd):not(#hero) h3,
.content-section:nth-child(odd):not(#hero) h4 {
    color: var(--text-color-headings);
}
.content-section:nth-child(odd):not(#hero) p,
.content-section:nth-child(odd):not(#hero) .section-intro {
    color: var(--text-color-light);
}
.content-section:nth-child(odd):not(#hero) .card {
    background-color: var(--card-background-dark);
    border: 1px solid var(--border-color);
}
.content-section:nth-child(odd):not(#hero) .card h3,
.content-section:nth-child(odd):not(#hero) .card p {
    color: var(--text-color-light);
}
.content-section:nth-child(odd):not(#hero) .card a {
    color: var(--secondary-color);
}
.content-section:nth-child(odd):not(#hero) .card a:hover {
    color: var(--accent-color);
}

/* --- Buttons (Global) --- */
.cta-button, .submit-button, .read-more-button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color) !important; /* High contrast text on accent */
    font-family: var(--font-family-headings);
    font-weight: 700;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-smooth), transform var(--transition-fast), box-shadow var(--transition-smooth);
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(var(--accent-color-rgb), 0.3); /* Accent color glow */
}
.cta-button:hover, .submit-button:hover, .read-more-button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 15px rgba(var(--accent-color-rgb), 0.4);
    color: var(--primary-color) !important;
}
.cta-button { /* Hero button might be larger */
    padding: calc(var(--spacing-sm) * 1.2) calc(var(--spacing-lg) * 1.2);
    font-size: 1.1rem;
}
.read-more-button {
    background-color: transparent;
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color);
    padding: calc(var(--spacing-xs) * 1.5) calc(var(--spacing-sm) * 1.5); /* Smaller padding */
    font-weight: 500;
    box-shadow: none;
}
.read-more-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(var(--secondary-color-rgb), 0.3);
}

/* --- Forms (Global) --- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: var(--spacing-md);
}
.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: inherit; /* Inherit color from parent section */
}
.contact-section .form-group label { /* Specific for contact section if it's light */
     color: var(--text-color-dark);
}
.content-section:nth-child(odd):not(#hero) .form-group label { /* For dark sections */
    color: var(--text-color-light);
}

input[type="text"],
input[type="email"],
input[type="tel"], /* Added tel type */
input[type="url"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--input-border);
    background-color: var(--input-background);
    color: var(--text-color-light); /* Text color inside input on dark backgrounds */
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.contact-section input[type="text"], /* Specific for contact section if it's light */
.contact-section input[type="email"],
.contact-section textarea {
    background-color: var(--card-background-light); /* Light background for inputs on light section */
    color: var(--text-color-dark); /* Dark text for inputs on light section */
    border: 1px solid #ced4da; /* Standard light border */
}
.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus,
.contact-section textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--secondary-color-rgb), 0.25);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: var(--text-color-medium);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 10px rgba(var(--secondary-color-rgb), 0.3);
}
textarea {
    min-height: 150px;
    resize: vertical;
}

/* --- Cards (Global) --- */
.card {
    background-color: var(--card-background-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-medium);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
    /* align-items: center;  Removed this to allow text to align left within card-content */
    text-align: left; /* Default text alignment */
    height: 100%; /* For equal height cards in grids */
}
.card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--box-shadow-futuristic);
}
.card-image {
    width: 100%;
    overflow: hidden; /* Ensures image respects border-radius of card if at top */
    /* Fixed height for image containers in cards to ensure consistency */
    height: 200px; /* Adjust as needed */
    display: flex; /* For centering image if it's smaller than container */
    align-items: center;
    justify-content: center;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover ensures the image fills the container */
    transition: transform var(--transition-smooth);
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: var(--spacing-md);
    flex-grow: 1; /* Allows content to take remaining space if card has fixed height */
    display: flex;
    flex-direction: column;
}
.card-content h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-dark);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--text-color-dark); /* Default for light cards */
    flex-grow: 1; /* Pushes button to bottom if present */
}
.card-content .read-more-button {
    margin-top: auto; /* Pushes button to bottom */
    align-self: flex-start; /* Align button to the left */
}

/* --- Section Specific Styles --- */

/* Mission Section */
.mission-section .mission-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-lg);
}
.mission-section .mission-text {
    flex: 1;
    min-width: 300px;
}
.mission-section .mission-image-container {
    flex: 1;
    min-width: 300px;
    text-align: center; /* Center image if it's smaller */
}
.mission-section .mission-image-container img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-medium);
    max-width: 450px; /* Control max size */
    margin: 0 auto;
}
.stats-widgets {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.stat-widget {
    background-color: var(--card-background-dark); /* Matches dark section cards */
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    text-align: center;
    min-width: 200px;
    flex: 1;
    box-shadow: var(--box-shadow-light);
    border: 1px solid var(--border-color);
}
.stat-widget .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}
.stat-widget .stat-label {
    font-size: 1rem;
    color: var(--text-color-medium);
    margin-top: var(--spacing-xs);
    margin-bottom: 0;
}

/* History Section */
.history-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}
.history-timeline::before { /* The central line */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--border-color);
    transform: translateX(-50%);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc(var(--spacing-lg) + 25px); /* Space for icon + gap */
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc(var(--spacing-lg) + 25px); /* Space for icon + gap */
}
.timeline-icon {
    position: absolute;
    top: 10px; /* Adjust vertical alignment */
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--primary-color), inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.05);
}
.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px; /* (50px / 2) */
    transform: translateX(0%);
}
.timeline-item:nth-child(even) .timeline-icon {
    left: -25px; /* (50px / 2) */
    transform: translateX(0%);
}
.timeline-icon img {
    width: 28px; /* Adjust icon size */
    height: 28px;
}
.timeline-content {
    background: var(--card-background-dark);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
}
.timeline-content h3 {
    margin-top: 0;
    color: var(--text-color-headings);
}
.timeline-content p {
    color: var(--text-color-light);
}
.gallery-title {
    text-align: center;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    color: var(--text-color-headings);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}
.gallery-grid .card .card-content p {
    font-size: 0.9rem;
    text-align: center;
}

/* Behind The Scenes Section */
.bts-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.process-step.card {
    text-align: center; /* Center content within process steps */
}
.process-step.card .card-image {
    height: 230px; /* Consistent height for these images */
}
.process-step.card .card-content h3 {
    color: var(--text-color-dark); /* Ensure it's dark on light cards */
}
/* If this section is dark, adjust card text color */
.behind-the-scenes-section[style*="background-color: var(--primary-color)"] .process-step.card .card-content h3,
.behind-the-scenes-section[style*="background-color: var(--primary-color)"] .process-step.card .card-content p {
    color: var(--text-color-light);
}


/* Media Section */
.media-section {
    background-color: var(--background-color-section-light); /* Light background for media */
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}
.media-item.card .card-content h3 {
    font-size: 1.25rem;
}

/* External Resources Section */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}
.resource-item.card {
    padding: var(--spacing-md);
}
.resource-item.card .resource-title a {
    font-family: var(--font-family-headings);
    font-size: 1.2rem;
    color: var(--text-color-dark); /* Or primary if on dark card */
    font-weight: 700;
}
.content-section:nth-child(odd):not(#hero) .resource-item.card .resource-title a {
    color: var(--text-color-light);
}
.resource-item.card .resource-title a:hover {
    color: var(--accent-color);
}
.resource-item.card .resource-description {
    font-size: 0.9rem;
    color: var(--text-color-medium); /* Default for light cards */
    margin-top: var(--spacing-xs);
}
.content-section:nth-child(odd):not(#hero) .resource-item.card .resource-description {
    color: var(--text-color-light); /* Adjust for dark cards */
    opacity: 0.8;
}

/* Sustainability Section */
.sustainability-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sustainability-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-lg);
}
.sustainability-text {
    flex: 2; /* More space for text */
    min-width: 300px;
    color: var(--text-color-light); /* For dark background */
}
.sustainability-text p {
    color: var(--text-color-light);
}
.sustainability-image-container {
    flex: 1;
    min-width: 250px;
    text-align: center;
}
.sustainability-image-container img {
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-width: 400px;
    margin: 0 auto;
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-top: var(--spacing-lg);
}
.contact-info p {
    font-size: 1.1rem;
    color: var(--text-color-dark); /* Assuming contact section is light */
}
.content-section:nth-child(odd):not(#hero) .contact-info p {
    color: var(--text-color-light);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--background-color-dark);
    color: var(--text-color-medium);
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    font-size: 0.95rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.site-footer h4 {
    font-size: 1.1rem;
    color: var(--text-color-light);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    position: relative;
    padding-bottom: var(--spacing-xs);
}
.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}
.footer-nav ul, .footer-social ul {
    list-style: none;
}
.footer-nav ul li a, .footer-social ul li a {
    color: var(--text-color-medium);
    text-decoration: none;
    display: block;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast), padding-left var(--transition-smooth);
}
.footer-nav ul li a:hover, .footer-social ul li a:hover {
    color: var(--accent-color);
    padding-left: var(--spacing-xs);
}
.footer-contact-info p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-color-medium);
}
.footer-contact-info a {
    color: var(--text-color-medium);
}
.footer-contact-info a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(var(--secondary-color-rgb), 0.1);
    font-size: 0.9rem;
}
.footer-bottom p {
    color: var(--text-color-medium);
    margin-bottom: 0;
}

/* --- Page Specific Styles --- */
/* success.html */
.success-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--background-color-dark);
    color: var(--text-color-light);
}
.success-page-container h1 {
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}
.success-page-container p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color-light);
}
.success-page-container .cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
}
.success-page-container .cta-button:hover {
    background-color: var(--secondary-color-dark);
}

/* privacy.html & terms.html */
.privacy-page-container,
.terms-page-container,
.about-page-container,
.contact-page-container {
    padding-top: calc(var(--spacing-xl) + 60px); /* 60px approx header height + some buffer */
    padding-bottom: var(--spacing-xl);
    background-color: var(--background-color-light);
    color: var(--text-color-dark);
}
.privacy-page-container .content-wrapper h1,
.terms-page-container .content-wrapper h1,
.about-page-container .content-wrapper h1,
.contact-page-container .content-wrapper h1 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}
.privacy-page-container .content-wrapper h2,
.terms-page-container .content-wrapper h2,
.about-page-container .content-wrapper h2 {
    color: var(--primary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-xs);
}
.privacy-page-container .content-wrapper p,
.terms-page-container .content-wrapper p,
.about-page-container .content-wrapper p,
.contact-page-container .content-wrapper p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}
.privacy-page-container .content-wrapper ul,
.terms-page-container .content-wrapper ul,
.about-page-container .content-wrapper ul {
    list-style-position: inside;
    margin-left: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

/* About Page Specifics */
.about-page-container .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
.team-member.card {
    text-align: center;
}
.team-member.card .card-image {
    width: 150px; /* Smaller, circular images for team members */
    height: 150px;
    border-radius: 50%;
    margin: var(--spacing-md) auto var(--spacing-sm) auto; /* Center image */
    border: 4px solid var(--secondary-color);
    box-shadow: var(--box-shadow-light);
}
.team-member.card .card-image img {
    border-radius: 50%;
}
.team-member.card .card-content h3 {
    font-size: 1.3rem;
    color: var(--text-color-dark);
}
.team-member.card .card-content .team-role {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

/* Contact Page Specifics */
.contact-page-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
@media (min-width: 768px) {
    .contact-page-details {
        grid-template-columns: 1fr 1fr; /* Form and info side by side on larger screens */
    }
}
.contact-page-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}
.contact-page-info p, .contact-page-info ul li {
    margin-bottom: var(--spacing-xs);
}
.contact-page-info ul {
    list-style: none;
    padding-left: 0;
}
.contact-page-info i { /* For icons if used */
    margin-right: var(--spacing-xs);
    color: var(--secondary-color);
}
.map-container {
    margin-top: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--box-shadow-medium);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    .main-navigation .nav-links {
        display: none; /* Hide on mobile by default */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: rgba(26, 26, 46, 0.98); /* Solid background for mobile menu */
        backdrop-filter: blur(5px);
        padding: var(--spacing-md) 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    .main-navigation .nav-links.active {
        display: flex; /* Show when active */
    }
    .main-navigation .nav-links li {
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-links a {
        display: block;
        padding: var(--spacing-sm);
        width: 100%;
    }
    .main-navigation .nav-links a:hover,
    .main-navigation .nav-links a.active {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }
    .main-navigation .nav-links a::after { display: none; } /* Remove underline for mobile nav items */

    .menu-toggle {
        display: block; /* Show burger icon */
    }
    .menu-toggle.active .hamburger {
        background-color: transparent; /* Middle line disappears */
    }
    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-section { padding: var(--spacing-xl) 0; min-height: 60vh; }

    .mission-section .mission-content,
    .sustainability-content {
        flex-direction: column;
        text-align: center;
    }
    .mission-section .mission-image-container img,
    .sustainability-image-container img {
        margin-top: var(--spacing-md);
    }

    .history-timeline::before { left: 25px; } /* Adjust timeline line for mobile */
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: calc(var(--spacing-lg) + 35px); /* Space for icon */
        padding-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) {
         padding-right: 0;
    }
    .timeline-icon, .timeline-item:nth-child(odd) .timeline-icon, .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        transform: translateX(0);
    }
    .footer-content {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-nav ul li a, .footer-social ul li a {
        padding-left: 0; /* Reset hover padding for centered mobile text */
    }
    .footer-nav ul li a:hover, .footer-social ul li a:hover {
        padding-left: 0;
    }

}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .cta-button { padding: var(--spacing-sm) var(--spacing-md); font-size: 0.9rem; }
    .stat-widget { min-width: 100%; }
}

/* Parallax Effect (Basic - more advanced needs JS) */
/*
.parallax-background {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
*/

/* Animate.css adjustments might be needed if they conflict, but usually they play well. */

/* Barba.js transition styling examples (can be more complex) */
.barba-leave-active,
.barba-enter-active {
  transition: opacity .5s ease-in-out, transform .5s ease-in-out;
}
.barba-leave-to {
  opacity: 0;
  transform: translateX(50px); /* Slide out */
}
.barba-enter-from {
  opacity: 0;
  transform: translateX(-50px); /* Slide in */
}