/* style.css */

/* -------------------------------------------------------------------
    [Table of contents]
    -------------------------------------------------------------------

    0.  Reset & Base Styles
    1.  CSS Variables (Root)
    2.  Typography
    3.  Layout & Container
    4.  Global Components
        4.1 Buttons
        4.2 Forms
        4.3 Cards (Base)
    5.  Header & Navigation
    6.  Footer
    7.  Page Sections
        7.1 Hero Section
        7.2 Content Sections (General)
        7.3 Image Gallery / Cards Container
        7.4 Specific Sections (About App, Events, Webinars, Blog, External Links, FAQ, Contact Main)
    8.  Page-Specific Styles
        8.1 About Page
        8.2 Contact Page
        8.3 Legal Pages (Privacy, Terms)
        8.4 Success Page
    9.  Utility Classes
    10. Animations & Transitions (Animate.css is linked)
    11. Cookie Consent Popup
    12. Media Queries (Responsiveness)

------------------------------------------------------------------- */

/* -------------------------------------------------------------------
    0. Reset & 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-secondary);
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color var(--transition-main);
}

a:hover {
    color: var(--color-accent-dark);
}

/* -------------------------------------------------------------------
    1. CSS Variables (Root)
------------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Work Sans', sans-serif;

    /* Pastel Color Palette */
    --color-primary: #A0D2DB; /* Soft Pastel Blue/Teal */
    --color-primary-dark: #78C1C9;
    --color-secondary-peach: #FFDAC1; /* Soft Peach */
    --color-accent: #FF9AA2; /* Bright Pastel Pink/Coral */
    --color-accent-dark: #E0858B;

    /* Text Colors */
    --color-text-light: #FFFFFF;
    --color-text-dark: #4A4A4A;
    --color-text-darker: #2C3E50; /* For main headings */
    --color-text-medium: #6c757d; /* For subtitles/less important text */

    /* Background Colors */
    --color-bg-light: #FFF9F0; /* Creamy White */
    --color-bg-pastel-section: #F0F8FF; /* AliceBlue - for alternating sections */
    --color-bg-dark-overlay: rgba(0, 0, 0, 0.5);
    --color-bg-footer: #2C3E50; /* Dark Desaturated Blue for Footer */

    /* Shadows & Borders */
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-volumetric: 3px 3px 6px rgba(0,0,0,0.1), -2px -2px 4px rgba(255,255,255,0.7); /* For light backgrounds */
    --shadow-volumetric-dark-bg: 3px 3px 6px rgba(0,0,0,0.3), -2px -2px 4px rgba(255,255,255,0.1); /* For darker elements */
    --border-radius-small: 8px;
    --border-radius-main: 15px; /* For volumetric elements */
    --border-radius-large: 25px;

    /* Transitions */
    --transition-main: 0.3s ease-in-out;
    --transition-morph: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* For morphing effects */

    /* Layout */
    --container-width: 1140px;
    --container-padding: 20px;
    --header-height: 80px; /* Adjust as needed */
}

/* -------------------------------------------------------------------
    2. Typography
------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-text-darker);
    line-height: 1.3;
    margin-bottom: 0.75em;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); } /* Responsive font size */
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
    font-size: 1rem; /* 16px */
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-text-darker);
    font-weight: 700;
}

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

.page-main-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    color: var(--color-text-light); /* Ensure white on hero-like banners */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    text-align: center;
}

.inline-link {
    font-weight: 600;
    text-decoration: underline;
    color: var(--color-accent);
}
.inline-link:hover {
    color: var(--color-accent-dark);
}

/* -------------------------------------------------------------------
    3. Layout & Container
------------------------------------------------------------------- */
.site-container {
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.narrow-container {
    max-width: 800px;
}

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

/* -------------------------------------------------------------------
    4. Global Components
------------------------------------------------------------------- */

/* 4.1 Buttons */
.cta-button, .cta-button-small, .volumetric-button, .volumetric-button-alt, .form-button {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: none;
    transition: all var(--transition-morph);
    text-decoration: none; /* Ensure links styled as buttons don't have underline */
}

.cta-button, .volumetric-button, .form-button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius-large);
    background-color: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: var(--shadow-volumetric);
    letter-spacing: 0.5px;
}

