/* style.css */

/* -------------------------------------------------------------------------- */
/*                               Root Variables                               */
/* -------------------------------------------------------------------------- */
:root {
    /* Color Palette (Complementary with Eco-Minimalism Tones) */
    --primary-color: #4CAF50; /* Vibrant Green - Eco Focus */
    --primary-darker: #388E3C; /* Darker Green for emphasis */
    --accent-color: #FF9800;  /* Orange - Complementary Accent */
    --accent-darker: #F57C00; /* Darker Orange */

    /* Text Colors */
    --text-dark: #212121;       /* Deep Gray for high contrast on light backgrounds */
    --text-light: #FFFFFF;      /* Pure White for dark backgrounds / overlays */
    --text-muted: #757575;      /* Lighter Gray for secondary text */
    --text-on-primary: #FFFFFF;
    --text-on-accent: #FFFFFF;

    /* Background Colors */
    --bg-light: #F5F5F5;        /* Very Light Gray - Clean main background for content areas */
    --bg-body-overlay: rgba(240, 245, 240, 0.6); /* Slight overlay on body background image for readability */
    --alt-bg-color: #E8F5E9;    /* Very Light Green - for alternating sections */

    /* Glassmorphism Effect */
    --glass-bg: rgba(255, 255, 255, 0.25); /* Base for glass elements */
    --glass-card-bg: rgba(255, 255, 255, 0.4); /* Slightly more opaque for cards */
    --glass-border-color: rgba(255, 255, 255, 0.5);
    --glass-blur-amount: 8px;
    --glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

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

    /* Spacing & Borders */
    --spacing-unit: 1rem; /* Approx 16px */
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 16px; /* For cards */

    /* Transitions */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px base */
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--bg-light); /* Fallback if image fails or for other pages */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Overall page overlay for the main background image effect */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-body-overlay);
    z-index: -1; /* Behind content, on top of body bg image */
}


/* -------------------------------------------------------------------------- */
/*                                  Typography                                */
/* -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    font-weight: 700; /* Archivo Black is already bold, Roboto headings need weight */
}

h1 { font-size: 2.8rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }
h2 { font-size: 2.2rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.15); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: var(--spacing-unit);
    color: var(--text-dark); /* Ensure high contrast for paragraph text */
}

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

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

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

.section-padding {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.alt-bg {
    background-color: var(--alt-bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    color: var(--text-dark); /* Ensure titles are dark on light/alt backgrounds */
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Basic Column System (Bulma-like) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}

.columns.is-multiline {
    flex-wrap: wrap;
}

.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}

.column.is-one-third { flex: none; width: 33.3333%; }
.column.is-half { flex: none; width: 50%; }
.column.is-two-thirds { flex: none; width: 66.6666%; }
.column.is-full { flex: none; width: 100%; }

/* -------------------------------------------------------------------------- */
/*                                  Glassmorphism                             */
/* -------------------------------------------------------------------------- */
.glass-effect, .glass-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur-amount));
    backdrop-filter: blur(var(--glass-blur-amount));
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: var(--glass-card-bg); /* Slightly different for cards */
    border-radius: var(--border-radius-large);
    padding: calc(var(--spacing-unit) * 1.5);
    color: var(--text-dark); /* Default text color for glass cards */
}

.glass-card h3, .glass-card h4 {
    color: var(--text-dark);
}
.glass-card p {
    color: var(--text-dark);
}

/* -------------------------------------------------------------------------- */
/*                                  Header & Navigation                       */
/* -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: calc(var(--spacing-unit) * 0.75) 0;
    transition: background-color var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-light); /* Header text is light for contrast on glass */
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.nav-logo:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: calc(var(--spacing-unit) * 1.5);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-light); /* Header links light */
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: var(--border-radius-small);
    transition: color var(--transition-speed-fast) ease, background-color var(--transition-speed-fast) ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color);
    text-decoration: none;
    /* background-color: rgba(255,255,255,0.1); */
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light); /* Hamburger bars light */
    transition: all var(--transition-speed-normal) ease-in-out;
}

/* -------------------------------------------------------------------------- */
/*                                  Buttons                                   */
/* -------------------------------------------------------------------------- */
.btn, button[type="submit"], input[type="submit"] {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    padding: calc(var(--spacing-unit) * 0.7) calc(var(--spacing-unit) * 1.8);
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed-normal) ease;
    text-decoration: none;
    line-height: 1.5; /* Ensure text is vertically centered */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover, button[type="submit"]:hover, input[type="submit"]:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

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

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

