/* style.css */

/* CSS Variables */
:root {
    /* Triadic Color Scheme & Accents */
    --color-primary: #0D5A78; /* Deep Cerulean Blue */
    --color-secondary: #78B040; /* Lively Green */
    --color-tertiary: #D95D39; /* Warm Orange-Red */

    --color-primary-light: #4FA7C7; /* Lighter Blue */
    --color-secondary-light: #A2CC72; /* Lighter Green */
    --color-tertiary-light: #E68C6A; /* Lighter Orange-Red */

    --color-primary-dark: #073D52;
    --color-secondary-dark: #507D2A;
    --color-tertiary-dark: #A94021;

    /* Neutral Colors */
    --color-text-dark: #222222;
    --color-text-light: #F8F9FA;
    --color-text-medium: #555555;
    --color-background-light: #FFFFFF;
    --color-background-dark: #121212; /* Darker for better contrast on some glass elements */
    --color-background-page: #FDFDFD;
    --color-background-section-alt: #EFF2F5; /* Light grayish blue for alt sections */

    /* Glassmorphism */
    --glass-background-light-obj: rgba(255, 255, 255, 0.15); /* For objects on light backgrounds */
    --glass-background-dark-obj: rgba(30, 30, 30, 0.25);    /* For objects on dark backgrounds */
    --glass-blur: 8px;
    --glass-border-color-light: rgba(255, 255, 255, 0.3);
    --glass-border-color-dark: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.17);

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Merriweather', serif;

    /* Spacing & Sizing */
    --spacing-unit: 8px;
    --header-height: 70px;
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
    --card-image-height: 230px; /* Standard height for card images */

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-timing: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Non-linear */
    --transition-main: all var(--transition-speed) var(--transition-timing);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
}

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

/* Page wrapper for potential full-page effects or structure */
.page-wrapper {
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-dark); /* Darker for better contrast */
    margin-top: 0;
    margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-bottom: calc(var(--spacing-unit) * 3); } /* Section titles */
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
    color: var(--color-text-medium);
}
p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-main);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-small);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--spacing-unit) * 2);
    padding-right: calc(var(--spacing-unit) * 2);
}

/* Content Sections */
.content-section {
    padding-top: calc(var(--spacing-unit) * 8); /* 64px */
    padding-bottom: calc(var(--spacing-unit) * 8);
}

.section-title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 5); /* 40px */
    color: var(--color-text-dark);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: var(--spacing-unit) auto 0;
    border-radius: var(--border-radius-small);
}


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

.section-alternative-bg {
    background-color: var(--color-background-section-alt);
}

/* Columns Layout */
.columns {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 3); /* 24px */
}

.column {
    flex: 1;
    min-width: 280px; /* Minimum width for columns to prevent excessive squishing */
}

.column.is-two-thirds {
    flex-basis: 66.66%;
    flex-grow: 2; /* Allow it to take more space if available */
}


/* Header and Navigation */
.site-header {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 0 calc(var(--spacing-unit) * 2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    transition: background-color var(--transition-speed) ease;
}

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

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

.main-navigation .nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-list li {
    margin-left: calc(var(--spacing-unit) * 3); /* 24px */
}

.main-navigation .nav-list a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-text-dark);
    text-decoration: none;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius-small);
    transition: var(--transition-main);
    position: relative;
}

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

.main-navigation .nav-list a:hover,
.main-navigation .nav-list a:focus,
.main-navigation .nav-list a.active {
    color: var(--color-primary);
}

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

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-unit);
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    position: relative;
    transition: var(--transition-main);
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    left: 0;
    transition: var(--transition-main);
}

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


/* Hero Section */
.hero-section {
    min-height: 85vh; /* Slightly less than full viewport to show there's more content */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--color-text-light); /* Default text color for hero */
    padding-top: var(--header-height); /* Account for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--color-text-light); /* Ensure white text as per requirement */
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    color: var(--color-text-light); /* Ensure white text */
    font-family: var(--font-body);
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* Global Button Style */
.cta-button {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5);
    border-radius: var(--border-radius-medium);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid transparent;
    transition: var(--transition-main);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.cta-button:hover, .cta-button:focus {
    background-color: var(--color-secondary-dark);
    color: var(--color-text-light);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.cta-button.outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.cta-button.outline:hover, .cta-button.outline:focus {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* General Card Styling */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3); /* 24px */
}

