/* style.css */

/* --------------------
   CSS Variables
   -------------------- */
:root {
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Pastel Color Scheme */
    --primary-color: #A7C7E7; /* Pastel Blue */
    --secondary-color: #E6E6FA; /* Lavender */
    --accent-color: #FFB6C1; /* Light Pink */
    --highlight-color: #F0E68C; /* Khaki */

    --text-color: #333333; /* Dark Grey for readability */
    --text-color-light: #FFFFFF; /* White for dark backgrounds */
    --text-color-medium: #555555;
    --text-color-subtle: #777777;

    --background-color: #FAF0E6; /* Linen - very light warm off-white */
    --card-background-color: #FFFFFF;
    --footer-background-color: #3D405B; /* Dark Slate Blue - for contrast */
    --form-input-bg: #FFFFFF;

    --border-color: #DCDCDC; /* Gainsboro - light grey */
    --border-color-light: #E0E0E0;
    --border-focus-color: var(--primary-color);

    --shadow-color-rgb: 0, 0, 0;
    --box-shadow-soft: 0 4px 12px rgba(var(--shadow-color-rgb), 0.08);
    --box-shadow-medium: 0 8px 20px rgba(var(--shadow-color-rgb), 0.1);
    --box-shadow-strong: 0 10px 25px rgba(var(--shadow-color-rgb), 0.15);
    --text-shadow-soft: 1px 1px 3px rgba(var(--shadow-color-rgb), 0.3);

    --hero-overlay-color: rgba(0, 0, 0, 0.5);
    --section-overlay-light-color: rgba(255, 255, 255, 0.8); /* For dark text on image */
    --section-overlay-dark-color: rgba(0, 0, 0, 0.3); /* For light text on image */


    /* Spacing */
    --space-xxs: 0.25rem; /* 4px */
    --space-xs: 0.5rem;  /* 8px */
    --space-sm: 1rem;    /* 16px */
    --space-md: 1.5rem;  /* 24px */
    --space-lg: 2rem;    /* 32px */
    --space-xl: 3rem;    /* 48px */
    --space-xxl: 4rem;   /* 64px */

    /* Border Radius (subtle biomorphic hint with larger radii) */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-round: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s ease-in-out;

    /* Header Height (approximate for padding) */
    --header-height: 80px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color); /* Default dark for high contrast on light backgrounds */
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    font-weight: 700; /* Archivo Black is already bold */
}

h1 { font-size: 2.8rem; margin-bottom: var(--space-md); }
h2 { font-size: 2.2rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
p {
    margin-bottom: var(--space-sm);
    color: var(--text-color-medium);
}

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

ul, ol {
    list-style-position: inside;
    margin-bottom: var(--space-sm);
}

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

.main-container {
    overflow-x: hidden; /* Prevents horizontal scroll from animations */
}

.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1 * var(--space-sm));
    margin-right: calc(-1 * var(--space-sm));
}

.column {
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: var(--space-sm);
}

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

.is-vcentered {
    align-items: center;
}

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

/* Responsive columns */
@media (max-width: 768px) {
    .column.is-one-third,
    .column.is-two-thirds,
    .column.is-half {
        width: 100%;
    }
}

/* --------------------
   Header / Navigation
   -------------------- */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow-soft);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-color);
    text-decoration: none;
}

.logo .logo-accent {
    color: var(--accent-color);
}

.logo:hover, .logo:focus {
    text-decoration: none;
    opacity: 0.8;
}

.main-navigation .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-color-medium);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    margin-left: var(--space-xs);
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
    position: relative;
}

.main-navigation .nav-link:hover,
.main-navigation .nav-link:focus,
.main-navigation .nav-link.active {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    text-decoration: none;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: transform var(--transition-smooth);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: transform var(--transition-smooth), top var(--transition-smooth), bottom var(--transition-smooth);
}

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


