/* style.css */

/* --- CSS Variables --- */
:root {
    /* Color Palette: Split-Complementary (Blue base, Yellow-Orange and Red-Violet accents, adapted for harmony) */
    --primary-color: #3A8DDE; /* Main Blue */
    --primary-dark-color: #2c79c0; /* Darker Blue */
    --secondary-color: #DEA73A; /* Golden Yellow/Orange Accent */
    --secondary-dark-color: #c08e2b; /* Darker Golden */
    --accent-color: #DE5020; /* Warm Red/Orange - for specific highlights */
    --accent-dark-color: #c04015;

    /* Neutral & Text Colors */
    --text-color-dark: #212529; /* For light backgrounds */
    --text-color-medium: #495057; /* Slightly lighter dark text */
    --text-color-light: #f8f9fa; /* For dark backgrounds */
    --text-color-muted: #6c757d; /* Muted text */
    --hero-text-color: #FFFFFF; /* Specifically for hero */

    /* Background Colors */
    --background-color-light: #FFFFFF;
    --background-color-soft-gray: #f8f9fa; /* For alternate sections */
    --background-color-dark-footer: #212529; /* Darker for footer */

    /* UI Element Colors */
    --border-color: #dee2e6;
    --card-background-color: var(--background-color-light);
    --form-input-background: #FFFFFF;
    --form-input-border: #ced4da;
    --form-input-focus-border: var(--primary-dark-color);
    --form-input-focus-shadow: 0 0 0 0.2rem rgba(58, 141, 222, 0.25);

    /* Shadows & Volumetric UI */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.12);
    --volumetric-depth: 3px;
    --volumetric-shadow-color: rgba(0,0,0,0.1);
    --volumetric-highlight-color: rgba(255,255,255,0.5);

    /* Typography */
    --font-family-headings: 'Manrope', sans-serif;
    --font-family-body: 'Rubik', sans-serif;
    --font-size-base: 1rem; /* 16px */
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.25rem;
    --line-height-base: 1.6;

    /* Spacing & Layout */
    --spacing-unit: 8px;
    --container-max-width: 1140px;
    --section-padding-y: calc(var(--spacing-unit) * 8); /* 64px */
    --header-height: 70px;

    /* Transitions & Animations */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --transition-easing: ease-in-out;

    /* Borders */
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%; /* Corresponds to user's browser setting, usually 16px */
}

body {
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: calc(var(--spacing-unit) * 2); /* 16px */
    color: var(--text-color-dark); /* Default for sections */
}
.section-title { /* Global style for section titles */
    color: var(--text-color-dark); /* Ensure high contrast */
    text-align: center;
    font-size: 2.5rem; /* 40px */
    margin-bottom: calc(var(--spacing-unit) * 4); /* 32px */
    font-weight: 800;
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem; /* 32px */
    }
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed-fast) var(--transition-easing);
}
a:hover {
    color: var(--primary-dark-color);
    text-decoration: underline;
}

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

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

.section-padding {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}
.section-padding-alt {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
    background-color: var(--background-color-soft-gray);
}
.page-content { /* For standalone pages like about, terms, privacy */
    padding-top: calc(var(--header-height) + var(--spacing-unit) * 3); /* Header height + some margin */
    padding-bottom: var(--section-padding-y);
}
.page-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: calc(var(--spacing-unit) * 5);
}

/* --- Global Components --- */

