/* style.css */

/* -------------------------------------------------------------------
   1. CSS Variables (Root)
------------------------------------------------------------------- */
:root {
    /* Analogous Color Scheme & Core Theme Colors */
    --primary-color: #0D47A1; /* Deep Indigo Blue - Main */
    --primary-color-darker: #0A3A82;
    --secondary-color: #1565C0; /* Bright Blue - Secondary */
    --accent-color: #42A5F5; /* Light Sky Blue - Accent */
    --accent-color-darker: #208AEF;

    --analogous-color-1: #00796B; /* Teal/Dark Cyan - Analogous 1 */
    --analogous-color-1-darker: #005F56;
    --analogous-color-2: #6A1B9A; /* Deep Purple - Analogous 2 */
    --analogous-color-2-darker: #501475;

    /* Text Colors */
    --text-light: #FFFFFF;
    --text-light-secondary: #E0E0E0; /* Slightly darker white for less emphasis */
    --text-dark: #363636; /* Bulma default dark */
    --text-darker: #222222; /* For strong headings */
    --text-muted: #7a7a7a;

    /* Background Colors */
    --background-light: #f4f7fc; /* Very light cool grey/blueish */
    --background-dark-section: #0A192F; /* Dark blue for some sections */
    --background-card: #FFFFFF;
    --background-card-dark-theme: rgba(20, 30, 55, 0.7); /* For cards on dark/parallax bg */

    /* Futuristic/Glassmorphism Elements */
    --futuristic-bg-transparent: rgba(10, 25, 47, 0.85); /* Dark, slightly transparent */
    --futuristic-border: rgba(66, 165, 245, 0.3); /* Subtle blue border for glass */
    --futuristic-glow-shadow: 0 0 15px rgba(66, 165, 245, 0.5), 0 0 5px rgba(66, 165, 245, 0.7);
    --glass-blur: saturate(180%) blur(10px);

    /* Borders & Shadows */
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
    --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.12);
    --box-shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
    --text-shadow-light: 1px 1px 3px rgba(0,0,0,0.3);
    --text-shadow-heavy: 2px 2px 5px rgba(0,0,0,0.5);

    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'IBM Plex Sans', sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s ease-in-out;
    --transition-medium: all 0.3s ease-in-out;
    --transition-slow: all 0.5s ease-in-out;

    /* Spacing */
    --navbar-height: 52px; /* Default Bulma navbar height */
    --section-padding: 4rem 1.5rem; /* Default padding for sections */
}

/* -------------------------------------------------------------------
   2. Global Styles & Resets
------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    background-color: var(--background-light); /* Ensure html has base bg */
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.65;
    font-size: 16px; /* Base font size */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.title, .subtitle {
    font-family: var(--font-primary);
    color: var(--text-darker);
    font-weight: 700;
}

.title {
    /* Bulma uses 'title' class, ensure our font overrides if needed */
    font-family: var(--font-primary) !important;
}

.subtitle {
    font-family: var(--font-secondary) !important; /* Subtitles can use body font for contrast */
    font-weight: 400;
    color: var(--text-muted);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem !important; /* Bulma .title has margin, adjust if needed */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.section-title.has-text-white,
.section-title.has-text-light {
    color: var(--text-light) !important;
    text-shadow: var(--text-shadow-light);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem !important;
    font-size: 1.1rem;
    line-height: 1.7;
}
.section-subtitle.has-text-white,
.section-subtitle.has-text-light {
    color: var(--text-light-secondary) !important;
    text-shadow: var(--text-shadow-light);
}

a {
    color: var(--accent-color);
    transition: var(--transition-fast);
    text-decoration: none;
}
a:hover {
    color: var(--accent-color-darker);
    text-decoration: underline;
}

/* Ensure main container has enough top padding if navbar is fixed */
.main-container {
    padding-top: var(--navbar-height);
}

.section {
    padding: var(--section-padding);
}

/* Responsive section padding */
@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    .main-container {
        padding-top: var(--navbar-height); /* Still needed for fixed navbar */
    }
}


