/* style.css */

:root {
    /* Color Palette (Triad - Vibrant) */
    --primary-color: #5D5FEF; /* Main interactive elements, CTAs */
    --primary-color-dark: #4345D4;
    --primary-color-light: #7E80F5;

    --secondary-color: #EF5DA0; /* Accent, secondary CTAs, highlights */
    --secondary-color-dark: #D4438A;
    --secondary-color-light: #F57DBF;

    --accent-color: #5DEFAF; /* Tertiary accent, notifications, specific highlights */
    --accent-color-dark: #43D494;
    --accent-color-light: #7DF5C4;

    /* Neumorphism Base & Shadows */
    --bg-color: #eef2f7; /* Light gray - main background */
    --bg-color-alt: #e6eaf0; /* Slightly different for alternating sections */
    --text-color: #333745; /* Dark gray for text, good contrast */
    --text-color-light: #FFFFFF; /* White text for dark/colored backgrounds */
    --text-color-headings: #222222; /* Darker for section titles */
    --text-color-muted: #707888; /* Muted text */
    --card-bg-color: var(--bg-color);

    /* Neumorphic shadows using softer, more spread out values */
    --shadow-offset: 6px;
    --shadow-blur: 12px;
    --shadow-light-color: rgba(255, 255, 255, 0.8);
    --shadow-dark-color: rgba(180, 190, 200, 0.5); /* Adjusted for better subtlety */
    
    --neumorphic-shadow-convex: 
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-color),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-color);
    
    --neumorphic-shadow-concave: 
        inset var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-dark-color),
        inset calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-light-color);

    --neumorphic-shadow-emboss: /* For smaller elements, less offset/blur */
        2px 2px 5px var(--shadow-dark-color), 
        -2px -2px 5px var(--shadow-light-color);

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Merriweather', serif;

    /* 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: 8px;
    --border-radius-md: 15px;
    --border-radius-lg: 25px;

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

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

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

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: var(--header-height); /* For fixed header */
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color-headings);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for dark headers */
}
h1 { font-size: 2.8rem; } /* ~44.8px */
h2 { font-size: 2.2rem; } /* ~35.2px */
h3 { font-size: 1.6rem; } /* ~25.6px */
h4 { font-size: 1.3rem; } /* ~20.8px */

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}
a:hover, a:focus {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

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

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

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex-grow: 1;
}

.main-content-container {
    /* Used for content sections on ./ and other pages */
}

/* Columns (Bulma-like basic structure) */
.columns-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1 * var(--spacing-md) / 2);
    margin-right: calc(-1 * var(--spacing-md) / 2);
}
.column {
    padding-left: calc(var(--spacing-md) / 2);
    padding-right: calc(var(--spacing-md) / 2);
    box-sizing: border-box;
    width: 100%; /* Mobile first */
    margin-bottom: var(--spacing-md);
}
@media (min-width: 768px) {
    .column.is-one-third { width: 33.3333%; }
    .column.is-two-thirds { width: 66.6666%; }
    .column.is-half { width: 50%; }
    .column.is-one-quarter { width: 25%; }
    .column.is-three-quarters { width: 75%; }
}

/* --- HEADER & NAVIGATION --- */
.site-header {
    background-color: var(--bg-color);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}
.neumorphic-header {
    box-shadow: var(--neumorphic-shadow-convex);
}

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

.logo.neumorphic-logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed) var(--transition-timing);
}
.logo.neumorphic-logo-text:hover {
    color: var(--primary-color-dark);
    text-shadow: 1px 1px 3px var(--shadow-dark-color), -1px -1px 3px var(--shadow-light-color);
}

.main-navigation .nav-list {
    list-style: none;
    display: flex;
    gap: var(--spacing-sm);
}

.nav-link.neumorphic-link {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-color-muted);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: all var(--transition-speed) var(--transition-timing);
    position: relative;
    font-size: 0.95rem;
}
.nav-link.neumorphic-link:hover,
.nav-link.neumorphic-link:focus,
.nav-link.neumorphic-link.active { /* For active page/section */
    color: var(--primary-color);
    background-color: transparent; /* Neumorphic links often don't change bg much on hover */
    box-shadow: var(--neumorphic-shadow-emboss);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none; /* Hidden by default, shown in media query */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav list */
}
.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color var(--transition-speed) var(--transition-timing);
}
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: transform var(--transition-speed) var(--transition-timing);
}
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { bottom: -8px; }

