/* style.css */

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;

    --color-primary: #FFADAD; /* Pastel Red/Pink */
    --color-secondary: #FFD6A5; /* Pastel Orange/Peach */
    --color-accent: #FDFFB6; /* Pastel Yellow */
    --color-highlight: #CAFFBF; /* Pastel Green */
    --color-subtle: #9BF6FF; /* Pastel Blue */
    --color-neutral-light: #A0C4FF; /* Pastel Indigo */
    --color-neutral-dark: #BDB2FF; /* Pastel Violet */

    --color-text-dark: #333333;
    --color-text-headings: #222222;
    --color-text-light: #FFFFFF;
    --color-text-muted: #5f5f5f;

    --color-background-body: #FFFBF5; /* Very light, warm off-white */
    --color-background-card: #FFFFFF;
    --color-background-skew-1: #FFF0E1; /* Light Peach for skewed section */
    --color-background-skew-2: #E6FFFA; /* Light Mint for skewed section */
    --color-background-footer: #F8F4F0;
    --color-background-overlay: rgba(0, 0, 0, 0.4);

    --color-border: #EAE0D9;
    --color-input-border: #D1C8C1;
    --color-input-focus-border: var(--color-primary);

    --spacing-unit: 1rem; /* 16px */
    --spacing-xs: calc(var(--spacing-unit) * 0.5);  /* 8px */
    --spacing-sm: var(--spacing-unit);             /* 16px */
    --spacing-md: calc(var(--spacing-unit) * 1.5); /* 24px */
    --spacing-lg: calc(var(--spacing-unit) * 2);   /* 32px */
    --spacing-xl: calc(var(--spacing-unit) * 3);   /* 48px */

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);

    --header-height: 80px;
    --transition-speed: 0.3s;
}

/*--------------------------------------------------------------
# Base & Resets
--------------------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px default */
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS or skewed elements */
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-headings);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; } /* Adjusted for Playfair Display */
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark); /* Ensure high contrast */
}

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

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

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

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

/*--------------------------------------------------------------
# Layout & Container
--------------------------------------------------------------*/
.site-container {
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scroll issues */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md); /* Reduced from xl to md */
    font-size: 2.5rem; /* Ensure visibility */
    color: var(--color-text-headings); /* Dark color for high contrast */
}
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
}


.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-lg);
}

/* Basic column system (Bulma-like) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}
.columns:not(:last-child) {
    margin-bottom: calc(1.5rem - 0.75rem);
}
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.column.is-two-thirds {
    flex: none;
    width: 66.6666%;
}
@media screen and (max-width: 768px) {
    .column.is-two-thirds {
        width: 100%;
    }
    .columns {
      flex-direction: column;
    }
}


/*--------------------------------------------------------------
# Buttons (Global)
--------------------------------------------------------------*/
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    text-decoration: none; /* Remove underline from button links */
    line-height: 1.5; /* Ensure text is centered vertically */
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light); /* Ensure contrast */
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    border-color: var(--color-secondary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.btn-link {
    background-color: transparent;
    color: var(--color-primary);
    padding: 0;
    border: none;
    text-decoration: underline;
}
.btn-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/*--------------------------------------------------------------
# Forms (Global)
--------------------------------------------------------------*/
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-input-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    transition: border-color var(--transition-speed) ease;
    background-color: var(--color-background-card); /* Light background for inputs */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-input-focus-border);
    box-shadow: 0 0 0 2px rgba(var(--color-primary), 0.2); /* Use RGB components of primary color */
}
/* For box-shadow color above, if --color-primary is #FFADAD, use rgba(255, 173, 173, 0.2) */

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

.form-group input[type="checkbox"] {
    margin-right: var(--spacing-xs);
    vertical-align: middle;
}
.form-group .checkbox-label {
    font-weight: normal;
    display: inline;
    color: var(--color-text-muted);
}
.form-group .checkbox-label a {
    color: var(--color-primary);
}


/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.site-header {
    background-color: rgba(255, 251, 245, 0.85); /* Semi-transparent body background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.site-header.scrolled { /* Add this class with JS on scroll */
    background-color: rgba(255, 251, 245, 0.95);
    box-shadow: var(--shadow-md);
}

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

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

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

.main-navigation .nav-list li {
    margin-left: var(--spacing-lg);
}

.main-navigation .nav-list a {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.main-navigation .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease;
}

.main-navigation .nav-list a:hover,
.main-navigation .nav-list a.active { /* Add .active for current page/section */
    color: var(--color-primary);
}
.main-navigation .nav-list a:hover::after,
.main-navigation .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-dark);
    position: relative;
    transition: background-color var(--transition-speed) ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: transform var(--transition-speed) ease, top var(--transition-speed) ease, bottom var(--transition-speed) ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile Menu Active State */
.menu-toggle.active .hamburger { background-color: transparent; }
.menu-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.menu-toggle.active .hamburger::after { transform: rotate(-45deg); bottom: 0; }


