/* style.css */

/*------------------------------------------------------------------
[Table of Contents]

1. ROOT VARIABLES
2. RESET & GLOBAL STYLES
3. TYPOGRAPHY
4. LAYOUT & CONTAINERS
5. BUTTONS (GLOBAL)
6. HEADER & NAVIGATION
7. FOOTER
8. PAGE-SPECIFIC STYLES (SUCCESS, PRIVACY, TERMS)
9. SHARED COMPONENT STYLES
    - Cards (Base)
    - Modals
    - Toggles (Switch)
    - Timelines
    - Carousels (Basic Item Styling)
10. SECTION-SPECIFIC STYLES
    - Hero Section
    - Statistics Section
    - Services/Pricing Section
    - Instructors Section
    - Behind The Scenes Section
    - Clientele/Testimonials Section
    - Awards Section
    - Sustainability Section
    - External Resources Section
    - Contact Form Section
11. UTILITY CLASSES
12. ANIMATIONS & TRANSITIONS (ScrollReveal handled by JS)
13. RESPONSIVENESS (Media Queries)
-------------------------------------------------------------------*/

/* 1. ROOT VARIABLES */
:root {
    /* Tetradic Color Scheme & Neumorphism Palette */
    --primary-color: #6D5DFC; /* Vibrant Indigo/Purple */
    --primary-color-dark: #5848d4;
    --primary-color-light: #8B7EFF;

    --secondary-color: #54D1DB; /* Bright Cyan/Turquoise */
    --secondary-color-dark: #43B6C0;
    --secondary-color-light: #70E0EB;

    --accent-color-1: #FFC107; /* Warm Yellow/Gold */
    --accent-color-1-dark: #dba600;

    --accent-color-2: #FF6B6B; /* Soft Red/Coral */
    --accent-color-2-dark: #e05252;

    /* Neumorphism Base */
    --neumorph-bg: #F0F2F5; /* Light grey, almost white */
    --neumorph-bg-darker: #e0e5ec;
    --text-color: #333333;
    --text-color-light: #5f5f5f;
    --text-color-inverted: #FFFFFF;

    --shadow-light: rgba(255, 255, 255, 0.9); /* Lighter part of the shadow */
    --shadow-dark: rgba(180, 190, 200, 0.5); /* Darker part of the shadow */
    --shadow-strong-dark: rgba(163, 177, 198, 0.6);

    /* Neumorphic Shadows */
    --neumorph-shadow-outset: -6px -6px 12px var(--shadow-light), 6px 6px 12px var(--shadow-dark);
    --neumorph-shadow-inset: inset -4px -4px 8px var(--shadow-light), inset 4px 4px 8px var(--shadow-dark);
    --neumorph-shadow-outset-deep: -8px -8px 16px var(--shadow-light), 8px 8px 16px var(--shadow-strong-dark);
    --neumorph-shadow-inset-deep: inset -6px -6px 12px var(--shadow-light), inset 6px 6px 12px var(--shadow-strong-dark);


    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Transitions & Borders */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
    --border-radius-sm: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 25px;

    /* Dynamic Color Transition Gradient */
    --dynamic-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --dynamic-gradient-alt: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));

    /* Spacing */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2.5rem;   /* 40px */
    --spacing-xl: 4rem;     /* 64px */

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

/* 2. RESET & 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);
    color: var(--text-color);
    background-color: var(--neumorph-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

a:hover {
    color: var(--primary-color-dark);
}

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color); /* Darker for contrast on light neumorph bg */
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 500;
}

h1 { font-size: 2.8rem; font-weight: 700; } /* ~44.8px */
h2 { font-size: 2.2rem; font-weight: 700; } /* ~35.2px */
h3 { font-size: 1.8rem; } /* ~28.8px */
h4 { font-size: 1.4rem; } /* ~22.4px */

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-light);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: #222222; /* Ensure high contrast for section titles */
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--dynamic-gradient);
    border-radius: var(--border-radius-sm);
    margin: var(--spacing-xs) auto 0;
}


.section-intro {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    color: var(--text-color-light);
}

/* 4. LAYOUT & CONTAINERS */
.main-container {
    width: 100%;
    overflow: hidden; /* Prevent horizontal scroll */
}

.container-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Forcing darker text on light backgrounds if needed */
.dark-text-on-light {
    color: var(--text-color) !important;
}
.dark-text-on-light h1, .dark-text-on-light h2, .dark-text-on-light h3, .dark-text-on-light h4 {
    color: #222222 !important;
}