/* Buttons */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-weight: 700;
    font-size: var(--font-size-base);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5); /* 12px 28px */
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed-normal) var(--transition-easing);
    box-shadow: 0 var(--volumetric-depth) 0 var(--volumetric-shadow-color); /* Volumetric base */
    position: relative;
    text-decoration: none !important; /* Override link underline */
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(calc(var(--volumetric-depth) * -0.5)); /* Slight lift */
    box-shadow: 0 calc(var(--volumetric-depth) * 1.5) calc(var(--volumetric-depth) * 1.5) var(--volumetric-shadow-color);
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(calc(var(--volumetric-depth) * 0.5));
    box-shadow: 0 calc(var(--volumetric-depth) * 0.5) 0 var(--volumetric-shadow-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 var(--volumetric-depth) 0 var(--primary-dark-color);
}
.btn-primary:hover {
    background-color: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
    color: var(--text-color-light);
    box-shadow: 0 calc(var(--volumetric-depth) * 1.5) calc(var(--volumetric-depth) * 1.5) var(--primary-dark-color);
}
.btn-primary:active {
     box-shadow: 0 calc(var(--volumetric-depth) * 0.5) 0 var(--primary-dark-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color-dark); /* Good contrast with golden yellow */
    box-shadow: 0 var(--volumetric-depth) 0 var(--secondary-dark-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-dark-color);
    border-color: var(--secondary-dark-color);
    color: var(--text-color-dark);
     box-shadow: 0 calc(var(--volumetric-depth) * 1.5) calc(var(--volumetric-depth) * 1.5) var(--secondary-dark-color);
}
.btn-secondary:active {
    box-shadow: 0 calc(var(--volumetric-depth) * 0.5) 0 var(--secondary-dark-color);
}


.btn-hero {
    font-size: var(--font-size-lg);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 5); /* 16px 40px */
}

.btn-small {
    font-size: var(--font-size-sm);
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 2); /* 8px 16px */
}

/* Forms */
.form-group {
    margin-bottom: calc(var(--spacing-unit) * 2.5); /* 20px */
}
.form-group label {
    display: block;
    font-family: var(--font-family-headings);
    font-weight: 500;
    margin-bottom: var(--spacing-unit);
    color: var(--text-color-dark);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    display: block;
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2); /* 12px 16px */
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    color: var(--text-color-dark);
    background-color: var(--form-input-background);
    border: 1px solid var(--form-input-border);
    border-radius: var(--border-radius-medium);
    transition: border-color var(--transition-speed-fast) var(--transition-easing), box-shadow var(--transition-speed-fast) var(--transition-easing);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06); /* Inner shadow for depth */
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    border-color: var(--form-input-focus-border);
    outline: 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06), 0 0 0 0.2rem rgba(58, 141, 222, 0.25);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background-color-light);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

/* Cards - Global Styling */
.card {
    background-color: var(--card-background-color);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-speed-normal) var(--transition-easing), box-shadow var(--transition-speed-normal) var(--transition-easing);
    overflow: hidden; /* Ensures content respects border-radius */
    display: flex;
    flex-direction: column;
    height: 100%; /* For consistent height in grids */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}
.card-image { /* Wrapper for image in card */
    width: 100%;
    overflow: hidden; /* Important for object-fit */
    display: flex; /* For centering the img tag */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
}
.card-image img {
    width: 100%;
    height: 100%; /* Fill the container */
    object-fit: cover; /* Crop to fit, maintain aspect ratio */
    transition: transform var(--transition-speed-normal) var(--transition-easing);
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: calc(var(--spacing-unit) * 3); /* 24px */
    flex-grow: 1; /* Allows content to expand and push footer to bottom if card has one */
    display: flex;
    flex-direction: column;
    text-align: center; /* Centers text content */
}
.card-content h3, .card-content h4 {
    margin-top: 0;
    color: var(--text-color-dark);
    font-weight: 700;
}
.card-content p {
    font-size: var(--font-size-sm);
    color: var(--text-color-medium);
    flex-grow: 1; /* Pushes actions to bottom */
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.card-content .btn {
    margin-top: auto; /* Pushes button to bottom if content is short */
}

/* --- Header --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency for modern feel */
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
    padding: 0 calc(var(--spacing-unit) * 2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color var(--transition-speed-normal) var(--transition-easing);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.site-header .logo {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color-dark);
    text-decoration: none;
}
.site-header .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.site-header .main-nav li {
    margin-left: calc(var(--spacing-unit) * 3); /* 24px */
}
.site-header .main-nav a {
    font-family: var(--font-family-headings);
    font-weight: 500;
    color: var(--text-color-dark);
    text-decoration: none;
    padding: calc(var(--spacing-unit) * 0.5) 0;
    position: relative;
    transition: color var(--transition-speed-fast) var(--transition-easing);
}
.site-header .main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed-normal) var(--transition-easing);
}
.site-header .main-nav a:hover,
.site-header .main-nav a.active { /* Add .active class via JS for current page */
    color: var(--primary-color);
}
.site-header .main-nav a:hover::after,
.site-header .main-nav a.active::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color-dark);
    border-radius: var(--border-radius-small);
    transition: all var(--transition-speed-normal) var(--transition-easing);
}
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


