/* style.css */

/* --- CSS Variables --- */
:root {
    /* Tetrad Color Scheme - Example */
    --primary-color: #2c3e50; /* Deep Slate Blue */
    --secondary-color: #e74c3c; /* Strong Red */
    --accent-color-1: #f39c12; /* Bright Orange */
    --accent-color-2: #1abc9c; /* Turquoise Green */

    --primary-color-darker: #1e2b37;
    --secondary-color-darker: #c0392b;
    --accent-color-1-darker: #c27c0e;
    --accent-color-2-darker: #148f77;
    
    /* RGB versions for box-shadows with alpha */
    --rgb-primary-color: 44, 62, 80;
    --rgb-secondary-color: 231, 76, 60;
    --rgb-accent-color-1: 243, 156, 18;
    --rgb-accent-color-2: 26, 188, 156;

    /* Gradients for Dynamic Transitions */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color-2));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color-1));
    --gradient-retro-dynamic: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #1dd1a1, #ff6b6b);
    
    /* Text Colors */
    --text-dark: #222222; /* For primary content on light backgrounds */
    --text-medium: #555555; /* For secondary content, placeholders */
    --text-light: #f8f9fa; /* For content on dark backgrounds */
    --text-muted: #6c757d;
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;

    /* Background Colors */
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-section-alt: #f7f9fc; /* Light gray for alternating sections */

    /* Fonts */
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Transitions & Animations */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.4s;
    --transition-speed-slow: 0.6s;
    --elastic-bezier: cubic-bezier(0.68, -0.55, 0.265, 1.55);

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

    /* Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Header Height for offsets */
    --header-height: 70px; 
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px; 
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-wrapper {
    overflow: hidden; 
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark); 
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05); 
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium); 
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

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

a:hover {
    color: var(--primary-color-darker);
    text-decoration: underline;
}

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

ul { list-style: none; }

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-light { color: var(--text-light) !important; }
.section-padding { padding: var(--spacing-xl) 0; }
.section-padding-alt { padding: var(--spacing-xl) 0; background-color: var(--bg-section-alt); }

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark); 
    position: relative;
    padding-bottom: var(--spacing-sm);
}

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

.section-intro {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-medium);
}

/* Columns - Basic Flex Grid */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1 * var(--spacing-sm));
    margin-right: calc(-1 * var(--spacing-sm));
}

.column {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
    margin-bottom: var(--spacing-lg); /* Space between cards in columns */
    flex-basis: 100%; 
}

@media (min-width: 576px) {
    .column.is-half { flex-basis: 50%; max-width: 50%; }
    .column.is-one-third { flex-basis: 50%; max-width: 50%; } /* 2 cols on small tablet */
}
@media (min-width: 768px) {
    .column.is-one-third { flex-basis: 33.3333%; max-width: 33.3333%; }
    .column.is-one-quarter { flex-basis: 50%; max-width: 50%; } /* 2 cols for quarter */
}
@media (min-width: 992px) {
    .column.is-one-quarter { flex-basis: 25%; max-width: 25%; }
    .column.is-two-thirds { flex-basis: 66.6667%; max-width: 66.6667%; margin-left: auto; margin-right: auto; }
}

.columns.is-multiline .column {
    margin-bottom: var(--spacing-lg); 
}

/* --- Buttons --- */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed-normal) var(--elastic-bezier);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before, button::before, input[type="submit"]::before, input[type="button"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width var(--transition-speed-normal) var(--elastic-bezier), height var(--transition-speed-normal) var(--elastic-bezier);
    z-index: -1;
}

.btn:hover::before, button:hover::before, input[type="submit"]:hover::before, input[type="button"]:hover::before {
    width: 250%; /* Large enough to cover button */
    height: 250%;
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.btn-primary:hover {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    color: var(--text-on-primary);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-on-secondary);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color-darker);
    border-color: var(--secondary-color-darker);
    color: var(--text-on-secondary);
}

.read-more-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--accent-color-1);
    font-weight: bold;
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease, transform var(--transition-speed-fast) ease;
}

