/* style.css */

:root {
    /* Fonts */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;

    /* Tetrad Color Palette - Consulting Theme */
    --color-primary: #2962FF;       /* Professional Blue */
    --color-primary-dark: #0039CB;  /* Darker Blue for interactions */
    --color-primary-light: #768FFF; /* Lighter Blue for highlights */

    --color-secondary: #FFAB00;    /* Engaging Amber/Orange */
    --color-secondary-dark: #FF8F00;/* Darker Amber */

    --color-accent1: #00BFA5;      /* Trustworthy Teal/Green */
    --color-accent1-dark: #008E76; /* Darker Teal */

    --color-accent2: #D500F9;      /* Innovative Purple */
    --color-accent2-dark: #AA00C7; /* Darker Purple */

    /* Neuromorphism Backgrounds & Elements */
    --color-bg-main: #eef2f7;          /* Very light, cool grey-blue */
    --color-bg-element: #e0e5ec;       /* Base for elements */
    --color-bg-element-light: #f7faff; /* Lighter version for highlights */
    --color-bg-element-dark: #c8d0e0;  /* Darker version for depth or pressed state */

    /* Text Colors */
    --color-text-dark: #263238;    /* Dark Blue Grey - high contrast */
    --color-text-medium: #546E7A;  /* Medium Blue Grey - secondary text */
    --color-text-light: #FFFFFF;   /* White for dark backgrounds */
    --color-text-accent: var(--color-primary);
    --color-text-on-primary: var(--color-text-light); /* Text on primary-colored buttons/elements */
    --color-text-on-secondary: var(--color-text-dark); /* Text on secondary-colored elements (if light enough) */


    /* Shadows for Neuromorphism */
    --shadow-distance: 6px;
    --shadow-blur: 12px;
    --shadow-light-rgb: 255, 255, 255;      /* Pure white for light shadow */
    --shadow-dark-rgb: 174, 174, 192;      /* Desaturated, darker than bg-element */
    /* Darker shadow for more emphasis or inset effect */
    --shadow-dark-strong-rgb: 150, 150, 170;

    /* Borders & Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 15px; /* Common radius for Neuromorphic cards */
    --border-radius-lg: 25px;
    --border-color: #d1d9e6;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Spacing */
    --space-xs: 0.5rem;  /* 8px */
    --space-sm: 1rem;    /* 16px */
    --space-md: 1.5rem;  /* 24px */
    --space-lg: 2rem;    /* 32px */
    --space-xl: 3rem;    /* 48px */
    --space-xxl: 4rem;   /* 64px */

    /* Glassmorphism (Subtle application) */
    --glass-blur: 8px;
    --glass-bg: rgba(224, 229, 236, 0.6); /* Based on --color-bg-element with alpha */
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);

    /* Header height for page content offset */
    --header-height: 70px; /* Adjust if header height changes */
    --header-height-mobile: 60px;
}