.card {
    background: var(--glass-background-light-obj);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border-color-light);
    border-radius: var(--border-radius-large);
    padding: calc(var(--spacing-unit) * 2.5); /* 20px */
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text within card */
    overflow: hidden; /* Ensure content stays within rounded corners */
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.card .card-image { /* Container for the image */
    width: 100%;
    height: var(--card-image-height);
    margin-bottom: calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-medium);
    overflow: hidden; /* Crucial for object-fit and border-radius on image */
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, may crop */
    display: block; /* Removes extra space below image */
    border-radius: 0; /* Image itself does not need radius if container has overflow:hidden */
}

.card .card-content {
    width: 100%; /* Ensure content takes full width of card padding box */
}

.card .card-content h4 {
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-dark);
}

.card .card-content p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    line-height: 1.6;
}

/* Glass Effect utility (can be applied to content parts if card itself is not glass) */
.glass-effect {
    background: var(--glass-background-light-obj);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border-color-light);
    border-radius: var(--border-radius-medium);
    padding: calc(var(--spacing-unit) * 2);
    box-shadow: var(--glass-shadow);
}
.section-alternative-bg .glass-effect { /* Adjust for darker backgrounds if needed */
    background: rgba(255, 255, 255, 0.25); /* Slightly more opaque on colored bg */
    border: 1px solid rgba(255, 255, 255, 0.4);
}


/* Vision Section Specifics */
#vision .image-container img {
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
}


/* History Section - Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--color-secondary-light);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: calc(var(--spacing-unit) * 4); /* 32px */
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc(var(--spacing-unit) * 4); /* 32px */
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc(var(--spacing-unit) * 4); /* 32px */
    text-align: left;
}

.timeline-item::after { /* Dot on the timeline */
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-background-light);
    border: 4px solid var(--color-secondary);
    top: 10px;
    z-index: 1;
}
.timeline-item:nth-child(odd)::after {
    right: -8px; /* Adjust to center on the line */
    transform: translateX(0%);
}
.timeline-item:nth-child(even)::after {
    left: -8px; /* Adjust to center on the line */
    transform: translateX(0%);
}


.timeline-content {
    /* Glass effect applied directly in HTML example, or use common .glass-effect */
    padding: calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-medium);
    position: relative;
}
.timeline-item:nth-child(odd) .timeline-content { text-align: left; } /* Ensure content inside is readable */
.timeline-item:nth-child(even) .timeline-content { text-align: left; }


.timeline-content h4 {
    margin-top: 0;
    color: var(--color-primary-dark);
}
.timeline-date {
    display: block;
    font-weight: 600;
    color: var(--color-tertiary);
    margin-top: var(--spacing-unit);
    font-size: 0.9rem;
}

/* Media Section UI Components */
.progress-indicator-container {
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.progress-indicator-container label {
    display: block;
    margin-bottom: var(--spacing-unit);
    font-weight: 600;
    color: var(--color-text-dark);
}
.progress-indicator-container progress {
    width: 100%;
    height: 20px;
    border-radius: var(--border-radius-small);
    overflow: hidden; /* For IE/Edge */
}
.progress-indicator-container progress::-webkit-progress-bar {
    background-color: #eee;
    border-radius: var(--border-radius-small);
}
.progress-indicator-container progress::-webkit-progress-value {
    background-color: var(--color-secondary);
    border-radius: var(--border-radius-small);
    transition: width var(--transition-speed) var(--transition-timing);
}
.progress-indicator-container progress::-moz-progress-bar { /* Firefox */
    background-color: var(--color-secondary);
    border-radius: var(--border-radius-small);
}
.progress-indicator-container span {
    display: block;
    margin-top: var(--spacing-unit);
    font-size: 0.9em;
    color: var(--color-text-medium);
}

/* Toggle Switch */
.toggle-switch-container {
    display: flex;
    align-items: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.toggle-switch-container > span:first-child {
    margin-right: var(--spacing-unit);
    font-weight: 600;
    color: var(--color-text-dark);
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px; /* Smaller switch */
    height: 26px; /* Smaller switch */
    margin: 0 var(--spacing-unit);
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-main);
    border-radius: 26px; /* Fully rounded */
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px; /* Smaller knob */
    width: 20px; /* Smaller knob */
    left: 3px; /* Adjust for smaller size */
    bottom: 3px; /* Adjust for smaller size */
    background-color: white;
    transition: var(--transition-main);
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--color-secondary);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--color-secondary);
}
input:checked + .slider:before {
    transform: translateX(24px); /* Adjust for smaller size */
}