.read-more-link:hover {
    color: var(--accent-color-1-darker);
    text-decoration: underline;
    transform: translateX(3px);
}
.read-more-link::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.2s ease;
}
.read-more-link:hover::after {
    transform: translateX(5px);
}

/* --- Header --- */
.site-header {
    background: var(--gradient-primary); 
    padding: var(--spacing-xs) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color var(--transition-speed-normal) ease, padding var(--transition-speed-normal) ease;
    height: var(--header-height);
}
.site-header.scrolled { /* Add via JS on scroll */
    background: var(--primary-color-darker);
    padding: calc(var(--spacing-xs) / 2) 0;
    height: calc(var(--header-height) - 10px);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--text-light);
    text-decoration: none;
}

.logo:hover {
    color: var(--accent-color-1);
    text-decoration: none;
}

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

.main-navigation .nav-link {
    color: var(--text-light);
    padding: var(--spacing-xs) var(--spacing-sm);
    margin-left: var(--spacing-xs);
    text-transform: uppercase;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 700; /* Roboto bold */
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-speed-fast) ease, color var(--transition-speed-fast) ease, transform var(--transition-speed-fast) var(--elastic-bezier);
}

.main-navigation .nav-link:hover,
.main-navigation .nav-link.active {
    background-color: rgba(255,255,255,0.15);
    color: var(--accent-color-1);
    transform: scale(1.05);
    text-decoration: none;
}

.nav-toggle {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

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

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    transition: transform var(--transition-speed-normal) var(--elastic-bezier), top var(--transition-speed-normal) var(--elastic-bezier) 0.2s;
}

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

/* Mobile Menu Styles */
@media (max-width: 850px) { /* Adjusted breakpoint */
    .main-navigation .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height); 
        left: 0;
        width: 100%;
        background: var(--primary-color-darker); 
        padding: var(--spacing-md) 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        animation: slideDown 0.3s var(--elastic-bezier);
    }
    .site-header.scrolled .main-navigation .nav-list {
        top: calc(var(--header-height) - 10px);
    }


    .main-navigation .nav-list.is-active {
        display: flex;
    }

    .main-navigation .nav-link {
        margin: var(--spacing-xs) 0;
        padding: var(--spacing-sm);
        width: 100%;
        text-align: center;
    }

    .nav-toggle { display: block; }

    .nav-toggle[aria-expanded="true"] .hamburger { background-color: transparent; }
    .nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); transition-delay: 0s, 0.2s; }
    .nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); transition-delay: 0s, 0.2s; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Hero Section --- */
.hero-section {
    color: var(--text-light); 
    text-align: center;
    padding-top: calc(var(--header-height) + var(--spacing-lg)); 
    padding-bottom: var(--spacing-lg);
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 75vh; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 100%); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-light); 
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); 
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-light); 
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section { padding-top: calc(var(--header-height) + var(--spacing-md)); min-height: 65vh;}
}

/* --- Cards --- */
.card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform var(--transition-speed-normal) var(--elastic-bezier), box-shadow var(--transition-speed-normal) ease;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center; /* STROGO: Center items like images */
    text-align: center; /* STROGO: Center text content */
    height: 100%; 
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card-image { 
    width: 100%;
    height: 220px; 
    overflow: hidden;
    position: relative;
    display: flex; 
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform var(--transition-speed-normal) ease;
    margin: 0 auto; /* STROGO: Ensure image is centered */
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    width:100%; /* Ensure content takes full width for text-align:center */
}

.card-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.card p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.service-card .card-image { height: 220px; }

.team-card .card-image, .instructors-section .card-image { /* Applied to Instructors too */
    height: 200px; 
    width: 200px;
    border-radius: 50%; 
    margin-top: var(--spacing-md); 
    margin-bottom: var(--spacing-sm);
    border: 4px solid var(--accent-color-1); /* Retro touch */
}
.team-card .card-image img, .instructors-section .card-image img {
    border-radius: 50%;
}
.team-card .card-content, .instructors-section .card-content {
    padding-top: 0;
}
.team-role, .expert-role {
    font-size: 0.9rem;
    color: var(--accent-color-1);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

.testimonial-card {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: var(--spacing-lg);
    display: flex; /* Override default card centering for this specific layout */
    flex-direction: column;
    align-items: stretch; /* Testimonial content can be left-aligned */
    text-align: left;
}
.testimonial-card .card-content {
    padding: 0; 
}
.testimonial-card .testimonial-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    position: relative;
    padding-left: 35px;
}
.testimonial-card .testimonial-text::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 3.5rem;
    color: var(--accent-color-1);
    position: absolute;
    left: -5px;
    top: -15px;
    opacity: 0.8;
}
.testimonial-card .testimonial-author {
    font-weight: bold;
    text-align: right;
    color: var(--accent-color-1); 
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}
.testimonial-author::before { content: "— "; }