/* BASIC RESET & GLOBAL STYLES */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* Corresponds to 16px by default */
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    flex-grow: 1;
    width: 100%;
    overflow: hidden; /* Contains elements */
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--color-text-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-secondary);
    text-decoration: none; /* Often preferred in modern design, provide other visual cues */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    text-wrap: balance; /* Improves headline wrapping */
}
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.1rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: var(--space-sm);
    max-width: 75ch; /* Optimal reading line length */
}
ul, ol {
    list-style-position: inside; /* Or outside, depending on preference */
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md); /* Standard padding for lists */
}
li {
    margin-bottom: var(--space-xs);
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-light { color: var(--color-text-light); }
.text-medium { color: var(--color-text-medium); }
.font-bold { font-weight: 700; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* LAYOUT */
.container {
    width: 90%;
    max-width: 1200px; /* Standard max width */
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.section-padding {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text-dark); /* Ensure high contrast for section titles */
    text-shadow: 1px 1px 2px rgba(var(--shadow-dark-rgb), 0.1);
}

.section-intro {
    font-size: 1.125rem; /* 18px */
    color: var(--color-text-medium);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
    text-align: center;
    line-height: 1.7;
}

.column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}
.column {
    flex: 1 1 300px; /* Default flex behavior for columns */
}
.column.is-two-thirds {
    flex-grow: 2;
    flex-basis: 0; /* Allow flex-grow to dominate */
    min-width: 60%; /* Ensure it takes more space if possible */
}
/* Asymmetrical Balance Example: */
.asymmetrical-layout {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 768px) {
    .asymmetrical-layout.content-image { /* Text left, Image right */
        grid-template-columns: 2fr 1fr;
    }
    .asymmetrical-layout.image-content { /* Image left, Text right */
        grid-template-columns: 1fr 2fr;
    }
    .asymmetrical-layout.image-content .column:first-child {
        order: -1; /* For mobile: make image appear first if it's coded second */
    }
}


/* NEUROMORPHISM BASE */
.neu-element {
    background-color: var(--color-bg-element);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    box-shadow:
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) rgba(var(--shadow-dark-rgb), 0.5),
        calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) rgba(var(--shadow-light-rgb), 0.8);
    transition: box-shadow var(--transition-medium);
}
.neu-element:hover { /* Subtle hover lift */
    box-shadow:
        calc(var(--shadow-distance) * 1.5) calc(var(--shadow-distance) * 1.5) calc(var(--shadow-blur) * 1.5) rgba(var(--shadow-dark-rgb), 0.45),
        calc(-1 * var(--shadow-distance) * 1.5) calc(-1 * var(--shadow-distance) * 1.5) calc(var(--shadow-blur) * 1.5) rgba(var(--shadow-light-rgb), 0.75);
}

.neu-element-inset {
    background-color: var(--color-bg-element);
    border-radius: var(--border-radius-md);
    padding: var(--space-lg);
    box-shadow:
        inset var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) rgba(var(--shadow-dark-rgb), 0.5),
        inset calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) rgba(var(--shadow-light-rgb), 0.8);
}


/* GLOBAL COMPONENT STYLES */

/* Buttons */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden; /* For ripple */

    /* Neuromorphic Button Style */
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    box-shadow:
        calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-dark-rgb), 0.4),
        calc(-1 * var(--shadow-distance) / 2) calc(-1 * var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-light-rgb), 0.7);
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px); /* Slight lift */
    box-shadow:
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) rgba(var(--shadow-dark-rgb), 0.35),
        calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) rgba(var(--shadow-light-rgb), 0.65);
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    background-color: var(--color-primary-dark);
    transform: translateY(1px); /* Pressed effect */
    box-shadow:
        inset calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-dark-strong-rgb), 0.5),
        inset calc(-1 * var(--shadow-distance) / 2) calc(-1 * var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-light-rgb), 0.7);
}

/* Secondary Button Style */
.btn-secondary, button.btn-secondary, input[type="submit"].btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-on-secondary);
}
.btn-secondary:hover, button.btn-secondary:hover, input[type="submit"].btn-secondary:hover {
    background-color: var(--color-secondary-dark);
}
.btn-secondary:active, button.btn-secondary:active, input[type="submit"].btn-secondary:active {
    background-color: var(--color-secondary-dark);
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-effect {
    to {
        transform: scale(4);
        /*opacity: 0;*/
    }
}

/* Forms */
.form-group {
    margin-bottom: var(--space-md);
}
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-text-medium);
}
.form-control, .neu-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-bg-element);
    border: 1px solid transparent; /* Placeholder for focus */
    border-radius: var(--border-radius-md);
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
    /* Inset Neuromorphic style for inputs */
    box-shadow:
        inset calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-dark-rgb), 0.5),
        inset calc(-1 * var(--shadow-distance) / 2) calc(-1 * var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-light-rgb), 0.8);
}
.form-control:focus, .neu-input:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow:
        inset calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-dark-rgb), 0.4),
        inset calc(-1 * var(--shadow-distance) / 2) calc(-1 * var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) rgba(var(--shadow-light-rgb), 0.7),
        0 0 0 2px color-mix(in srgb, var(--color-primary) 30%, transparent); /* Focus ring */
}
textarea.form-control, textarea.neu-input {
    min-height: 120px;
    resize: vertical;
}

