/* style.css */

/* -----------------------------------------------------------------------------
TABLE OF CONTENTS:
--------------------------------------------------------------------------------
1.  CSS Variables (Root)
    - Colors (Analogous Scheme, Accents, Neutrals)
    - Fonts
    - Borders & Shadows (Brutalism)
    - Shapes (Biomorphism)
    - Transitions & Animations
2.  Global Resets & Base Styles
    - Body, Typography (Headings, Paragraphs, Links)
    - Global Button Styles
3.  Layout Components
    - Header (Navbar)
    - Footer
    - Main Content Wrapper
4.  Section Specific Styles
    - Hero Section
    - Our Process Section
    - Behind the Scenes Section
    - Team Section
    - Projects Section
    - Case Studies Section (includes Statistical Widgets)
    - Instructors Section
    - Resources Section
    - Contact Section (includes Form)
5.  Card Styles (General & Specific)
    - Base Card (.card)
    - Process Card, Team Card, Project Card, etc.
6.  UI Components
    - Progress Indicators
    - Statistical Widgets
    - Image Galleries (Implicitly through card layouts)
    - Form Elements (Inputs, Textarea, Checkbox)
7.  Page Specific Styles
    - About, Privacy, Terms Pages
    - Success Page
8.  Animations & Transitions
    - Barba.js Page Transitions (Placeholder for JS interaction)
    - Hover Effects
    - Morphing Elements (Subtle)
9.  Utility Classes
10. Responsive Design (Media Queries)
----------------------------------------------------------------------------- */

/* 1. CSS Variables (Root)
----------------------------------------------------------------------------- */
:root {
    /* Analogous Color Scheme (Base: Vibrant Blue) */
    --color-primary-base: #0052D4; /* Vibrant Blue */
    --color-primary-analogous-1: #0079D8; /* Lighter, slightly tealish Blue */
    --color-primary-analogous-2: #4361EE; /* Deeper, slightly purplish Blue */

    /* Accent Colors */
    --color-accent-orange: #F77F00; /* Bright Orange for CTA and highlights */
    --color-accent-secondary: #FCBF49; /* Lighter orange/yellow for softer accents */

    /* Neutral Colors */
    --color-text-dark: #1A1D24; /* Very Dark Grey for main text - Brutalism */
    --color-text-medium: #495057; /* Medium Grey for secondary text */
    --color-text-light: #F8F9FA; /* Off-White for text on dark backgrounds */
    --color-background-light: #FFFFFF;
    --color-background-medium: #F0F3F5; /* Light, cool grey */
    --color-background-dark: #121212; /* Very dark for footer/dark sections */
    --color-border-brutal: #000000; /* Pure black for strong brutalist borders */
    --color-border-light: #DEE2E6;

    /* Gradients */
    --gradient-primary-analogous: linear-gradient(135deg, var(--color-primary-analogous-2), var(--color-primary-base), var(--color-primary-analogous-1));
    --gradient-accent: linear-gradient(45deg, var(--color-accent-orange), var(--color-accent-secondary));
    --gradient-dark-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    --gradient-glassmorphism: rgba(255, 255, 255, 0.1); /* For backdrop */

    /* Fonts */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

    /* Borders & Shadows (Brutalism) */
    --border-brutalist-strong: 3px solid var(--color-border-brutal);
    --border-brutalist-medium: 2px solid var(--color-text-dark);
    --shadow-brutalist-hard: 5px 5px 0px var(--color-border-brutal);
    --shadow-brutalist-offset: 3px 3px 0px var(--color-text-dark);
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);

    /* Shapes (Biomorphism) */
    --radius-biomorphic-soft: 30% 70% 70% 30% / 50% 30% 70% 50%; /* Organic blob shape */
    --radius-biomorphic-subtle: 15px 50px 20px 40px; /* Softer, irregular radius */
    --radius-standard: 0.25rem; /* Bootstrap's default for consistency where needed */
    --radius-none: 0; /* For sharp brutalist edges */

    /* Transitions & Animations */
    --transition-fast: 0.2s ease-out;
    --transition-medium: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-morph: 0.4s ease-in-out; /* For shape-shifting effects */
}

