/* CSS - style.css */

/* -------------------------------------------------------------------------- */
/*                                 Variables                                  */
/* -------------------------------------------------------------------------- */
:root {
    --primary-color: #007bff; /* Bright Blue - for primary actions, links */
    --secondary-color: #ff6b6b; /* Coral Red - for secondary accents, highlights */
    --accent-color-1: #ffa94d; /* Light Orange - for contrasting elements, calls to action */
    --accent-color-2: #4caf50; /* Green - for success states, positive feedback */

    --text-light: #f8f9fa;      /* Very light gray/off-white for text on dark backgrounds */
    --text-dark: #212529;       /* Very dark gray/near black for main text */
    --text-dark-strong: #121416; /* Even darker for strong headings */
    --text-gray: #6c757d;       /* Medium gray for subtitles, less important text */

    --background-body: #f0f4f8;  /* Light, slightly cool gray for the page background */
    --background-section-light: #ffffff; /* White for light sections */
    --background-section-dark: #2c3e50;  /* Dark Blue/Gray for dark sections like footer */
    --background-light-alt: #e9eff8; /* Slightly different light bg for variety */
    --neutral-light: #f0f4f8; /* Similar to body, for neutral card backgrounds */


    --glass-blur: 10px;
    --glass-border-radius: 15px;
    --glass-padding: 2rem;

    --glass-bg-light: rgba(255, 255, 255, 0.35);
    --glass-border-light: rgba(255, 255, 255, 0.5);
    --glass-shadow-light: rgba(0, 0, 0, 0.1);

    --glass-bg-dark: rgba(40, 40, 70, 0.55); /* Darker, purplish for dark elements */
    --glass-border-dark: rgba(255, 255, 255, 0.15);
    --glass-shadow-dark: rgba(0, 0, 0, 0.2);

    --font-family-headings: 'Roboto', sans-serif;
    --font-family-body: 'Lato', sans-serif;

    --header-height: 80px;
    --footer-height: auto;

    --border-radius-small: 5px;
    --border-radius-medium: 10px;
    --border-radius-large: 20px;

    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --transition-speed-slow: 0.5s;
    --easing-hand-drawn: cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy */
}

/* -------------------------------------------------------------------------- */
/*                                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-family-body);
    color: var(--text-dark);
    background-color: var(--background-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark-strong);
    margin-bottom: 0.75rem;
}
h1 { font-size: 2.8rem; font-weight: 900; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

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

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

/* Main container for page width management */
.main-container {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Basic Bulma-like grid support */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}
.columns:not(:last-child) {
    margin-bottom: 1.5rem;
}
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.column.is-two-thirds { flex: none; width: 66.6666%; }
.column.is-one-third { flex: none; width: 33.3333%; }
.column.is-half { flex: none; width: 50%; }
.column.is-one-quarter { flex: none; width: 25%; }
.columns.is-centered { justify-content: center; }
.columns.is-multiline { flex-wrap: wrap; }

@media screen and (max-width: 768px) {
    .column.is-two-thirds,
    .column.is-one-third,
    .column.is-half,
    .column.is-one-quarter {
        width: 100%;
    }
    .columns {
        margin-left: 0;
        margin-right: 0;
    }
    .column {
        padding-left: 0;
        padding-right: 0;
    }
}


/* Section Base Styles */
.section {
    padding: 4rem 0; /* Natural height based on content */
    position: relative;
    overflow: hidden; /* For parallax shapes or skewed backgrounds */
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark-strong);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color-1);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}


/* -------------------------------------------------------------------------- */
/*                               Glassmorphism                                */
/* -------------------------------------------------------------------------- */
.glass-effect, .glass-effect-light, .glass-effect-dark, .glass-effect-inner {
    border-radius: var(--glass-border-radius);
    padding: var(--glass-padding);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    transition: transform var(--transition-speed-normal) var(--easing-hand-drawn), box-shadow var(--transition-speed-normal) ease;
}