/* 5. BUTTONS (GLOBAL) */
.cta-button,
.cta-button-outline,
button,
input[type="submit"],
.form-submit-button,
.modal-trigger-button {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-ease);
    border: 2px solid transparent;
    font-size: 1rem;
    box-shadow: var(--neumorph-shadow-outset);
    background-color: var(--neumorph-bg);
    color: var(--primary-color);
}

.cta-button:hover,
button:hover,
input[type="submit"]:hover,
.form-submit-button:hover,
.modal-trigger-button:hover {
    box-shadow: var(--neumorph-shadow-inset);
    transform: translateY(1px);
}

.cta-button:active,
button:active,
input[type="submit"]:active,
.form-submit-button:active,
.modal-trigger-button:active {
    box-shadow: var(--neumorph-shadow-inset-deep);
    transform: translateY(2px);
}

/* Primary filled button style */
.cta-button, .form-submit-button {
    background: var(--dynamic-gradient);
    color: var(--text-color-inverted);
    border-color: transparent; /* No border for filled primary */
}

.cta-button:hover, .form-submit-button:hover {
    background: var(--dynamic-gradient); /* Keep gradient, shadow changes */
    filter: brightness(1.1);
}

/* Outline button style */
.cta-button-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none; /* Less prominent shadow for outline */
}

.cta-button-outline:hover {
    background-color: var(--primary-color-light);
    color: var(--text-color-inverted);
    border-color: var(--primary-color-light);
    box-shadow: var(--neumorph-shadow-outset); /* Add shadow on hover */
}

/* Modal trigger button - often smaller or different style */
.modal-trigger-button {
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    margin-top: var(--spacing-sm);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color-light);
}
.modal-trigger-button:hover {
    background-color: var(--secondary-color-light);
    color: var(--text-color-inverted);
}


/* 6. HEADER & NAVIGATION */
.site-header {
    background-color: var(--neumorph-bg);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for fixed header */
    height: var(--header-height);
}

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

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

.main-nav .nav-links {
    display: flex;
    align-items: center;
}

.main-nav .nav-links li {
    margin-left: var(--spacing-md);
}

.main-nav .nav-links a {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-speed) var(--transition-ease), color var(--transition-speed) var(--transition-ease);
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(109, 93, 252, 0.1); /* Light primary color background */
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Active state for burger menu */
.nav-toggle.active .hamburger {
    background-color: transparent; /* Middle bar disappears */
}
.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}


/* 7. FOOTER */
.site-footer {
    background-color: var(--neumorph-bg-darker); /* Slightly darker for distinction */
    color: var(--text-color-light);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links li, .footer-social-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a, .footer-social-links a {
    color: var(--text-color-light);
    font-size: 0.95rem;
    transition: color var(--transition-speed) var(--transition-ease), padding-left var(--transition-speed) var(--transition-ease);
}

.footer-links a:hover, .footer-social-links a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Subtle indent on hover */
}

/* Specific styling for social media TEXT links */
.footer-social-links a {
    display: inline-block; /* Allows padding */
    padding: 3px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

/* 8. PAGE-SPECIFIC STYLES (SUCCESS, PRIVACY, TERMS) */
/* success.html */
.success-page-container, .error-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height)); /* Full viewport height minus header */
    text-align: center;
    padding: var(--spacing-lg);
    margin-top: var(--header-height); /* Offset for fixed header */
}
.success-page-container h1, .error-page-container h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}
.success-page-container p, .error-page-container p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}
.success-page-container .cta-button, .error-page-container .cta-button {
    margin-top: var(--spacing-sm);
}

/* privacy.html & terms.html */
.privacy-page-container,
.terms-page-container,
.about-page-container,
.contact-page-container {
    padding-top: calc(var(--header-height) + var(--spacing-xl)); /* Header height + extra padding */
    padding-bottom: var(--spacing-xl);
}

.privacy-page-container .container-content h1,
.terms-page-container .container-content h1,
.about-page-container .container-content h1,
.contact-page-container .container-content h1 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.privacy-page-container .container-content h2,
.terms-page-container .container-content h2,
.about-page-container .container-content h2,
.contact-page-container .container-content h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.privacy-page-container .container-content p,
.terms-page-container .container-content p,
.about-page-container .container-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

