/* style.css */

/* --- CSS Variables --- */
:root {
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Work Sans', sans-serif;

    /* Pastel Color Palette */
    --color-primary: #a7c5eb; /* Pastel Blue */
    --color-secondary: #f3b0c3; /* Pastel Pink */
    --color-accent: #f0b90b; /* Retro Gold/Yellow */
    --color-background-light: #fdfaf6; /* Very Light Beige/Off-white */
    --color-background-alt: #eef3f8; /* Light Pastel Blue/Grey */
    --color-text-dark: #333333; /* Dark Grey for main text */
    --color-text-headings: #222222; /* Darker Grey for headings */
    --color-text-light: #ffffff; /* White */
    --color-border: #d1d9e6; /* Light Grey Border */
    --color-success: #a8d8b9; /* Pastel Green */
    --color-error: #f4a7a7; /* Pastel Red */

    /* Darker shades for contrast/hovers */
    --color-primary-dark: #8da9c4;
    --color-secondary-dark: #d99aaa;
    --color-accent-dark: #d4a00a;

    /* Gradients */
    --gradient-background: linear-gradient(135deg, var(--color-background-light), var(--color-background-alt));
    --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));

    /* Transitions & Animations */
    --transition-speed-fast: 0.2s;
    --transition-speed-medium: 0.4s;
    --transition-easing: cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Non-linear feel */

    /* Spacing */
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 32px;
    --spacing-xlarge: 64px;

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --border-radius-small: 5px;
    --border-radius-medium: 10px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%; /* Base for adaptive typography */
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem; /* Approx 16px */
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text-headings);
    line-height: 1.3;
    margin-bottom: var(--spacing-medium);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1); /* Subtle shadow for contrast */
}

/* Adaptive Typography Example (adjust values as needed) */
h1, .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Min, Preferred, Max */
    font-weight: 700;
}

h2, .section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: var(--spacing-large);
    color: var(--color-text-headings); /* Ensure high contrast */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2); /* Stronger shadow for titles */
}

h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

p {
    margin-bottom: var(--spacing-medium);
    max-width: 70ch; /* Limit line length for readability */
}

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

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

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

.alt-bg {
    background-color: var(--color-background-alt);
    /* background-image: var(--gradient-background); */ /* Optional subtle gradient */
}

.columns-container {
    display: grid;
    gap: var(--spacing-large);
    /* Default to 1 column, adjust with media queries */
    grid-template-columns: 1fr;
}

/* Example for 2 columns on medium screens */
@media (min-width: 768px) {
    .columns-container {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Specific grid adjustments */
     .team-grid, .portfolio-grid, .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
     .contact-page-layout {
        grid-template-columns: 2fr 1fr; /* Form takes more space */
    }
}

/* Example for 3 columns on large screens */
@media (min-width: 1024px) {
    .columns-container.three-cols { /* Add class 'three-cols' where needed */
         grid-template-columns: repeat(3, 1fr);
    }
    .workshops-section .columns-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.column {
    /* Base column styles if needed */
}

.column.is-two-thirds {
    /* Styles for columns taking up 2/3 width - handled by grid usually */
    /* If using flexbox, might need: flex: 0 0 66.66%; max-width: 66.66%; */
}

/* --- Header --- */
.site-header {
    position: sticky; /* Or fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 250, 246, 0.9); /* Semi-transparent light bg */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-medium) 0;
    transition: background-color var(--transition-speed-fast) ease-in-out;
}

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

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

.main-navigation ul {
    display: flex;
    gap: var(--spacing-large);
}

.main-navigation a {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-text-dark);
    text-decoration: none;
    padding: var(--spacing-small) 0;
    position: relative;
    transition: color var(--transition-speed-fast) ease;
}

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

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation li.active a { /* Add 'active' class via JS */
    color: var(--color-accent);
    text-decoration: none;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after,
.main-navigation li.active a::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav links */
}

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

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

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

.hamburger::after {
    bottom: -8px;
}