/* Cards */
.card {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center direct children like image container and content block */
    text-align: center; /* Center text within card content */
    background-color: var(--color-bg-element);
    border-radius: var(--border-radius-lg); /* Slightly larger radius for cards */
    overflow: hidden;
    margin-bottom: var(--space-lg); /* Consistent spacing */
    /* Neuromorphic shadow applied directly or via .neu-element class */
}
.card.neu-element { /* If card also has neu-element class for shadow */
    padding: 0; /* Padding will be handled by card-content */
}
.card-image, .image-container { /* This div wraps the img */
    width: 100%;
    height: 200px; /* FIXED HEIGHT for image containers in cards */
    overflow: hidden;
    display: flex; /* To center the image if it's smaller than container */
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-md); /* Space between image and content */
}
.card-image img, .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the container without distortion */
    transition: transform var(--transition-medium);
}
.card:hover .card-image img, .card:hover .image-container img {
    transform: scale(1.05);
}
.card-content {
    padding: var(--space-md) var(--space-lg);
    width: 100%; /* Ensure content block takes full width after image */
    color: var(--color-text-dark);
}
.card-content h3, .card-content h4 {
    margin-top: 0;
    color: var(--color-text-dark);
    font-size: 1.25rem;
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: var(--space-sm);
}
.card .btn-link, .card .read-more-link { /* "Read more" link style */
    display: inline-block;
    margin-top: var(--space-sm);
    font-weight: 600;
    color: var(--color-text-accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.card .btn-link:hover, .card .read-more-link:hover {
    color: var(--color-secondary);
    transform: translateX(3px);
}
.card .btn-link::after, .card .read-more-link::after {
    content: ' \2192'; /* Right arrow */
    display: inline-block;
    transition: transform var(--transition-fast);
}
.card .btn-link:hover::after, .card .read-more-link:hover::after {
    transform: translateX(3px);
}


/* SECTION-SPECIFIC STYLES */

/* Header (Fixed Navigation) */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-sm) 0;
    /* Neuromorphic shadow already applied by .neu-element */
    /* Subtle glassmorphism if desired */
    /* background-color: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: var(--glass-border); */
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 40px; /* Adjusted logo height */
    transition: transform var(--transition-fast);
}
.logo:hover img {
    transform: scale(1.05);
}
.main-navigation .nav-links {
    list-style: none;
    display: flex;
    gap: var(--space-sm);
}
.main-navigation .nav-link {
    padding: var(--space-xs) var(--space-sm);
    font-weight: 600;
    color: var(--color-text-medium);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
.main-navigation .nav-link:hover,
.main-navigation .nav-link.active {
    color: var(--color-primary);
    /* Subtle Neuromorphic press effect for active/hover */
    background-color: var(--color-bg-element);
    box-shadow:
        inset 2px 2px 4px rgba(var(--shadow-dark-rgb), 0.3),
        inset -2px -2px 4px rgba(var(--shadow-light-rgb), 0.5);
}
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 1001;
}
.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-dark);
    position: relative;
    border-radius: 3px;
    transition: all var(--transition-medium);
}
.hamburger-icon::before, .hamburger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-dark);
    left: 0;
    border-radius: 3px;
    transition: all var(--transition-medium);
}
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { bottom: -7px; }

/* Mobile Menu Active State */
.menu-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent; /* Middle line disappears */
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: translateY(-7px) rotate(-45deg);
}


/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-xxl) 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Ensure text is readable: Darken background image */
    /* The linear-gradient is already in the HTML style attribute for this specific section */
    /* color: var(--color-text-light); /* Enforced by prompt */
    min-height: calc(100vh - var(--header-height)); /* Example: Full viewport height minus header */
    /* For natural height based on content, remove min-height or set to auto. This example aims for a prominent hero. */
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    color: var(--color-text-light); /* Enforced white */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    margin-bottom: var(--space-md);
}
.hero-subtitle {
    color: var(--color-text-light); /* Enforced white */
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}
.hero-section .btn { /* Hero button can be larger */
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
}
/* Parallax layers (basic CSS, JS enhances) */
.parallax-layer-1, .parallax-layer-2 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    /* JS will handle transform: translateY based on data-depth */
}


/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.feature-card .feature-title {
    color: var(--color-accent1);
}


/* Vision Section */
.vision-section .asymmetrical-layout .column img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 25px rgba(var(--shadow-dark-rgb), 0.2);
}