/* Active state for hamburger */
.menu-toggle.active .hamburger-icon { background-color: transparent; }
.menu-toggle.active .hamburger-icon::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .hamburger-icon::after { transform: translateY(-8px) rotate(-45deg); }


/* --- GENERAL SECTION STYLING --- */
.content-section {
    padding: var(--spacing-xl) 0;
    text-align: center; /* Center section titles */
}
.neumorphic-section {
    background-color: var(--bg-color);
}
.neumorphic-section-alt {
    background-color: var(--bg-color-alt);
}
.section-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-headings);
    font-size: 2.2rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}
.section-footer-text {
    margin-top: var(--spacing-lg);
    color: var(--text-color-muted);
    font-style: italic;
}


/* --- NEUMORPHIC COMPONENTS --- */

/* Buttons (Global) */
.neumorphic-button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-speed) var(--transition-timing);
    background-color: var(--card-bg-color); /* Base for neumorphic effect */
    box-shadow: var(--neumorphic-shadow-convex);
    color: var(--text-color);
}
.neumorphic-button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px); /* Slight lift */
    box-shadow: 
        calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) calc(var(--shadow-blur) + 4px) var(--shadow-dark-color),
        calc(-1 * (var(--shadow-offset) + 2px)) calc(-1 * (var(--shadow-offset) + 2px)) calc(var(--shadow-blur) + 4px) var(--shadow-light-color);
}
.neumorphic-button:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    box-shadow: var(--neumorphic-shadow-concave);
    transform: translateY(1px);
    color: var(--primary-color);
}

.button-primary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 3px 3px 6px rgba(0,0,0,0.2), -3px -3px 6px rgba(255,255,255,0.7),
                inset 1px 1px 2px var(--primary-color-light),
                inset -1px -1px 2px var(--primary-color-dark);
}
.button-primary:hover {
    background-color: var(--primary-color-dark);
     box-shadow: 5px 5px 10px rgba(0,0,0,0.25), -5px -5px 10px rgba(255,255,255,0.6),
                inset 1px 1px 2px var(--primary-color-light),
                inset -1px -1px 2px var(--primary-color-dark);
}
.button-primary:active {
    background-color: var(--primary-color-dark);
    box-shadow: inset 3px 3px 6px var(--primary-color-dark), 
                inset -3px -3px 6px var(--primary-color-light);
    color: rgba(255,255,255,0.8);
}

.button-secondary {
    background-color: var(--bg-color);
    color: var(--secondary-color);
    border: 2px solid transparent; /* Prepare for hover border */
}
.button-secondary:hover {
    color: var(--secondary-color-dark);
    /* box-shadow gets standard neumorphic hover */
}
.button-secondary:active {
    color: var(--secondary-color-dark);
    /* box-shadow gets standard neumorphic active */
}


/* Neumorphic Cards */
.neumorphic-card {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--neumorphic-shadow-convex);
    transition: all var(--transition-speed) var(--transition-timing);
    display: flex;
    flex-direction: column;
    /* align-items: center; /* Specified in prompt, check if works for all content */
    text-align: left; /* Default text align for card content */
    height: 100%; /* For equal height cards in a grid */
}
.neumorphic-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        calc(var(--shadow-offset) + 4px) calc(var(--shadow-offset) + 4px) calc(var(--shadow-blur) + 8px) var(--shadow-dark-color),
        calc(-1 * (var(--shadow-offset) + 4px)) calc(-1 * (var(--shadow-offset) + 4px)) calc(var(--shadow-blur) + 8px) var(--shadow-light-color);
}
.neumorphic-card .card-content {
    padding: var(--spacing-md) 0 0 0; /* Padding for content below image */
    flex-grow: 1; /* Allows content to fill card */
}
.neumorphic-card .card-content h3, .neumorphic-card .card-content .card-title-small {
    color: var(--text-color-headings);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}
