/* style.css */

/* --- CSS Variables --- */
:root {
    /* Color Palette: Split-Complementary (Blue Primary, Orange/Red-Orange Accents) */
    --color-primary: #3498db;        /* Cool Blue - Main Interactive, some backgrounds */
    --color-primary-dark: #2980b9;   /* Darker Blue - Hover, Borders */
    --color-primary-light: #5dade2;  /* Lighter Blue */

    --color-accent1: #f39c12;        /* Warm Orange/Yellow - CTAs, Highlights */
    --color-accent1-dark: #e67e22;   /* Darker Orange - Hover */
    --color-accent2: #e74c3c;        /* Warm Red-Orange - Secondary CTAs, Warnings, Prices */
    --color-accent2-dark: #c0392b;   /* Darker Red-Orange */

    --color-text-primary: #2c3e50;      /* Dark Slate Blue - Headings */
    --color-text-body: #34495e;         /* Slightly Lighter Slate - Body, Subtitles */
    --color-text-light: #ffffff;        /* White - On dark backgrounds */
    --color-text-inverted: #f8f9fa;     /* Very light gray for text on dark backgrounds */
    --color-text-muted: #7f8c8d;        /* Medium Gray - Meta text, Placeholders */
    --color-text-link: var(--color-accent1);
    --color-text-link-hover: var(--color-accent2);

    --color-background-light: #f4f6f8;  /* Very Light Gray - Main Page Background */
    --color-background-medium: #ffffff; /* White - Card Backgrounds, Modals */
    --color-background-dark: #2c3e50;   /* Dark Slate Blue - Footer, Dark Sections */
    --color-background-overlay-light: rgba(255, 255, 255, 0.85); /* For light overlays on bg images */
    --color-background-overlay-dark: rgba(0, 0, 0, 0.55);      /* For dark overlays on bg images */

    /* Typography */
    --font-family-heading: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-body: 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Spacing & Sizing */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem;  /* 8px */
    --spacing-md: 1rem;    /* 16px */
    --spacing-lg: 1.5rem;  /* 24px */
    --spacing-xl: 2rem;    /* 32px */
    --spacing-xxl: 3rem;   /* 48px */

    /* Borders & Shadows */
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
    --border-color: #dee2e6;
    --box-shadow-light: 0 2px 8px rgba(0,0,0,0.07);
    --box-shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
    --box-shadow-dark: 0 10px 30px rgba(0,0,0,0.12);

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

    /* Header Height (for offsets if needed) */
    --header-height: 70px; /* Approximate, adjust based on actual header height */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for REM units */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    color: var(--color-text-body);
    background-color: var(--color-background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 0px !important;
}

/* Specific body class for privacy/terms pages to handle header overlap */
body.privacy-page main,
body.terms-page main {
    padding-top: var(--header-height); /* Adjust based on fixed header height */
}
@media (max-width: 768px) {
    body.privacy-page main,
    body.terms-page main {
         padding-top: calc(var(--header-height) + 20px); /* Extra space on mobile if nav is taller when open */
    }
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    color: var(--color-text-primary);
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: var(--font-weight-extrabold); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: var(--font-weight-medium); }

p {
    margin-bottom: var(--spacing-md);
    max-width: 75ch; /* Improve readability for long text blocks */
}
.section-padding p { /* Paragraphs within sections */
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}
.vision-content p, .privacy-page p, .terms-page p {
     text-align: justify;
}


a {
    color: var(--color-text-link);
    text-decoration: none;
    transition: color var(--transition-smooth), opacity var(--transition-smooth);
}

a:hover, a:focus {
    color: var(--color-text-link-hover);
    text-decoration: underline;
    opacity: 0.85;
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
    padding-left: 0;
}
.privacy-page ul, .terms-page ul,
.privacy-page ol, .terms-page ol {
    list-style-position: outside;
    padding-left: var(--spacing-lg); /* Indent lists for readability */
    margin-bottom: var(--spacing-md);
}
.privacy-page ul li, .terms-page ul li,
.privacy-page ol li, .terms-page ol li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-sm);
}
.privacy-page ul li::marker, .terms-page ul li::marker {
    color: var(--color-primary);
}
.privacy-page ul { list-style-type: disc; }
.terms-page ul { list-style-type: disc; }
.privacy-page ol { list-style-type: decimal; }
.terms-page ol { list-style-type: decimal; }


