/* style.css */

/*------------------------------------------------------------------
[TABLE OF CONTENTS]

1. ROOT VARIABLES & GLOBAL STYLES
    - CSS Variables (Colors, Fonts, Spacing, Transitions)
    - Basic HTML, Body Styles
    - Container
    - Headings (h1-h6)
    - Paragraphs & Text Elements
    - Links
    - Buttons (Global)
    - Forms (Global Inputs)
    - Utility Classes
    - Card Base Styles

2. HEADER & NAVIGATION
    - Site Header
    - Logo
    - Main Navigation
    - Mobile Navigation (Burger Menu)

3. HERO SECTION
    - Hero Section Specifics
    - Hero Content Styling

4. GENERIC SECTION STYLES
    - Section Padding
    - Section Titles & Intros

5. SPECIFIC SECTIONS
    - Our Services Section (#process)
    - Workshops Section (#workshops)
    - Success Stories Section (#success-stories)
    - Projects Section (#projects)
    - Instructors Section (#instructors)
    - Clientele Section (#clientele)
    - Press Section (#press)
    - External Resources Section (#external-resources)
    - Contact Section (#contact)

6. FOOTER
    - Site Footer Layout
    - Footer Columns, Headings, Links
    - Social Media Text Links
    - Footer Bottom

7. SPECIFIC PAGE STYLES
    - Success Page (success.html)
    - Privacy & Terms Pages (privacy.html, terms.html)
    - Generic Content Page Wrapper

8. ANIMATIONS & INTERACTIVITY
    - Hover Effects
    - AOS Integration (already present, CSS for smooth fallbacks if needed)
    - Animated Icons Placeholder

9. RESPONSIVE DESIGN
    - Tablet Styles
    - Mobile Styles

------------------------------------------------------------------*/

/* 1. ROOT VARIABLES & GLOBAL STYLES */
:root {
    /* Bright Color Scheme */
    --primary-color: #00A0A0; /* Vibrant Teal */
    --primary-color-dark: #008080;
    --secondary-color: #FF8C00; /* Bright Orange */
    --accent-color: #E6007E; /* Vivid Magenta/Pink */
    
    --text-color-dark: #222222; /* Very dark grey for high contrast on light backgrounds */
    --text-color-medium: #555555;
    --text-color-light: #FFFFFF;
    
    --background-light: #FFFFFF;
    --background-light-alt: #f8f9fa; /* Off-white for subtle contrast */
    --background-light-textured: #f0f4f8; /* For sections with subtle textures */
    
    --border-color: #e0e0e0;
    --card-background: var(--background-light);
    --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

    /* Fonts */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;

    /* Spacing */
    --spacing-unit: 8px;
    --padding-xs: calc(var(--spacing-unit) * 1);  /* 8px */
    --padding-s: calc(var(--spacing-unit) * 2);   /* 16px */
    --padding-m: calc(var(--spacing-unit) * 4);   /* 32px */
    --padding-l: calc(var(--spacing-unit) * 6);   /* 48px */
    --padding-xl: calc(var(--spacing-unit) * 8);  /* 64px */
    --section-padding-vertical: var(--padding-xl);

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

    /* Header Height for content offset */
    --header-height: 80px; 
}

/* Basic HTML, Body Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

/* Headings (h1-h6) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color-dark); /* Ensure high contrast for headings */
    margin-top: 0;
    margin-bottom: var(--padding-m);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; } /* Responsive font size */
h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: var(--padding-l); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

/* Paragraphs & Text Elements */
p {
    margin-bottom: var(--padding-s);
    color: var(--text-color-medium);
}

strong {
    font-weight: 700;
    color: var(--text-color-dark);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed-fast);
}

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

.cta-link {
    display: inline-block;
    font-weight: 500;
    color: var(--accent-color);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent; /* For hover effect */
    transition: color var(--transition-speed-normal), border-color var(--transition-speed-normal);
}

.cta-link:hover, .cta-link:focus {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-decoration: none;
}

/* Buttons (Global) */
.primary-button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: var(--padding-s) var(--padding-m);
    border: 2px solid var(--primary-color);
    border-radius: 8px; /* Modern rounded corners */
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-speed-normal), color var(--transition-speed-normal), transform var(--transition-speed-fast), box-shadow var(--transition-speed-normal);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow */
}

.primary-button:hover, .primary-button:focus,
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="button"]:hover, input[type="button"]:focus {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--text-color-light);
    transform: translateY(-2px); /* Microinteraction */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* Enhanced shadow */
    text-decoration: none;
}