/* Utility class for elements revealed by ScrollReveal.js */
.sr-reveal {
    visibility: hidden; /* Hidden by default, ScrollReveal will make it visible */
}


/* -------------------------------------------------------------------
   3. Global Button Styles
------------------------------------------------------------------- */
.button, button, input[type="submit"], input[type="button"] {
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--border-radius-small);
    padding: 0.75em 1.5em;
    transition: var(--transition-medium);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-width: 1px; /* Ensure border width is consistent */
    border-style: solid;
}

/* Primary Button Style (Futuristic) */
.button.is-primary,
.futuristic-button { /* Custom class for explicit styling */
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 8px rgba(13, 71, 161, 0.2);
}
.button.is-primary:hover,
.futuristic-button:hover {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 71, 161, 0.3);
}
.button.is-primary:focus,
.futuristic-button:focus {
    box-shadow: 0 0 0 0.125em rgba(13, 71, 161, 0.35);
}

/* Light/Outline Button Style (Futuristic) */
.button.is-light {
    background-color: var(--background-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.button.is-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button.is-primary.is-outlined {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.button.is-primary.is-outlined:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Button with icon */
.button .icon {
    margin-right: 0.5em;
}


/* -------------------------------------------------------------------
   4. Header & Navigation
------------------------------------------------------------------- */
.header .navbar.is-fixed-top {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--navbar-height);
}

.navbar-brand .navbar-item.logo-text {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}
.navbar-brand .navbar-item.logo-text .has-text-primary {
    color: var(--analogous-color-1) !important; /* Ensure this matches the logo span color */
}

.navbar-item {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
}
.navbar-item:hover,
.navbar-item.is-active { /* is-active for current page or section */
    background-color: transparent; /* No background on hover for text links */
    color: var(--primary-color) !important;
}
.navbar-menu.is-active .navbar-item:hover {
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
}


.navbar-burger {
    color: var(--text-dark);
    height: var(--navbar-height);
    width: var(--navbar-height);
}
.navbar-burger span {
    background-color: var(--text-dark);
    height: 2px;
    transition: var(--transition-medium);
}
.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}
.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Burger menu dropdown */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 16px rgba(10, 10, 10, .1);
        padding: .5rem 0;
        border-bottom-left-radius: var(--border-radius-medium);
        border-bottom-right-radius: var(--border-radius-medium);
    }
    .navbar-menu .navbar-item {
        padding: 0.75rem 1.5rem;
        color: var(--text-dark) !important;
    }
    .navbar-menu .navbar-item:hover {
        background-color: var(--primary-color) !important;
        color: var(--text-light) !important;
    }
    .navbar-end .navbar-item .buttons .button {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* -------------------------------------------------------------------
   5. Hero Section
------------------------------------------------------------------- */
#hero.hero.is-fullheight {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For overlay */
    color: var(--text-light); /* Ensure all text inside hero is light by default */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.65)); /* Darkening overlay */
    z-index: 1;
}

#hero .hero-body {
    position: relative; /* To be above the overlay */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#hero .hero-title-main {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive font size */
    font-weight: 700;
    color: var(--text-light) !important; /* Strict requirement */
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow-heavy);
}

#hero .hero-subtitle-main {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-light-secondary) !important; /* Strict requirement */
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: var(--text-shadow-light);
}

#hero .buttons .button {
    min-width: 180px;
    font-size: 1rem;
    margin: 0.5rem;
}

/* -------------------------------------------------------------------
   6. Parallax Background Sections
------------------------------------------------------------------- */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 5rem 1.5rem; /* Default padding for parallax sections */
}
.parallax-bg .hero-overlay { /* Re-use hero-overlay for consistency if needed */
    /* Or define a specific parallax overlay if different */
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.8));
}
.parallax-bg .container {
    position: relative;
    z-index: 2;
}
.parallax-bg .section-title,
.parallax-bg .section-subtitle,
.parallax-bg .title,
.parallax-bg .subtitle,
.parallax-bg .heading,
.parallax-bg p,
.parallax-bg .label {
    color: var(--text-light-secondary) !important;
    text-shadow: var(--text-shadow-light);
}
.parallax-bg .title.is-1, .parallax-bg .title.is-2 { /* Main titles in parallax */
     color: var(--text-light) !important;
     text-shadow: var(--text-shadow-heavy);
}
.parallax-bg a {
    color: var(--accent-color);
}
.parallax-bg a:hover {
    color: var(--text-light);
}