.glass-effect { /* General purpose, adaptable */
    background: var(--glass-bg-medium, rgba(220, 220, 240, 0.3));
    border: 1px solid var(--glass-border-light, rgba(255, 255, 255, 0.4));
    box-shadow: 0 4px 15px var(--glass-shadow-light, rgba(0,0,0,0.05));
}

.glass-effect-light { /* For light backgrounds */
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 4px 20px var(--glass-shadow-light);
}

.glass-effect-dark { /* For dark backgrounds, like footer */
    background: var(--glass-bg-dark);
    border: 1px solid var(--glass-border-dark);
    box-shadow: 0 6px 25px var(--glass-shadow-dark);
}
.glass-effect-dark, .glass-effect-dark h1, .glass-effect-dark h2, .glass-effect-dark h3, .glass-effect-dark h4, .glass-effect-dark p, .glass-effect-dark li {
    color: var(--text-light) !important;
}
.glass-effect-dark a {
    color: var(--accent-color-1) !important;
}
.glass-effect-dark a:hover {
    color: var(--text-light) !important;
}

.glass-effect-inner { /* For cards or smaller elements within sections */
    background: rgba(255, 255, 255, 0.6); /* More opaque for readability */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 1.5rem;
}
.glass-effect:hover, .glass-effect-light:hover, .glass-effect-dark:hover, .glass-effect-inner:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* -------------------------------------------------------------------------- */
/*                                  Buttons                                   */
/* -------------------------------------------------------------------------- */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    padding: 0.75rem 1.8rem;
    font-size: 1rem;
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed-normal) var(--easing-hand-drawn);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-speed-slow) ease;
    z-index: -1;
}
.btn:hover::before {
    left: 100%;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: color-mix(in srgb, var(--primary-color) 90%, black);
    border-color: color-mix(in srgb, var(--primary-color) 90%, black);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: color-mix(in srgb, var(--secondary-color) 90%, black);
    border-color: color-mix(in srgb, var(--secondary-color) 90%, black);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    text-decoration: none;
}
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* "Read More" Link Style */
.read-more-link {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition-speed-fast) ease;
}
.read-more-link::after {
    content: '→';
    display: inline-block;
    margin-left: 5px;
    transition: transform var(--transition-speed-fast) ease;
}
.read-more-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}
.read-more-link:hover::after {
    transform: translateX(5px);
}

/* -------------------------------------------------------------------------- */
/*                                    Forms                                   */
/* -------------------------------------------------------------------------- */
.form-field {
    margin-bottom: 1.5rem;
}
.form-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="password"],
.form-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-small);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
    background-color: rgba(255,255,255,0.8);
}
.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="password"]:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    background-color: #fff;
}
.form-field textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form.glass-effect {
    padding: 2.5rem;
}

/* -------------------------------------------------------------------------- */
/*                                    Header                                  */
/* -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
    padding: 0; /* Override glass-effect padding */
}
.site-header.scrolled {
    background: var(--glass-bg-dark); /* Darker glass when scrolled */
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--glass-border-dark);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-light) !important; /* Ensure logo text is light */
    text-decoration: none;
    font-family: var(--font-family-headings);
}
.logo a span {
    color: var(--accent-color-1) !important;
}
.main-navigation .nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.main-navigation .nav-list li {
    margin-left: 2rem;
}
.main-navigation .nav-list a {
    color: var(--text-light) !important; /* Ensure nav links are light */
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-speed-fast) ease;
    font-size: 1rem;
}
.main-navigation .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-1);
    transition: width var(--transition-speed-normal) var(--easing-hand-drawn);
}
.main-navigation .nav-list a:hover,
.main-navigation .nav-list a.active {
    color: var(--accent-color-1) !important;
    text-decoration: none;
}
.main-navigation .nav-list a:hover::after,
.main-navigation .nav-list a.active::after {
    width: 100%;
}