/* History Section (Timeline) */
.timeline {
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.timeline::before { /* Central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.timeline-item {
    padding: var(--space-sm) var(--space-xl);
    position: relative;
    width: 50%;
    margin-bottom: var(--space-xl);
    /* Neuromorphic shadow from .neu-element */
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc(var(--space-xl) + 20px); /* Space for the dot + gap */
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc(var(--space-xl) + 20px); /* Space for the dot + gap */
}
.timeline-item::after { /* Dot on the timeline */
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--color-bg-element);
    border: 4px solid var(--color-primary);
    top: calc(var(--space-lg) + 5px); /* Align with content */
    border-radius: 50%;
    z-index: 1;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.timeline-item:nth-child(odd)::after {
    right: -9px;
    transform: translateX(50%);
}
.timeline-item:nth-child(even)::after {
    left: -9px;
    transform: translateX(-50%);
}
.timeline-item:hover::after {
    transform: scale(1.2) translateX(var(--translateX, -50%)); /* Keep original X translation */
    background-color: var(--color-secondary);
}
.timeline-item:nth-child(odd):hover::after { --translateX: 50%; }

.timeline-content { position: relative; }
.timeline-title {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: var(--space-xs);
}
.timeline-date {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: var(--space-sm);
    font-style: italic;
}

/* Behind the Scenes Section */
.behind-scenes-visuals .image-container {
    border-radius: var(--border-radius-md);
    overflow: hidden; /* For rounded corners on image */
}
.behind-scenes-visuals .image-container img {
    transition: transform var(--transition-medium);
}
.behind-scenes-visuals .image-container:hover img {
    transform: scale(1.03);
}

/* Testimonials Section (Custom Slider) */
.testimonial-slider {
    position: relative;
    overflow: hidden; /* Important for slider functionality */
    /* Neuromorphic shadow via .neu-element */
}
.testimonial-slider .testimonial-item.card {
    /* Base styles from .card are inherited */
    display: none; /* JS will control visibility */
    box-shadow: none; /* Slider container has the shadow */
    background-color: transparent; /* Slider container has the background */
    padding: var(--space-lg); /* Padding inside the slide */
}
.testimonial-slider .testimonial-item.card.active-slide {
    display: block; /* Show active slide */
}
.testimonial-item .card-image.image-container { /* Avatar */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--space-md); /* Centered avatar */
    box-shadow: 0 4px 10px rgba(var(--shadow-dark-rgb), 0.2);
}
.testimonial-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.7;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}
.testimonial-author {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1rem;
}
.slider-controls {
    text-align: center;
    margin-top: var(--space-lg);
}
.slider-controls .neu-button, .slider-controls .btn {
    margin: 0 var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}
.slider-controls .neu-button:hover, .slider-controls .btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
}


/* Community & Sustainability Sections */
/* Use .asymmetrical-layout for these */
/* Example: specific styling for images in these sections */
.community-section .image-container img,
.sustainability-section .image-container img {
    border-radius: var(--border-radius-lg);
    object-fit: contain; /* Or cover, depending on image aspect ratio desired */
}


