/* style.css */

:root {
    --primary-color: #05BFDB; /* Futuristic Teal-Blue */
    --primary-rgb: 5, 191, 219;
    --secondary-color: #48E5C2; /* Bright Teal/Green */
    --accent-color: #5E5CE6; /* Futuristic Indigo */

    --dark-bg-color: #0A192F; /* Very Dark Navy */
    --medium-bg-color: #172A45; /* Dark Slate Blue */
    --light-bg-color: #F0F8FF; /* Alice Blue - very light */
    --card-bg-color: rgba(23, 42, 69, 0.6); /* Semi-transparent dark slate blue for cards */
    --card-bg-solid: #1E3050; /* Solid card bg for less busy sections */

    --text-color-dark: #1A1A1A;
    --text-color-medium-dark: #454545;
    --text-color-light: #E6F1FF; /* Light Blueish White */
    --text-color-headings: #031A3D; /* Very Dark Blue for headings on light bg */
    --text-color-headings-light: #FFFFFF;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;

    --shadow-color-light: rgba(0, 0, 0, 0.1);
    --shadow-color-dark: rgba(0, 0, 0, 0.3);
    --volumetric-shadow-light-bg: 5px 5px 15px rgba(0,0,0,0.1), -5px -5px 10px rgba(255,255,255,0.7);
    --volumetric-shadow-dark-bg: 5px 5px 15px rgba(0,0,0,0.4), -3px -3px 8px rgba(255,255,255,0.05);

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

    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Particle Container */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: var(--dark-bg-color);
    /* Particles will be added via JS */
}

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1em;
}

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

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

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

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

.section-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color-headings);
    position: relative;
    padding-bottom: 10px;
    text-shadow: 1px 1px 2px var(--shadow-color-light);
}
.section-title.light-text {
    color: var(--text-color-headings-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: var(--border-radius-sm);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color-medium-dark);
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}
.section-subtitle.light-text {
     color: var(--text-color-light);
     opacity: 0.9;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 25, 47, 0.85); /* Dark bg with transparency */
    backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.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(--text-color-light);
}
.logo span {
    color: var(--primary-color);
}

.main-nav .nav-menu {
    list-style: none;
    display: flex;
}
.main-nav .nav-menu li {
    margin-left: 25px;
}
.main-nav .nav-menu a {
    color: var(--text-color-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav .nav-menu a:hover,
.main-nav .nav-menu a.active { /* Add 'active' class with JS for current page/section */
    color: var(--primary-color);
}
.main-nav .nav-menu a:hover::after,
.main-nav .nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-light);
    position: relative;
    transition: background-color 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-light);
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Active state for hamburger */
.nav-toggle.active .hamburger { background-color: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active .hamburger::after { transform: rotate(-45deg); bottom: 0; }


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

/* Buttons - GLOBAL */
.btn, button[type="submit"], input[type="submit"] {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15),
                0px 3px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:active, button[type="submit"]:active, input[type="submit"]:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2),
                inset 0px 1px 3px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-color-light);
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0px 8px 18px rgba(var(--primary-rgb), 0.3),
                0px 4px 8px rgba(var(--primary-rgb), 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0px 5px 10px rgba(var(--primary-rgb), 0.2);
}
.btn-secondary.light-text-btn { /* For use on dark backgrounds */
    color: var(--text-color-light);
    border-color: var(--text-color-light);
}
.btn-secondary.light-text-btn:hover {
    background-color: var(--text-color-light);
    color: var(--dark-bg-color);
}


/* Hero Section */
.hero-section {
    position: relative;
    color: var(--text-color-headings-light); /* STYLES FOR TEXT ARE SET DIRECTLY IN HTML FOR HERO */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - var(--header-height));
    padding: 40px 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