.press-card .card-image {
    height: 100px; 
    padding: var(--spacing-sm); 
    background-color: var(--bg-section-alt); 
    border-bottom: 1px solid #eee;
}
.press-card .card-image img {
    object-fit: contain; 
    max-height: 80%;
    max-width: 80%;
}

.resource-card {
    background-color: var(--bg-section-alt);
    border-left: 5px solid var(--accent-color-2);
    text-align: left; /* Resources often better left-aligned */
}
.resource-card .card-content {
    align-items: flex-start;
}
.resource-card .card-title a {
    color: var(--primary-color);
}
.resource-card .card-title a:hover {
    color: var(--accent-color-2);
}

/* --- Accolades Section (Timeline) --- */
.accolades-section { background-color: var(--bg-dark); color: var(--text-light); }
.accolades-section .section-title, .accolades-section .section-intro, .accolades-section h4, .accolades-section p {
    color: var(--text-light) !important;
}
.accolades-section .section-title::after { background: var(--gradient-primary); }

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.timeline::after { 
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-secondary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: var(--border-radius-sm);
}

.timeline-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    position: relative;
    background: transparent;
    width: 50%;
    margin-bottom: var(--spacing-md);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc(var(--spacing-lg) + 30px); 
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc(var(--spacing-lg) + 30px); 
    text-align: left;
}
.timeline-item:nth-child(even) .timeline-icon {
    left: -23px; 
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.5rem;
    text-align: center;
    background: var(--accent-color-1);
    color: var(--text-dark);
    border-radius: 50%;
    top: 20px; /* Aligned with top of content box */
    z-index: 1;
    box-shadow: 0 0 0 4px var(--bg-dark), inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.05);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px; 
}

.timeline-content {
    padding: var(--spacing-md);
    background: rgba(255,255,255,0.07); 
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}
.timeline-content h4 {
    color: var(--accent-color-1);
    margin-top: 0;
}

@media (max-width: 768px) {
    .timeline::after { left: 25px; }
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: calc(var(--spacing-lg) + 40px);
        padding-right: var(--spacing-sm);
        text-align: left;
    }
    .timeline-item:nth-child(odd) {
        padding-left: calc(var(--spacing-lg) + 40px); 
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: margin-bottom var(--transition-speed-fast) ease;
}
.faq-item[open] {
    margin-bottom: var(--spacing-md);
}

.faq-item summary {
    padding: var(--spacing-md);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    cursor: pointer;
    list-style: none; 
    position: relative;
    color: var(--primary-color);
    transition: background-color var(--transition-speed-fast) ease;
}
.faq-item summary:hover {
    background-color: #f9f9f9;
}

.faq-item summary::after { 
    content: '+';
    font-size: 1.8rem;
    font-weight: normal; /* Ensure it's not bolded by heading font */
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-speed-normal) var(--elastic-bezier);
    color: var(--accent-color-1);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(135deg);
}

.faq-item p {
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    margin-bottom: 0;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--text-medium);
    text-align: left;
}