/* 2. Global Resets & Base Styles
----------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 1rem; /* 16px base */
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS or other effects */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700; /* Bold headings */
    line-height: 1.3;
    color: var(--color-text-dark);
    margin-top: 0;
    margin-bottom: 1rem; /* Consistent bottom margin */
    text-wrap: balance; /* Improve text wrapping for titles */
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; } /* Responsive font size */
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-medium); /* Softer color for paragraphs */
}
p.lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-dark); /* Lead paragraphs slightly darker */
}

a {
    color: var(--color-primary-base);
    text-decoration: none;
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
a:hover, a:focus {
    color: var(--color-primary-analogous-1);
    text-decoration: underline;
    text-decoration-color: var(--color-accent-orange);
}

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

/* Global Button Styles */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: var(--border-brutalist-medium);
    padding: 0.75rem 1.75rem; /* Generous padding */
    line-height: 1.5;
    border-radius: var(--radius-none); /* Brutalist sharp edges */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-brutalist-offset);
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover,
.btn:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {
    color: var(--color-text-light);
    background-color: var(--color-primary-base);
    border-color: var(--color-primary-base);
    box-shadow: 3px 3px 0px var(--color-primary-analogous-2); /* Shifted shadow color */
    transform: translate(-2px, -2px); /* Brutalist hover shift */
    outline: none;
}

.btn-primary { /* Bootstrap's primary button extended */
    color: var(--color-text-light);
    background-color: var(--color-primary-base);
    border-color: var(--color-primary-base);
    box-shadow: var(--shadow-brutalist-offset);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-primary-analogous-1);
    border-color: var(--color-primary-analogous-1);
    box-shadow: 3px 3px 0px var(--color-primary-base);
    color: var(--color-text-light);
}

.btn-accent {
    color: var(--color-text-dark);
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
}
.btn-accent:hover, .btn-accent:focus {
    background-color: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    box-shadow: 3px 3px 0px var(--color-accent-orange);
    color: var(--color-text-dark);
}

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

/* "Read More" link style */
.read-more-link {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25em 0;
    position: relative;
    transition: color var(--transition-medium);
}
.read-more-link::after {
    content: '→';
    display: inline-block;
    margin-left: 0.5em;
    transition: transform var(--transition-medium);
}
.read-more-link:hover, .read-more-link:focus {
    color: var(--color-primary-base);
    text-decoration: none;
}
.read-more-link:hover::after, .read-more-link:focus::after {
    transform: translateX(5px);
}


/* 3. Layout Components
----------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030; /* Above most content, Bootstrap's default for fixed is 1030 */
    background-color: var(--gradient-glassmorphism);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--border-brutalist-medium);
    padding: 0.5rem 0; /* Reduced padding */
}
.site-header .navbar-brand {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--color-text-dark);
    letter-spacing: -1px;
}
.site-header .navbar-brand .brand-accent {
    color: var(--color-primary-base);
}
.site-header .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-text-dark) !important; /* Bootstrap override */
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: var(--radius-none); /* Sharp edges for nav items */
    transition: background-color var(--transition-fast), color var(--transition-fast);
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--color-primary-base) !important;
    background-color: rgba(0, 0, 0, 0.05); /* Subtle hover */
}
.navbar-toggler {
    border: var(--border-brutalist-medium);
    border-radius: var(--radius-none);
    padding: .35rem .65rem;
}
.navbar-toggler-icon { /* Custom burger icon for brutalist feel */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 29, 36, 1)' stroke-linecap='square' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.site-footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-medium);
    padding: 3rem 0 1.5rem;
    border-top: var(--border-brutalist-strong);
    border-top-color: var(--color-primary-analogous-2);
}
.site-footer .footer-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.site-footer p,
.site-footer ul li a {
    color: var(--color-text-medium);
    font-size: 0.9rem;
}
.site-footer ul {
    list-style: none;
    padding-left: 0;
}
.site-footer ul li {
    margin-bottom: 0.5rem;
}
.site-footer ul li a:hover, .site-footer ul li a:focus {
    color: var(--color-text-light);
    text-decoration-color: var(--color-accent-orange);
}
.site-footer .social-links li a { /* Styling for text-based social links */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 0.2em 0;
}
.site-footer .social-links li a:hover {
    color: var(--color-accent-orange);
}
.site-footer .copyright-text {
    font-size: 0.85rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-text-medium);
    opacity: 0.7;
}