/* About Us Section */
#about-us { background-color: var(--light-bg-color); }
.content-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.column { flex: 1; min-width: 300px; }
.text-column p { color: var(--text-color-medium-dark); }
.image-column .image-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--volumetric-shadow-light-bg);
}
.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
#services { background-color: var(--dark-bg-color); }
#services .section-title, #services .section-subtitle { color: var(--text-color-light); }
#services .section-title::after { background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--volumetric-shadow-dark-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5), -5px -5px 10px rgba(255,255,255,0.07);
}
.card-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.card-content p {
    color: var(--text-color-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Statistics Section */
.statistics-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax-like effect */
    padding: 80px 0;
}
.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(var(--dark-bg-color-rgb, 10, 25, 47), 0.8), rgba(var(--dark-bg-color-rgb, 10, 25, 47), 0.95));
    z-index: 1;
}
.statistics-section .container { position: relative; z-index: 2; }
.statistics-section .section-title { color: var(--text-color-headings-light); }
.stats-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-widget {
    background-color: rgba(255,255,255,0.05);
    padding: 30px 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    backdrop-filter: blur(5px);
}
.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.stat-label {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color-light);
    font-weight: 600;
    margin-bottom: 10px;
}
.stat-description {
    font-size: 0.9rem;
    color: rgba(230, 241, 255, 0.8); /* Lighter than --text-color-light */
    line-height: 1.5;
}

/* Webinars Section */
#webinars { background-color: var(--light-bg-color); }
.webinars-list {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.webinar-item {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--volumetric-shadow-light-bg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.webinar-image-container {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
}
.webinar-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.webinar-item:hover .webinar-image-container img {
    transform: scale(1.05);
}
.webinar-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.webinar-content h3 { color: var(--text-color-headings); font-size: 1.4rem; }
.webinar-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}
.webinar-content p {
    font-size: 0.95rem;
    color: var(--text-color-medium-dark);
    margin-bottom: 15px;
}
.webinar-content .btn-secondary { align-self: flex-start; }


/* Modals */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 25, 47, 0.9); /* Dark overlay */
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--medium-bg-color);
    color: var(--text-color-light);
    margin: 10% auto;
    padding: 30px;
    border: 1px solid rgba(var(--primary-rgb),0.3);
    width: 80%;
    max-width: 700px;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: modalOpen 0.5s ease-out;
}
@keyframes modalOpen {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-content img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}
.modal-content h3 { color: var(--primary-color); }
.modal-content ul { list-style-position: inside; padding-left: 0; margin-bottom: 15px; }
.modal-content ul li { margin-bottom: 8px; }
.close-btn {
    color: var(--text-color-light);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    transition: color 0.2s ease;
}
.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}


/* Projects Section */
#projects { background-color: var(--light-bg-color); }
/* Uses .cards-grid and .card styles from Services, but with light background card content */
#projects .card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-shadow: var(--volumetric-shadow-light-bg);
}
#projects .card-content h3 { color: var(--text-color-headings); }
#projects .card-content p { color: var(--text-color-medium-dark); }


/* Success Stories Section */
.success-stories-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}
.success-stories-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.85), rgba(var(--accent-rgb, 94, 92, 230), 0.85));
    z-index: 1;
}
.success-stories-section .container { position: relative; z-index: 2; }
.success-stories-section .section-title,
.success-stories-section .section-subtitle { color: var(--text-color-headings-light); text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.success-stories-section .section-title::after { background: var(--text-color-light); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: rgba(255,255,255,0.15); /* Glassy on colored bg */
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: var(--text-color-light);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--secondary-color);
}
.testimonial-card p { font-style: italic; margin-bottom: 20px; font-size: 1.05rem; }
.testimonial-card h4 { font-weight: 600; color: var(--text-color-light); font-size: 1.1rem; }


/* Sustainability Section */
#sustainability { background-color: var(--light-bg-color); }
/* Uses .content-columns from About Us */


/* Community Section */
.community-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
}
.community-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(var(--dark-bg-color-rgb, 10, 25, 47), 0.9);
    z-index: 1;
}
.community-section .container { position: relative; z-index: 2; }
.community-section .section-title,
.community-section .section-subtitle,
.community-section p { color: var(--text-color-light); }
.community-section .section-title::after { background: var(--primary-color); }
.community-section .btn-secondary { margin-top: 20px; border-color:var(--text-color-light); color: var(--text-color-light)}
.community-section .btn-secondary:hover { background-color: var(--text-color-light); color: var(--dark-bg-color)}