/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .main-navigation .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        padding: var(--space-sm) 0;
        box-shadow: var(--box-shadow-soft);
        border-top: 1px solid var(--border-color-light);
    }

    .main-navigation .nav-list.nav-list--open {
        display: flex;
    }

    .main-navigation .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: var(--space-sm);
        margin-left: 0;
        border-bottom: 1px solid var(--border-color-light);
    }
    .main-navigation .nav-link:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: block;
        z-index: 1001; /* Above nav list */
    }

    .nav-toggle.nav-open .hamburger {
        background-color: transparent; /* Middle line disappears */
    }
    .nav-toggle.nav-open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-toggle.nav-open .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
}


/* --------------------
   Global Button Styles
   -------------------- */
.button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-lg); /* Softer, biomorphic-hint radius */
    border: 2px solid transparent;
    transition: all var(--transition-smooth);
    box-shadow: var(--box-shadow-soft);
}

.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover,
.button:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--box-shadow-medium);
    text-decoration: none;
}

.button-primary {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    border-color: var(--accent-color);
}
.button-primary:hover, .button-primary:focus {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    color: var(--text-color);
}

.button-secondary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}
.button-secondary:hover, .button-secondary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
}

/* --------------------
   General Section Styling
   -------------------- */
.section {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    position: relative; /* For overlays */
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--text-color); /* Ensure high contrast */
    text-shadow: var(--text-shadow-soft); /* Subtle shadow for light text on light bg, if needed */
}

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

/* Section overlay for background images */
.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind content */
}

/* For sections with background images and dark text */
.process-section .section-overlay,
.research-section .section-overlay {
    background-color: var(--section-overlay-light-color);
}


/* --------------------
   Card Styles (Global Pattern)
   -------------------- */
.card {
    background-color: var(--card-background-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-soft);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content like title/text if text-align:center is on card itself */
    text-align: center; /* Center text content */
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    height: 100%; /* For equal height in grids/flex rows */
    overflow: hidden; /* Ensures content respects border-radius */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.card .card-image {
    width: 100%; /* Take full width of card padding */
    margin-bottom: var(--space-sm);
    border-radius: var(--border-radius-sm); /* Optional: round corners of image container */
    overflow: hidden; /* Important for object-fit to work with border-radius */
    height: 200px; /* Fixed height for image container */
    display: flex; /* For centering the image itself if it's smaller than container */
    align-items: center;
    justify-content: center;
}

.card .card-image img {
    width: 100%;
    height: 100%; /* Make image fill the fixed height container */
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block; /* Remove extra space below image */
}

.card .card-content {
    flex-grow: 1; /* Allows content to fill space if card is flex item */
    width: 100%;
}

.card .card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--text-color);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-color-medium);
}

/* --------------------
   Hero Section
   -------------------- */
.hero-section {
    position: relative;
    min-height: 75vh; /* Responsive height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-overlay-color);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
    color: var(--text-color-light); /* Explicitly white */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light); /* Explicitly white */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-content .button-primary {
    font-size: 1.1rem;
    padding: var(--space-md) var(--space-xl);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-section { min-height: 60vh; }
}

/* --------------------
   Services Section
   -------------------- */
.services-section .columns {
    gap: var(--space-md) 0; /* Add vertical gap between rows of cards */
}
.services-section .service-card {
    /* Specific card styles if needed, otherwise global .card applies */
}

/* --------------------
   Our Process Section
   -------------------- */
.process-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ensure text is readable on background: overlay is handled by .section-overlay */
}

.process-section .section-title,
.process-section .section-intro {
    color: var(--text-color); /* Dark text on light overlay */
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.step {
    background-color: var(--card-background-color);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-soft);
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.step-icon-container {
    margin-bottom: var(--space-sm);
    display: inline-block; /* To center the image if it's smaller */
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-round);
    object-fit: cover;
    margin: 0 auto var(--space-sm) auto; /* Center if container is block */
    box-shadow: var(--box-shadow-soft);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--primary-color);
}