.cta-button:hover, .volumetric-button:hover, .form-button:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15), -3px -3px 6px rgba(255,255,255,0.75);
    color: var(--color-text-light);
}

.cta-button:active, .volumetric-button:active, .form-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2), inset -2px -2px 5px rgba(255,255,255,0.6);
}

.cta-button-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: var(--border-radius-main);
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-volumetric);
}
.cta-button-small:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px) scale(1.02);
     box-shadow: 0 6px 12px rgba(0,0,0,0.12), -2px -2px 4px rgba(255,255,255,0.7);
    color: var(--color-text-light);
}

.volumetric-button-alt { /* For secondary actions like FAQ buttons */
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--border-radius-main);
    background-color: var(--color-bg-light);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.05), -1px -1px 2px rgba(255,255,255,0.5);
    width: 100%; /* For FAQ questions to take full width */
    text-align: left;
}

.volumetric-button-alt:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 3px 3px 6px rgba(0,0,0,0.1), -2px -2px 4px rgba(255,255,255,0.7);
}

/* 4.2 Forms */
.contact-form {
    background-color: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text-darker);
    margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #fff; /* Slightly whiter than page bg */
    border: 1px solid #ced4da; /* Neutral border */
    border-radius: var(--border-radius-small);
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.05);
    transition: border-color var(--transition-main), box-shadow var(--transition-main);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25), inset 1px 1px 3px rgba(0,0,0,0.05); /* Use RGB version of primary for transparent shadow */
    outline: none;
}
:root { /* Add RGB version for box-shadow */
    --color-primary-rgb: 160, 210, 219; /* RGB for #A0D2DB */
}

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

.form-submit-group {
    text-align: center;
    margin-top: 2rem;
}

/* 4.3 Cards (Base) */
.card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-main);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform var(--transition-main), box-shadow var(--transition-main);
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a grid */
}

.card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 200px; /* Default height, can be overridden */
    overflow: hidden;
    display: flex; /* For centering image if needed, and helps with object-fit */
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-pastel-section); /* Placeholder bg for images */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to fill space, useful for equal height cards */
    display: flex;
    flex-direction: column;
}
.card-content p:last-child {
    margin-bottom: 0;
}
.card-content .card-title, .card-content .card-title-small {
    color: var(--color-text-darker);
    margin-top: 0; /* Reset top margin for titles in cards */
}
.card-title-small {
    font-size: 1.2rem;
    font-weight: 600;
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    flex-grow: 1; /* Pushes buttons/links to bottom if card uses flex for content */
}
.card-info {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 0.5rem !important;
}
.card-info strong {
    color: var(--color-text-dark);
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-primary);
}
.read-more-link:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}
.card-content .cta-button-small { /* Specific margin for buttons in cards */
    margin-top: auto; /* Pushes button to the bottom */
    align-self: flex-start; /* Aligns button to the left if card-content is flex */
}

/* -------------------------------------------------------------------
    5. Header & Navigation
------------------------------------------------------------------- */
.site-header {
    background-color: rgba(255, 249, 240, 0.85); /* Semi-transparent light background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: var(--header-height);
}

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

.logo-link {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
}
.logo-link:hover {
    color: var(--color-accent-dark);
}

.main-navigation .nav-list {
    display: flex;
    align-items: center;
}

.main-navigation .nav-item {
    margin-left: 1.8rem;
}

.main-navigation .nav-link {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-darker);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-main);
}

.main-navigation .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-main);
}

.main-navigation .nav-link:hover,
.main-navigation .nav-link.active {
    color: var(--color-accent);
}

.main-navigation .nav-link:hover::after,
.main-navigation .nav-link.active::after {
    width: 100%;
}

.nav-toggle { /* Hamburger */
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Above nav list on mobile */
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-darker);
    transition: background-color 0s 0.2s linear; /* Delay disappearance for smooth X formation */
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-darker);
    transition: transform 0.2s ease-in-out, top 0.2s 0.2s ease-in-out, bottom 0.2s 0.2s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Styles for when mobile menu is open */