.neumorphic-card .card-content p {
    color: var(--text-color-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Card Image Styling */
.card-image { /* This is the container for the image */
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
    border-radius: var(--border-radius-md); /* Rounded corners for the image container */
    margin-bottom: var(--spacing-md); /* Space between image and content */
    background-color: var(--bg-color-alt); /* Placeholder color */
}
.neumorphic-card.image-card .card-image { /* Specific for cards that are mainly an image */
     border-radius: var(--border-radius-lg); /* Match card radius */
     margin-bottom: var(--spacing-xs);
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
    transition: transform var(--transition-speed) var(--transition-timing);
}
.neumorphic-card:hover .card-image img {
    transform: scale(1.05);
}
.neumorphic-card.info-card .card-content {
    text-align: center;
}
.neumorphic-card.info-card .card-image {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%; /* Prevent image from touching card edges if card itself has padding */
}

/* Neumorphic Inputs and Forms */
.neumorphic-input, .neumorphic-label {
    display: block;
    width: 100%;
    margin-bottom: var(--spacing-xs);
}
.neumorphic-label {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-color-muted);
    margin-bottom: var(--spacing-xs);
    text-align: left;
    font-size: 0.9rem;
}
.neumorphic-input, textarea.neumorphic-input, select.neumorphic-input {
    background-color: var(--bg-color);
    border: none;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-color);
    box-shadow: var(--neumorphic-shadow-concave); /* Pressed in look */
    transition: box-shadow var(--transition-speed) var(--transition-timing);
    appearance: none; /* For select */
    -webkit-appearance: none;
    -moz-appearance: none;
}
.neumorphic-input:focus, textarea.neumorphic-input:focus, select.neumorphic-input:focus {
    outline: none;
    box-shadow: var(--neumorphic-shadow-concave), 0 0 0 2px var(--primary-color-light); /* Add focus ring */
}
select.neumorphic-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333745'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-sm) center;
    background-size: 1.5em;
    padding-right: calc(var(--spacing-sm) + 2em); /* Space for arrow */
}
textarea.neumorphic-input {
    min-height: 120px;
    resize: vertical;
}

/* Neumorphic Links (General style, specific for "Read more") */
.neumorphic-link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    padding: var(--spacing-xs) 0; /* Minimal padding for inline feel */
    transition: all var(--transition-speed) var(--transition-timing);
    position: relative;
}
.neumorphic-link:hover, .neumorphic-link:focus {
    color: var(--primary-color-dark);
    text-decoration: underline;
    /* text-shadow: 1px 1px 2px var(--primary-color-light); */
}
.news-article .neumorphic-link::after {
    content: ' \2192'; /* Right arrow, specific to news "read more" */
}


/* --- HERO SECTION --- */
#hero {
    /* background-image is set inline with linear-gradient */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-color-light); /* White text as per requirement */
    padding: var(--spacing-xl) 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(80vh - var(--header-height)); /* Adjust height as needed */
}
.hero-content {
    max-width: 800px;
}
.hero-title {
    font-size: 3.2rem;
    color: var(--text-color-light); /* Ensure white */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: var(--spacing-md);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-color-light); /* Ensure white */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}
.hero-button {
    font-size: 1.1rem;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* --- SPECIFIC SECTION STYLING --- */

/* About Us Section */
.stats-widgets-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.stat-widget.neumorphic-card {
    padding: var(--spacing-md);
    text-align: center;
    flex-basis: calc(33.33% - var(--spacing-md)); /* Adjust for gap */
    min-width: 180px; /* Prevent too small on wrap */
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}
.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-color-muted);
}

/* Our Process Section (Slider) */
.process-steps-slider {
    /* Basic styles if JS is not creating a slider structure */
    display: flex;
    overflow-x: auto; /* Simple scroll for now */
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-md); /* For scrollbar or controls */
    scroll-snap-type: x mandatory; /* Optional: for snapping */
}
.process-steps-slider .slide.neumorphic-card {
    min-width: 300px; /* Width of each slide */
    flex: 0 0 auto; /* Prevent shrinking/growing */
    text-align: center;
    scroll-snap-align: center; /* Optional: for snapping */
}
.process-steps-slider .slide .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto var(--spacing-md) auto;
    box-shadow: var(--neumorphic-shadow-emboss); /* From HTML */
}
.slider-controls {
    margin-top: var(--spacing-md);
    text-align: center;
}
.slider-controls .neumorphic-button {
    margin: 0 var(--spacing-xs);
}


/* Info Cards Container (Used by Research, Events, Press) */
.info-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
.info-card .card-content h3 {
    font-size: 1.4rem;
    color: var(--text-color-headings);
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
.news-article.neumorphic-card {
    text-align: left;
}
.news-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-headings);
}
.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-color-muted);
    margin-bottom: var(--spacing-md);
}