/* --------------------
   Methodology Section
   -------------------- */
.methodology-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-medium);
}
.methodology-switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-lg);
}

.methodology-switch-container .switch-title {
    margin-right: var(--space-sm);
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}
#methodologyToggleText {
    margin-left: var(--space-xs);
    font-weight: bold;
    color: var(--text-color);
}

/* Switch Component Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: var(--accent-color);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--accent-color);
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}

/* --------------------
   Innovation Section
   -------------------- */
.innovation-image img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-medium);
    /* Potential for subtle biomorphic clip-path if desired, e.g.
    clip-path: polygon(0% 15%, 15% 0%, 100% 0%, 100% 85%, 85% 100%, 0% 100%); */
}

/* --------------------
   Research Section
   -------------------- */
.research-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.research-section .section-title,
.research-section .section-intro {
    color: var(--text-color); /* Dark text on light overlay */
}
/* Basic Carousel Styling (JS will handle actual sliding) */
.research-carousel, .success-stories-carousel, .testimonial-slider {
    display: flex; /* For JS to manage items, or use a library */
    overflow-x: auto; /* Simple horizontal scroll for now */
    gap: var(--space-md);
    padding-bottom: var(--space-sm); /* For scrollbar visibility */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--secondary-color);
}
.research-carousel::-webkit-scrollbar,
.success-stories-carousel::-webkit-scrollbar,
.testimonial-slider::-webkit-scrollbar {
    height: 8px;
}
.research-carousel::-webkit-scrollbar-thumb,
.success-stories-carousel::-webkit-scrollbar-thumb,
.testimonial-slider::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
}
.research-carousel .carousel-item,
.success-stories-carousel .carousel-item,
.testimonial-slider .testimonial-item {
    flex: 0 0 auto; /* Prevent shrinking/growing */
    width: 300px; /* Adjust as needed */
    max-width: 90%;
}
.research-carousel .card .card-image img,
.success-stories-carousel .card .card-image img {
    height: 180px; /* Adjusted for carousel card images */
}

/* --------------------
   Success Stories Section
   -------------------- */
.success-story .card-title {
    color: var(--primary-color);
}
.success-story strong {
    color: var(--text-color);
    font-weight: 700;
}

/* --------------------
   Customer Stories Section (Testimonials)
   -------------------- */
.testimonial-item {
    align-items: center; /* Center content */
}
.testimonial-photo-container {
    width: 120px; /* Size for the circular photo container */
    height: 120px;
    border-radius: var(--border-radius-round);
    overflow: hidden;
    margin-bottom: var(--space-sm);
    box-shadow: var(--box-shadow-soft);
    flex-shrink: 0; /* Prevent shrinking */
}
.testimonial-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-quote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: var(--space-xs);
    color: var(--text-color-medium);
}
.testimonial-author {
    font-weight: bold;
    color: var(--accent-color);
}

/* --------------------
   External Resources Section
   -------------------- */
.external-resources-section {
    background-color: var(--secondary-color); /* Light pastel background */
}
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}
.resource-item {
    background-color: var(--card-background-color);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-soft);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-medium);
}
.resource-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}
.resource-title a {
    color: var(--primary-color);
    font-weight: 700;
}
.resource-title a:hover {
    color: var(--accent-color);
}
.resource-description {
    font-size: 0.9rem;
    color: var(--text-color-subtle);
}

/* --------------------
   Contact Section / Form
   -------------------- */
.contact-section {
    background-color: var(--background-color); /* Ensuring it matches page bg or slightly different */
}
.contact-form {
    max-width: 700px;
    margin: var(--space-lg) auto 0 auto;
    background-color: var(--card-background-color);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-medium);
}
.form-field {
    margin-bottom: var(--space-md);
}
.form-field label {
    display: block;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-color-medium);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--form-input-bg);
    color: var(--text-color);
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--border-focus-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color), 0.2);
}
.form-field textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form .button-primary {
    width: 100%;
    padding: var(--space-md);
    font-size: 1.1rem;
}