/* --- Contact CTA Section --- */
.contact-cta-section {
    background: var(--gradient-retro-dynamic);
    background-size: 300% 300%; 
    animation: dynamicGradient 12s ease infinite;
    color: var(--text-light);
}
.contact-cta-section .section-title,
.contact-cta-section .section-intro {
    color: var(--text-light) !important; /* Ensure high contrast */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.contact-cta-section .section-title::after {
    background: var(--text-light);
}
.contact-cta-section .btn { /* Generic button style */
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}
.contact-cta-section .btn:hover {
    background-color: rgba(255,255,255,0.85);
    color: var(--primary-color-darker);
}

@keyframes dynamicGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* --- Footer --- */
.site-footer {
    background-color: var(--text-dark);
    color: #b0bec5; /* Softer light gray for text */
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.site-footer h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.site-footer p {
    color: #b0bec5;
    margin-bottom: var(--spacing-sm);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: var(--spacing-lg);
}

.footer-column {
    flex: 1 1 220px; /* Flex grow, shrink, basis */
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

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

.footer-nav-list a,
.social-media-list a {
    color: #b0bec5;
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease, padding-left var(--transition-speed-fast) ease;
}

.footer-nav-list a:hover,
.social-media-list a:hover {
    color: var(--accent-color-1);
    padding-left: 5px;
    text-decoration: underline;
}

.social-media-list a {
    display: inline-block; 
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #3e4b58; /* Darker separator */
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

.footer-bottom p { margin-bottom: 0; }

/* --- Privacy & Terms Pages --- */
.privacy-policy-page, .terms-page, .about-page-section {
    padding-top: calc(var(--header-height) + var(--spacing-lg)); 
    padding-bottom: var(--spacing-xl);
}

.privacy-policy-page .container, .terms-page .container, .about-page-section .container {
    max-width: 800px; /* More readable line length for text-heavy pages */
}

.privacy-policy-page h1, .terms-page h1, .about-page-section h1 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}
.privacy-policy-page h2, .terms-page h2, .about-page-section h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}
.privacy-policy-page p, .terms-page p, .about-page-section p,
.privacy-policy-page li, .terms-page li, .about-page-section li {
    color: var(--text-dark); 
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}
.privacy-policy-page ul, .terms-page ul, .about-page-section ul {
    list-style: disc;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

/* --- Contact Page Specifics (contacts.html) --- */
.contact-page-section {
    padding-top: calc(var(--header-height) + var(--spacing-lg)); 
    padding-bottom: var(--spacing-xl);
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 700; /* Roboto bold */
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #ced4da;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
    background-color: #fdfdfd;
    color: var(--text-dark);
}
.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--rgb-primary-color), 0.25); 
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-details {
    margin-top: var(--spacing-xl);
    text-align: center;
}
.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}
.contact-details p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-medium);
}
.contact-details a {
    color: var(--secondary-color);
    font-weight: bold;
}
.contact-details a:hover {
    color: var(--secondary-color-darker);
}


/* --- Success Page (success.html) --- */
.success-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--gradient-primary);
    color: var(--text-light);
}
.success-page-container h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}
.success-page-container p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}
.success-page-container .btn { /* Generic button style */
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}
.success-page-container .btn:hover {
    background-color: rgba(255,255,255,0.85);
}


/* --- About Page Specifics --- */
.about-page-section .section-intro {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.8;
}
.about-image-container {
    margin: var(--spacing-lg) auto;
    max-width: 800px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-image-container img { width: 100%; }

.mission-vision-section { background-color: var(--bg-section-alt); }
.mission-vision-section .column {
    background-color: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.mission-vision-section h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* --- Scroll Animations (JS will toggle .is-visible) --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--elastic-bezier), transform 0.7s var(--elastic-bezier);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Delay for staggered animations */
.scroll-animate[data-wow-delay="0.2s"] { transition-delay: 0.2s; }
.scroll-animate[data-wow-delay="0.4s"] { transition-delay: 0.4s; }
.scroll-animate[data-wow-delay="0.6s"] { transition-delay: 0.6s; }


/* Cookie Consent Popup (styles mostly in HTML for simplicity as requested) */
#cookieConsentPopup p a {
    color: var(--accent-color-1) !important; /* Ensure high visibility */
}

#acceptCookieButton { /* Uses global button styles if not overridden */
    background-color: var(--accent-color-2);
    color: var(--text-light);
    border-color: var(--accent-color-2);
}
#acceptCookieButton:hover {
    background-color: var(--accent-color-2-darker);
    border-color: var(--accent-color-2-darker);
}

header ul{
    flex-wrap: wrap;
}