/* Global Styles & CSS Variables */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'IBM Plex Sans', sans-serif;

    /* Bright Color Scheme */
    --color-primary: #007bff; /* Bright Blue */
    --color-primary-dark: #0056b3;
    --color-secondary: #ffc107; /* Bright Yellow/Orange Accent */
    --color-accent: #28a745; /* Bright Green for success/positive actions */
    --color-accent-dark: #1e7e34;

    --color-text-light: #FFFFFF;
    --color-text-dark: #333333;
    --color-text-medium: #555555;
    --color-text-headings: #222222; /* Darker for strong contrast */
    --color-background-light: #ffffff;
    --color-background-medium: #f8f9fa; /* Light grey for subtle section differentiation */
    --color-background-dark: #2c3e50; /* Darker blue-grey for footer */


    /* Glassmorphism */
    --glass-background-light: rgba(255, 255, 255, 0.1);
    --glass-background-medium: rgba(230, 230, 250, 0.15); /* Light lavender tint */
    --glass-border-light: rgba(255, 255, 255, 0.2);
    --glass-blur: 8px;
    --glass-shadow: 0 8px 24px 0 rgba(31, 38, 135, 0.1);

    /* Volumetric UI */
    --volumetric-shadow-light: 0 3px 5px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --volumetric-shadow-medium: 0 8px 12px -2px rgba(0, 0, 0, 0.1), 0 3px 5px -1px rgba(0, 0, 0, 0.05);
    --volumetric-shadow-lifted: 0 5px 10px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);

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

    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;

    --header-height: 70px;
    --footer-height-approx: 250px; /* Approximate for min-height calculations */
}

*,
*::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-secondary);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    overflow-x: hidden; /* Prevent horizontal scroll from AOS or other animations */
}

/* Particle Animation Container */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
#hero-particles { /* If used specifically in hero */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}


/* Layout Helpers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-headings);
    margin-bottom: 0.75em;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
    text-align: center;
    color: var(--color-text-headings); /* Ensure high contrast */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em;
}

p {
    margin-bottom: 1em;
    color: var(--color-text-dark);
}

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

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

ul, ol {
    list-style: none;
    padding-left: 0;
}

/* Main Container - for content below fixed header */
.main-container {
    padding-top: var(--header-height);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
    padding: 10px 0;
}
.site-header.scrolled, .site-header.glass-effect { /* Apply glass effect when scrolled or always if class is present */
    background-color: var(--glass-background-medium);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}
.logo {
    font-family: var(--font-primary);
    font-size: 1.8em;
    font-weight: 800;
    color: var(--color-text-headings);
    text-decoration: none;
}
.logo span {
    color: var(--color-primary);
}
.main-nav .nav-menu {
    display: flex;
    list-style: none;
}
.main-nav .nav-menu li {
    margin-left: 25px;
}
.main-nav .nav-menu a {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--color-text-dark); /* Ensure readability on glass background */
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}
.main-nav .nav-menu a:hover,
.main-nav .nav-menu a.active {
    color: var(--color-primary);
}
.main-nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-medium);
}
.main-nav .nav-menu a:hover::after,
.main-nav .nav-menu a.active::after {
    width: 100%;
}
.nav-toggle { /* Mobile Menu Button */
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-headings);
    margin: 5px 0;
    transition: all var(--transition-medium);
}

/* Global Button Styles */
.btn, button[type="submit"], input[type="submit"] {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.5; /* Ensure consistent height */
}

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

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark); /* Good contrast with yellow */
    border-color: var(--color-secondary);
}
.btn-secondary:hover {
    background-color: #e0a800; /* Darker yellow */
    border-color: #d39e00;
    color: var(--color-text-dark);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Volumetric UI for Buttons */
.volumetric-button {
    box-shadow: var(--volumetric-shadow-medium);
    position: relative;
    top: 0;
}
.volumetric-button:hover {
    top: -2px; /* Lift effect */
    box-shadow: var(--volumetric-shadow-lifted);
    transform: translateY(-1px); /* Slight lift */
}
.volumetric-button:active {
    top: 0px;
    box-shadow: var(--volumetric-shadow-light); /* Press effect */
}

/* Glassmorphism Effect */
.glass-effect {
    background: var(--glass-background-light);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--border-radius-large);
    border: 1px solid var(--glass-border-light);
    box-shadow: var(--glass-shadow);
    padding: 25px;
    overflow: hidden; /* Important for child elements with negative margins or absolute positioning */
}
.glass-effect-darker { /* For elements on darker backgrounds or needing more definition */
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--glass-shadow);
    padding: 25px;
}