/* Press & External Resources Section */
.press-grid, .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}
.press-card .press-title, .resource-card .resource-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text-dark);
}
.press-card .press-source {
    font-size: 0.85rem;
    color: var(--color-text-medium);
    margin-bottom: var(--space-sm);
    font-style: italic;
}
.resource-card .resource-title a {
    color: var(--color-text-accent);
}
.resource-card .resource-title a:hover {
    color: var(--color-secondary);
}
.resource-card .resource-description {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

/* Contact Section */
.contact-form-container {
    /* Neuromorphic inset style via .neu-element-inset */
    padding: var(--space-xl); /* More padding for inset form */
}
.contact-details-box {
    /* Neuromorphic regular style via .neu-element */
    padding: var(--space-lg);
}
.contact-details-box p {
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}
.contact-details-box strong { color: var(--color-text-dark); }
.contact-details-box i { /* For icon font if used */
    margin-right: var(--space-xs);
    color: var(--color-primary);
    width: 1.2em; /* Ensure consistent icon spacing */
    text-align: center;
}
.map-container {
    margin-top: var(--space-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    /* Neuromorphic effect via .neu-element */
}
.map-container img, .map-container iframe {
    display: block;
    width: 100%;
    border: none;
    min-height: 250px;
}

/* Footer */
.site-footer {
    padding: var(--space-xl) 0 var(--space-md);
    color: var(--color-text-medium);
    /* Neuromorphic inset style from .neu-element-inset */
    margin-top: auto; /* Push footer to bottom if page content is short */
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}
.footer-column .footer-heading {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-column p, .footer-column ul li a {
    color: var(--color-text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: var(--space-xs);
}
.footer-column ul li a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}
.footer-column .logo-footer img {
    max-width: 150px;
    margin-top: var(--space-sm);
    opacity: 0.9;
}
.footer-social .social-links { /* Styling text-based social links */
    display: flex;
    flex-direction: column; /* Or row, depending on design */
    gap: var(--space-xs);
}
.footer-social .social-links li a {
    font-weight: 500;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-social .social-links li a:hover {
    color: var(--color-primary);
    padding-left: var(--space-xs); /* Indent on hover */
}
.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
}

/* PAGE-SPECIFIC STYLES */

/* Hero for inner pages (About, Contact, etc.) */
.page-hero {
    padding: var(--space-xl) 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Darken background image for text readability */
    /* linear-gradient is in HTML style attribute */
    color: var(--color-text-light); /* Enforced by prompt */
    margin-bottom: var(--space-xl);
}
.page-hero .page-title {
    color: var(--color-text-light); /* Enforced white */
    margin-bottom: var(--space-xs);
}
.page-hero .page-subtitle {
    color: var(--color-text-light); /* Enforced white */
    opacity: 0.9;
}

/* About Page Specifics */
.about-content, .privacy-policy-content, .terms-conditions-content {
    padding-top: var(--header-height); /* Offset for fixed header */
}
.mission-vision-values {
    background-color: var(--color-bg-element-light); /* Slightly different background */
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}
.mission-vision-values .subsection-title {
    color: var(--color-primary);
}
.mission-vision-values ul {
    list-style: none;
    padding-left: 0;
}
.mission-vision-values ul li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: var(--space-sm);
}
.mission-vision-values ul li::before {
    content: "\2713"; /* Checkmark */
    color: var(--color-accent2);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}
.team-member.card .card-image.image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Circular team photos */
    margin: 0 auto var(--space-md); /* Override card default image margin if needed */
    border: 4px solid var(--color-bg-element-light); /* Neuromorphic "pop" */
    box-shadow: 0 5px 15px rgba(var(--shadow-dark-rgb), 0.15);
}
.team-name {
    font-size: 1.25rem;
    color: var(--color-primary);
}
.team-title {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    font-style: italic;
    margin-bottom: var(--space-sm);
}
.team-bio {
    font-size: 0.9rem;
}


/* Success Page */
body.success-page { /* Add this class to body on success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.success-page-section {
    flex-grow: 1; /* Takes up available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl);
}
.success-icon {
    /* Neuromorphic styling for the checkmark container */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem; /* Size of the checkmark */
    color: var(--color-accent2); /* Green checkmark */
    background-color: var(--color-bg-element);
    margin-bottom: var(--space-lg);
    box-shadow:
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) rgba(var(--shadow-dark-rgb), 0.4),
        calc(-1 * var(--shadow-distance)) calc(-1 * var(--shadow-distance)) var(--shadow-blur) rgba(var(--shadow-light-rgb), 0.7);
}
.success-page-section .page-title {
    color: var(--color-text-dark); /* Override default page-title if it's white */
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) { /* Tablet */
    .container { width: 95%; }
    .asymmetrical-layout.content-image,
    .asymmetrical-layout.image-content {
        grid-template-columns: 1fr; /* Stack on tablets */
    }
    .asymmetrical-layout.image-content .column:first-child {
        order: 0; /* Reset order for stacking */
    }
}