/* Media Section */
#media { background-color: #FFFFFF; } /* White background for clean logo display */
.media-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.media-logo img {
    max-height: 50px; /* Consistent height */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.media-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* External Resources Section */
#external-resources { background-color: var(--dark-bg-color); }
#external-resources .section-title,
#external-resources .section-subtitle { color: var(--text-color-light); }
.external-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.external-link-card {
    background-color: var(--medium-bg-color);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.external-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.external-link-card h4 a {
    color: var(--secondary-color);
    font-size: 1.2rem;
}
.external-link-card h4 a:hover {
    text-decoration: underline;
}
.external-link-card p {
    color: rgba(230, 241, 255, 0.85);
    font-size: 0.9rem;
    margin-top: 10px;
}


/* Contact Section */
#contact { background-color: var(--medium-bg-color); } /* Slightly lighter dark */
#contact .section-title, #contact .section-subtitle { color: var(--text-color-light); }
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--dark-bg-color);
    padding: 30px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--volumetric-shadow-dark-bg);
}
.form-group {
    margin-bottom: 25px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-light);
    font-size: 0.9rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="subject"], /* Added subject styling */
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-color-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2),
                inset -1px -1px 3px rgba(255,255,255,0.03);
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="subject"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25),
                inset 1px 1px 3px rgba(0,0,0,0.2),
                inset -1px -1px 3px rgba(255,255,255,0.03);
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form button[type="submit"] {
    width: 100%;
    padding: 16px 32px; /* Larger padding for main action */
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background-color: var(--dark-bg-color);
    color: var(--text-color-light);
    padding: 50px 0 20px 0;
    font-size: 0.9rem;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.footer-column p {
    color: rgba(230, 241, 255, 0.8);
    line-height: 1.6;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul a {
    color: rgba(230, 241, 255, 0.85);
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-column ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-column .social-links a {
    /* Text-based, inherits color from above */
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(230, 241, 255, 0.7);
}

/* Special Page Styles */

/* Success Page (success.html) */
body.success-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg-color), var(--medium-bg-color));
    color: var(--text-color-light);
    padding: 20px;
}
.success-page .success-content {
    background-color: rgba(var(--dark-bg-color-rgb,10,25,47),0.7);
    backdrop-filter: blur(10px);
    padding: 40px 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    text-align: center;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}
.success-page .success-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.success-page .success-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.success-page .success-content .btn {
    margin-top: 10px;
}

/* Privacy & Terms Pages (privacy.html, terms.html) */
body.privacy-page main,
body.terms-page main {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    background-color: #FFFFFF; /* Ensure content is on a light background */
}
body.privacy-page .container,
body.terms-page .container {
    background-color: #FFFFFF;
    color: var(--text-color-dark);
    padding: 30px;
    border-radius: var(--border-radius-md);
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.05); Optional shadow for content box */
}
body.privacy-page h1, body.privacy-page h2, body.privacy-page h3,
body.terms-page h1, body.terms-page h2, body.terms-page h3 {
    color: var(--text-color-headings);
}
body.privacy-page p, body.privacy-page li,
body.terms-page p, body.terms-page li {
    color: var(--text-color-medium-dark);
}


/* Scroll Animation Hook */
.scroll-animate {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    h2, .section-title { font-size: 2rem; }

    .content-columns { flex-direction: column; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .nav-toggle { display: block; z-index: 1001; /* Above menu */ }
    .main-nav .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Off-screen */
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark-bg-color);
        flex-direction: column;
        padding-top: calc(var(--header-height) + 20px);
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    .main-nav .nav-menu.active {
        right: 0;
    }
    .main-nav .nav-menu li {
        margin-left: 0;
        width: 100%;
    }
    .main-nav .nav-menu a {
        display: block;
        padding: 15px 25px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .main-nav .nav-menu a::after { display: none; } /* No underline on mobile links */

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }

    .footer-columns { grid-template-columns: 1fr; text-align: center; }
    .footer-column ul { padding-left: 0; }
}

@media (max-width: 480px) {
    .container { width: 95%; }
    h1 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    h2, .section-title { font-size: 1.8rem; }
    .btn, button[type="submit"] { padding: 12px 24px; font-size: 0.9rem;}
    .contact-form { padding: 20px; }
    .modal-content { margin: 5% auto; width: 90%; padding: 20px; }
}


/* Cookie Popup specific styles - HTML already has inline styles, this is for robustness or overriding */
#cookiePopup {
    font-family: var(--font-body); /* Ensure consistent font */
}
#cookiePopup p a {
    text-decoration: underline; /* Default was underline, ensure it stays if CSS resets it */
}
#acceptCookie {
    font-family: var(--font-body); /* Ensure consistent font */
    font-weight: 600;
}
.nav-toggle{
    display: none;
}