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

1.  GLOBAL STYLES & VARIABLES
    - CSS Variables
    - Basic Reset
    - Body & Typography
    - Container
    - Utility Classes
    - Links
    - Global Button Styles
    - Form Elements (Global)

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

3.  SECTION STYLES
    - Hero Section
    - Statistics Section
    - Methodology Section (Timeline)
    - Accolades Section (Testimonials)
    - News Section
    - External Resources Section
    - Partners Section
    - Contact Section

4.  COMPONENT STYLES
    - Cards (General, Stat, Testimonial, News, Resource)
    - Timeline
    - Toggle Switch (from HTML, basic positioning support)

5.  FOOTER
    - Site Footer Layout
    - Footer Columns
    - Social Links (Text-based)
    - Newsletter Form (Footer)
    - Footer Bottom

6.  SPECIFIC PAGE STYLES
    - Success Page (`success.html`)
    - Static Content Pages (`privacy.html`, `terms.html`)

7.  ANIMATIONS & AOS SUPPORT
    - Basic Transitions

8.  RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------------------------*/

/*------------------------------------------------------------------
[1. GLOBAL STYLES & VARIABLES]
------------------------------------------------------------------*/
:root {
    /* Fonts */
    --font-heading: 'Manrope', 'Arial', sans-serif;
    --font-body: 'Rubik', 'Arial', sans-serif;

    /* Bright Colors - Neo-Brutalism */
    --color-primary: #FFD700;       /* Bright Yellow */
    --color-primary-dark: #E6C200;
    --color-secondary: #00A99D;     /* Bright Teal */
    --color-secondary-dark: #008A7D;
    --color-accent: #FF4081;        /* Hot Pink */
    --color-accent-dark: #E63974;

    --color-text-dark: #222222;
    --color-text-light: #FFFFFF;
    --color-text-muted: #555555;
    --color-text-on-primary: #000000; /* Text on primary yellow */

    --color-background-light: #FDFDFD;
    --color-background-alt: #EAEAEA;
    --color-background-dark: #1A1A1A;

    --color-border: #000000;
    --color-shadow-strong: #000000; /* Solid black for neo-brutalism shadow */
    --color-shadow-subtle: rgba(0, 0, 0, 0.1);

    /* 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 & Shadows */
    --border-width: 2px;
    --border-radius-sharp: 0px;
    --border-radius-slight: 4px;
    --box-shadow-neo: 4px 4px 0px var(--color-shadow-strong);
    --box-shadow-neo-small: 2px 2px 0px var(--color-shadow-strong);
    --box-shadow-hover-lift: 6px 6px 0px var(--color-shadow-strong);

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

    /* Header */
    --header-height: 80px;
}

/* Basic Reset */
*,
*::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);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS or other effects */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; } /* Section titles */
h3 { font-size: 1.75rem; } /* Card titles etc. */
h4 { font-size: 1.25rem; }

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

strong { font-weight: bold; }
em { font-style: italic; }

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

/* Utility Classes */
.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.alt-bg {
    background-color: var(--color-background-alt);
    border-top: var(--border-width) solid var(--color-border);
    border-bottom: var(--border-width) solid var(--color-border);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background-color: var(--color-primary);
    margin: var(--spacing-xs) auto var(--spacing-md) auto;
    border: 1px solid var(--color-border);
}

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

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

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

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

/* Global Button Styles */
.cta-button,
.cta-button-small,
button[type="submit"], /* Applied to form submit button */
.read-more-button {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: var(--border-width) solid var(--color-border);
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sharp);
    box-shadow: var(--box-shadow-neo-small);
    transition: all var(--transition-speed-fast) var(--transition-timing);
    letter-spacing: 0.5px;
}

.cta-button:hover,
.cta-button-small:hover,
button[type="submit"]:hover,
.read-more-button:hover,
.cta-button:focus,
.cta-button-small:focus,
button[type="submit"]:focus,
.read-more-button:focus {
    background-color: var(--color-primary-dark);
    color: var(--color-text-on-primary);
    box-shadow: var(--box-shadow-hover-lift);
    transform: translate(-2px, -2px);
    text-decoration: none;
}
.cta-button:active,
.cta-button-small:active,
button[type="submit"]:active,
.read-more-button:active {
    box-shadow: none;
    transform: translate(0,0);
}