/* 9. SHARED COMPONENT STYLES */

/* --- Cards (Base Neumorphic Style) --- */
.card {
    background-color: var(--neumorph-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--neumorph-shadow-outset-deep);
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center .card-image and .card-content horizontally */
    text-align: center; /* Center text within card content */
    overflow: hidden; /* Ensure content stays within rounded corners */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: -10px -10px 20px var(--shadow-light), 10px 10px 20px var(--shadow-strong-dark);
}

.card-image {
    width: 100%; /* Take full width of parent column/card padding */
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-md); /* Rounded corners for image container */
    overflow: hidden; /* Clip image to rounded corners */
    display: flex; /* For centering image if it's smaller */
    justify-content: center;
    align-items: center;
}

/* Instructors, Testimonials have specific image sizes */
.instructor-card .card-image img,
.testimonial-card .card-image img {
    border-radius: 50%; /* Circular images */
    object-fit: cover;
}

.instructor-card .card-image {
    height: 150px; /* Fixed height for instructor image container */
    width: 150px;
    border-radius: 50%;
}
.instructor-card .card-image img {
    width: 150px;
    height: 150px;
}

.testimonial-card .card-image {
    height: 100px;
    width: 100px;
    border-radius: 50%;
}
.testimonial-card .card-image img {
    width: 100px;
    height: 100px;
}

.card-content {
    width: 100%;
}

.card-content h3, .card-content h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    margin-bottom: var(--spacing-sm);
}

/* --- Modals --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for more focus */
    backdrop-filter: blur(5px); /* Glassmorphism effect */
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.modal-content {
    background-color: var(--neumorph-bg);
    margin: auto;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-shadow-outset-deep);
    max-width: 700px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.5s var(--transition-ease);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-button {
    color: var(--text-color-light);
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    transition: color var(--transition-speed) var(--transition-ease);
}

.close-button:hover,
.close-button:focus {
    color: var(--accent-color-2);
    text-decoration: none;
    cursor: pointer;
}

.modal-content h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.modal-body img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--neumorph-shadow-outset);
    max-width: 150px; /* Control image size within modal */
    height: auto;
}

.modal-body p {
    text-align: left;
    font-size: 1rem;
    line-height: 1.7;
}


/* --- Toggles (Switch) --- */
.toggle-switch-container {
    display: flex;
    align-items: center;
    margin: var(--spacing-sm) 0;
    justify-content: center;
}
.switch-label {
    margin-left: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-color-light);
    cursor: pointer;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--neumorph-bg-darker);
    box-shadow: var(--neumorph-shadow-inset);
    transition: var(--transition-speed) var(--transition-ease);
    border-radius: 28px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    box-shadow: var(--neumorph-shadow-outset);
    transition: var(--transition-speed) var(--transition-ease);
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--primary-color);
    box-shadow: none; /* Remove inset when active */
}
input:checked + .slider:before {
    transform: translateX(22px);
    box-shadow: none; /* Remove outset when active and inside */
}
.plan-details-modal { /* This is the content shown by toggle */
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--neumorph-bg-darker);
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    text-align: left;
    box-shadow: var(--neumorph-shadow-inset);
}
.plan-details-modal h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* --- Timelines --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: var(--spacing-lg) auto;
}

.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background: var(--dynamic-gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }

/* The circle on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px; /* Adjusted for icon */
    background-color: var(--neumorph-bg);
    border: 3px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--neumorph-bg), var(--neumorph-shadow-outset);
}
.timeline-item:nth-child(even)::after { left: -10px; } /* Adjusted for icon */

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    background-color: var(--neumorph-bg);
    border: 2px solid var(--primary-color-light);
    color: var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 2; /* Above the line's ::after pseudo-element */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: var(--neumorph-shadow-outset);
}
.timeline-item:nth-child(even) .timeline-icon { left: -20px; }

.timeline-content {
    padding: var(--spacing-md);
    background-color: var(--neumorph-bg);
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-shadow-outset);
}
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px; /* Space for icon */
    text-align: right;
}
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px; /* Space for icon */
    text-align: left;
}
.timeline-content h4 { color: var(--secondary-color); font-size: 1.2rem; }
.timeline-content p { font-size: 0.95rem; color: var(--text-color-light); margin-bottom: 0; }