/* --- Section Specific Styles --- */

/* Hero Section */
.hero-section {
    min-height: 85vh; /* Natural height based on content, but with a minimum */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 100px 0; /* Add some padding for content spacing */
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5em;
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Strong shadow for readability */
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5em;
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.7;
}
.hero-section .btn-primary {
    padding: 1em 2.5em;
    font-size: 1.1rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.stat-item {
    text-align: center;
    padding: 30px 20px;
}
.stat-item h3 {
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 0.1em;
}
.stat-item p:first-of-type { /* "Años de Experiencia" */
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: 0.5em;
}
.stat-item p:last-of-type { /* Description */
    font-size: 0.9rem;
    color: var(--color-text-medium);
}

/* Card Styles (Generic for Services, Pricing, etc.) */
.card {
    background-color: var(--color-background-light); /* Solid background for content readability inside glass */
    border-radius: var(--border-radius-medium); /* Inner radius */
    box-shadow: var(--volumetric-shadow-light); /* Subtle shadow for depth */
    display: flex;
    flex-direction: column;
    text-align: left; /* Default text align for card content */
    height: 100%; /* Make cards in a grid same height */
    overflow: hidden; /* For image containers */
}
.glass-effect .card { /* If card is direct child of glass-effect, it might not need its own glass */
    background-color: rgba(255, 255, 255, 0.8); /* Less transparent than parent for readability */
    backdrop-filter: blur(3px); /* Subtle inner blur */
    box-shadow: none; /* Shadow is on the parent glass-effect */
    padding: 20px;
}
.card-image { /* Container for the image */
    width: 100%;
    height: 220px; /* Fixed height for consistent card appearance */
    overflow: hidden;
    border-top-left-radius: var(--border-radius-medium);
    border-top-right-radius: var(--border-radius-medium);
    display: flex; /* For alignment if needed, though object-fit should handle */
    justify-content: center;
    align-items: center;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: 20px;
    flex-grow: 1; /* Allows content to fill space, useful for equal height cards */
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5em;
    color: var(--color-primary-dark);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    flex-grow: 1; /* Pushes button to bottom if present */
    margin-bottom: 1em;
}
.card .btn {
    margin-top: auto; /* Pushes button to the bottom */
    align-self: flex-start; /* Default button alignment */
}
.card.text-center .card-content, .card.text-center .card-title {
    text-align: center;
}
.card.text-center .btn {
    align-self: center;
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Customer Stories Section */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.story-card {
    padding: 25px; /* Override default card padding if needed */
    text-align: center;
}
.story-card .image-container { /* Specific container for customer photo */
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    border: 3px solid var(--color-primary);
    box-shadow: var(--volumetric-shadow-light);
}
.story-card .customer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.customer-name {
    font-size: 1.3rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.2em;
}
.customer-role {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 1em;
    font-style: italic;
}
.customer-quote {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding: 0 10px;
}
.customer-quote::before {
    content: '“';
    font-size: 2.5rem;
    color: var(--color-primary);
    position: absolute;
    left: -10px;
    top: -5px;
    opacity: 0.6;
}
.customer-quote::after {
    content: '”';
    font-size: 2.5rem;
    color: var(--color-primary);
    position: absolute;
    right: -10px;
    bottom: -15px;
    opacity: 0.6;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch; /* Make cards same height by default */
}
.pricing-card {
    text-align: center;
    padding-top: 30px; /* More space at top */
    padding-bottom: 30px;
}
.pricing-card.popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.03); /* Make popular slightly bigger */
    position: relative;
    z-index: 10;
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 5px 15px;
    border-radius: var(--border-radius-small);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}