.cta-button-small {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
}

.read-more-button {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: var(--box-shadow-neo-small);
}
.read-more-button:hover,
.read-more-button:focus {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
    box-shadow: var(--box-shadow-hover-lift);
}


/* Form Elements (Global) */
.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius-sharp);
    background-color: var(--color-background-light);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    transition: border-color var(--transition-speed-fast) var(--transition-timing), box-shadow var(--transition-speed-fast) var(--transition-timing);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-dark); /* Focus ring */
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-sm) center;
    background-size: 16px;
    padding-right: calc(var(--spacing-sm) + 20px); /* Space for arrow */
}

/*------------------------------------------------------------------
[2. HEADER & NAVIGATION]
------------------------------------------------------------------*/
.site-header {
    background-color: var(--color-background-light);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: var(--border-width) solid var(--color-border);
    box-shadow: 0 2px 5px var(--color-shadow-subtle);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

.logo .logo-accent {
    color: var(--color-primary);
}

.main-nav .nav-menu {
    list-style: none;
    display: flex;
}

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

.main-nav .nav-menu a {
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text-dark);
    padding: var(--spacing-xs) 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
}

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

.main-nav .nav-menu a:hover::after,
.main-nav .nav-menu a:focus::after,
.main-nav .nav-menu a.active::after { /* Add 'active' class via JS */
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-dark);
    margin: 5px 0;
    transition: all var(--transition-speed-normal) var(--transition-timing);
    border-radius: 3px;
}

/*------------------------------------------------------------------
[3. SECTION STYLES]
------------------------------------------------------------------*/

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height)); /* Adjusted for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light); /* IMPORTANT: Hero text is white */
    padding-top: var(--header-height); /* Offset for fixed header */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    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)); /* Dark overlay for text readability */
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light); /* Ensuring h1 is white */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light); /* Ensuring p is white */
    line-height: 1.7;
    opacity: 0.9;
}

.hero-section .cta-button {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
}

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

.stat-card {
    text-align: center;
}

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
}

.stat-card .stat-description {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Methodology Section (Timeline) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before { /* Central line for the timeline */
    content: '';
    position: absolute;
    left: 19px; /* Adjust based on icon size */
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-border);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-left: 60px; /* Space for icon and line */
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    border: var(--border-width) solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 1; /* Above the line */
}

.timeline-content.card { /* The card itself */
    position: relative; /* For potential arrows or styling */
    padding: var(--spacing-md);
}
.timeline-content.card h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
}


/* Accolades Section (Testimonials) */
.accolades-slider {
    /* Basic setup if it's a series of cards */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    /* For a real slider, JS would manipulate this or use a library */
}

.testimonial-card .card-image img {
    border-radius: 50%; /* Circular images for testimonials */
    width: 100px;  /* Fixed size for testimonial image */
    height: 100px;
    object-fit: cover;
    border: var(--border-width) solid var(--color-border); /* Consistent border */
}
.testimonial-card .card-image { /* Override default card-image height for this specific case */
    height: auto; /* Let image define height */
    margin-bottom: var(--spacing-sm);
    border: none; /* Remove border from container if image has its own */
}

.testimonial-card .card-content {
    text-align: center;
}
.testimonial-card .card-content p {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}
.testimonial-card .card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.news-card .news-title {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
}

.news-card .news-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    flex-grow: 1; /* Pushes button to bottom if card is flex column */
}
.news-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%; /* For consistent button alignment */
}


/* External Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.resource-card .card-content h4 a {
    font-size: 1.2rem;
    color: var(--color-secondary);
    font-weight: 700;
    text-decoration: none;
}
.resource-card .card-content h4 a:hover {
    text-decoration: underline;
    color: var(--color-secondary-dark);
}
.resource-card .card-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Partners Section */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}

.partner-logo img {
    max-height: 60px; /* Control logo height */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed-normal) var(--transition-timing);
}