/* 4. Section Specific Styles
----------------------------------------------------------------------------- */
/* General Section Styling */
section {
    padding: 4rem 0; /* Vertical padding */
    overflow: hidden; /* For AOS animations */
}
.section-bg-light {
    background-color: var(--color-background-medium);
}
.section-title { /* Global styling for main section titles */
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text-dark); /* Ensure dark for contrast */
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.section-subtitle { /* For sub-headings within sections or pages */
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary-base);
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light); /* Ensured white as per request */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For overlay and parallax */
    padding: 6rem 0; /* Adjust based on content and navbar height */
    min-height: calc(90vh - 70px); /* Example: 90% of viewport height minus navbar height */
}
.hero-overlay { /* Overlay on hero background image for text readability */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark-overlay); /* Darkening gradient */
    z-index: 1;
}
.hero-section .container {
    position: relative; /* To sit on top of the overlay */
    z-index: 2;
}
.hero-title {
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    font-weight: 900;
    margin-bottom: 1rem;
}
.hero-subtitle {
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta { /* Specific CTA button in hero */
    font-size: 1.1rem;
    padding: 0.9rem 2.75rem;
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-brutalist-offset);
}
.hero-cta:hover, .hero-cta:focus {
    background-color: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    box-shadow: 3px 3px 0px var(--color-accent-orange);
    color: var(--color-text-dark);
}
.parallax-layer { /* For parallax images */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* JS typically handles transform for parallax */
}

/* Page Title Sections (for about, contact, privacy, terms etc.) */
.page-title-section {
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
}
.page-title-overlay { /* Dark overlay for text readability on these banners */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark-overlay);
    z-index: 1;
}
.page-title-section .container {
    position: relative;
    z-index: 2;
}
.page-main-title {
    color: var(--color-text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
.page-main-subtitle {
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 0 auto;
}


/* Contact Section */
.contact-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.contact-form-container {
    background-color: rgba(255, 255, 255, 0.97); /* Almost opaque for form readability */
    border: var(--border-brutalist-medium);
    box-shadow: var(--shadow-brutalist-hard);
    padding: 2.5rem;
    border-radius: var(--radius-none); /* Sharp edges */
}
.contact-info h4 {
    color: var(--color-primary-analogous-2);
}
.contact-info p {
    color: var(--color-text-dark);
}


/* 5. Card Styles (General & Specific)
----------------------------------------------------------------------------- */
.card {
    border: var(--border-brutalist-medium);
    border-radius: var(--radius-none); /* Sharp edges */
    box-shadow: var(--shadow-brutalist-offset);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    background-color: var(--color-background-light);
    height: 100%; /* For consistent card heights in a row if using Bootstrap grid */
    display: flex; /* For centering content */
    flex-direction: column; /* Stack image and content */
    /* align-items: center; -- This will center .card-image and .card-content if they are not full width. */
    text-align: left; /* Default text align for card content */
}
.card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0px var(--color-primary-base);
}

.card .card-image { /* Container for the image */
    width: 100%;
    height: 220px; /* Fixed height for image containers in cards */
    overflow: hidden;
    background-color: var(--color-background-medium); /* Placeholder bg for images */
    border-bottom: var(--border-brutalist-medium); /* Separator for brutalist look */
    margin-left: auto; /* Center block elements */
    margin-right: auto; /* Center block elements */
}
.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the fixed height container */
    display: block;
    transition: transform var(--transition-morph), filter var(--transition-medium);
}
.card:hover .card-image img {
    transform: scale(1.03);
    filter: saturate(1.2);
}

.card-content { /* Generic content area for cards */
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to fill remaining space if card is flex container */
    width: 100%; /* Ensure it takes full width of the card */
}
/* Centering content within cards, if that's the overall design goal */
/* If specific cards need text-center: */
.card.text-center .card-content, .card.text-center .card-image {
    text-align: center;
}
.card.text-center .card-image img {
    margin-left: auto;
    margin-right: auto;
}


.card-title { /* Global for card titles */
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}
.card p.text-muted { /* Muted text in cards */
    font-size: 0.85rem;
    color: var(--color-text-medium) !important;
    margin-bottom: 0.5rem;
}