.pricing-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.2em;
}
.pricing-period {
    font-size: 1rem;
    color: var(--color-text-medium);
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    min-height: 150px; /* Ensure space for features */
}
.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: var(--color-text-dark);
    font-size: 0.95rem;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-features li::before {
    content: '✓';
    color: var(--color-accent);
    margin-right: 10px;
    font-weight: bold;
}
.pricing-card .btn {
    margin-top: 15px; /* Override default card button margin */
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--volumetric-shadow-light);
    height: 230px; /* Consistent height */
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}
.gallery-item::after { /* Optional overlay for text or icon on hover */
    content: ''; /* Add text/icon here or via JS */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem; /* For an icon if used */
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Events Section */
.events-list .event-card { /* Uses .card structure */
    margin-bottom: 30px;
    display: flex; /* For side-by-side image and content on wider screens */
    flex-direction: column; /* Default for mobile */
}
.event-card .card-image {
    height: 200px; /* Specific height for event images */
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0; /* Top radius */
}
.event-title {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
}
.event-date {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: bold;
    margin-bottom: 1em;
}

/* Careers Section */
#careers img {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--volumetric-shadow-medium);
    margin-bottom: 30px;
}
#careers .btn {
    margin-top: 20px;
}

/* External Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.resource-card { /* Uses .card structure */
    padding: 20px;
}
.resource-card .card-content {
    padding: 0; /* Remove default card-content padding if card itself has padding */
}
.resource-title a {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    font-weight: bold;
    text-decoration: none;
}
.resource-title a:hover {
    text-decoration: underline;
}
.resource-card p {
    font-size: 0.9rem;
    margin-top: 0.5em;
    color: var(--color-text-medium);
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius-medium); /* Use card's radius if glass effect is applied here directly */
    overflow: hidden; /* For smooth collapse */
}
.faq-item.glass-effect {
    padding: 0; /* Remove padding if .faq-question will have its own */
}
.faq-question {
    width: 100%;
    background-color: transparent; /* Assuming parent .faq-item has glass */
    /* If .faq-item is not glass, add glass styles to .faq-question */
    /* background: var(--glass-background-light); backdrop-filter: blur(var(--glass-blur)); */
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-dark); /* Ensure readability */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}
.faq-item.glass-effect .faq-question { /* If faq-item is glass, question is transparent */
    color: var(--color-text-dark); /* Ensure high contrast */
}
.faq-question:hover {
    /* background-color: rgba(0,0,0,0.03); /* Subtle hover if not glass */
}
.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    transition: transform var(--transition-medium);
}
.faq-answer {
    padding: 0 25px 20px 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium) ease-in-out, padding var(--transition-medium) ease-in-out;
}
.faq-answer p {
    color: var(--color-text-medium); /* Ensure readability */
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 10px;
    padding-bottom: 20px;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Contact Section */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px; /* Glass effect padding */
}
.form-group {
    margin-bottom: 1.5em;
}
.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: var(--color-text-dark); /* Ensure readability on glass */
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.8em 1em;
    font-size: 1rem;
    font-family: var(--font-secondary);
    line-height: 1.5;
    color: var(--color-text-dark);
    background-color: rgba(255, 255, 255, 0.7); /* Slightly transparent */
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: var(--border-radius-small);
    box-shadow: var(--volumetric-shadow-light);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.form-control::placeholder {
    color: #999;
    opacity: 1;
}
.form-control:focus {
    color: var(--color-text-dark);
    background-color: rgba(255, 255, 255, 0.9);
    border-color: var(--color-primary);
    outline: 0;
    box-shadow: var(--volumetric-shadow-lifted), 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.contact-details {
    margin-top: 40px;
    text-align: center;
}
.contact-details p {
    color: var(--color-text-dark);
    margin-bottom: 0.5em;
    font-size: 1.05rem;
}
.contact-details strong {
    color: var(--color-text-headings);
}
.contact-details a {
    color: var(--color-primary);
    font-weight: 500;
}
.contact-details a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: var(--color-background-dark);
    color: #bbbbbb; /* Lighter grey for footer text */
    padding: 50px 0 20px 0;
    font-size: 0.9rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h4 {
    font-size: 1.2rem;
    color: var(--color-text-light); /* White or very light grey for headings */
    margin-bottom: 1em;
    font-weight: 700;
}
.footer-links li, .footer-social-text li {
    margin-bottom: 0.7em;
}
.footer-links a, .footer-social-text a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-links a:hover, .footer-social-text a:hover {
    color: var(--color-secondary); /* Accent color on hover */
    padding-left: 5px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #aaaaaa;
}

/* "Read More" Link Style */
.read-more-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: color var(--transition-fast), transform var(--transition-fast);
    font-size: 0.95rem;
}
.read-more-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}
.read-more-link::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.2s ease-out;
}
.read-more-link:hover::after {
    transform: translateX(2px);
}