.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* Default single column */
    gap: var(--spacing-lg);
    background-color: var(--color-background-alt); /* Light background for the form area */
    padding: var(--spacing-lg);
    border: var(--border-width) solid var(--color-border);
    box-shadow: var(--box-shadow-neo);
}

@media (min-width: 992px) { /* Two columns on larger screens */
    .contact-wrapper {
        grid-template-columns: 2fr 1fr; /* Form takes more space */
    }
}

.contact-form-container {
    /* Styles for form container if needed beyond .contact-wrapper */
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}
.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}
.contact-info ul {
    list-style: none;
    padding-left: 0;
}
.contact-info ul li {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-dark);
}
.contact-info ul li strong {
    color: var(--color-text-dark);
}
.contact-info ul li a {
    color: var(--color-secondary);
}
.contact-info ul li a:hover {
    color: var(--color-secondary-dark);
}

.map-placeholder {
    margin-top: var(--spacing-md);
    border: var(--border-width) solid var(--color-border);
    overflow: hidden; /* Ensures image fits */
}
.map-placeholder img {
    width: 100%;
    height: auto; /* Or fixed height e.g. 250px */
    display: block;
}


/*------------------------------------------------------------------
[4. COMPONENT STYLES]
------------------------------------------------------------------*/

/* Cards (General) */
.card {
    background-color: var(--color-background-light);
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius-sharp);
    box-shadow: var(--box-shadow-neo);
    overflow: hidden; /* To contain floated/positioned children or rounded corners */
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed-normal) var(--transition-timing), box-shadow var(--transition-speed-normal) var(--transition-timing);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover-lift);
}

.card-image { /* Image container */
    width: 100%;
    height: 200px; /* Default fixed height for card images */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background-alt); /* Placeholder bg */
    /* No border here, card itself has border. Add if design needs double border. */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1; /* Allows content to take available space, useful for flex column */
    /* text-align: center; /* Uncomment if all card text should be centered */
}


/* Toggle Switch */
.toggle-switch-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-text-dark);
    user-select: none;
}

.toggle-switch-checkbox { /* Hidden checkbox */
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-switch-slider {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    background-color: var(--color-text-muted); /* Off state */
    border: var(--border-width) solid var(--color-border);
    border-radius: var(--border-radius-sharp);
    transition: background-color var(--transition-speed-fast) var(--transition-timing);
    margin-right: var(--spacing-sm);
}

.toggle-switch-slider::before { /* The knob */
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: var(--color-background-light);
    border: var(--border-width) solid var(--color-border);
    transition: transform var(--transition-speed-fast) var(--transition-timing), background-color var(--transition-speed-fast) var(--transition-timing);
    border-radius: var(--border-radius-sharp);
}

.toggle-switch-checkbox:checked + .toggle-switch-slider {
    background-color: var(--color-secondary); /* On state background */
}

.toggle-switch-checkbox:checked + .toggle-switch-slider::before {
    transform: translateX(24px); /* Move knob to the right */
    background-color: var(--color-primary); /* Knob color when active */
}

.toggle-switch-checkbox:focus-visible + .toggle-switch-slider { /* Keyboard focus */
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}


/*------------------------------------------------------------------
[5. FOOTER]
------------------------------------------------------------------*/
.site-footer {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-top: var(--border-width) solid var(--color-border);
}

.site-footer a {
    color: var(--color-primary);
}
.site-footer a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

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

.footer-column h4 {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}
.footer-column .logo-accent {
    color: var(--color-primary);
}

.footer-column p {
    color: #ccc; /* Lighter text for footer paragraphs */
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}
.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}
.footer-column ul li a {
    color: #ccc;
    font-size: 0.95rem;
}
.footer-column ul li a:hover {
    color: var(--color-primary);
}

/* Social links in footer are text-based as per HTML */
.social-links li a {
    text-transform: capitalize; /* Or keep as is */
}

#newsletter-form-footer input[type="email"] {
    width: calc(100% - 120px); /* Adjust based on button width */
    padding: var(--spacing-xs);
    border: var(--border-width) solid var(--color-border);
    background-color: #333;
    color: var(--color-text-light);
    border-radius: var(--border-radius-sharp);
    margin-right: -4px; /* Align with button */
    height: 40px; /* Match button height */
}
#newsletter-form-footer input[type="email"]::placeholder {
    color: #aaa;
}
#newsletter-form-footer .cta-button-small {
    width: 110px; /* Fixed width for subscribe button */
    height: 40px;
    vertical-align: top;
    padding: var(--spacing-xs);
}