/* Mobile Nav Toggle Active State */
.nav-toggle.active .hamburger {
    background-color: transparent; /* Middle line disappears */
    transform: rotate(180deg);
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background-color: var(--color-accent-dark);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
     background-color: var(--color-accent-dark);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none; /* Hide by default on mobile */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: rgba(253, 250, 246, 0.98); /* Slightly more opaque */
        flex-direction: column;
        padding: var(--spacing-large) 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 1px solid var(--color-border);
    }

    .main-navigation ul.active {
        display: flex; /* Show when active */
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: var(--spacing-medium);
        width: 100%;
    }
     .main-navigation a::after {
        display: none; /* Disable underline animation on mobile nav */
    }
}


/* --- Hero Section --- */
.hero-section {
    min-height: 85vh; /* Use vh for hero height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Simple parallax effect */
    color: var(--color-text-light); /* Ensures text is white as requested */
    padding: var(--spacing-xlarge) var(--spacing-medium);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay); /* Use variable for overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s var(--transition-easing) forwards; /* Example entrance animation */
}

.hero-title {
    color: var(--color-text-light); /* Explicitly white */
    margin-bottom: var(--spacing-medium);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5); /* Ensure readability */
}

.hero-subtitle {
    color: var(--color-text-light); /* Explicitly white */
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: var(--spacing-large);
     text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-content .btn {
    margin: var(--spacing-small);
}


/* --- Buttons --- */
.btn, button, input[type='submit'], input[type='button'] {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius-medium);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-speed-medium) var(--transition-easing);
    box-shadow: var(--shadow-soft);
    transform: translateY(0); /* Base state for animation */
}

.btn:hover, button:hover, input[type='submit']:hover, input[type='button']:hover,
.btn:focus, button:focus, input[type='submit']:focus, input[type='button']:focus {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px); /* Subtle lift */
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    border-color: var(--color-accent);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-text-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light); /* Good for hero */
    border-color: var(--color-text-light);
}
/* Adjust secondary for non-hero contexts if needed */
body:not(.hero-section) .btn-secondary {
     color: var(--color-text-dark);
     border-color: var(--color-primary);
}


.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--color-text-light);
    color: var(--color-text-headings);
    border-color: var(--color-text-light);
}
body:not(.hero-section) .btn-secondary:hover,
body:not(.hero-section) .btn-secondary:focus {
     background-color: var(--color-primary);
     color: var(--color-text-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

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

/* --- Forms --- */
.form-group {
    margin-bottom: var(--spacing-large);
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    margin-bottom: var(--spacing-small);
    color: var(--color-text-dark);
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
input[type='url'],
input[type='search'],
input[type='number'],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-small);
    transition: border-color var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='password']:focus,
input[type='url']:focus,
input[type='search']:focus,
input[type='number']:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb, 167, 197, 235), 0.3); /* Create --color-primary-rgb if needed or hardcode */
}
/* Add --color-primary-rgb to :root if using rgba for focus */
:root {
    --color-primary-rgb: 167, 197, 235;
}


textarea {
    min-height: 150px;
    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 fill-rule='evenodd' d='M8 11.5a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L8 10.293l3.646-3.647a.5.5 0 0 1 .708.708l-4 4A.5.5 0 0 1 8 11.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
    padding-right: 40px; /* Space for arrow */
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto; /* Center form if it's standalone */
}
/* Adjust if form is in a column */
.contact-form-column .contact-form-container {
    margin: 0;
    max-width: 100%;
}

.btn-submit {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
}


/* --- Card Styles --- */
.card {
    background-color: var(--color-text-light);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform var(--transition-speed-medium) var(--transition-easing), box-shadow var(--transition-speed-medium) ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in grid fill height */
}

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

.card-image {
    width: 100%; /* Make container full width of card */
    /* Control aspect ratio or height here */
     /* e.g., aspect-ratio: 3 / 2; */
    height: 250px; /* Fixed height example */
    overflow: hidden; /* Clip image */
    background-color: var(--color-background-alt); /* Placeholder bg */
}