/* Process Card Specifics */
.process-card {
    text-align: center; /* Center content in process cards */
}
.process-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary-analogous);
    color: var(--color-text-light);
    border-radius: var(--radius-biomorphic-soft); /* Biomorphic shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 1.25rem auto;
    border: 3px solid var(--color-background-light);
    box-shadow: 0 0 0 2px var(--color-primary-analogous-1), var(--shadow-soft);
    transition: transform var(--transition-medium), border-radius var(--transition-morph);
}
.process-card:hover .process-icon {
    transform: translateY(-5px) rotate(10deg);
    border-radius: 50%; /* Morph to circle on hover */
}

/* Team Card / Instructor Card */
.team-card, .instructor-card {
    text-align: center; /* Center content */
}
.team-card .card-image img, .instructor-card .card-image img {
    border-radius: var(--radius-biomorphic-subtle); /* Slightly organic corners for profile pics */
    border: 3px solid var(--color-primary-analogous-1);
    margin: 1rem auto 0; /* Top margin to push from card edge */
    width: 150px; /* Fixed size for profile image container */
    height: 150px;
    object-fit: cover;
}
.team-card .card-image, .instructor-card .card-image { /* Override fixed height for these profile images */
    height: auto;
    border-bottom: none;
    background-color: transparent;
}

/* Resource Card */
.resource-card {
    border-left: 5px solid var(--color-primary-analogous-2); /* Accent bar */
    box-shadow: var(--shadow-brutalist-offset);
}
.resource-card .card-title a {
    color: var(--color-text-dark);
    font-weight: 600;
}
.resource-card .card-title a:hover {
    color: var(--color-primary-base);
}


/* 6. UI Components
----------------------------------------------------------------------------- */
/* Progress Indicators (Bootstrap's progress bar is used) */
.progress {
    height: 12px !important; /* Thicker progress bar */
    border-radius: var(--radius-none); /* Sharp edges */
    background-color: var(--color-border-light);
    border: 1px solid var(--color-text-medium);
}
.progress-bar {
    background-color: var(--color-primary-analogous-1) !important;
    border-radius: var(--radius-none);
    transition: width 0.8s ease-in-out;
}

/* Statistical Widgets */
.stat-widget {
    border: var(--border-brutalist-medium);
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: var(--color-background-light);
    border-radius: var(--radius-biomorphic-subtle); /* Biomorphic touch */
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}
.stat-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-primary-analogous-2);
    margin-bottom: 0.25rem;
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    color: var(--color-text-medium);
    font-weight: 500;
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.form-control {
    border: var(--border-brutalist-medium);
    border-radius: var(--radius-none); /* Sharp edges */
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: inset 2px 2px 0px rgba(0,0,0,0.05); /* Subtle inner brutalist shadow */
}
.form-control:focus {
    border-color: var(--color-primary-base);
    box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.25), inset 2px 2px 0px rgba(0,0,0,0.05); /* Focus ring and keep inner shadow */
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
}
.form-control::placeholder {
    color: var(--color-text-medium);
    opacity: 0.7;
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.2em;
    border: var(--border-brutalist-medium);
    border-color: var(--color-text-medium);
    border-radius: var(--radius-none);
}
.form-check-input:checked {
    background-color: var(--color-primary-base);
    border-color: var(--color-primary-base);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.form-check-label {
    font-size: 0.9rem;
    color: var(--color-text-medium);
}
.form-check-label a {
    color: var(--color-primary-base);
    font-weight: 500;
}


/* 7. Page Specific Styles
----------------------------------------------------------------------------- */
/* Content Pages (About, Privacy, Terms) */
.content-section { /* General wrapper for text-heavy pages */
    padding-top: 100px; /* Avoid overlap with fixed header */
    max-width: 800px; /* Optimal reading width */
    margin-left: auto;
    margin-right: auto;
}
.content-section h2.section-subtitle { /* For main titles on these pages */
    text-align: left; /* Default for content pages */
    margin-top: 0; /* No extra top margin as padding-top handles it */
    margin-bottom: 1.5rem;
}
.content-section h3 {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.content-section p, .content-section ul li {
    color: var(--color-text-dark); /* Ensure high contrast for body */
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}
.content-section ul {
    padding-left: 1.5rem;
    list-style-type: disc; /* Standard disc */
}
.content-section strong {
    font-weight: 600;
    color: var(--color-text-dark);
}
.image-container-biomorphic {
    text-align: center; /* Center the image if it's smaller than container */
}
.image-container-biomorphic img {
    border-radius: var(--radius-biomorphic-soft); /* Biomorphic shape */
    border: 4px solid var(--color-primary-analogous-2);
    box-shadow: var(--shadow-brutalist-hard);
    max-width: 90%; /* Prevent oversized images */
}
.value-card { /* Specific for values on about page */
    background-color: var(--color-background-medium);
    border: 2px dashed var(--color-primary-base);
    box-shadow: none;
    padding: 1.5rem;
}
.value-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-style: solid;
    box-shadow: var(--shadow-soft);
}

/* Success Page */
main[data-barba-namespace="success"] { /* Targeting the main element of success page */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* Padding for content */
}
.success-icon svg {
    width: 80px;
    height: 80px;
    color: var(--color-primary-base); /* Success color from Bootstrap or custom */
}
.success-icon .bi-check-circle-fill { /* If using Bootstrap icon */
    color: #198754; /* Bootstrap's success green */
}


/* 8. Animations & Transitions (Barba.js handled by JS, CSS defines states)
----------------------------------------------------------------------------- */
.barba-leave-active,
.barba-enter-active {
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}
.barba-leave-to {
  opacity: 0;
  transform: translateY(20px) scale(0.95); /* Example morphing-like exit */
}
.barba-enter-from {
  opacity: 0;
  transform: translateY(-20px) scale(0.95); /* Example morphing-like enter */
}

/* Glassmorphism effect for elements like header */
.glassmorphism {
    background: var(--gradient-glassmorphism);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-standard); /* Softer radius for glass */
}