/* Custom Slider */
.custom-slider-container label {
    display: block;
    margin-bottom: var(--spacing-unit);
    font-weight: 600;
    color: var(--color-text-dark);
}
.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: #ddd;
    outline: none;
    opacity: 0.9;
    transition: opacity .2s;
    border-radius: 5px;
}
.custom-slider:hover {
    opacity: 1;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}
.custom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}
.custom-slider-container p {
    margin-top: var(--spacing-unit);
    font-size: 0.9em;
    color: var(--color-text-medium);
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-md);
}
.gallery-item img {
    width: 100%;
    height: 250px; /* Fixed height for gallery images */
    object-fit: cover;
    transition: transform var(--transition-speed) var(--transition-timing);
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6); /* Darker for caption readability */
    backdrop-filter: blur(calc(var(--glass-blur)/2)); /* Less blur for captions */
    -webkit-backdrop-filter: blur(calc(var(--glass-blur)/2));
    color: var(--color-text-light);
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 1.5);
    text-align: center;
    font-size: 0.9rem;
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium); /* Match item */
}

/* External Resources Section */
.external-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}
.link-card {
    /* Uses .glass-effect which is part of .card styles */
    padding: calc(var(--spacing-unit) * 2.5);
}
.link-card .link-title a {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}
.link-card .link-title a:hover {
    color: var(--color-tertiary);
}
.link-card .link-description {
    font-size: 0.9rem;
    margin: var(--spacing-unit) 0 calc(var(--spacing-unit) * 1.5) 0;
    color: var(--color-text-medium);
}
.link-url {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
}
.link-url:hover {
    color: var(--color-secondary-dark);
    text-decoration: underline;
}

/* Press Section */
.press-card .card-image img { /* For logos */
    width: auto; /* Let it size naturally */
    max-width: 150px; /* Control max width */
    height: 50px; /* Control height */
    object-fit: contain; /* Show full logo, don't crop */
    margin: 0 auto var(--spacing-unit); /* Center logo */
}
.press-card .card-content small {
    display: block;
    margin-top: var(--spacing-unit);
    font-size: 0.85rem;
    color: var(--color-text-medium);
}

/* Accolades Section */
.accolade-card .expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-unit); /* Overrides card-image margin */
    border: 3px solid var(--color-secondary-light);
}

/* Contact Form Styling */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 3);
    /* Glass effect applied directly or via .glass-effect */
}
.contact-section-home .contact-form {
    background: var(--glass-background-light-obj);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border-color-light);
    border-radius: var(--border-radius-large);
    box-shadow: var(--glass-shadow);
}

.form-group {
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid #ccc;
    border-radius: var(--border-radius-medium);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(255,255,255,0.7); /* Slight transparency for inputs */
    color: var(--color-text-dark);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 13, 90, 120), 0.25); /* Use RGB version of primary or fallback */
}

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

.contact-form button[type="submit"].cta-button {
    width: 100%;
    padding-top: calc(var(--spacing-unit) * 1.75);
    padding-bottom: calc(var(--spacing-unit) * 1.75);
    font-size: 1.15rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-text-dark); /* Dark footer background */
    color: var(--color-text-light);
    padding: calc(var(--spacing-unit) * 5) 0 calc(var(--spacing-unit) * 2) 0;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.site-footer h4 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--color-secondary-light);
    padding-bottom: var(--spacing-unit);
}

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

.site-footer ul li {
    margin-bottom: var(--spacing-unit);
}

.site-footer ul li a {
    color: #b0bec5; /* Lighter grey for footer links */
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.site-footer ul li a:hover,
.site-footer ul li a:focus {
    color: var(--color-text-light);
    text-decoration: underline;
}

.footer-contact-info p {
    margin-bottom: var(--spacing-unit);
    color: #b0bec5;
}

.copyright {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 2);
    border-top: 1px solid #444; /* Separator line */
    font-size: 0.9rem;
    color: #90a4ae; /* Even lighter grey for copyright */
}

/* Cookie Popup */
/* Styles are inline in HTML as per prompt, but good to have a note if they were external */