/* Media Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
.resource-card.neumorphic-card {
    text-align: left;
}
.resource-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}
.resource-title .neumorphic-link {
    color: var(--text-color-headings);
}
.resource-title .neumorphic-link:hover {
    color: var(--primary-color);
}
.resource-description {
    font-size: 0.9rem;
    color: var(--text-color-muted);
    margin-bottom: var(--spacing-md);
}

/* Contact Section */
.contact-form-container.neumorphic-card {
    padding: var(--spacing-lg);
    max-width: 700px;
    margin: var(--spacing-lg) auto 0 auto;
}
.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}
.contact-form .submit-button {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 1.1rem;
}
.contact-details.neumorphic-card {
    max-width: 700px;
    margin: var(--spacing-lg) auto 0 auto;
    text-align: left;
    padding: var(--spacing-lg);
}
.contact-details h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-color-headings);
}
.contact-details p {
    margin-bottom: var(--spacing-xs);
    color: var(--text-color);
}
.contact-details p strong {
    color: var(--text-color-headings);
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-color-alt);
    color: var(--text-color-muted);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    margin-top: var(--spacing-xl);
}
.neumorphic-footer {
    box-shadow: var(--neumorphic-shadow-concave); /* Inset shadow for footer gives a "pressed down" look */
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: space-between;
}
.footer-column {
    flex: 1;
    min-width: 200px; /* Ensure columns don't get too narrow */
    margin-bottom: var(--spacing-md);
}
.footer-heading {
    font-size: 1.2rem;
    color: var(--text-color-headings);
    margin-bottom: var(--spacing-md);
}
.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-nav-list, .footer-social-list {
    list-style: none;
}
.footer-nav-list li, .footer-social-list li {
    margin-bottom: var(--spacing-xs);
}
.footer-nav-list .neumorphic-link,
.footer-social-list .neumorphic-link {
    color: var(--text-color-muted);
    font-weight: normal;
    font-size: 0.9rem;
    padding: 2px 0;
}
.footer-nav-list .neumorphic-link:hover,
.footer-social-list .neumorphic-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--shadow-dark-color);
    font-size: 0.85rem;
}

/* --- PAGE SPECIFIC STYLES --- */

/* Success Page (success.html) */
body.success-page .main-content-container, /* If body class is used */
.success-page-content { /* If a specific wrapper is used on success.html */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 100px); /* Adjust 100px if footer height is known */
    text-align: center;
    padding: var(--spacing-lg);
}
.success-page-content .neumorphic-card {
    max-width: 500px;
    padding: var(--spacing-xl);
}
.success-page-content h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
}
.success-page-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}


/* Privacy & Terms Pages (privacy.html, terms.html) */
body.privacy-page .main-content-container,
body.terms-page .main-content-container,
.privacy-content-wrapper, /* Add these wrapper classes to the respective pages */
.terms-content-wrapper {
    padding-top: var(--spacing-lg); /* 100px as per prompt, use variable for flexibility */
    padding-bottom: var(--spacing-lg);
    text-align: left;
}
.privacy-content-wrapper .container h1,
.terms-content-wrapper .container h1 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}
.privacy-content-wrapper .container h2,
.terms-content-wrapper .container h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .header-container {
        /* Allow more space for logo and toggle */
    }
    .menu-toggle {
        display: block; /* Show burger icon */
    }
    .main-navigation .nav-list {
        display: none; /* Hide nav list by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height); 
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: var(--spacing-md) 0;
        box-shadow: var(--neumorphic-shadow-convex);
        border-top: 1px solid var(--shadow-dark-color);
    }
    .main-navigation .nav-list.active {
        display: flex; /* Show when active */
    }
    .main-navigation .nav-list li {
        width: 100%;
        text-align: center;
    }
    .nav-link.neumorphic-link {
        display: block;
        padding: var(--spacing-sm);
        width: 100%;
        border-radius: 0;
    }
    .nav-link.neumorphic-link:hover {
        background-color: var(--bg-color-alt);
        box-shadow: none;
    }

    .columns-container {
        margin-left: 0;
        margin-right: 0;
    }
    .column {
        width: 100% !important; /* Stack columns */
        padding-left: 0;
        padding-right: 0;
    }
    #hero {
        min-height: calc(70vh - var(--header-height));
        padding: var(--spacing-lg) 0;
    }
    .hero-title { font-size: 2rem; }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-column {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    html { font-size: 15px; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.6rem; }
    .stats-widgets-container .stat-widget.neumorphic-card {
        flex-basis: 100%;
    }
}

/* Cookie Popup - Basic Styling */
/* Styles are inline in HTML for this as requested for simplicity */

/* Animate.css integration - can be used on elements directly */
/* Example: .animate__animated.animate__fadeInUp */

/* Ensure high contrast for placeholder elements where text might be added */
[data-prompt] {
    position: relative; /* For potential overlays if needed */
}