@media (max-width: 992px) { /* Breakpoint for mobile menu */
    .main-navigation .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-background-body);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform var(--transition-speed) ease-in-out;
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
        overflow-y: auto;
    }
    .main-navigation .nav-list.active {
        transform: translateX(0);
    }
    .main-navigation .nav-list li {
        margin: var(--spacing-md) 0;
    }
    .main-navigation .nav-list a {
        font-size: 1.5rem;
    }
    .menu-toggle {
        display: block;
    }
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    position: relative;
    color: var(--color-text-light);
    height: 90vh; /* Adjust as needed, avoid fixed large min-height */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Parallax-like effect */
    background-attachment: fixed; /* Note: this can have performance implications and behave differently on mobile */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background-overlay); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Ensure readability */
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Ensure readability */
}

.hero-content .btn {
    font-size: 1.1rem;
    padding: var(--spacing-md) var(--spacing-xl);
}
@media (max-width: 768px) {
    .hero-section { height: auto; min-height: 70vh; padding: var(--spacing-xl) 0; background-attachment: scroll; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
}


/*--------------------------------------------------------------
# Skewed Background Sections
--------------------------------------------------------------*/
.skewed-background-pastel,
.skewed-background-pastel-reverse {
    position: relative;
    z-index: 1; /* For stacking context */
}

.skewed-background-pastel::before,
.skewed-background-pastel-reverse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1; /* Behind the content */
}

.skewed-background-pastel::before {
    background-color: var(--color-background-skew-1);
    transform: skewY(-2.5deg);
}

.skewed-background-pastel-reverse::before {
    background-color: var(--color-background-skew-2);
    transform: skewY(2.5deg);
}

/* Ensure content inside skewed sections is not skewed */
.skewed-background-pastel > .container,
.skewed-background-pastel-reverse > .container {
    position: relative; /* If needed for stacking within the section */
}

/*--------------------------------------------------------------
# Cards (General)
--------------------------------------------------------------*/
.card {
    background-color: var(--color-background-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a grid */
}

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

.card-image {
    width: 100%;
    height: 220px; /* Fixed height for image container */
    overflow: hidden; /* Clip image */
    position: relative; /* For potential overlays on image */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, may crop */
    transition: transform var(--transition-speed) ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-md);
    text-align: center; /* Center text and inline elements */
    flex-grow: 1; /* Allows content to fill space in flex column */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically if card has fixed height */
}

.card-content h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    font-size: 1.4rem;
    color: var(--color-text-headings);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    flex-grow: 1; /* Allow paragraph to take up space before button */
}
.card-content .btn, .card-content .btn-link {
    margin-top: auto; /* Push button to bottom if card content has varying height */
    align-self: center; /* Center button if it's not full width */
}


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

/* About Preview Section */
.about-preview-section .image-container img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

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

/* Success Stories - Custom Slider */
.custom-slider {
    position: relative;
    overflow: hidden; /* Important for slider */
    max-width: 900px; /* Or as needed */
    margin: 0 auto;
}
.slider-wrapper {
    display: flex;
    transition: transform var(--transition-speed) ease-in-out; /* For JS slide */
}
.slide {
    min-width: 100%; /* Each slide takes full width of slider */
    box-sizing: border-box;
    padding: 0 var(--spacing-sm); /* If needed for spacing between slides */
}
.slide.card { /* If slides are cards */
    margin-bottom: var(--spacing-sm); /* Space for nav buttons */
}
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(var(--color-primary), 0.8); /* Use RGB for opacity */
    color: var(--color-text-light);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Use RGB for --color-primary: #FFADAD -> rgba(255, 173, 173, 0.8) */
.slider-prev:hover,
.slider-next:hover {
    background-color: var(--color-primary); /* Solid on hover */
}
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* Sustainability Section */
.sustainability-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: center;
}
.feature-item {
    flex-basis: 250px; /* Min width before wrapping */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.feature-item img { /* Icons */
    width: 60px; /* Adjust as needed */
    height: 60px;
    margin-bottom: var(--spacing-sm);
    opacity: 0.8;
}
.feature-item h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
    color: var(--color-text-dark);
}
.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Clientele & Partners Section */
.client-logos, .partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
.client-logos img, .partner-logos img {
    height: 60px; /* Adjust based on logo aspect ratios */
    max-width: 150px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity var(--transition-speed) ease;
    margin: 0 auto; /* Center individual logos */
}
.client-logos img:hover, .partner-logos img:hover {
    opacity: 1;
}

/* Media Section */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