/* Specific Page Styles */

/* For privacy.html and terms.html */
body.privacy-page .main-container,
body.terms-page .main-container {
    padding-top: calc(var(--header-height) + 40px); /* Header height + some extra space */
    padding-bottom: 60px; /* Ensure content doesn't stick to footer */
    min-height: calc(100vh - var(--header-height) - var(--footer-height-approx)); /* Ensure they fill space */
}
/* If not using body class, you might target a wrapper inside those pages */
.static-page-content { /* Add this class to main content div on privacy/terms pages */
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height-approx));
}
.static-page-content h1 {
    margin-bottom: 1em;
    font-size: 2.2rem;
}
.static-page-content h2 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-size: 1.8rem;
}
.static-page-content p, .static-page-content li {
    line-height: 1.7;
    margin-bottom: 1em;
}
.static-page-content ul {
    list-style: disc;
    padding-left: 25px;
}

/* Success Page (success.html) */
body.success-page { /* Add class="success-page" to body tag of success.html */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    background-color: var(--color-background-medium);
}
.success-message-container {
    background-color: var(--color-background-light);
    padding: 40px 50px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--volumetric-shadow-medium);
    max-width: 500px;
}
.success-message-container h1 {
    color: var(--color-accent);
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}
.success-message-container p {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}
/* .btn styles will apply to the button on success page */


/* Cookie Consent Popup */
#cookieConsentPopup {
    /* Styles are inline in HTML for this specific request */
    /* Basic font consistency if needed */
    font-family: var(--font-secondary);
}
#cookieConsentPopup p {
    color: var(--color-text-light); /* Override if needed from HTML inline style */
}
#acceptCookieButton {
    /* Styles are inline in HTML */
    font-weight: bold;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .pricing-card.popular {
        transform: scale(1); /* No scaling on smaller screens to save space */
    }
    .events-list .event-card {
        flex-direction: column; /* Stack image and content */
    }
    .event-card .card-image {
        height: 200px; /* Reset height if it was different for desktop flex */
        border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
    }
     .event-card .card-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px; /* Smaller header on mobile */
    }
    .section-padding {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-section {
        min-height: 70vh;
        padding: 60px 0;
    }

    .nav-toggle {
        display: block;
        z-index: 1001; /* Above nav menu */
    }
    .main-nav .nav-menu {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-background-light); /* Solid background for mobile menu */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: calc(var(--header-height) + 20px);
        transform: translateX(100%);
        transition: transform var(--transition-medium);
    }
    .main-nav .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }
    .main-nav .nav-menu li {
        margin-left: 0;
        width: 100%;
    }
    .main-nav .nav-menu a {
        display: block;
        padding: 15px 25px;
        font-size: 1.1rem;
        color: var(--color-text-dark); /* Ensure readability */
        border-bottom: 1px solid #eee;
    }
    .main-nav .nav-menu a::after { /* Remove underline effect for mobile list view */
        display: none;
    }
    .main-nav .nav-menu a:hover,
    .main-nav .nav-menu a.active {
        background-color: var(--color-background-medium);
        color: var(--color-primary);
    }

    /* Toggle animation */
    .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);
    }

    .stats-grid,
    .services-grid,
    .stories-grid,
    .pricing-grid,
    .gallery-grid,
    .resources-grid {
        grid-template-columns: 1fr; /* Stack cards */
        gap: 20px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column h4 {
        margin-top: 10px;
    }
    .footer-links a:hover, .footer-social-text a:hover {
        padding-left: 0; /* No shift on mobile */
    }
}