/* -------------------------------------------------------------------
   7. Card Styles (Generic & Specific)
------------------------------------------------------------------- */
.card.futuristic-card {
    background-color: var(--background-card);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-light);
    transition: var(--transition-medium);
    overflow: hidden; /* Important for image scaling and border radius */
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%; /* Make cards in a row same height if using Bulma columns */
    display: flex;
    flex-direction: column;
    text-align: center; /* Center text content within card */
}
.card.futuristic-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--box-shadow-medium);
}

/* Card Image Styling */
.card .card-image, .card .image-container { /* Generic wrapper for images in cards */
    width: 100%;
    position: relative;
    overflow: hidden; /* Ensures image hover effects are contained */
}
.card .card-image figure.image, .card .image-container figure.image {
    margin: 0; /* Reset Bulma figure margin if any */
}
.card .card-image img, .card .image-container img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Height will be determined by figure aspect ratio or fixed height on container */
}
.card.futuristic-card:hover .card-image img,
.card.futuristic-card:hover .image-container img {
    transform: scale(1.1);
}

/* Fixed height for image containers in specific card types if needed */
.services-section .card-image, .gallery-section .card-image { /* Example: services and gallery cards */
    height: 200px; /* Or specific aspect ratio using padding-top trick on figure */
}
.services-section .card-image img, .gallery-section .card-image img {
    height: 100%;
}

.team-section .card .card-image {
    width: 150px; /* For circular doctor images */
    height: 150px;
    border-radius: 50%;
    margin: 1.5rem auto 0.5rem auto; /* Centering the image container */
    border: 4px solid var(--background-light);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.team-section .card .card-image img {
    border-radius: 50%; /* Ensure image itself is rounded */
    height: 100%;
}

/* Card Content Styling */
.card .card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to fill space, useful for equal height cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push content and potential button to top/bottom */
}
.card .card-title {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem !important;
}
.card .card-subtitle {
    font-family: var(--font-secondary);
    color: var(--analogous-color-1);
    font-size: 0.9rem;
    margin-top: -0.25rem;
    margin-bottom: 0.75rem !important;
}
.card .card-content .content {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem; /* Space before any button */
    text-align: left; /* For paragraphs in card content */
}
.has-text-centered .card .card-content .content {
    text-align: center;
}

/* Testimonial Card Specifics */
.testimonial-card {
    background-color: var(--background-card-dark-theme); /* Glassmorphism on parallax */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--futuristic-border);
    box-shadow: var(--box-shadow-light);
}
.testimonial-card .media-left .image img {
    border: 2px solid var(--accent-color);
}
.testimonial-card .card-title,
.testimonial-card .card-subtitle,
.testimonial-card .content {
    color: var(--text-light-secondary) !important;
    text-shadow: none; /* Avoid double shadow */
}
.testimonial-card .card-title { color: var(--text-light) !important; }

/* Resource Card */
.resource-card .card-content {
    text-align: left;
}
.resource-card .card-title a {
    color: var(--primary-color);
    font-weight: 600;
}
.resource-card .card-title a:hover {
    color: var(--accent-color);
}

/* -------------------------------------------------------------------
   8. Section Specific Styles
------------------------------------------------------------------- */