.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-button:hover, .secondary-button:focus {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

/* Forms (Global Inputs) */
.form-group {
    margin-bottom: var(--padding-m);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: var(--padding-xs);
    color: var(--text-color-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: var(--padding-s);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 160, 0.25); /* Focus ring */
}

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

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333333'%3E%3Cpath d='M8 11.207l-4.667-4.667.94-.94L8 9.327l3.727-3.727.94.94L8 11.207z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--padding-s) center;
    background-size: 1em;
    padding-right: calc(var(--padding-s) * 3); /* Space for arrow */
}

/* Utility Classes */
.text-center { text-align: center; }
.margin-bottom-large { margin-bottom: var(--padding-xl); }
.section-padding { padding-top: var(--section-padding-vertical); padding-bottom: var(--section-padding-vertical); }
.section-padding-textured {
    padding-top: var(--section-padding-vertical);
    padding-bottom: var(--section-padding-vertical);
    /* Example for subtle texture. Replace with actual image path or keep as color */
    /* background-image: url('image/texture-subtle-light.png'); */
    background-repeat: repeat;
}
.full-width { grid-column: 1 / -1; } /* For grid items spanning full width */

/* Card Base Styles */
.card {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in a grid take up equal height */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 250px; /* Fixed height for consistent card image sizes */
    overflow: hidden;
    position: relative; /* For potential overlays */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crucial for image display */
    display: block; /* Removes bottom space */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Non-linear zoom */
}

.card:hover .card-image img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.card-content {
    padding: var(--padding-m);
    flex-grow: 1; /* Allows content to fill space if card heights are equalized */
    display: flex;
    flex-direction: column;
}

.card-content > *:last-child {
    margin-bottom: 0;
}

.card-title {
    margin-bottom: var(--padding-s);
    color: var(--text-color-dark);
}

.card-subtitle { /* e.g. for success stories */
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--padding-xs);
}

.card-meta { /* e.g. for workshop dates */
    font-size: 0.9rem;
    color: var(--text-color-medium);
    margin-bottom: var(--padding-s);
}

/* Grid for cards */
.card-grid, .services-grid, .team-grid, .press-grid, .resources-grid {
    display: grid;
    gap: var(--padding-m);
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid, .team-grid, .press-grid, .resources-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (min-width: 992px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    /* .card-grid can stay auto-fit or be more specific e.g., repeat(3, 1fr) */
}


/* 2. HEADER & NAVIGATION */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency for glasmorphism if desired */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--padding-s) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
}

.site-header.scrolled { /* Add via JS on scroll */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.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: 800;
    color: var(--primary-color);
    text-decoration: none;
}
.logo:hover {
    color: var(--primary-color-dark);
    text-decoration: none;
}

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

.main-navigation .nav-list li {
    margin-left: var(--padding-m);
}

.main-navigation .nav-list a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-color-dark);
    text-decoration: none;
    padding: var(--padding-xs) 0;
    position: relative;
}

.main-navigation .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed-normal);
}

.main-navigation .nav-list a:hover::after,
.main-navigation .nav-list a.active::after { /* Add 'active' class via JS */
    width: 100%;
}
.main-navigation .nav-list a:hover {
    color: var(--primary-color);
    text-decoration: none;
}


/* Mobile Navigation */
.nav-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--padding-xs);
    z-index: 1001; /* Above nav list */
}

.nav-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color-dark);
    position: relative;
    transition: background-color 0s var(--transition-speed-normal); /* Delay hiding middle bar */
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color-dark);
    position: absolute;
    left: 0;
    transition: transform var(--transition-speed-normal), top var(--transition-speed-normal);
}

.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }

/* Active state for burger icon (add 'is-active' class via JS) */
.nav-toggle.is-active .nav-toggle-icon {
    background-color: transparent; /* Middle bar disappears */
}
.nav-toggle.is-active .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}


/* 3. HERO SECTION */
.hero-section {
    min-height: calc(100vh - var(--header-height)); /* Adjusted for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-light); /* As requested, white text */
    padding-top: var(--header-height); /* Offset for fixed header */
    padding-bottom: var(--padding-xl);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For parallax elements or overlays */
}

.hero-content {
    max-width: 800px;
    position: relative; /* Ensures content is above parallax effect if any */
    z-index: 2;
}

.hero-title {
    color: var(--text-color-light); /* Explicitly white */
    margin-bottom: var(--padding-m);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6); /* Ensure readability */
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-color-light); /* Explicitly white */
    margin-bottom: var(--padding-l);
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Ensure readability */
}

.hero-section .cta-button {
    padding: var(--padding-m) var(--padding-l);
    font-size: 1.1rem;
    background-color: var(--accent-color); /* Make it pop */
    border-color: var(--accent-color);
}
.hero-section .cta-button:hover {
    background-color: #c4006b; /* Darker accent */
    border-color: #c4006b;
}