/* --- Hero Section --- */
.hero-section {
    position: relative;
    color: var(--hero-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 90vh; /* Use vh for hero, not fixed px */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Parallax effect can be enhanced with JS, but CSS fixed is a fallback */
    /* background-attachment: fixed; */ /* Can cause issues on mobile, test carefully */
}
.hero-overlay { /* Dark overlay for text readability */
    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));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--spacing-unit) * 2);
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem; /* 56px */
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    color: var(--hero-text-color) !important; /* Ensure override */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Enhance readability */
}
.hero-subtitle {
    font-size: var(--font-size-lg); /* 20px */
    margin-bottom: calc(var(--spacing-unit) * 4);
    color: var(--hero-text-color) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    font-weight: 400;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem; /* 40px */
    }
    .hero-subtitle {
        font-size: 1.1rem; /* 18px */
    }
    .hero-section {
        min-height: 70vh;
    }
}


/* --- Clientele Section --- */
.clientele-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3.5); /* 28px */
}
.clientele-item .card-image {
    height: 200px; /* Fixed height for consistent card images */
}
.clientele-item .clientele-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-unit);
}

/* --- Features Section --- */
.features-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */ /* Parallax-like */
}
.features-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb, 58, 141, 222), 0.85); /* Use RGB for opacity */
    z-index: 1;
}
.features-section .container {
    position: relative;
    z-index: 2;
}
.features-section .section-title,
.features-section .section-intro {
    color: var(--text-color-light); /* Text on dark overlay */
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 3); /* 24px */
}
.feature-item .card-image {
    width: 70px; /* Smaller icon-like images */
    height: 70px;
    margin: 0 auto calc(var(--spacing-unit) * 2) auto; /* Center icon */
    border-radius: 50%; /* Circular icons */
    background-color: rgba(255,255,255,0.1); /* Subtle bg for icon */
    padding: var(--spacing-unit);
}
.feature-item .card-image img {
    object-fit: contain; /* Icons should not be cropped */
}
.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}
/* Progress Indicators */
.progress-indicator-container {
    margin-top: calc(var(--spacing-unit) * 2);
}
.progress-indicator-container span {
    font-size: var(--font-size-sm);
    color: var(--text-color-medium);
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--neutral-medium-color);
    border-radius: var(--border-radius-small);
    overflow: hidden;
}
.progress-value {
    height: 100%;
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    font-weight: 700;
    transition: width var(--transition-speed-normal) var(--transition-easing);
}
/* Statistical Widgets */
.stats-widget {
    margin-top: calc(var(--spacing-unit) * 2);
    padding: var(--spacing-unit);
    background-color: var(--background-color-soft-gray);
    border-radius: var(--border-radius-small);
    text-align: center;
}
.stats-widget .stats-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stats-widget .stats-label {
    font-size: var(--font-size-sm);
    color: var(--text-color-muted);
}


/* --- Methodology Section --- */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3.5);
}
.methodology-steps .step.card {
    text-align: left; /* Override default card text-align if needed for this section */
    flex-direction: row; /* Icon and text side-by-side on larger screens */
    align-items: flex-start; /* Align items to the top */
}
.methodology-steps .step.card:hover {
    transform: none; /* Disable card hover transform if steps are complex */
    box-shadow: var(--shadow-medium); /* Keep standard shadow */
}
.step-icon-container {
    margin-right: calc(var(--spacing-unit) * 2.5);
    flex-shrink: 0;
}
.step-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0; /* Remove default img margin if any */
}
.step-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-unit);
}
.step-content p {
    font-size: var(--font-size-base);
}
@media (max-width: 768px) {
    .methodology-steps .step.card {
        flex-direction: column; /* Stack icon and text on smaller screens */
        align-items: center; /* Center items when stacked */
        text-align: center;
    }
    .step-icon-container {
        margin-right: 0;
        margin-bottom: var(--spacing-unit);
    }
}