@media (max-width: 768px) { /* Mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    .section-padding {
        padding-top: var(--space-xl);
        padding-bottom: var(--space-xl);
    }
    .section-intro { font-size: 1rem; }

    /* Mobile Menu */
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .main-navigation .nav-links {
        display: none; /* Controlled by JS and .open class */
        flex-direction: column;
        position: absolute;
        top: var(--header-height-mobile); /* Align below header */
        left: 0;
        width: 100%;
        background-color: var(--color-bg-element-light); /* Slightly different for dropdown */
        box-shadow: 0 8px 16px rgba(var(--shadow-dark-rgb), 0.2);
        padding: var(--space-sm) 0;
        border-bottom-left-radius: var(--border-radius-md);
        border-bottom-right-radius: var(--border-radius-md);
    }
    .main-navigation .nav-links.open { display: flex; }
    .main-navigation .nav-link {
        padding: var(--space-md);
        width: 100%;
        text-align: left; /* Or center */
        border-bottom: 1px solid var(--border-color);
    }
    .main-navigation .nav-links li:last-child .nav-link { border-bottom: none; }
    .main-navigation .nav-link:hover, .main-navigation .nav-link.active {
        background-color: var(--color-primary-light);
        color: var(--color-text-on-primary);
        box-shadow: none; /* Simpler hover for mobile menu items */
    }

    /* Timeline for mobile */
    .timeline::before { left: 20px; } /* Shift line to one side */
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: var(--space-xl) + 20px; /* Space for the line and dot */
        padding-right: var(--space-md);
    }
    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 20px; /* Position dot on the line */
        transform: translateX(-50%);
    }
     .timeline-item:hover::after {
        transform: scale(1.2) translateX(-50%);
    }

    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-column .social-links {
        justify-content: center;
        flex-direction: row; /* Horizontal on mobile maybe? */
        gap: var(--space-md);
    }
     .footer-social .social-links li a:hover {
        padding-left: 0; /* No indent on mobile */
    }

    .about-content, .privacy-policy-content, .terms-conditions-content {
        padding-top: calc(var(--header-height-mobile) + var(--space-sm));
    }
}


/* Parallax Scrolling Effect (Basic CSS version for background) */
/* Apply this to sections that need a subtle parallax background */
.parallax-bg {
    background-attachment: fixed; /* Creates a simple parallax effect on background images */
    /* Ensure background-size, position, repeat are set */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* Note: True multi-layer parallax often requires JavaScript for smooth performance and control. */
/* The HTML uses JS-controlled parallax layers via data-depth */

/* Additional Microanimations & Transitions */
/* Smooth scrollbar (optional, browser support varies) */
/* html { scrollbar-width: thin; scrollbar-color: var(--color-primary-light) var(--color-bg-element); }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--color-bg-element); }
body::-webkit-scrollbar-thumb { background-color: var(--color-primary-light); border-radius: 20px; border: 3px solid var(--color-bg-element); } */


/* Cookie Consent Popup Minimal Styles (from prompt) */
/* Style these further if needed to match Neuromorphism */
#cookieConsentPopup {
    /* HTML already has: display: none; position: fixed; bottom: 0; left: 0; width: 100%; background-color: rgba(0, 0, 0, 0.85); color: white; padding: 20px; text-align: center; z-index: 9999; box-shadow: 0 -2px 10px rgba(0,0,0,0.5); */
    font-family: var(--font-body);
}
#cookieConsentPopup p {
    color: var(--color-text-light); /* Ensure high contrast */
    margin-bottom: var(--space-md); /* Consistent spacing */
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
#cookieConsentPopup button#acceptCookieButton {
    /* Inherits global button styles, can be overridden if needed */
    background-color: var(--color-accent1); /* Make it stand out */
    color: var(--color-text-light);
    margin-right: var(--space-sm);
}
#cookieConsentPopup button#acceptCookieButton:hover {
    background-color: var(--color-accent1-dark);
}
#cookieConsentPopup a {
    color: #b0bec5; /* Light grey for "More info" link */
    text-decoration: underline;
}
#cookieConsentPopup a:hover {
    color: var(--color-text-light);
}

/* Ensure Animate.css compatibility */
/* Animate.css uses classes like .animate__animated, .animate__fadeInUp etc.
   Our custom animations should not conflict.
   AOS library is also used, ensure its reveal animations are smooth.
*/
[data-aos] {
    transition-property: transform, opacity, box-shadow; /* Ensure smooth AOS transitions with neuromorphic shadows */
}
.menu-toggle{
    display: none;
}