/* 9. Utility Classes (Add as needed)
----------------------------------------------------------------------------- */
.text-shadow-strong {
    text-shadow: 2px 2px 3px rgba(0,0,0,0.4);
}
.text-shadow-subtle {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.full-width-column-container .col-lg-8, /* Forcing wider columns if using Bootstrap's col-lg-8 */
.full-width-column-container .col-md-10 {
    flex: 0 0 100%;
    max-width: 100%;
}


/* 10. Responsive Design (Media Queries)
----------------------------------------------------------------------------- */
@media (max-width: 991.98px) { /* Tablet and smaller */
    .site-header .navbar-nav {
        margin-top: 1rem;
        background-color: rgba(255, 255, 255, 0.98); /* Make mobile menu opaque */
        padding: 1rem;
        border-top: var(--border-brutalist-medium);
        box-shadow: var(--shadow-soft);
        border-radius: var(--radius-none);
    }
    .site-header .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem !important;
        text-align: left;
    }
    .site-header .nav-link:hover,
    .site-header .nav-link.active {
        background-color: rgba(0, 82, 212, 0.1);
    }

    .hero-title { font-size: clamp(2rem, 6vw, 2.8rem); }
    .hero-subtitle { font-size: clamp(1rem, 3vw, 1.2rem); }
    .section-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .page-main-title { font-size: clamp(2rem, 5vw, 2.5rem); }

    .content-section {
        padding-top: 80px; /* Adjust for potentially smaller navbar */
    }
}

@media (max-width: 767.98px) { /* Mobile */
    section { padding: 3rem 0; }
    .hero-section { padding: 4rem 0; min-height: 0; } /* Natural height on mobile */
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }

    .btn, button, input[type="submit"], input[type="button"] {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    .hero-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
    .stat-widget {
        margin-bottom: 1.5rem; /* Ensure spacing between stacked widgets */
    }
    .site-footer {
        text-align: center;
    }
    .site-footer .footer-heading {
        margin-top: 1.5rem;
    }
    .site-footer .row > div:first-child .footer-heading {
        margin-top: 0;
    }
}

/* Cookie Consent Popup (From HTML, basic styling) */
#cookieConsentPopup {
    /* Styles are mostly inline in HTML, can be enhanced here if needed */
    font-family: var(--font-body);
}
#cookieConsentPopup p {
    color: var(--color-text-light); /* Ensure contrast */
    margin-bottom: 10px;
}
#cookieConsentPopup a {
    color: #bdc3c7; /* Lighter link color for dark bg */
}
#acceptCookieConsent {
    background-color: var(--color-primary-base);
    border: none;
    color: white;
    padding: 8px 18px;
    border-radius: var(--radius-standard);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
}
#acceptCookieConsent:hover {
    background-color: var(--color-primary-analogous-1);
}