/* --- Success Stories Section --- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3.5);
}
.gallery-item .card-image {
    height: 220px; /* Consistent image height */
}
.gallery-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.gallery-item p {
    font-style: italic;
    color: var(--text-color-medium);
}


/* --- Events Calendar Section --- */
.events-list {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 3);
}
.event-item.card {
    flex-direction: row;
    align-items: center;
    padding: calc(var(--spacing-unit) * 2.5);
    text-align: left; /* Override card default if needed */
}
.event-date-box {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-medium);
    text-align: center;
    margin-right: calc(var(--spacing-unit) * 3);
    flex-shrink: 0;
    min-width: 70px;
}
.event-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}
.event-month {
    display: block;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
}
.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--text-color-dark);
}
.event-details p {
    font-size: var(--font-size-sm);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--text-color-medium);
}
.event-details .event-time {
    font-weight: 500;
    color: var(--secondary-color);
}
.event-details .btn-small {
    margin-top: var(--spacing-unit);
}
@media (max-width: 600px) {
    .event-item.card {
        flex-direction: column;
        align-items: flex-start; /* Align to left when stacked */
        text-align: left;
    }
    .event-date-box {
        margin-right: 0;
        margin-bottom: var(--spacing-unit);
        align-self: flex-start; /* Keep date box aligned left */
    }
}


/* --- External Resources Section --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}
.resource-item .card-content {
    text-align: left; /* Specific for this section */
}
.resource-item h4 a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.resource-item h4 a:hover {
    color: var(--primary-dark-color);
    text-decoration: underline;
}
.resource-item p {
    font-size: var(--font-size-sm);
    color: var(--text-color-muted);
    margin-top: var(--spacing-unit);
}


/* --- Contact Section --- */
/* Form styling is already global. Additional layout for contact page below */
.contact-wrapper { /* For contacts.html */
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes more space */
    gap: calc(var(--spacing-unit) * 5);
    align-items: start;
}
.contact-info-container h2,
.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    color: var(--text-color-dark);
}
.contact-info-item.card {
    padding: calc(var(--spacing-unit) * 2.5);
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    display: flex; /* For icon and text alignment */
    align-items: center;
    text-align: left;
}
.contact-info-item img { /* Icon */
    width: 40px;
    height: 40px;
    margin-right: calc(var(--spacing-unit) * 2);
    flex-shrink: 0;
}
.contact-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--text-color-dark);
}
.contact-info-item p {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
    color: var(--text-color-medium);
}
.contact-info-item p a {
    color: var(--secondary-color);
    font-weight: 500;
}
.contact-info-item p a:hover {
    color: var(--secondary-dark-color);
}
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}


/* --- Footer --- */
.site-footer {
    background-color: var(--background-color-dark-footer);
    color: var(--text-color-light);
    padding: calc(var(--section-padding-y) / 1.5) 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 3);
}
.footer-column h4.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color-light);
    margin-bottom: calc(var(--spacing-unit) * 2);
    position: relative;
    padding-bottom: var(--spacing-unit);
}
.footer-column h4.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}
.footer-column p {
    font-size: var(--font-size-sm);
    color: var(--text-color-muted); /* Light muted for dark bg */
    line-height: 1.7;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: var(--spacing-unit);
}
.footer-column ul li a {
    color: var(--text-color-muted);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-speed-fast) var(--transition-easing), padding-left var(--transition-speed-fast) var(--transition-easing);
}
.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: calc(var(--spacing-unit) * 0.5);
}
.social-links-text li a { /* Style for text-based social links */
    font-weight: 500; /* Make them slightly bolder */
}
.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 3);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
    font-size: var(--font-size-sm);
    color: var(--text-color-muted);
    margin: 0;
}