/* Arrow pointing to the timeline */
.timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    border: medium solid var(--neumorph-bg); /* Match content bg */
}
.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px; /* Points to the right */
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--neumorph-bg);
}
.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px; /* Points to the left */
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--neumorph-bg) transparent transparent;
}


/* --- Carousels (Basic Item Styling) --- */
/* JS will handle the actual carousel functionality. This is for item appearance. */
.instructors-carousel, .testimonial-carousel {
    display: grid; /* Simple grid for now, JS would enhance */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}


/* 10. SECTION-SPECIFIC STYLES */

/* --- Hero Section --- */
.hero-section {
    position: relative;
    color: var(--text-color-inverted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh; /* Use min-height for hero */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-xl) 0;
    margin-top: var(--header-height); /* Offset for fixed header */
}

.hero-overlay { /* Semi-transparent 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;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem; /* Larger for hero */
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-inverted); /* Explicitly white */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Ensure readability */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color-inverted); /* Explicitly white */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Ensure readability */
    font-weight: 400;
}

.hero-content .cta-button {
    font-size: 1.2rem;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--dynamic-gradient); /* Primary call to action */
    color: var(--text-color-inverted);
    box-shadow: var(--neumorph-shadow-outset-deep); /* More prominent for hero */
}
.hero-content .cta-button:hover {
    filter: brightness(1.15);
    box-shadow: var(--neumorph-shadow-inset-deep);
}


/* --- Statistics Section --- */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}
.stat-item {
    padding: var(--spacing-md);
    background-color: var(--neumorph-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-shadow-outset);
    transition: transform var(--transition-speed) var(--transition-ease);
}
.stat-item:hover {
    transform: scale(1.05);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: var(--spacing-xs);
}
.stat-description {
    font-size: 1rem;
    color: var(--text-color-light);
    margin-bottom: 0;
}

/* --- Services/Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    align-items: stretch; /* Make cards same height */
}
.pricing-card { /* Extends .card */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}
.pricing-card.popular {
    border: 3px solid var(--accent-color-1);
    box-shadow: -8px -8px 16px var(--shadow-light), 8px 8px 16px var(--shadow-dark), 0 0 15px var(--accent-color-1);
    transform: scale(1.05); /* Make popular stand out */
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color-1);
    color: var(--text-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.pricing-title {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
}
.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}
.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color-light);
}
.features-list {
    text-align: left;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-sm); /* Indent for list items */
    flex-grow: 1; /* Allow list to take up space */
}
.features-list li {
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
    position: relative;
    padding-left: var(--spacing-md); /* Space for pseudo-element */
}
.features-list li::before {
    content: '✓'; /* Checkmark */
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
.pricing-card .cta-button, .pricing-card .cta-button-outline {
    width: 100%;
    margin-top: auto; /* Push to bottom */
}

/* --- Instructors Section --- */
.instructors-section {
    background-color: var(--neumorph-bg-darker); /* Subtle background change */
}
.instructor-card .instructor-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}


/* --- Behind The Scenes Section --- */
.bts-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.bts-gallery img {
    width: 100%;
    height: 200px; /* Fixed height for gallery images */
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-shadow-outset);
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}
.bts-gallery img:hover {
    transform: scale(1.03);
    box-shadow: var(--neumorph-shadow-outset-deep);
}

/* --- Clientele/Testimonials Section --- */
.clientele-section {
    background-color: var(--neumorph-bg); /* Default bg, may have image */
    background-size: cover;
    background-position: center;
    position: relative;
}
.testimonial-card h4 {
    font-size: 1rem;
    color: var(--text-color-light);
    font-style: italic;
    margin-top: var(--spacing-sm);
}
.testimonial-card p {
    font-size: 1.05rem; /* Slightly larger for emphasis */
    line-height: 1.8;
    position: relative;
    padding-left: 35px; /* Space for quote icon */
    padding-right: 10px;
}
.testimonial-card p::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--primary-color-light);
    position: absolute;
    left: 0px;
    top: -10px;
    opacity: 0.8;
}


/* --- Awards Section --- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}
.award-item {
    padding: var(--spacing-md);
    background-color: var(--neumorph-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-shadow-outset);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.award-item img {
    max-width: 120px; /* Control badge size */
    height: auto;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.1));
}
.award-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}
.award-item p {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0;
}