.btn-small {
    padding: calc(var(--spacing-unit) * 0.4) calc(var(--spacing-unit) * 1);
    font-size: 0.9rem;
}

/* "Read More" link specific style, if not a button */
a.read-more-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    margin-top: calc(var(--spacing-unit) * 0.5);
    transition: color var(--transition-speed-fast) ease, transform var(--transition-speed-fast) ease;
}
a.read-more-link:hover {
    color: var(--primary-darker);
    text-decoration: underline;
    transform: translateX(3px);
}


/* -------------------------------------------------------------------------- */
/*                                Forms                                       */
/* -------------------------------------------------------------------------- */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto calc(var(--spacing-unit) * 2) auto;
    padding: calc(var(--spacing-unit) * 2);
}

.form-group {
    margin-bottom: calc(var(--spacing-unit) * 1.25);
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.4);
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 0.75);
    border: 1px solid #ccc; /* Subdued border */
    border-radius: var(--border-radius-medium);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(255,255,255,0.8); /* Slightly transparent white */
    color: var(--text-dark);
    transition: border-color var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
}

.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 2px rgba(var(--primary-color-rgb, 76, 175, 80), 0.3); /* Define --primary-color-rgb or use direct rgba */
}
/* Define --primary-color-rgb in :root if you use it like above. For now: */
/* box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3); */


/* -------------------------------------------------------------------------- */
/*                                    Cards                                   */
/* -------------------------------------------------------------------------- */
.card {
    display: flex;
    flex-direction: column;
    /* align-items: center; /* STROGO: Centers card-image and card-content blocks */
    /* text-align: center; /* STROGO: Centers text within card-content */
    border-radius: var(--border-radius-large);
    overflow: hidden;
    transition: transform var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
    height: 100%; /* Make cards in a row same height */
    background-color: var(--text-light); /* Default card bg */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.card.glass-effect { /* If a card is also a glass-effect card */
    background: var(--glass-card-bg); /* Use specific glass card bg */
    border: 1px solid var(--glass-border-color);
}


.card-image, .image-container { /* These are often the same div in the HTML */
    width: 100%;
    /* height: 250px; /* STROGO: Fixed height for image containers */
    overflow: hidden;
    position: relative; /* For potential overlays */
    margin: 0 auto; /* Center image container if card is wider */
}
.service-card .card-image { height: 220px; }
.gallery-card .card-image { height: 280px; }
.team-card .card-image {
    height: 280px;
    width: 280px; /* For team profile pics, often square or circle */
    border-radius: 12px; /* Or 50% for circle */
    margin-bottom: var(--spacing-unit);
    align-self: center; /* Ensure this container is centered in flex column */
}
.news-card .card-image { height: 300px; }
.news-card-small .card-image { height: 150px; }


.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* STROGO: Ensures image covers container without distortion */
    display: block; /* Remove bottom space */
    transition: transform var(--transition-speed-normal) ease-out;
}

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

.card-content {
    padding: calc(var(--spacing-unit) * 1.5);
    flex-grow: 1; /* Allows content to fill space if card heights are equalized */
    display: flex;
    flex-direction: column;
    text-align: left; /* Default for paragraphs */
}
.card-content h3, .card-content h4, .card-content .card-title, .card-content .team-name, .card-content .news-title, .card-content .news-title-small {
    text-align: center; /* Center titles within card content */
    color: var(--text-dark);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-unit);
    flex-grow: 1; /* Push buttons/links to bottom if needed */
}
.card-content .btn, .card-content .read-more-link {
    margin-top: auto; /* Push to bottom */
    align-self: center; /* Center button if text-align:center is not on parent */
}
.team-card .card-content { text-align: center; } /* Team card text fully centered */

/* -------------------------------------------------------------------------- */
/*                               Hero Section                                 */
/* -------------------------------------------------------------------------- */
.hero-section {
    /* min-height: 80vh; /* Removed min-height: 400px rule */
    padding-top: calc(var(--spacing-unit) * 8); /* Space for fixed header + content */
    padding-bottom: calc(var(--spacing-unit) * 6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For overlay */
    color: var(--text-light); /* IMPORTANT: Hero text is white */
}
/* The HTML uses inline style for background-image with linear-gradient */

.hero-content {
    max-width: 800px;
    position: relative; /* Ensure content is above pseudo-elements if any */
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-unit);
    color: var(--text-light); /* Explicitly white */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* Stronger shadow for readability */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-light); /* Explicitly white */
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.hero-section .btn-primary {
    padding: calc(var(--spacing-unit) * 0.9) calc(var(--spacing-unit) * 2.5);
    font-size: 1.1rem;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-on-accent);
}
.hero-section .btn-primary:hover {
    background-color: var(--accent-darker);
    border-color: var(--accent-darker);
}