.card-image img {
    width: 100%;
    height: 100%; /* Fill the container */
    object-fit: cover; /* Crop image nicely */
    object-position: center;
    display: block; /* Remove extra space below image */
     transition: transform var(--transition-speed-medium) ease;
}

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

.card-content {
    padding: var(--spacing-large);
    text-align: center; /* Center text content */
    flex-grow: 1; /* Allow content to push footer down if card height is 100% */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center if needed */
}

.card-content h3 {
    margin-top: 0; /* Remove default top margin if needed */
    margin-bottom: var(--spacing-small);
    color: var(--color-primary-dark);
}

.card-content p {
    margin-bottom: 0; /* Remove default bottom margin */
}

/* --- Specific Section Styling --- */

/* Workshops, Portfolio, Projects */
/* Uses default .card styles */

/* Team Section */
.team-member {
    text-align: center;
}

.team-member .card-image {
    height: auto; /* Let image determine height */
    aspect-ratio: 1 / 1; /* Square image */
    max-width: 250px; /* Limit headshot size */
    margin: 0 auto; /* Center the image container */
    border-radius: 50%; /* Circular images */
}
.team-member .card-image img {
     border-radius: 50%;
}

.team-role {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-small);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Case Studies & Success Stories */
.case-study-item h3, .success-story h3 {
    color: var(--color-secondary-dark);
}
.case-study-item p strong {
    color: var(--color-text-headings);
}
.quote-author {
    font-style: italic;
    margin-top: var(--spacing-medium);
    color: var(--color-primary-dark);
    font-weight: 500;
}
.success-story .card-image {
    /* Adjust image size if needed */
    max-width: 150px;
    height: 150px;
    margin: 0 auto var(--spacing-medium) auto; /* Center image above text */
    border-radius: 50%;
}
.success-story .card-image img {
    border-radius: 50%;
}


/* Testimonials */
.testimonials-section {
    background-color: var(--color-primary); /* Example different bg */
    color: var(--color-text-light);
}
.testimonials-section .section-title,
.testimonials-section .section-intro,
.testimonials-section h3,
.testimonials-section p,
.testimonials-section cite {
    color: var(--color-text-light);
}
.testimonials-section .section-title {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.testimonial-slider {
    /* Basic layout - needs JS for actual sliding */
    display: flex;
    overflow-x: auto; /* Simple scroll fallback */
    gap: var(--spacing-large);
    padding-bottom: var(--spacing-medium); /* For scrollbar */
    scroll-snap-type: x mandatory; /* Optional snapping */
}

.testimonial-item {
    flex: 0 0 90%; /* Each item takes most of the width */
    scroll-snap-align: center; /* Snap items to center */
    background-color: rgba(255, 255, 255, 0.15); /* Subtle glassmorphism */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}
.testimonial-item .card-content {
    text-align: left;
}

.testimonial-item p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-medium);
     color: var(--color-text-light); /* Ensure high contrast */
     text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.testimonial-item cite {
    font-weight: 600;
    font-style: normal;
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .testimonial-item {
        flex-basis: 45%; /* Show two items */
    }
}
@media (min-width: 1024px) {
    .testimonial-item {
        flex-basis: 30%; /* Show three items */
    }
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-medium);
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-soft);
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    transition: transform var(--transition-speed-medium) ease, filter var(--transition-speed-medium) ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* External Resources */
.resources-list .card {
    text-align: left; /* Align text left in resource cards */
}
.resources-list .card h3 a {
    color: var(--color-primary-dark);
    text-decoration: none;
}
.resources-list .card h3 a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}
.resources-list .card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Careers Section */
.job-opening {
    margin-bottom: var(--spacing-large);
    padding: var(--spacing-large);
    text-align: left;
}
.job-opening h3 {
    margin-bottom: var(--spacing-small);
}
.job-opening p {
    margin-bottom: var(--spacing-medium);
}
.job-opening .btn-outline {
    margin-top: var(--spacing-medium);
}
.careers-cta {
    text-align: center;
    margin-top: var(--spacing-large);
}
.careers-cta a {
     font-weight: 600;
}