/* --- Specific Page Styles --- */

/* success.html */
body[data-barba-namespace="success"] main.page-content, /* Barba specific */
.success-message-container /* Direct styling for success if Barba not fully implemented */
{
    min-height: calc(100vh - var(--header-height) - 150px); /* Adjust 150px based on footer height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.success-message-container.card {
    padding: calc(var(--spacing-unit) * 5);
    max-width: 600px;
    width: 90%;
}
.success-message-container .page-title { /* Already h1 */
    color: var(--primary-color); /* More aligned with brand than generic success */
}

/* privacy.html & terms.html */
body[data-barba-namespace="privacy"] .page-content,
body[data-barba-namespace="terms"] .page-content {
    padding-top: calc(var(--header-height) + var(--spacing-unit) * 5); /* Ensure content below fixed header */
}
.content-block h2 {
    font-size: 1.8rem;
    margin-top: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    color: var(--primary-color);
    padding-bottom: calc(var(--spacing-unit) * 0.5);
    border-bottom: 2px solid var(--neutral-medium-color);
}
.content-block ul {
    list-style-position: outside;
    padding-left: calc(var(--spacing-unit) * 2.5); /* 20px */
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.content-block ul li {
    margin-bottom: var(--spacing-unit);
}
.content-image-full {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-large);
    margin-bottom: calc(var(--spacing-unit) * 3);
    box-shadow: var(--shadow-medium);
}
.values-list li strong {
    color: var(--secondary-color);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-light { color: var(--text-color-light); }
.text-dark { color: var(--text-color-dark); }
.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }
.mb-4 { margin-bottom: calc(var(--spacing-unit) * 4); }
.mb-5 { margin-bottom: calc(var(--spacing-unit) * 5); }

/* --- Parallax Background Effect --- */
.parallax-bg {
    background-attachment: fixed; /* Basic parallax */
    /* Ensure background-size, position, repeat are set in HTML or here */
}
@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll; /* Disable fixed attachment on mobile for performance/rendering issues */
    }
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) { /* Tablet and smaller */
    .section-title {
        font-size: 2.2rem;
    }
    .page-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) { /* Mobile */
    .site-header .main-nav {
        display: none; /* Hide nav links by default */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--background-color-light);
        box-shadow: var(--shadow-medium);
        padding: var(--spacing-unit) 0;
    }
    .site-header .main-nav.active {
        display: block; /* Show when burger is clicked */
    }
    .site-header .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    .site-header .main-nav li {
        margin: 0;
        text-align: center;
    }
    .site-header .main-nav a {
        display: block;
        padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2); /* 12px 16px */
        border-bottom: 1px solid var(--border-color);
    }
    .site-header .main-nav li:last-child a {
        border-bottom: none;
    }
    .site-header .main-nav a::after {
        display: none; /* Remove underline effect on mobile nav items */
    }
    .burger-menu {
        display: flex;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-column h4.footer-heading::after {
        left: 50%;
        transform: translateX(-50%); /* Center the underline */
    }
     .footer-column ul {
        text-align: center;
    }
}

/* Barba.js transition styles (example) */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s ease-in-out;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}

/* Ensure high contrast for text on specific backgrounds */
.features-section .section-title,
.features-section .section-intro,
.features-section .feature-item h3,
.features-section .feature-item p,
.features-section .stats-widget .stats-label,
.features-section .progress-indicator-container span {
    color: var(--text-color-light); /* Or a lighter gray that contrasts well with the blue overlay */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3); /* Add subtle shadow for readability */
}

.features-section .feature-item h3 {
    color: var(--text-color-light); /* Override default h3 color for this section */
}

.features-section .stats-widget .stats-value {
    color: var(--secondary-color); /* Keep accent for values */
}
.features-section .progress-value {
    background-color: var(--secondary-color);
    color: var(--text-color-dark); /* Ensure text on progress bar is readable */
}

/* Ensure :root variable for primary color RGB is defined if not already */
:root {
    --primary-color-rgb: 58, 141, 222; /* RGB values for #3A8DDE */
}