/* Burger Menu */
.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav list on mobile */
}
.hamburger-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    position: relative;
    transition: transform var(--transition-speed-normal) ease, background-color var(--transition-speed-normal) ease;
}
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: transform var(--transition-speed-normal) ease, top var(--transition-speed-normal) ease, bottom var(--transition-speed-normal) ease;
}
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { bottom: -8px; }

.menu-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent; /* Middle bar disappears */
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}


@media (max-width: 992px) { /* Tablet and mobile */
    .menu-toggle { display: block; }
    .main-navigation .nav-list {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: color-mix(in srgb, var(--background-section-dark) 95%, black);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        border-top: 1px solid var(--glass-border-dark);
    }
    .main-navigation .nav-list.active {
        display: flex;
    }
    .main-navigation .nav-list li {
        margin: 0;
        width: 100%;
    }
    .main-navigation .nav-list a {
        display: block;
        padding: 1rem 1.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .main-navigation .nav-list li:last-child a {
        border-bottom: none;
    }
    .main-navigation .nav-list a::after { display: none; } /* Remove underline effect on mobile */
}

/* -------------------------------------------------------------------------- */
/*                                Hero Section                                */
/* -------------------------------------------------------------------------- */
.hero-section {
    padding-top: var(--header-height); /* Account for fixed header */
    min-height: 90vh; /* Use min-height instead of fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    max-width: 800px;
}
/* Text color is set directly in HTML style attribute for hero, but this is a fallback/override */
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light); /* Ensured by inline style, but good fallback */
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light); /* Ensured by inline style */
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}
.hero-section .btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.parallax-shape { /* Example parallax element styling */
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
    /* JS will handle data-depth movement */
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
}

/* -------------------------------------------------------------------------- */
/*                               About Us Section                             */
/* -------------------------------------------------------------------------- */
.about-us-section {
    background-color: var(--background-section-light);
}
.asymmetric-layout .content-column {
    padding-right: 2rem; /* Space between text and image */
}
.asymmetric-layout .image-column .image-container {
    border-radius: var(--border-radius-large);
    overflow: hidden;
    padding: 0; /* Override glass effect padding for image */
}
.asymmetric-layout .image-column .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-large); /* if no glass effect on container */
}
.about-us-section h3 {
    color: var(--text-dark-strong);
    margin-bottom: 1rem;
}
.about-us-section p {
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .asymmetric-layout .content-column {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                            Media Section (Testimonials)                    */
/* -------------------------------------------------------------------------- */
.media-section {
    background-color: var(--background-light-alt);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Ensure cards in a row have same height if needed */
    padding: 2rem 1.5rem; /* Custom padding for testimonial cards */
}
.testimonial-card .card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--accent-color-1);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    flex-shrink: 0; /* Prevent image from shrinking */
}
.testimonial-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-card .card-content p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.testimonial-card .testimonial-author {
    font-weight: 700;
    color: var(--text-dark-strong);
    margin-bottom: 0.25rem;
}
.testimonial-card .testimonial-role {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* -------------------------------------------------------------------------- */
/*                               Partners Section                             */
/* -------------------------------------------------------------------------- */
.partners-section {
    background-color: var(--background-section-light);
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.partner-logo-container {
    padding: 1.5rem; /* Adjusted padding for logos */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px; /* Ensure some height */
}
.partner-logo-container img {
    max-width: 150px;
    max-height: 75px;
    object-fit: contain;
    filter: grayscale(80%);
    transition: filter var(--transition-speed-normal) ease, transform var(--transition-speed-normal) var(--easing-hand-drawn);
}
.partner-logo-container:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* -------------------------------------------------------------------------- */
/*                        News & Knowledge Base Section                       */
/* -------------------------------------------------------------------------- */
.news-section {
    background-color: var(--background-light-alt);
}
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Make cards in a row same height */
    text-align: left; /* Override general card centering for news */
    padding: 0; /* Glass effect inner provides padding */
}
.news-card .card-image { /* This is the container for the image */
    height: 200px; /* Fixed height for image container */
    overflow: hidden;
    border-top-left-radius: var(--glass-border-radius); /* Match card border radius */
    border-top-right-radius: var(--glass-border-radius);
}
.news-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed-slow) ease;
}
.news-card:hover .card-image img {
    transform: scale(1.1);
}
.news-card .card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to fill space */
    display: flex;
    flex-direction: column;
}
.news-card .news-title {
    font-size: 1.4rem;
    color: var(--text-dark-strong);
    margin-bottom: 0.75rem;
}
.news-card .news-excerpt {
    color: var(--text-gray);
    margin-bottom: 1rem;
    flex-grow: 1; /* Pushes button to bottom */
}
.news-card .btn-secondary {
    align-self: flex-start; /* Align button to left */
}