/* --- Sustainability Section --- */
.sustainability-section {
    position: relative;
    color: var(--text-color-inverted);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sustainability-overlay { /* For text readability on background image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 15, 64, 0.7), rgba(49, 28, 128, 0.85)); /* Example gradient overlay */
    z-index: 1;
}
.sustainability-content {
    position: relative;
    z-index: 2;
}
.sustainability-section .section-title,
.sustainability-section .section-intro,
.sustainability-section h4,
.sustainability-section p {
    color: var(--text-color-inverted); /* White text */
}
.sustainability-section .section-title::after {
    background: var(--text-color-inverted); /* White underline */
}
.sustainability-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: center;
}
.sustainability-point {
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1); /* Subtle glassmorphism on dark bg */
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.sustainability-point img {
    max-width: 60px; /* Control icon size */
    margin: 0 auto var(--spacing-sm) auto;
    filter: brightness(0) invert(1); /* Make icons white if they are dark */
}
.sustainability-point h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}
.sustainability-point p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- External Resources Section --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.resource-card { /* Extends .card */
    text-align: left; /* Resources usually better left-aligned */
    align-items: flex-start;
}
.resource-card h4 a {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    display: inline-block;
}
.resource-card h4 a:hover {
    text-decoration: underline;
    color: var(--primary-color-dark);
}
.resource-card p {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 0;
}

/* --- Contact Form Section --- */
.contact-form-section {
    background-color: var(--neumorph-bg-darker);
}
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--neumorph-bg);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-shadow-outset-deep);
}
.form-group {
    margin-bottom: var(--spacing-md);
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-color);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--border-radius-md);
    background-color: var(--neumorph-bg);
    box-shadow: var(--neumorph-shadow-inset);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: box-shadow var(--transition-speed) var(--transition-ease);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: var(--neumorph-shadow-inset), 0 0 0 2px var(--primary-color-light); /* Highlight focus */
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.form-submit-button { /* Already styled globally */
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1.1rem;
}

/* 11. UTILITY CLASSES */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }

/* For ScrollReveal, elements start hidden */
[data-reveal] {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-ease), transform 0.8s var(--transition-ease), visibility 0.8s;
}
[data-reveal].is-visible { /* Class added by ScrollReveal */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* 12. ANIMATIONS & TRANSITIONS */
/* Most transitions are defined inline with elements or globally. GSAP/ScrollReveal handle scroll animations. */


/* 13. RESPONSIVENESS (Media Queries) */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.3rem; }

    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
    .timeline-icon { left: 10px; } /* Adjust icon to new line position */
    .timeline-item:nth-child(even) .timeline-icon { left: 10px; }
    .timeline-item::after { left: 20px; } /* Adjust circle to new line position */
    .timeline-item:nth-child(even)::after { left: 20px; }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        text-align: left;
    }
    .timeline-content::before {
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--neumorph-bg) transparent transparent;
    }
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
         /* All arrows point left towards the timeline */
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--neumorph-bg) transparent transparent;
    }

}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .site-header { height: var(--header-height); }

    .nav-toggle { display: block; }
    .main-nav .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: var(--header-height); /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--neumorph-bg);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: var(--spacing-sm) 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    }
    .main-nav .nav-links.active {
        display: flex; /* Show when active */
        max-height: 500px; /* Animate open */
        padding: var(--spacing-sm) 0;
    }
    .main-nav .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav .nav-links a {
        display: block;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--neumorph-bg-darker);
    }
    .main-nav .nav-links li:last-child a { border-bottom: none; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .pricing-card.popular { transform: scale(1); } /* No scale on mobile for popular */

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-column { margin-bottom: var(--spacing-md); }
    .footer-links, .footer-social-links { justify-content: center; }

    .modal-content { width: 95%; padding: var(--spacing-md); }
    .modal-body { flex-direction: column; text-align: center; }
    .modal-body img { margin: 0 auto var(--spacing-sm) auto; }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.2rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    .section-title { margin-bottom: var(--spacing-md); }
    .section-intro { margin-bottom: var(--spacing-md); font-size: 1rem; }

    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-content .cta-button { font-size: 1rem; padding: var(--spacing-sm) var(--spacing-md); }

    .pricing-grid { grid-template-columns: 1fr; } /* Stack pricing cards */
    .instructors-carousel, .testimonial-carousel, .awards-grid, .resources-grid, .bts-gallery, .sustainability-points {
        grid-template-columns: 1fr; /* Stack items */
    }
    .contact-form { padding: var(--spacing-md); }
}
*{
    opacity: 1 !important;
}