/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section-padding {
    padding-top: clamp(var(--spacing-xl), 8vh, var(--spacing-xxl));
    padding-bottom: clamp(var(--spacing-xl), 8vh, var(--spacing-xxl));
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-primary);
    position: relative;
    padding-bottom: var(--spacing-sm);
}
.section-title::after { /* Subtle underline accent */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent1);
    border-radius: var(--border-radius-small);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--color-text-body);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* For sections with background images requiring an overlay for text readability */
.background-overlay-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background-overlay-light); /* Default to light, override if needed */
    z-index: 0;
}
/* Ensure content in these sections is above the overlay */
.courses-section .container,
.accolades-section .container,
.contact-section .container,
.media-section .container {
    position: relative;
    z-index: 1;
}

/* Apply specific overlays if text is light on dark */
.hero-section .hero-overlay {
    background: var(--color-background-overlay-dark);
}

/* --- Global Component Styles --- */

/* Buttons */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    padding: 0.8em 1.8em;
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-medium);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-align: center;
    border-radius: var(--border-radius-medium);
    transition: background-color var(--transition-smooth), color var(--transition-smooth), transform var(--transition-fast), box-shadow var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--color-accent1);
    color: var(--color-text-primary); /* Dark text on orange */
    border-color: var(--color-accent1);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-accent1-dark);
    border-color: var(--color-accent1-dark);
    color: var(--color-text-primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--box-shadow-medium);
    text-decoration: none;
}

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

.btn-link, .read-more-link { /* Styling for "Read More" or similar text links */
    color: var(--color-accent1);
    background: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    border: none;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-smooth), border-color var(--transition-smooth);
}
.btn-link:hover, .btn-link:focus,
.read-more-link:hover, .read-more-link:focus {
    color: var(--color-accent2);
    text-decoration: none;
    border-bottom-color: var(--color-accent2);
    opacity: 1;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}
.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    font-size: 0.95rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    font-family: var(--font-family-body);
    font-size: 1rem;
    color: var(--color-text-body);
    background-color: var(--color-background-medium);
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="url"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25); /* Primary color with alpha */
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2334495e'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    background-size: 1.2em;
    padding-right: calc(var(--spacing-md) * 2.5); /* Make space for arrow */
}


/* --- Layout Styles --- */

/* Header */
.site-header {
    background-color: var(--color-background-medium);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--box-shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height); /* Set consistent header height */
    display: flex; /* For vertical centering of content */
    align-items: center; /* For vertical centering of content */
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure container takes full width for alignment */
}
.logo {
    font-family: var(--font-family-heading);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo:hover, .logo:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.main-nav .nav-menu {
    display: flex;
    gap: var(--spacing-lg);
}
.main-nav .nav-menu li a {
    color: var(--color-text-body);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) 0;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.main-nav .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent1);
    transition: width var(--transition-smooth);
}
.main-nav .nav-menu li a:hover::after,
.main-nav .nav-menu li a.active::after {
    width: 100%;
}
.main-nav .nav-menu li a:hover,
.main-nav .nav-menu li a.active,
.main-nav .nav-menu li a:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001; /* Above menu */
}
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-primary);
    position: relative;
    transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-primary);
    transition: transform var(--transition-smooth), top var(--transition-smooth), bottom var(--transition-smooth);
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Nav Open State */
.nav-open .hamburger { background-color: transparent; }
.nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-open .hamburger::after { transform: rotate(-45deg); bottom: 0; }

/* Footer */
.site-footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-inverted);
    padding: var(--spacing-xxl) 0 var(--spacing-md) 0;
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}
.footer-column h4 {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.15rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-column p,
.footer-column ul li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    opacity: 0.85;
}
.footer-column ul li a {
    color: var(--color-text-inverted); /* Was --color-text-muted, changed for better contrast on dark bg */
    opacity: 0.85;
}
.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: var(--color-accent1);
    text-decoration: underline;
    opacity: 1;
}
/* Styling for text-based social links */
.footer-column .social-links li {
    display: inline-block; /* Or flex for more control */
    margin-right: var(--spacing-md);
}
.footer-column .social-links li a {
    font-weight: var(--font-weight-medium);
    text-transform: capitalize;
}
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: var(--color-text-inverted);
    opacity: 0.7;
}

/* --- Section-Specific Styles --- */