/* News Section - Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background-color: var(--color-background-card);
    margin-bottom: var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}
.accordion-header {
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: var(--spacing-md);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    position: relative;
    transition: background-color var(--transition-speed) ease;
}
.accordion-header::after { /* Arrow icon */
    content: '+';
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--transition-speed) ease;
}
.accordion-header[aria-expanded="true"]::after {
    content: '-';
    transform: translateY(-50%); /* Removed rotate for +/- */
}
.accordion-header:hover {
    background-color: var(--color-background-skew-1); /* Light hover */
}
.accordion-content {
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
}
.accordion-content p:last-child {
    margin-bottom: 0;
}
.accordion-header[aria-expanded="true"] + .accordion-content {
    /* max-height will be set by JS, or a large enough value */
    /* padding-top will be handled by JS or direct style */
}

/* Press Section */
.press-list {
    list-style: disc;
    padding-left: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}
.press-list li {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
}
.press-list li a {
    font-weight: 600;
    color: var(--color-primary); /* Keep it consistent */
}
.press-list li a:hover {
    color: var(--color-secondary);
}

/* External Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}
.resource-card .card-content h3 a {
    color: var(--color-text-headings);
    text-decoration: none;
}
.resource-card .card-content h3 a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Contact Section */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-background-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: var(--color-background-footer);
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
}

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

.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--color-text-headings);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav li {
    margin-bottom: var(--spacing-xs);
}

.footer-nav a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-nav a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.social-links { /* This is ul.social-links */
    list-style: none;
    padding-left: 0;
}
.social-links li {
    margin-bottom: var(--spacing-xs);
}
.social-links a { /* These are text links */
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block; /* For padding and interaction */
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-speed) ease;
}
.social-links a:hover {
    color: var(--color-primary);
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.copyright p { margin-bottom: 0; }


/*--------------------------------------------------------------
# Page Specific Styles (Privacy, Terms, Success)
--------------------------------------------------------------*/
body.privacy-page main,
body.terms-page main {
    padding-top: calc(var(--header-height) + var(--spacing-xl)); /* Header height + extra padding */
    padding-bottom: var(--spacing-xl);
}
.privacy-page .container,
.terms-page .container {
    max-width: 800px; /* Content width for text-heavy pages */
}
.privacy-page h1, .terms-page h1 { margin-bottom: var(--spacing-lg); }
.privacy-page h2, .terms-page h2 { margin-top: var(--spacing-lg); margin-bottom: var(--spacing-sm); }


body.success-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}
.success-page .site-header,
.success-page .site-footer {
    flex-shrink: 0; /* Prevent header/footer from shrinking */
}
.success-page main {
    flex-grow: 1; /* Main content takes remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-lg);
}
.success-message-container {
    background-color: var(--color-background-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
}
.success-message-container h1 {
    color: var(--color-highlight); /* Using pastel green for success */
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}
.success-message-container p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}
/* Ensure header/footer on success page also uses body background */
.success-page .site-header { background-color: var(--color-background-body); }
.success-page .site-footer { background-color: var(--color-background-footer); }

/*--------------------------------------------------------------
# Cookie Popup (minimal styles from prompt)
--------------------------------------------------------------*/
#cookie-popup {
    /* Styles are inline in HTML as per prompt for this specific element */
    /* background-color: rgba(0, 0, 0, 0.85); */
    /* color: white; */
    /* padding: 20px; */
    /* text-align: center; */
    /* z-index: 9999; */
}
#cookie-popup p a {
    /* color: #FFCCBC;  (Pastel color for link) */
    /* text-decoration: underline; */
}
#accept-cookies {
    /* background-color: #FFCCBC; */
    /* color: #333333; */
    /* border: none; */
    /* padding: 10px 20px; */
    /* border-radius: 5px; */
    /* cursor: pointer; */
    /* font-size: 14px; */
    /* font-weight: bold; */
}

/*--------------------------------------------------------------
# AOS Animations - Placeholder for elements
# AOS library handles the actual animation based on data-aos attributes
# Ensure elements are initially hidden if needed for fade-in
--------------------------------------------------------------*/
[data-aos] {
    /* opacity: 0; */ /* Optional: if you want elements to be hidden before AOS animates them */
    /* transition-property: transform, opacity; */ /* Default AOS transition */
}


/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 1200px) {
    /* Adjust container or specific elements if needed */
}

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 3rem; }
    .section-padding { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
}

@media (max-width: 768px) {
    body { font-size: 0.95rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    .section-title { font-size: 1.8rem; margin-bottom: var(--spacing-sm); }
    .section-subtitle { font-size: 1rem; margin-bottom: var(--spacing-md); }

    .services-grid, .media-grid, .resources-grid {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column {
        margin-bottom: var(--spacing-md);
    }
    .social-links {
        justify-content: center;
    }
    .contact-form {
        padding: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-unit: 0.8rem; /* Scale down spacing for very small screens */
        --header-height: 70px;
    }
    .container { width: 95%; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .hero-content .btn { font-size: 0.9rem; padding: var(--spacing-sm) var(--spacing-md); }

    .btn { font-size: 0.9rem; padding: var(--spacing-sm) var(--spacing-md); }
}