/* Specific Page Styles */
/* Success Page */
body.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-background-section-alt); /* Light background */
    padding: var(--spacing-unit);
}
.success-page .success-container {
    background-color: var(--color-background-light);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
}
.success-page h1 {
    color: var(--color-secondary);
    font-size: 2.5rem;
}
.success-page p {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Privacy & Terms Pages Content Area */
.static-page-content {
    padding-top: calc(var(--header-height) + var(--spacing-unit) * 4); /* Header height + extra space */
    padding-bottom: calc(var(--spacing-unit) * 5);
    min-height: calc(100vh - var(--header-height) - 200px); /* Placeholder footer height */
}
.static-page-content .container h1 {
    margin-bottom: calc(var(--spacing-unit) * 3);
    text-align: center;
}
.static-page-content .container h2 {
    margin-top: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-size: 1.8rem;
    color: var(--color-primary);
}
.static-page-content .container p,
.static-page-content .container ul,
.static-page-content .container ol {
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.8;
}
.static-page-content .container ul,
.static-page-content .container ol {
    padding-left: calc(var(--spacing-unit) * 3);
}


/* Read More Link Style */
.read-more-link {
    display: inline-block;
    margin-top: var(--spacing-unit);
    font-weight: 600;
    color: var(--color-tertiary);
    text-decoration: none;
    position: relative;
    padding-right: 20px; /* Space for arrow */
}
.read-more-link::after {
    content: '→'; /* Or an SVG icon */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-speed) var(--transition-timing);
}
.read-more-link:hover, .read-more-link:focus {
    color: var(--color-tertiary-dark);
    text-decoration: underline;
}
.read-more-link:hover::after {
    transform: translateY(-50%) translateX(5px);
}


/* Responsive Styles */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
    h2 { font-size: 1.9rem; }
    .section-title { margin-bottom: calc(var(--spacing-unit) * 4); }

    .column.is-two-thirds {
        flex-basis: 100%; /* Stack columns */
    }
    .columns {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    h1 { font-size: 2.2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    h2 { font-size: 1.7rem; }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
        z-index: 1001; /* Above nav list */
    }
    .main-navigation .nav-list {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95); /* Slightly more opaque for readability */
        backdrop-filter: blur(var(--glass-blur));
        -webkit-backdrop-filter: blur(var(--glass-blur));
        box-shadow: var(--shadow-md);
        padding: var(--spacing-unit) 0;
        border-top: 1px solid var(--glass-border-color-light);
    }
    .main-navigation .nav-list.active {
        display: flex; /* Show when active */
    }
    .main-navigation .nav-list li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-list a {
        display: block;
        padding: calc(var(--spacing-unit) * 1.5) var(--spacing-unit);
        border-bottom: 1px solid #eee;
    }
    .main-navigation .nav-list li:last-child a {
        border-bottom: none;
    }
    .main-navigation .nav-list a:hover::after,
    .main-navigation .nav-list a.active::after {
        width: 50%; /* Adjusted for centered text */
    }

    /* Hamburger icon animation when active */
    .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);
    }

    .timeline::before { left: 20px; transform: translateX(0); }
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: calc(var(--spacing-unit) * 5); /* Space for dot and line */
        padding-right: 0;
        text-align: left;
    }
     .timeline-item::after, .timeline-item:nth-child(odd)::after, .timeline-item:nth-child(even)::after {
        left: 12px; /* (20px - 16px/2) = 12px */
        transform: translateX(0%);
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .site-footer h4 {
        text-align: center;
        border-bottom: none; /* Remove border for stacked view or adjust */
    }
    .site-footer h4::after { /* Optional: center the underline */
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background: var(--color-secondary-light);
        margin: var(--spacing-unit) auto 0;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .cta-button { font-size: 1rem; padding: var(--spacing-unit) calc(var(--spacing-unit) * 2); }
    .card-grid { grid-template-columns: 1fr; } /* Single column for cards */
    .gallery-grid { grid-template-columns: 1fr; }
    .external-links-grid { grid-template-columns: 1fr; }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        padding: var(--spacing-unit);
    }
}

/* Parallax effect hint (to be implemented with JS, e.g., GSAP) */
/* .parallax-background { background-attachment: fixed; } */ /* Basic CSS parallax, JS is better */

/* Non-linear movement class hint for JS animations */
/* .anim-nl-move-on-hover { transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); } */
/* .anim-nl-move-on-hover:hover { transform: translateX(10px) rotate(3deg); } */