/* -------------------------------------------------------------------------- */
/*                               Vision Section                               */
/* -------------------------------------------------------------------------- */
.vision-section .glass-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-unit);
    color: var(--text-dark);
}
.statistics-widgets {
    margin-top: calc(var(--spacing-unit) * 3);
}
.stat-widget {
    text-align: center;
    padding: calc(var(--spacing-unit) * 1.5);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 0.3);
}
.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* -------------------------------------------------------------------------- */
/*                               Services Section                             */
/* -------------------------------------------------------------------------- */
.service-card .card-title {
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}
.service-filters {
    margin-top: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 1.5);
}
.service-filters h4 {
    margin-bottom: var(--spacing-unit);
    color: var(--text-dark);
}

/* Toggles */
.toggles-container {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}
.toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
}
.toggle-checkbox {
    display: none; /* Hide actual checkbox */
}
.toggle-label {
    margin-right: 0.5rem;
    color: var(--text-dark);
}
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    transition: background-color var(--transition-speed-fast) ease;
}
.toggle-switch::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform var(--transition-speed-fast) ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-checkbox:checked + .toggle-label + .toggle-switch {
    background-color: var(--primary-color);
}
.toggle-checkbox:checked + .toggle-label + .toggle-switch::before {
    transform: translateX(20px);
}


/* -------------------------------------------------------------------------- */
/*                               History Section                              */
/* -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item {
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 2.5);
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc(var(--spacing-unit) * 4); /* Space for the dot */
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc(var(--spacing-unit) * 4); /* Space for the dot */
}
/* The circle on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px; /* Adjust based on padding */
    background-color: var(--text-light);
    border: 4px solid var(--primary-color);
    top: 25px; /* Adjust to align with content */
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -9px;
}
.timeline-content {
    padding: calc(var(--spacing-unit) * 1.25);
    position: relative;
}
.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-darker);
}
.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* -------------------------------------------------------------------------- */
/*                               Gallery Section                              */
/* -------------------------------------------------------------------------- */
.gallery-card {
    box-shadow: none; /* Simpler look for gallery items */
}
.gallery-card .card-image img {
    border-radius: var(--border-radius-medium); /* Rounded corners for gallery images */
}
.gallery-card:hover .card-image img {
    transform: scale(1.03); /* Subtle hover zoom */
}


/* -------------------------------------------------------------------------- */
/*                                Team Section                                */
/* -------------------------------------------------------------------------- */
.team-card {
    text-align: center;
}
.team-card .card-image {
    /* width: 180px; /* Adjust as needed */
    /* height: 180px; */
    /* border-radius: 50%; /* Circular team images */
    margin-bottom: var(--spacing-unit);
}
.team-name {
    margin-top: var(--spacing-unit);
    font-size: 1.4rem;
    color: var(--text-dark);
}
.team-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: var(--spacing-unit);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.team-card .card-content p:not(.team-role) { /* Description text */
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-muted);
}


/* -------------------------------------------------------------------------- */
/*                                News Section                                */
/* -------------------------------------------------------------------------- */
.news-card .news-title {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    line-height: 1.3;
}
.news-card-small .news-title-small {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 0.3);
    line-height: 1.3;
}
.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-unit);
}
.news-card .card-content p, .news-card-small .card-content p {
    font-size: 0.95rem; /* Ensure consistent paragraph size */
}


/* -------------------------------------------------------------------------- */
/*                         External Resources Section                         */
/* -------------------------------------------------------------------------- */
.resource-item {
    margin-bottom: var(--spacing-unit);
    padding: var(--spacing-unit); /* Smaller padding for these items */
}
.resource-item h4 {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.resource-item h4 a {
    color: var(--primary-darker);
    font-weight: 700;
}
.resource-item h4 a:hover {
    color: var(--accent-color);
}
.resource-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}