/* --------------------
   Footer
   -------------------- */
.site-footer {
    background-color: var(--footer-background-color);
    color: var(--text-color-light);
    padding: var(--space-xl) 0 var(--space-md) 0;
}

.site-footer h4 {
    font-family: var(--font-heading);
    color: var(--text-color-light);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xs);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-nav-list, .footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li, .footer-social-list li {
    margin-bottom: var(--space-xs);
}

.footer-nav-list a, .footer-social-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.footer-nav-list a:hover, .footer-nav-list a:focus,
.footer-social-list a:hover, .footer-social-list a:focus {
    color: var(--accent-color);
    padding-left: var(--space-xxs);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Success Page */
body.page-success { /* Add this class to body on success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.success-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
}
.success-container {
    background-color: var(--card-background-color);
    padding: var(--space-xl) var(--space-xxl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-medium);
    max-width: 600px;
}
.success-container .icon-success { /* Placeholder for a potential SVG/Font icon */
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: var(--space-md);
}
.success-container h1 {
    color: var(--primary-color);
}

/* Privacy & Terms Pages */
body.page-legal main, /* Add class to body on privacy/terms */
main.legal-content-page { /* Or to main element */
    padding-top: calc(var(--header-height) + var(--space-lg)); /* Header height + some margin */
    padding-bottom: var(--space-xl);
}
.legal-content-page .container {
    background-color: var(--card-background-color);
    padding: var(--space-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-soft);
}
.legal-content-page h1 {
    margin-bottom: var(--space-lg);
}
.legal-content-page h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 1.6rem;
    color: var(--primary-color);
}
.legal-content-page h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    font-size: 1.3rem;
    color: var(--accent-color);
}
.legal-content-page p,
.legal-content-page ul,
.legal-content-page ol {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}
.legal-content-page ul, .legal-content-page ol {
    padding-left: var(--space-md);
}

/* --------------------
   Animations & Effects (Scroll-dependent placeholders)
   -------------------- */
[data-animate-on-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.645, 0.045, 0.355, 1),
                transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-delay: 0.2s;
}

[data-animate-on-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax basic (can be enhanced with JS) */
.parallax-background {
    background-attachment: fixed; /* Simple parallax */
}

/* "Read More" Link Style */
.read-more-link {
    display: inline-block;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    padding-bottom: 2px; /* Space for underline effect */
    position: relative;
    transition: color var(--transition-fast);
}
.read-more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}
.read-more-link:hover, .read-more-link:focus {
    color: var(--primary-color);
    text-decoration: none;
}
.read-more-link:hover::after, .read-more-link:focus::after {
    transform: scaleX(1);
    background-color: var(--primary-color);
}

/* Cookie Consent Popup (matches inline styles for consistency if any) */
#cookie-consent-popup {
    box-shadow: 0 -3px 15px rgba(var(--shadow-color-rgb), 0.1);
}
#cookie-consent-popup p {
    font-family: var(--font-body);
    color: #fff; /* Overriding inline */
}
#accept-cookie { /* Style to match global buttons */
    font-family: var(--font-body);
    font-weight: 700;
    background-color: var(--highlight-color); /* Using a distinct color from page */
    color: var(--text-color);
    border-radius: var(--border-radius-md);
    padding: var(--space-xs) var(--space-lg);
    transition: background-color var(--transition-fast);
}
#accept-cookie:hover {
    background-color: var(--accent-color);
    color: var(--text-color-light);
}


/* --------------------
   Utility Classes
   -------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mb-1 { margin-bottom: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mb-2 { margin-bottom: var(--space-md); }
/* ... more spacing utilities as needed */

.sr-only { /* Screen reader only */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}