/* Accordion Styles */
.accordion-container {
    max-width: 800px;
    margin: 2rem auto 0;
}
.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-medium); /* Override glass effect radius if needed */
    overflow: hidden; /* For smooth content toggle */
    padding: 0; /* Glass effect will add padding */
}
.accordion-header {
    background-color: transparent; /* Glass effect handles this */
    color: var(--text-dark-strong);
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed-fast) ease;
}
.accordion-item.glass-effect-light .accordion-header {
    color: var(--text-dark);
}
.accordion-header:hover {
    /* background-color: rgba(0,0,0,0.03); */ /* Subtle hover if not using glass */
}
.accordion-icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transition: transform var(--transition-speed-normal) var(--easing-hand-drawn);
    margin-left: 1rem;
}
.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(-135deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed-normal) ease-in-out, padding var(--transition-speed-normal) ease-in-out;
    padding: 0 1.5rem; /* Horizontal padding only when closed */
}
.accordion-content p {
    color: var(--text-gray);
    margin: 0;
}
.accordion-header[aria-expanded="true"] + .accordion-content {
    /* max-height will be set by JS, or a large enough value like 500px */
    padding: 1.5rem; /* Full padding when open */
}

/* -------------------------------------------------------------------------- */
/*                         External Resources Section                         */
/* -------------------------------------------------------------------------- */
.external-resources-section {
    background-color: var(--neutral-light);
}
.resource-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem; /* Custom padding for resource cards */
}
.resource-card .resource-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.resource-card .resource-title a {
    color: var(--primary-color);
    text-decoration: none;
}
.resource-card .resource-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.resource-card .resource-description {
    font-size: 0.95rem;
    color: var(--text-gray);
    flex-grow: 1;
}

/* -------------------------------------------------------------------------- */
/*                               Contact Section                              */
/* -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--background-section-light);
    background-size: cover;
    background-position: center;
}
.contact-layout .column.is-two-thirds {
    padding-right: 2rem;
}
.contact-details {
    padding: 2rem;
}
.contact-details h3, .contact-details h4 {
    color: var(--text-dark-strong) !important; /* Override potential glass-effect-light text color */
    margin-bottom: 1rem;
}
.contact-details p {
    color: var(--text-gray) !important;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.contact-details p strong {
    color: var(--text-dark) !important;
}
.map-placeholder.image-container {
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    height: 200px;
}
.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .contact-layout .column.is-two-thirds {
        padding-right: 0.75rem; /* Bulma default */
        margin-bottom: 2rem;
    }
}

/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--background-section-dark);
    padding-top: 3rem;
    padding-bottom: 1rem;
    color: var(--text-light);
}
.site-footer.glass-effect-dark {
    padding: var(--glass-padding); /* Use glass padding */
    padding-bottom: 1rem; /* Adjust bottom padding */
}
.footer-container .footer-heading {
    font-size: 1.3rem;
    color: var(--text-light) !important;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-container .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color-1);
}
.site-footer p {
    color: #adb5bd; /* Lighter gray for footer text */
    font-size: 0.95rem;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #ced4da !important;
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease, padding-left var(--transition-speed-fast) ease;
}
.footer-links a:hover {
    color: var(--accent-color-1) !important;
    padding-left: 5px;
    text-decoration: none;
}
.social-media-links-text {
    list-style: none;
    padding: 0;
}
.social-media-links-text li {
    margin-bottom: 0.5rem;
}
.social-media-links-text a {
    color: #ced4da !important;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease;
}
.social-media-links-text a:hover {
    color: var(--accent-color-1) !important;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.9rem;
    color: #adb5bd;
}