/* Statistics Section */
#statistics.statistics-section .level-item .heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light-secondary) !important;
    margin-bottom: 0.5rem;
}
#statistics.statistics-section .level-item .title.stat-number {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light) !important;
    line-height: 1;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--background-card);
    margin-bottom: 10px;
    border-radius: var(--border-radius-small);
    border: 1px solid #e0e0e0;
    box-shadow: var(--box-shadow-light);
    transition: var(--transition-medium);
}
.faq-item:hover {
    box-shadow: var(--box-shadow-medium);
}
.faq-question {
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 600; /* Bolder question */
    font-family: var(--font-primary);
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
}
.faq-question::after { /* Custom icon for expand/collapse */
    content: '\002B'; /* Plus sign */
    font-family: monospace; /* Consistent icon appearance */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    content: '\2212'; /* Minus sign */
    transform: translateY(-50%);
}
.faq-answer {
    padding: 0px 20px; /* No top/bottom padding when collapsed */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    color: var(--text-dark);
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust if content is very long */
    padding: 0px 20px 20px 20px; /* Add padding when active */
}
.faq-answer p {
    margin-bottom: 0.5em;
}


/* Contact Section Form Inputs */
#contact.contact-section .label {
    color: var(--text-light-secondary) !important;
    font-weight: 500;
}
.input.futuristic-input,
.textarea.futuristic-input {
    background-color: rgba(255, 255, 255, 0.05); /* More transparent for glass */
    border: 1px solid var(--futuristic-border);
    color: var(--text-light);
    border-radius: var(--border-radius-small);
    padding: 0.9em 1.2em;
    transition: var(--transition-medium);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.input.futuristic-input::placeholder,
.textarea.futuristic-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.input.futuristic-input:focus,
.textarea.futuristic-input:focus {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 0.125em rgba(66, 165, 245, 0.3), var(--futuristic-glow-shadow);
}
/* Styles for inputs on light background (e.g., contacts.html page) */
.contact-page-section .input.futuristic-input,
.contact-page-section .textarea.futuristic-input {
    background-color: var(--background-card);
    border: 1px solid #dbdbdb; /* Bulma default input border */
    color: var(--text-dark);
}
.contact-page-section .input.futuristic-input::placeholder,
.contact-page-section .textarea.futuristic-input::placeholder {
    color: var(--text-muted);
}
.contact-page-section .input.futuristic-input:focus,
.contact-page-section .textarea.futuristic-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(13, 71, 161, 0.25);
    background-color: var(--background-card);
}
.contact-page-section .label { /* Labels on light background */
    color: var(--text-darker);
}

.contact-details, .contact-details-page {
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}
.contact-details p, .contact-details-page p {
    margin-bottom: 0.5rem;
}
.contact-details .icon, .contact-details-page .icon {
    margin-right: 0.5em;
    color: var(--accent-color);
}
.contact-details a, .contact-details-page a { /* Ensure link color is consistent */
    color: var(--accent-color);
}
.contact-details a:hover, .contact-details-page a:hover {
    color: var(--text-light); /* On dark backgrounds */
}
.contact-page-section .contact-details-page a:hover {
    color: var(--accent-color-darker); /* On light backgrounds */
}