/* Parallax element styling (basic, JS will enhance) */
.parallax-element {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* background-image: url('image/parallax-overlay-texture.png'); Example */
    /* background-size: cover; */
    z-index: 1;
    opacity: 0.2; /* Subtle */
}

/* 4. GENERIC SECTION STYLES */
.section-title { /* Already styled in global headings */
    text-align: center;
    margin-bottom: var(--padding-s);
    color: var(--text-color-dark); /* Dark for contrast on light backgrounds */
}
.section-title::after { /* Optional underline decorator */
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: var(--padding-s) auto var(--padding-l) auto;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-color-medium);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--padding-xl);
    text-align: center;
    line-height: 1.8;
}

/* 5. SPECIFIC SECTIONS */

/* Our Services Section (#process) */
.service-item {
    text-align: center;
    padding: var(--padding-m);
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}
.service-icon {
    font-size: 3rem; /* Placeholder size */
    color: var(--primary-color);
    margin-bottom: var(--padding-m);
    /* For actual animated icons, specific styling will be needed */
    /* e.g., using SVG or an icon font and Anime.js */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 160, 160, 0.1);
    border-radius: 50%;
}
.service-title {
    font-size: 1.4rem;
    margin-bottom: var(--padding-s);
    color: var(--text-color-dark);
}

/* Workshops Section (#workshops) */
/* Uses .card and .card-grid already defined */
.workshops-section {
    background-color: var(--background-light-alt);
}
.workshop-card .card-content {
    text-align: left; /* Workshops might have more text */
}

/* Success Stories Section (#success-stories) */
/* Uses .card and .card-grid */
.success-story-card .card-content {
    text-align: left;
}
.success-story-card strong {
    color: var(--primary-color);
}

/* Projects Section (#projects) */
.projects-section {
    background-color: var(--background-light-textured); /* Can use a subtle texture */
}
/* Uses .card and .card-grid */
.project-card .card-content {
    text-align: left;
}


/* Instructors Section (#instructors) */
.instructor-card {
    text-align: center;
}
.instructor-card .card-image {
    width: 180px; /* Or responsive size */
    height: 180px;
    border-radius: 50%;
    margin: 0 auto var(--padding-m) auto; /* Center the image container */
    border: 4px solid var(--primary-color);
}
.instructor-card .card-image img {
    border-radius: 50%; /* Make image itself round if container is */
}
.instructor-name {
    font-size: 1.5rem;
    margin-bottom: var(--padding-xs);
    color: var(--text-color-dark);
}
.instructor-title {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: var(--padding-s);
    font-weight: 500;
}

/* Clientele Section (#clientele) */
.clientele-section {
    background-color: var(--background-light-alt);
}
.client-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--padding-l);
}
.client-logo img {
    max-height: 75px; /* Control logo height */
    width: auto;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-speed-normal), opacity var(--transition-speed-normal);
}
.client-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Press Section (#press) */
.press-item { /* Uses .card */
    text-align: left;
}
.press-logo-container { /* Specific styling if logo is separate from content */
    height: auto; /* Allow natural height for press logos or make fixed */
    padding: var(--padding-s);
    text-align: center;
}
.press-logo-container img {
    max-height: 60px; /* Or other appropriate size */
    width: auto;
    object-fit: contain;
}
.press-item-title {
    font-size: 1.3rem;
    color: var(--text-color-dark);
    margin-bottom: var(--padding-xs);
}

/* External Resources Section (#external-resources) */
.external-resources-section {
    background-color: var(--background-light-alt);
}
.resource-card { /* Uses .card */
    text-align: left;
}
.resource-title {
    font-size: 1.3rem;
    margin-bottom: var(--padding-xs);
}
.resource-description {
    font-size: 0.95rem;
    margin-bottom: var(--padding-s);
}

/* Contact Section (#contact) */
.contact-form {
    max-width: 700px;
    margin: 0 auto var(--padding-l) auto;
    background-color: var(--card-background);
    padding: var(--padding-l);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

@media (min-width: 768px) {
    .contact-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--padding-m);
    }
    .form-group.full-width {
        grid-column: 1 / -1;
    }
}

.contact-form .submit-button {
    width: 100%;
    padding-top: var(--padding-m);
    padding-bottom: var(--padding-m);
    font-size: 1.1rem;
}

.alternative-contact {
    text-align: center;
    font-size: 1.1rem;
}
.alternative-contact p {
    margin-bottom: var(--padding-xs);
}