/* -------------------------------------------------------------------------- */
/*                               Contact Section                              */
/* -------------------------------------------------------------------------- */
.contact-info {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 2.5);
}
.contact-info p {
    font-size: 1.05rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.contact-info strong {
    color: var(--text-dark);
}
.contact-info a {
    color: var(--primary-color);
    font-weight: bold;
}
.contact-info a:hover {
    color: var(--primary-darker);
}


/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
.site-footer {
    padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 1) 0;
    color: var(--text-light); /* Footer text light for contrast on glass */
}
.site-footer h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-unit);
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.site-footer p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8); /* Slightly muted light text */
    line-height: 1.6;
}
.footer-links li, .social-links li {
    list-style: none;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.footer-links a, .social-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease;
}
.footer-links a:hover, .social-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 2);
    padding-top: calc(var(--spacing-unit) * 1.5);
    border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* -------------------------------------------------------------------------- */
/*                            Scroll Animations                             */
/* -------------------------------------------------------------------------- */
.animate-on-scroll {
    /*opacity: 0;*/
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/*                      Special Page Styles (Success, Privacy, Terms)       */
/* -------------------------------------------------------------------------- */
.success-page-container,
.privacy-page-container,
.terms-page-container {
    padding-top: 120px; /* Space for fixed header */
    padding-bottom: calc(var(--spacing-unit) * 3);
    color: var(--text-dark);
}
.success-page-container .container,
.privacy-page-container .container,
.terms-page-container .container {
   background-color: var(--text-light); /* White background for content */
   padding: calc(var(--spacing-unit) * 2);
   border-radius: var(--border-radius-medium);
   box-shadow: var(--glass-shadow);
}

.success-page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.success-page-container .container {
    max-width: 600px;
}
.success-page-container h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.privacy-page-container h1, .terms-page-container h1 {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}
.privacy-page-container h2, .terms-page-container h2 {
    margin-top: calc(var(--spacing-unit) * 2);
    margin-bottom: var(--spacing-unit);
    color: var(--primary-darker);
}
.privacy-page-container p, .terms-page-container p,
.privacy-page-container li, .terms-page-container li {
    line-height: 1.7;
    margin-bottom: var(--spacing-unit);
}
.privacy-page-container ul, .terms-page-container ul {
    list-style-position: inside;
    padding-left: var(--spacing-unit);
}

/* -------------------------------------------------------------------------- */
/*                               Responsiveness                               */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    .hero-title { font-size: 3rem; }
    h2 { font-size: 1.9rem; }

    .column.is-one-third, .column.is-half, .column.is-two-thirds {
        width: 50%;
    }
    .news-grid .column.is-two-thirds { width: 100%; } /* Main news article full width */
    .news-grid .column.is-one-third { width: 100%; } /* Smaller news items full width stacked */
    .external-resources-section .column.is-half { width: 100%; }


    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after, .timeline-item:nth-child(even)::after {
        left: 21px; /* (30px center line) - (18px width / 2) + 4px border */
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%; /* Initially hidden */
        top: 0; /* Align with header or slightly below */
        flex-direction: column;
        justify-content: center;
        background-color: rgba(30,30,30,0.98); /* Darker, more solid for mobile menu */
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        width: 80%;
        height: 100vh;
        text-align: center;
        transition: left var(--transition-speed-normal) ease-in-out;
        z-index: 999; /* Below header, but above content */
        padding-top: 60px; /* Space for close button or logo */
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: calc(var(--spacing-unit) * 1.5) 0;
    }
    .nav-link {
        font-size: 1.3rem;
        color: var(--text-light); /* Ensure links are light on dark mobile menu */
    }
    .nav-link:hover {
        color: var(--accent-color);
    }
    .hamburger {
        display: block;
        z-index: 1001; /* Above mobile menu */
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


    .column.is-one-third, .column.is-half, .column.is-two-thirds {
        width: 100%;
    }

    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .footer-content .column {
        width: 100%;
        margin-bottom: calc(var(--spacing-unit) * 1.5);
        text-align: center;
    }
    .footer-content .column:last-child { margin-bottom: 0; }
    .footer-links, .social-links { padding-left: 0; }
}

@media (max-width: 480px) {
    html { font-size: 90%; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .section-padding {
        padding-top: calc(var(--spacing-unit) * 3);
        padding-bottom: calc(var(--spacing-unit) * 3);
    }
    .container { width: 95%; }
    .nav-menu { width: 100%; }
    .btn, button[type="submit"] {
        padding: calc(var(--spacing-unit) * 0.6) calc(var(--spacing-unit) * 1.5);
        font-size: 0.95rem;
    }
}
.hamburger{
    display: none;
}