/* Contact Section */
.contact-info-column{
    max-height: 140px;
}
.contact-info-column .section-title {
    text-align: left;
}
.contact-details-box {
    margin-bottom: var(--spacing-large);
    padding: var(--spacing-medium);
     text-align: left;
}
.contact-details-box .card-content {
    padding: var(--spacing-medium);
    text-align: left;
    align-items: flex-start; /* Align items left */
    justify-content: flex-start;
}
.contact-details-box h3 {
    margin-bottom: var(--spacing-small);
    display: block; /* Ensure h3 takes full width */
}
.contact-details-box p {
    margin-bottom: var(--spacing-small);
    line-height: 1.5;
}
.contact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--spacing-medium);
    opacity: 0.8;
}
.contact-details p, .contact-details a {
    line-height: 1.8;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-text-headings); /* Dark background */
    color: rgba(255, 255, 255, 0.8); /* Lighter text */
    padding: var(--spacing-xlarge) 0 var(--spacing-medium) 0;
    font-size: 0.95rem;
}

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

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

.footer-column p {
    margin-bottom: var(--spacing-medium);
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links a,
.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease, padding-left var(--transition-speed-fast) ease;
    position: relative;
}

.footer-links a:hover, .footer-links a:focus,
.social-links a:hover, .social-links a:focus {
    color: var(--color-accent);
    padding-left: 5px; /* Slight indent on hover */
    text-decoration: none;
}

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

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

/* About, Privacy, Terms */
.page-title-section {
    padding: var(--spacing-xlarge) 0;
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-title-section h1 {
    color: var(--color-text-light);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}
.page-title-section .hero-overlay { /* Reuse hero overlay */
    background: var(--gradient-overlay);
}

/* Add padding to avoid header overlap */
.privacy-page .content-section,
.terms-page .content-section,
.about-page .content-section { /* Assuming body classes added */
    padding-top: 100px; /* Adjust as needed based on header height */
}
/* Or target directly if no body class */
body:has(#privacy-content) .content-section,
body:has(#terms-content) .content-section {
     /* padding-top: 100px; */ /* Might be less reliable */
}
/* Best approach: Add padding to the main content section itself */
main > .content-section:first-of-type {
    padding-top: 100px; /* More robust way for pages like about, terms, privacy */
}
/* Ensure it doesn't apply to index */
body:has(#hero) main > .content-section:first-of-type {
    padding-top: var(--spacing-xlarge); /* Reset for homepage sections */
}


.content-section .content-column {
    max-width: 800px; /* Readable width for text pages */
    margin: 0 auto;
}
.content-section .content-column h2,
.content-section .content-column h3 {
    text-align: left; /* Align headings left on content pages */
    margin-top: var(--spacing-large);
     color: var(--color-text-headings);
     text-shadow: none;
}
.content-section .content-column ul {
    list-style: disc;
    margin-left: var(--spacing-large);
    margin-bottom: var(--spacing-medium);
}
.content-section .content-column ul li {
     margin-bottom: var(--spacing-small);
}
.image-container-fullwidth {
    margin: var(--spacing-large) 0;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}


/* Success Page */
body:has(.text-center-section) { /* Target success page */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.text-center-section {
    flex-grow: 1; /* Allow section to take remaining height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.text-center-section .content-column {
     max-width: 600px;
}
.text-center-section .section-title {
    margin-bottom: var(--spacing-small);
     color: var(--color-success); /* Green title */
     text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.text-center-section .section-intro {
    margin-bottom: var(--spacing-medium);
}

/* --- Animations (Placeholders - Require JS) --- */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframe example for hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}
.margin-top-large {
    margin-top: var(--spacing-large);
}
/* Add more as needed */