/* 6. FOOTER */
.site-footer {
    background-color: var(--text-color-dark); /* Dark footer */
    color: rgba(255, 255, 255, 0.8);
    padding-top: var(--padding-xl);
    padding-bottom: var(--padding-m);
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    gap: var(--padding-l);
    margin-bottom: var(--padding-l);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-color-light);
    margin-bottom: var(--padding-m);
    font-weight: 700;
}

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

.footer-column ul li {
    margin-bottom: var(--padding-xs);
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed-fast), padding-left var(--transition-speed-fast);
}

.footer-column ul a:hover,
.footer-column ul a:focus {
    color: var(--text-color-light);
    padding-left: 5px; /* Microinteraction */
    text-decoration: none;
}

/* Social Media Text Links */
.social-media-links-text {
    /* Uses default ul li a styling from above */
}
.social-media-links-text a {
    font-weight: 500; /* Make them slightly bolder */
}

.footer-bottom {
    text-align: center;
    padding-top: var(--padding-m);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 7. SPECIFIC PAGE STYLES */

/* Generic Content Page Wrapper (for privacy, terms, about etc.) */
.main-content-area {
    padding-top: calc(var(--header-height) + var(--padding-xl)); /* Space for fixed header + extra */
    padding-bottom: var(--padding-xl);
    min-height: calc(100vh - var(--header-height) - 150px); /* Adjust 150px based on footer height */
}
.main-content-area h1 {
    margin-bottom: var(--padding-l);
    text-align: center;
}
.main-content-area h2 {
    text-align: left; /* Default h2 is centered, override for content pages */
    margin-top: var(--padding-l);
}


/* Success Page (success.html) */
body.success-page { /* Add class to body of success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.success-page .main-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.success-page main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height); /* if header is present */
}
.success-message-container {
    max-width: 600px;
    padding: var(--padding-xl);
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}
.success-message-container h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}
.success-message-container p {
    font-size: 1.2rem;
    margin-bottom: var(--padding-l);
}


/* 8. ANIMATIONS & INTERACTIVITY */
/* AOS is handled by its library and data attributes */
/* Basic hover effects are already integrated */

/* Animated Icons Placeholder Styling */
.animated-icon {
    /* General placeholder styles for icons if not using SVG/JS immediately */
    /* Handled in .service-icon already */
}


/* 9. RESPONSIVE DESIGN */

/* Tablet Styles */
@media (max-width: 991px) {
    :root {
        --section-padding-vertical: var(--padding-l);
    }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }

    .hero-section {
        min-height: auto; /* Adjust for smaller screens */
        padding-top: calc(var(--header-height) + var(--padding-m));
        padding-bottom: var(--padding-l);
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    :root {
        --header-height: 70px;
    }
    .site-header { height: var(--header-height); }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: var(--padding-m); }
    .section-title::after { margin: var(--padding-s) auto var(--padding-m) auto; }
    .section-intro { font-size: 1rem; margin-bottom: var(--padding-l); }

    .nav-toggle {
        display: block; /* Show burger icon */
    }

    .main-navigation .nav-list {
        display: none; /* Hide nav list by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height); /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--background-light);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: var(--padding-m) 0;
        border-top: 1px solid var(--border-color);
    }
    .main-navigation .nav-list.is-active { /* JS adds this class */
        display: flex;
    }
    .main-navigation .nav-list li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-list a {
        display: block;
        padding: var(--padding-s) var(--padding-m);
        width: 100%;
    }
    .main-navigation .nav-list a::after { /* Adjust underline for block links */
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
    }

    .services-grid { grid-template-columns: 1fr; }
    .card-grid, .team-grid, .press-grid, .resources-grid { grid-template-columns: 1fr; }

    .instructor-card .card-image {
        width: 150px;
        height: 150px;
    }
    
    .contact-form {
        padding: var(--padding-m);
    }
    .contact-form {
        grid-template-columns: 1fr; /* Stack form fields on mobile */
    }

    .footer-content {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-column ul {
        text-align: center;
    }
    .footer-heading {
        text-align: center;
    }
}

/* Cookie Consent Popup Enhancements (optional, if default inline styles are not enough) */
.cookie-consent-popup {
    /* Already styled inline, these are for overrides or enhancements if needed */
    /* Example:
    padding: var(--padding-m);
    font-size: 0.9rem; */
}
.cookie-consent-popup p {
    /* margin-bottom: var(--padding-s); */
}
.cookie-consent-popup button {
    /* padding: var(--padding-xs) var(--padding-s); */
}


/* Final check for text contrast on all backgrounds */
/* Hero section text is white on dark overlay - OK */
/* Section titles are dark on light backgrounds - OK */
/* Body text is medium/dark on light backgrounds - OK */
/* Footer text is light on dark background - OK */
/* Card text is dark on light card background - OK */
html,body{
    overflow-x: hidden;
}