/* Hero Section */
.hero-section {
    min-height: calc(90vh - var(--header-height)); /* Ensure it's substantial but not fixed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--color-text-light);
    padding: var(--spacing-xxl) var(--spacing-md);
}
.hero-overlay { /* This is the specific dark overlay for hero */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background-overlay-dark);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-content h1 { /* Already styled white in HTML, this ensures it if needed */
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* From HTML */
}
.hero-content p { /* Already styled white in HTML */
    color: var(--color-text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4); /* From HTML */
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

/* Vision Section */
.vision-section {
    background-color: var(--color-background-medium);
}
.vision-content {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.vision-content p {
    margin-bottom: var(--spacing-lg); /* Slightly more spacing for readability */
}

/* Courses Section */
.courses-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

/* Accolades Section */
.accolades-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.accolades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}
.accolade-item {
    background-color: var(--color-background-medium); /* Use solid color if overlay is light */
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-medium);
    text-align: center;
}
.accolade-item p {
    font-style: italic;
    color: var(--color-text-body);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}
.accolade-item h4 {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    font-size: 1.05rem;
    margin-top: var(--spacing-sm);
}

/* External Resources Section */
.external-resources-section {
    background-color: var(--color-background-light); /* Or medium if preferred */
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}
.resource-card { /* Using general card styles */
    text-align: left; /* Override card text-align if needed */
}
.resource-card .resource-title a {
    font-size: 1.15rem;
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
}
.resource-card .resource-title a:hover {
    color: var(--color-primary);
}
.resource-card .resource-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: var(--spacing-sm);
}

/* Contact Section */
.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-background-medium); /* Solid background for form */
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-dark);
}
.contact-form .btn-primary {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1.05rem;
}

/* Clientele Section */
.clientele-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Or center if preferred */
    align-items: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}
.clientele-logos img {
    max-height: 55px;
    width: auto;
    filter: grayscale(100%) brightness(1.2); /* Make them slightly brighter when grayscale */
    opacity: 0.65;
    transition: filter var(--transition-smooth), opacity var(--transition-smooth), transform var(--transition-fast);
}
.clientele-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Media Section */
.media-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.media-mentions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

/* Press Section */
.press-section {
    background-color: var(--color-background-light);
}
.press-releases-list .press-release-item {
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    margin-bottom: var(--spacing-lg);
    background-color: var(--color-background-medium);
    box-shadow: var(--box-shadow-light);
    transition: box-shadow var(--transition-smooth);
}
.press-releases-list .press-release-item:hover {
    box-shadow: var(--box-shadow-medium);
}
.press-release-item h4 a {
    color: var(--color-text-primary);
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
}
.press-release-item h4 a:hover {
    color: var(--color-primary);
}
.press-release-item .date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    display: block;
}
.press-release-item p:not(.date) {
    font-size: 0.95rem;
    color: var(--color-text-body);
}


/* --- Card Styles (General and Specific) --- */
.card, .course-card, .team-member, .media-mention, .resource-card, .accolade-item {
    background-color: var(--color-background-medium);
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-medium);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
    /* align-items: center; Per STROGO constraint - for direct children of card */
    text-align: center; /* For inline/inline-block content within */
}
.card:hover, .course-card:hover, .team-member:hover, .media-mention:hover, .resource-card:hover, .accolade-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--box-shadow-dark);
}

.card-image { /* Wrapper for image in card */
    width: 100%; /* Take full width of card */
    /* STROGO: Fixed height for image containers */
    height: 200px; /* Example fixed height, or use aspect-ratio */
    /* aspect-ratio: 16 / 10; More flexible than fixed height */
    overflow: hidden;
    margin-left: auto; /* Center block element if its parent is text-align: center */
    margin-right: auto; /* Center block element */
    background-color: var(--color-background-light); /* Placeholder bg */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STROGO: object-fit: cover */
    transition: transform var(--transition-smooth);
    display: block; /* Remove extra space below image */
}
.card:hover .card-image img, .course-card:hover .card-image img, .team-member:hover .card-image img, .media-mention:hover .card-image img {
    transform: scale(1.05);
}
/* Specific aspect ratios if needed */
.team-member .card-image { height: 280px; } /* Or aspect-ratio: 1 / 1; */
.media-mention .card-image { height: 180px; } /* Or aspect-ratio: 3 / 2; */


.card-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space, helps push button to bottom */
    text-align: center; /* STROGO: Center content */
}
.card-content h3 {
    margin-top: 0;
    color: var(--color-text-primary);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-sm);
}
.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-body);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1; /* Allows paragraph to take available space before button */
    max-width: 100%; /* Override general p max-width */
}
.card-content .price {
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent2);
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}
.card-content .btn {
    margin-top: auto; /* Pushes button to the bottom */
    width: 100%; /* Make button full width of card content padding */
    max-width: 250px; /* Optional: cap button width */
    align-self: center; /* Center button if it's not full width */
}
.team-member .card-content p {
    font-size: 0.85rem;
}
.team-member .role {
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

/* Switch (Toggle) Component */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center switch within its container */
    margin-bottom: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  margin-right: var(--spacing-sm);
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition-smooth);
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition-smooth);
}
input:checked + .slider {
  background-color: var(--color-accent1);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--color-accent1);
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.slider.round {
  border-radius: 28px;
}
.slider.round:before {
  border-radius: 50%;
}


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