.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #444; /* Subtle separator */
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #aaa;
}

/*------------------------------------------------------------------
[6. SPECIFIC PAGE STYLES]
------------------------------------------------------------------*/

/* Success Page (success.html) */
body.success-page { /* Add class="success-page" to body of success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.success-page-content { /* Main content wrapper for success page */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-lg);
}
.success-message-box {
    background-color: var(--color-background-light);
    padding: var(--spacing-xl);
    border: var(--border-width) solid var(--color-border);
    box-shadow: var(--box-shadow-neo);
    max-width: 600px;
    width: 90%;
}
.success-message-box h1 {
    color: var(--color-secondary);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}
.success-message-box p {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

/* Static Content Pages (privacy.html, terms.html) */
.static-page-container { /* Add this class to a main wrapper in privacy/terms.html */
    padding-top: calc(var(--header-height) + var(--spacing-lg));
    padding-bottom: var(--spacing-xl);
    min-height: calc(100vh - var(--header-height) - 150px); /* 150px approx footer height */
}

.static-page-container .container { /* To constrain content width */
    max-width: 800px;
}

.static-page-container h1,
.static-page-container h2,
.static-page-container h3 {
    color: var(--color-text-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}
.static-page-container h1 { font-size: 2.2rem; }
.static-page-container h2 { font-size: 1.8rem; }
.static-page-container h3 { font-size: 1.5rem; }

.static-page-container p,
.static-page-container li {
    line-height: 1.8;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}
.static-page-container ul,
.static-page-container ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}


/*------------------------------------------------------------------
[7. ANIMATIONS & AOS SUPPORT]
------------------------------------------------------------------*/
/* AOS animations are triggered by data-aos attributes in HTML */
/* Ensure smooth transitions for elements that change on hover/focus */
button, a, input, textarea, select {
    transition: all var(--transition-speed-fast) var(--transition-timing);
}

/*------------------------------------------------------------------
[8. RESPONSIVE DESIGN (MEDIA QUERIES)]
------------------------------------------------------------------*/

@media (max-width: 991px) { /* Tablets and below */
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .section-title { font-size: 2rem; }

    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack form and info */
    }
}


@media (max-width: 767px) { /* Mobile devices */
    :root { /* Adjust spacing for mobile */
        --spacing-md: 1.25rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2.2rem; }

    .header-container {
        position: relative; /* For nav toggle positioning */
    }

    .main-nav .nav-menu {
        display: none; /* Hide desktop menu */
        flex-direction: column;
        position: absolute;
        top: calc(var(--header-height) - var(--border-width) * 2); /* Below header */
        left: -150px;
        width: 100%;
        background-color: var(--color-background-light);
        border-top: var(--border-width) solid var(--color-border);
        border-bottom: var(--border-width) solid var(--color-border);
        padding: var(--spacing-sm) 0;
        box-shadow: 0 5px 10px var(--color-shadow-subtle);
    }
    .main-nav .nav-menu.active { /* Class added by JS */
        display: flex;
        width: 200px;
    }
    .main-nav .nav-menu li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav .nav-menu a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        border-bottom: 1px solid var(--color-background-alt);
    }
    .main-nav .nav-menu li:last-child a {
        border-bottom: none;
    }
    .main-nav .nav-menu a::after { /* No underline effect on mobile for cleaner look */
        display: none;
    }

    .nav-toggle { /* Show burger icon */
        display: block;
    }
    
    /* Active state for burger icon (X) */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    .timeline::before {
        left: 19px; /* Ensure line aligns with icon */
    }
    .timeline-item {
        padding-left: 50px; /* Adjust padding for icon */
    }

    #newsletter-form-footer {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    #newsletter-form-footer input[type="email"],
    #newsletter-form-footer .cta-button-small {
        width: 100%;
        margin-right: 0;
    }
}

html,body{
    overflow-x: hidden;
}