.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent; /* Middle bar disappears */
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    transition: top 0.2s ease-in-out, transform 0.2s 0.2s ease-in-out;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
    transition: bottom 0.2s ease-in-out, transform 0.2s 0.2s ease-in-out;
}

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

/* -------------------------------------------------------------------
    6. Footer
------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-bg-footer);
    color: var(--color-text-light);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-nav .nav-list-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.nav-link-footer {
    color: var(--color-primary); /* Lighter color for links on dark bg */
    font-weight: 500;
    transition: color var(--transition-main);
}

.nav-link-footer:hover {
    color: var(--color-secondary-peach);
}

.footer-social p {
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.social-link-text {
    color: var(--color-primary);
    margin: 0 0.5rem;
    font-weight: 500;
}
.social-link-text:hover {
    color: var(--color-secondary-peach);
    text-decoration: underline;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    opacity: 0.8;
    margin-bottom: 0;
}

/* -------------------------------------------------------------------
    7. Page Sections
------------------------------------------------------------------- */

/* 7.1 Hero Section */
.hero-section {
    position: relative;
    color: var(--color-text-light);
    padding: clamp(4rem, 10vh, 8rem) 0; /* Responsive padding */
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax-bg {
    background-attachment: fixed; /* Simple parallax */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--color-text-light); /* Already set in HTML, ensure here */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--color-text-light); /* Already set in HTML, ensure here */
    max-width: 750px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-section .cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

/* 7.2 Content Sections (General) */
.content-section {
    padding: 4rem 0;
}

.content-section.pastel-bg {
    background-color: var(--color-bg-pastel-section);
}

/* 7.3 Image Gallery / Cards Container */
.image-gallery, .cards-container, .external-links-grid, .faq-accordion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 2rem;
    margin-top: 3rem;
}

.image-card .card-image { height: 230px; }
.info-card .card-image { height: 180px; }
.blog-card .card-image { height: 210px; }

/* Adjust for specific column needs if any, e.g., two-thirds */
/* For example, if a single item needs to span more:
.cards-container .card.is-two-thirds {
    grid-column: span 2; (if using a 3-column base grid)
}
For now, auto-fit should handle distribution well.
*/

/* 7.4 Specific Sections Styling */

/* About App Section (already covered by general card styles) */

/* Events Section */
.info-card .card-content {
    text-align: left; /* Override default center for info cards if needed */
}

/* Webinars Section (similar to Events) */

/* Blog Section */
.blog-card .card-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.blog-excerpt {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.blog-card .read-more-link {
    margin-top: auto; /* Pushes to bottom */
    align-self: flex-start;
}

/* External Links Section */
.external-link-card {
    background-color: var(--color-bg-pastel-section); /* Slightly different bg for these cards */
    border: 1px solid var(--color-primary);
    padding: 1.5rem;
}
.external-link-card h3 a {
    color: var(--color-text-darker);
    font-size: 1.2rem;
    text-decoration: none;
}
.external-link-card h3 a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}
.external-link-card p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-main);
    overflow: hidden; /* For smooth transition */
    background-color: var(--color-bg-light);
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    background-color: transparent; /* Use card's bg */
    border: none; /* Remove default button border */
    color: var(--color-text-darker);
    cursor: pointer;
    position: relative;
    transition: background-color var(--transition-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover {
    background-color: var(--color-bg-pastel-section); /* Slight hover change */
    color: var(--color-accent);
}
.faq-question::after { /* Plus/Minus icon */
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--transition-main);
}
.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
    content: '×'; /* Using multiplication sign for X */
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}
.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--color-text-medium);
    line-height: 1.7;
}
.faq-question[aria-expanded="true"] + .faq-answer {
    /* max-height will be set by JS to scrollHeight */
    padding-bottom: 1.5rem; /* Ensure padding is applied when open */
}

/* Contact Main Section (simple text and button) */