/* Success Page */
body.success-page #main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.success-page main {
    flex-grow: 1;
    display: flex; /* Allow success-message-container to be centered */
    align-items: center;
    justify-content: center;
}
.success-message-container { /* This is the <section> on success.html */
    text-align: center;
    padding: var(--spacing-xl);
    width: 100%;
}
.success-message-container .success-icon {
    font-size: 4rem;
    color: #2ecc71; /* Green for success, keep as is */
    margin-bottom: var(--spacing-md);
}
.success-message-container h1 {
    color: var(--color-text-primary);
}
.success-message-container p {
    color: var(--color-text-body);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.success-message-container .btn {
    margin-top: var(--spacing-lg);
}


/* Privacy & Terms Pages General Content Styling */
.privacy-page .container > *:first-child, /* Targeting h1 */
.terms-page .container > *:first-child {   /* Targeting h1 */
    margin-bottom: var(--spacing-xl); /* More space after main title */
}

/* --- Animations & Transitions (Animate.css integration) --- */
.animate__animated {
    opacity: 0; /* Initially hidden, JS will make them visible */
    /* Animate.css handles the animation properties */
}
.animate__animated.is-visible {
    opacity: 1;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .courses-grid, .team-grid, .media-mentions-grid, .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .accolades-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .site-header {
        height: auto; /* Allow header to adjust height for mobile menu */
        min-height: var(--header-height);
    }
    .header-container {
        position: relative;
    }
    .main-nav .nav-menu {
        display: none; /* Hidden by default, JS toggles */
        flex-direction: column;
        position: absolute;
        top: calc(100% + 1px); /* Position below header, +1 for border */
        left: 0;
        width: 100%;
        background-color: var(--color-background-medium);
        box-shadow: var(--box-shadow-medium);
        padding: var(--spacing-md) 0;
        border-top: 1px solid var(--border-color);
    }
    .main-nav .nav-menu.nav-menu-open {
        display: flex;
    }
    .main-nav .nav-menu li {
        text-align: center;
        margin: var(--spacing-xs) 0;
        width: 100%;
    }
    .main-nav .nav-menu li a {
        padding: var(--spacing-md) var(--spacing-lg);
        display: block;
        width: 100%;
    }
    .main-nav .nav-menu li a::after { display: none; }
    .nav-toggle { display: block; }

    .hero-section { min-height: 70vh; }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-content p { font-size: clamp(0.95rem, 4vw, 1.1rem); }

    .courses-grid, .team-grid, .accolades-grid, .resources-grid, .media-mentions-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column ul { padding-left: 0; }
    .footer-column .social-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-column .social-links li { margin: var(--spacing-xs) var(--spacing-sm); }

    .contact-form { padding: var(--spacing-lg); }

    /* Adjust padding for content pages on mobile to account for potentially taller header */
    body.privacy-page main, body.terms-page main {
        padding-top: var(--spacing-md); /* Header is sticky so padding for flow not needed here */
    }
}

/* Parallax Placeholder - JS (Motion One) will handle actual parallax */
[style*="background-image"] {
    background-attachment: fixed; /* Basic CSS parallax, can be overridden by JS */
    background-size: cover;
    background-repeat: no-repeat;
}
/* Disable basic CSS parallax if Motion One is active or on touch devices where it's janky */
@media (prefers-reduced-motion: no-preference) {
    /* JS will handle this, but if not, this is a fallback */
}
/* If Motion One is confirmed to handle all parallax, this can be removed or simplified */
/* The JS already targets these, so this might be redundant or conflicting */


/* Glassmorphism example (can be applied to modals, specific cards, etc.) */
.glassmorphism-effect {
    background: rgba(255, 255, 255, 0.2); /* Light glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Cookie Popup - Basic styles from HTML, can be enhanced here if needed */
#cookie-popup {
    /* Styles are mostly inline in HTML for this specific component as per prompt */
    font-family: var(--font-family-body);
}
#cookie-popup p {
    color: var(--color-text-light); /* Ensure contrast */
    max-width: 100%;
}
#accept-cookies {
    /* Uses inline styles currently, but could be: */
    /* background-color: var(--color-accent1); */
    /* color: var(--color-text-primary); */
    /* border-radius: var(--border-radius-small); */
}