@media (max-width: 768px) {
    .footer-columns .column {
        margin-bottom: 2rem;
        text-align: center;
    }
    .footer-columns .column:last-child {
        margin-bottom: 0;
    }
    .footer-container .footer-heading::after {
        margin-left: auto;
        margin-right: auto;
    }
}

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

/* For success.html */
.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    background-color: var(--background-body);
}
.success-content {
    background-color: var(--background-section-light);
    padding: 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.success-content h1 {
    color: var(--accent-color-2); /* Green for success */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.success-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* For privacy.html and terms.html */
.legal-page-content {
    padding-top: calc(var(--header-height) + 3rem); /* Header height + extra space */
    padding-bottom: 3rem;
    background-color: var(--background-section-light);
}
.legal-page-content .container {
    max-width: 900px; /* Narrower container for text-heavy pages */
}
.legal-page-content h1 {
    margin-bottom: 2rem;
    text-align: center;
}
.legal-page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}
.legal-page-content p, .legal-page-content li {
    color: var(--text-dark);
    line-height: 1.8;
}
.legal-page-content ul, .legal-page-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------- */
/*                        ScrollReveal Initial States                         */
/* -------------------------------------------------------------------------- */
/* Add classes like .sr-bottom, .sr-left, etc. in HTML for ScrollReveal */
.sr-hidden { visibility: hidden; } /* Initial state for ScrollReveal */

/* Example states for ScrollReveal (JS will add 'is-visible' or similar) */
.sr-bottom, .sr-left, .sr-right, .sr-scale-up, .sr-fade-in {
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.sr-bottom { transform: translateY(50px); }
.sr-left { transform: translateX(-50px); }
.sr-right { transform: translateX(50px); }
.sr-scale-up { transform: scale(0.8); }

/* Delays - can be set via JS options, but good to have CSS fallbacks if needed */
.sr-delay-1 { transition-delay: 0.1s !important; }
.sr-delay-2 { transition-delay: 0.2s !important; }
.sr-delay-3 { transition-delay: 0.3s !important; }


/* Cookie Consent Popup (from HTML, basic styling) */
#cookie-consent-popup {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-consent-popup p a:hover {
    text-decoration: underline;
}
#accept-cookie-consent:hover {
    background-color: color-mix(in srgb, var(--accent-color-1) 90%, black) !important;
}

/* General Card Centering (as per strict rules) */
.card, .item, .testimonial-card, .product-card { /* Add other card-like classes if any */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers flex items (like card-image, card-content) horizontally */
    text-align: center; /* Centers inline/text content within block elements */
}

.card .card-image, .item .image-container, .testimonial-card .card-image, .product-card .card-image { /* Image container */
    margin-bottom: 1rem; /* Space between image and content */
    /* Fixed height can be set here or on individual card types if they vary */
    /* e.g., height: 200px; */
    /* width: 100%; Ensures it takes up card width before image object-fit */
    overflow: hidden; /* Crucial for object-fit and border-radius */
}

.card .card-image img, .item .image-container img, .testimonial-card .card-image img, .product-card .card-image img {
    object-fit: cover; /* Ensures image covers the container, might crop */
    width: 100%; /* Makes image responsive within its container */
    height: 100%; /* Makes image fill the fixed height of its container */
    margin: 0 auto; /* Centers block-level image if its container is wider */
    display: block; /* Removes extra space below image */
}

.card .card-content, .item .content, .testimonial-card .card-content, .product-card .card-content {
    width: 100%; /* Ensure content block takes full width for text-align to work */
}

/* Ensure text within specific card elements is centered if not by default */
.testimonial-card .card-content {
    text-align: center;
}