/* Sustainability Section - standard layout, specific styling not highly complex */
.sustainability-section .content.is-medium p {
    margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------
   9. Footer
------------------------------------------------------------------- */
.footer {
    background-color: var(--text-darker);
    color: var(--text-light-secondary);
    padding: 4rem 1.5rem 2rem; /* More top padding */
}
.footer .title.footer-title {
    font-family: var(--font-primary);
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer .footer-link {
    color: var(--text-light-secondary);
    transition: var(--transition-fast);
    display: inline-block;
    padding: 0.25rem 0;
    font-size: 0.95rem;
}
.footer .footer-link:hover {
    color: var(--accent-color);
    text-decoration: none; /* Remove underline for footer links if preferred */
    transform: translateX(3px);
}
.footer .footer-hr {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 2rem 0;
}
.footer .copyright-text {
    font-size: 0.9em;
    color: var(--text-muted); /* Darker muted for copyright */
    margin-top: 1rem;
}
/* Styling for text-based social media links as per requirement */
.footer .column:last-child p a.footer-link { /* Targeting social links more specifically if needed */
    /* Add specific styling if they need to look different from other footer links */
    /* E.g., font-weight: 500; letter-spacing: 0.02em; */
}

/* -------------------------------------------------------------------
   10. Page Specific Styles (success.html, privacy.html, terms.html)
------------------------------------------------------------------- */

/* Success Page */
.success-page-section.section {
    min-height: calc(100vh - var(--navbar-height) - 138px); /* Full viewport minus navbar and footer (approx footer height) */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-light);
}
.success-page-section .container {
    max-width: 600px;
}
.success-page-section .image.is-128x128 { /* Icon on success page */
    margin-bottom: 1.5rem;
}
.success-page-section .title {
    color: var(--analogous-color-1);
}

/* Privacy & Terms Pages - Ensure content doesn't overlap fixed header */
.privacy-page-section.section,
.terms-page-section.section,
.about-page-section.section, /* If about.html exists */
.contact-page-section.section { /* For standalone contacts.html */
    padding-top: 3rem; /* Extra padding below navbar */
    padding-bottom: 3rem;
}
.privacy-page-section .content h2,
.terms-page-section .content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.privacy-page-section .content ul,
.terms-page-section .content ul {
    list-style: disc;
    margin-left: 1.5em;
    margin-bottom: 1em;
}
.privacy-page-section .content p,
.terms-page-section .content p {
    margin-bottom: 1em;
    line-height: 1.7;
}

/* -------------------------------------------------------------------
   11. Read More Link Style
------------------------------------------------------------------- */
.read-more-link {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: var(--transition-medium);
}
.read-more-link:hover {
    color: var(--accent-color-darker);
    text-decoration: none;
    transform: translateX(4px);
}
.read-more-link .icon { /* If an icon is used with it */
    margin-left: 0.3em;
    font-size: 0.8em;
}

/* -------------------------------------------------------------------
   12. Cookie Popup
------------------------------------------------------------------- */
/* Styles for cookiePopup are inline in HTML as requested, but
   if they were here, they would look like this: */
/*
#cookiePopup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 40, 0.95);
    color: #e0e0e0;
    padding: 20px;
    text-align: center;
    z-index: 9999;
    border-top: 1px solid #33375F;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
#cookiePopup p {
    margin: 0 0 15px 0;
    font-size: 1em;
}
#cookiePopup p a {
    color: #61dafb;
    text-decoration: underline;
}
#acceptCookie {
    background-color: #00d1b2;
    color: white;
    border: none;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}
#acceptCookie:hover {
    background-color: #00b89c;
}
*/

/* -------------------------------------------------------------------
   13. Responsive Adjustments (Additional to Bulma's)
------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.8rem; /* Smaller section titles on mobile */
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .columns.is-vcentered .column.is-one-third figure,
    .sustainability-section .column.is-one-third figure {
        max-width: 300px; /* Control image size on mobile */
        margin-left: auto;
        margin-right: auto;
    }
    .footer .columns { /* Stack columns in footer on mobile */
        display: block;
    }
    .footer .column {
        margin-bottom: 2rem;
        text-align: center;
    }
    .footer .column:last-child {
        margin-bottom: 0;
    }
}

/* Ensure content on specific pages (privacy, terms, about, contacts) has top padding */
main > section.section:first-child { /* Targets the first section within main */
    padding-top: calc(var(--navbar-height) + 2rem); /* Navbar height + some breathing room */
}
/* Override for hero section if it's the first */
main > #hero.hero.is-fullheight:first-child {
    padding-top: 0; /* Hero already handles its padding and navbar offset via main-container */
}
/* Ensure the padding is applied specifically to these content pages */
.privacy-page-section, .terms-page-section, .about-page-section, .contact-page-section {
    padding-top: 3rem !important; /* Overrides generic first-child rule if needed */
}


/* Final check for text contrast and readability overlays */
.has-background-image-with-text { /* A utility class you might add to sections */
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.has-background-image-with-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 1;
}
.has-background-image-with-text > .container { /* Or other content wrapper */
    position: relative;
    z-index: 2;
}