/* -------------------------------------------------------------------
    8. Page-Specific Styles
------------------------------------------------------------------- */
.page-title-section { /* For About, Contact, Legal pages */
    position: relative;
    padding: 4rem 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-text-light);
}
.page-title-section .hero-overlay { /* Re-use hero overlay */
    z-index: 1;
}
.page-title-section .container {
    position: relative;
    z-index: 2;
}

/* 8.1 About Page */
#our-story .image-container-full {
    margin: 2rem auto;
    max-width: 800px;
    border-radius: var(--border-radius-main);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.mission-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 1.5rem;
}
.mission-list li {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}
.mission-list li strong {
    color: var(--color-text-darker);
    font-family: var(--font-primary);
}
#chicken-contexts .image-gallery .card-image { height: 230px; } /* Ensure consistency */

/* 8.2 Contact Page */
#contact-info .social-links-contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.social-contact-button {
    min-width: 250px; /* Make buttons a decent size */
    text-align: center;
}

/* 8.3 Legal Pages (Privacy, Terms) */
.legal-content.content-section {
    padding-top: 2rem; /* Initial padding, JS might adjust for header */
    padding-bottom: 4rem;
}
.legal-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-darker);
    font-size: 1.5rem;
}
.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content li {
    margin-bottom: 0.5rem;
}

/* 8.4 Success Page */
#success-message.content-section {
    min-height: calc(100vh - var(--header-height) - var(--footer-height, 200px)); /* Approximate footer height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}
.success-icon-container {
    margin-bottom: 2rem;
}
.success-icon {
    width: 120px;
    height: 120px;
}
#success-message .section-title {
    color: var(--color-accent);
}

/* -------------------------------------------------------------------
    9. Utility Classes
------------------------------------------------------------------- */
.parallax-bg { /* For simple parallax */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.responsive-image {
    max-width: 100%;
    height: auto;
}

.animate__animated { /* Animate.css class */
    /* Add any custom delays or settings for Animate.css if needed */
    /* Example: visibility: hidden; before animation */
}
.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);
}


/* -------------------------------------------------------------------
    10. Animations & Transitions
------------------------------------------------------------------- */
/* Most transitions are defined inline with elements (e.g., buttons, cards) */
/* Placeholder for more complex Anime.js driven animations if needed */


/* -------------------------------------------------------------------
    11. Cookie Consent Popup
------------------------------------------------------------------- */
/* Styles are mostly inline in HTML, this is for overrides or additions if needed */
#cookieConsentPopup {
    /* z-index and positioning set in HTML */
    font-family: var(--font-secondary);
}
#cookieConsentPopup p a {
    font-weight: bold;
}
#acceptCookieConsent {
    font-family: var(--font-primary);
}

/* -------------------------------------------------------------------
    12. Media Queries (Responsiveness)
------------------------------------------------------------------- */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section-title { margin-bottom: 2rem; }
    .section-intro { font-size: 1rem; margin-bottom: 2rem; }

    .image-gallery, .cards-container, .external-links-grid, .faq-accordion {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    :root {
        --header-height: 70px;
    }
    .main-navigation .nav-list {
        position: fixed;
        top: 0; /* Align with header top */
        right: 0;
        width: min(75vw, 300px); /* Max width for menu */
        height: 100vh;
        background-color: var(--color-bg-light);
        flex-direction: column;
        align-items: flex-start; /* Align items left */
        padding: calc(var(--header-height) + 2rem) 2rem 2rem; /* Padding below header */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }

    .main-navigation .nav-list.nav-active {
        transform: translateX(0);
    }

    .main-navigation .nav-item {
        margin-left: 0;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    .main-navigation .nav-link {
        display: block; /* Make links take full width */
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    .main-navigation .nav-link::after {
        display: none; /* Remove underline effect for mobile */
    }

    .nav-toggle {
        display: block; /* Show hamburger */
    }

    .hero-section { padding: 3rem 0; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }

    .content-section { padding: 2.5rem 0; }

    .footer-nav .nav-list-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    .contact-form { padding: 1.5rem; }
    .image-gallery, .cards-container, .external-links-grid, .faq-accordion {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    :root {
        --container-padding: 15px;
    }
    .cta-button, .volumetric-button, .form-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    .logo-link { font-size: 1.5rem; }
}