/* style.css */

/*------------------------------------------------------------------
[Table of Contents]

1. Global Styles & CSS Variables
    - Root Variables
    - Basic Reset
    - Body & Typography
    - Container & Layout Utilities
    - Global Button Styles
    - Links

2. Neomorphism & Biomorphic Design
    - Neomorphic Elements
    - Biomorphic Shapes

3. Header & Navigation
    - Site Header
    - Logo
    - Main Navigation (Desktop & Mobile)

4. Footer
    - Site Footer
    - Footer Columns
    - Social Media Links
    - Footer Bottom

5. Section Specific Styles
    - Hero Section (#hero)
    - Services Section (#services)
    - Statistics Section (#statistics)
    - About Intro Section (#about-intro)
    - Success Stories Section (#success-stories) / Timeline
    - Team Section (#team)
    - Accolades Section (#accolades)
    - Gallery Section (#gallery)
    - Webinars Section (#webinars)
    - Sustainability Section (#sustainability)
    - External Resources Section (#external-resources)
    - FAQ Section (#faq) / Accordion
    - Contact Section (#contact)

6. Component Styles
    - Cards (.neo-card, .card)
    - Carousels (.content-carousel)
    - Forms (.neo-input, .form-group)

7. Page Specific Styles
    - Success Page (.success-page)
    - Static Content Pages (.static-page-content for privacy.html, terms.html)

8. Animations & Transitions (General)

9. Responsive Design (Media Queries)
-------------------------------------------------------------------*/

/* 1. Global Styles & CSS Variables
-------------------------------------------------------------------*/
:root {
    /* Bright Color Palette */
    --primary-color: #00AEEF; /* Bright Blue */
    --primary-color-darker: #008CBB;
    --secondary-color: #FF8C00; /* Bright Orange */
    --secondary-color-darker: #CC7000;
    --accent-color: #76D7C4; /* Bright Teal/Green */
    --accent-color-darker: #5CB8A5;

    /* Neomorphism Base & Shadows */
    --background-color-light: #F0F3F5; /* Light greyish blue, good for neomorphism */
    --background-color-light-alpha: rgba(240, 243, 245, 0.95);
    --shadow-light-strong: rgba(255, 255, 255, 0.9);
    --shadow-dark-strong: rgba(163, 177, 198, 0.6); /* Adjusted for better visibility on #F0F3F5 */
    --shadow-light-soft: rgba(255, 255, 255, 0.7);
    --shadow-dark-soft: rgba(180, 192, 210, 0.5);


    /* Text Colors */
    --text-color-dark: #2c3e50; /* Dark Blue/Grey for high contrast on light backgrounds */
    --text-color-medium: #555555;
    --text-color-light: #FFFFFF;

    /* Fonts */
    --font-family-headings: 'Roboto', sans-serif;
    --font-family-body: 'Lato', sans-serif;

    /* Transitions & Borders */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --border-radius-soft: 8px;
    --border-radius-medium: 15px;
    --border-radius-large: 25px; /* For biomorphic touches */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Neomorphism Shadows */
    --neo-shadow-outer: 6px 6px 12px var(--shadow-dark-soft), -6px -6px 12px var(--shadow-light-soft);
    --neo-shadow-outer-strong: 8px 8px 16px var(--shadow-dark-strong), -8px -8px 16px var(--shadow-light-strong);
    --neo-shadow-inner: inset 5px 5px 10px var(--shadow-dark-soft), inset -5px -5px 10px var(--shadow-light-soft);
    --neo-shadow-inner-strong: inset 7px 7px 14px var(--shadow-dark-strong), inset -7px -7px 14px var(--shadow-light-strong);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color-dark); /* Default dark color for headings */
    margin-bottom: var(--spacing-md);
}
h1 { font-size: 2.8rem; font-weight: 900; }
h2 { font-size: 2.2rem; font-weight: 900; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: #222222; /* Extra dark for contrast */
}

.section-title.text-left {
    text-align: left;
}

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

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-color-medium);
}

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

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

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

.main-container {
    position: relative;
    overflow: hidden; /* For parallax or biomorphic elements if they overflow */
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.two-columns-grid {
    grid-template-columns: 1fr; /* Default for mobile */
    align-items: center;
}

@media (min-width: 768px) {
    .two-columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    .two-columns-grid .column-text {
        padding-right: var(--spacing-md); /* Spacing between text and image */
    }
     .two-columns-grid .column-image {
        padding-left: var(--spacing-md);
    }
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.resources-list.grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gallery-grid.content-carousel { /* For gallery if it's a carousel */
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0; /* Space for scrollbar or visual */
}
.gallery-grid.content-carousel .gallery-item {
    flex: 0 0 300px; /* Adjust width as needed */
}

/* Global Button Styles */
.neo-button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-headings);
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-medium);
    background-color: var(--background-color-light);
    color: var(--primary-color);
    box-shadow: var(--neo-shadow-outer);
    transition: all var(--transition-speed-normal) ease-in-out;
    font-size: 1rem;
}

.neo-button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    box-shadow: var(--neo-shadow-inner);
    color: var(--primary-color-darker);
}

.neo-button:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    box-shadow: var(--neo-shadow-inner-strong);
    transform: translateY(1px);
}

.neo-button.primary-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 4px 4px 8px var(--shadow-dark-soft), -4px -4px 8px var(--shadow-light-soft); /* Subtle shadow for colored buttons */
}

.neo-button.primary-button:hover {
    background-color: var(--primary-color-darker);
    box-shadow: inset 3px 3px 6px #007cb1, inset -3px -3px 6px #00dfff; /* Inset shadow specific to primary color */
    color: var(--text-color-light);
}

.neo-button.small-button {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.9rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease-in-out;
}

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

.read-more-link {
    font-weight: 700;
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--accent-color);
}
.read-more-link:hover {
    color: var(--accent-color-darker);
}


/* 2. Neomorphism & Biomorphic Design
-------------------------------------------------------------------*/
.neo-element {
    background-color: var(--background-color-light);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--neo-shadow-outer);
    padding: var(--spacing-md);
    transition: box-shadow var(--transition-speed-normal) ease-in-out;
}
.neo-element:hover {
    box-shadow: var(--neo-shadow-outer-strong); /* Slightly more pronounced on hover */
}

.neo-inset-background {
    background-color: var(--background-color-light);
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    box-shadow: var(--neo-shadow-inner-strong);
}

.biomorphic-shape {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero-biomorphic {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Example biomorphic shape */
    bottom: 10%;
    right: 5%;
    animation: subtle-morph 15s infinite alternate ease-in-out;
}

@keyframes subtle-morph {
    0% {
        transform: scale(1) rotate(0deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        transform: scale(1.1) rotate(20deg);
        border-radius: 30% 70% 60% 40% / 70% 40% 30% 60%;
    }
}

.biomorphic-accent { /* For small icons like in timeline */
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50% 40% 60% 30% / 40% 50% 30% 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    font-size: 1rem;
}

.biomorphic-frame { /* For image containers */
    border-radius: var(--border-radius-large); /* Soft biomorphic curve */
    overflow: hidden;
}


/* 3. Header & Navigation
-------------------------------------------------------------------*/
.site-header {
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    position: sticky; /* Make header sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--background-color-light-alpha); /* Semi-transparent */
    backdrop-filter: blur(5px);
    transition: box-shadow var(--transition-speed-normal) ease-in-out;
}

.site-header.scrolled { /* Add via JS on scroll */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.logo img {
    display: block;
    max-height: 50px; /* Adjust as needed */
    width: auto;
}

.main-navigation .nav-list {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.main-navigation .nav-list a {
    font-family: var(--font-family-headings);
    font-weight: 700;
    color: var(--text-color-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-soft);
    transition: background-color var(--transition-speed-normal), color var(--transition-speed-normal);
}

.main-navigation .nav-list a:hover,
.main-navigation .nav-list a.active { /* Add .active via JS */
    color: var(--primary-color);
    background-color: rgba(0, 174, 239, 0.1); /* Light primary bg on hover */
    text-decoration: none;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001; /* Above nav list for mobile */
    box-shadow: none; /* Override global button style */
}
.menu-toggle:hover {
    box-shadow: none;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    background-color: var(--text-color-dark);
    height: 3px;
    width: 100%;
    border-radius: 3px;
    transition: all var(--transition-speed-normal) ease-in-out;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

/* Mobile Menu Open State (Toggled by JS) */
.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent; /* Middle bar disappears */
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(0) rotate(-45deg);
}


/* 4. Footer
-------------------------------------------------------------------*/
.site-footer {
    background-color: var(--text-color-dark); /* Dark footer background */
    color: var(--text-color-light);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-radius: 0; /* Override neo-element if applied directly */
}
.neo-element-footer { /* Special class for footer if it uses neomorphism, currently dark bg */
     background-color: var(--text-color-dark);
     border-radius: 0;
}


.site-footer h4 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.site-footer p, .site-footer li {
    color: #bdc3c7; /* Lighter grey for footer text */
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}

.site-footer a {
    color: var(--text-color-light);
}

.site-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

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

.footer-column ul {
    list-style: none;
}

.social-media-links li {
    margin-bottom: var(--spacing-xs);
}
.social-media-links a {
    display: inline-block; /* For better click area and potential icon alignment */
    /* Text links, no icons needed per requirement */
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #95a5a6; /* Even lighter for copyright */
    font-size: 0.9rem;
    margin-bottom: 0;
}


/* 5. Section Specific Styles
-------------------------------------------------------------------*/

/* Hero Section */
#hero {
    position: relative;
    min-height: 80vh; /* Ensure it's substantial but not excessively tall */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    color: var(--text-color-light);
    padding: var(--spacing-xxl) var(--spacing-sm);
}

.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.7)); /* Darkening overlay for text readability */
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem; /* Larger for hero */
    margin-bottom: var(--spacing-md);
    color: var(--text-color-light); /* Explicitly white */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color-light); /* Explicitly white */
    line-height: 1.6;
}

/* Statistics Section */
#statistics {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    color: var(--text-color-light);
}

.statistics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 174, 239, 0.7), rgba(0, 140, 187, 0.85)); /* Primary color overlay */
    z-index: 1;
}

#statistics .container {
    position: relative;
    z-index: 2;
}

#statistics .section-title, #statistics .statistic-label {
    color: var(--text-color-light);
}
#statistics .section-title {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.statistic-item {
    background-color: rgba(255,255,255,0.1); /* Glassmorphism touch */
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--border-radius-medium);
    backdrop-filter: blur(5px);
    box-shadow: var(--neo-shadow-outer); /* Using neo shadow on glass element for consistency */
}

.statistic-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-family-headings);
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-color-light);
}

.statistic-label {
    font-size: 1.1rem;
    margin-bottom: 0;
}


/* About Intro Section */
#about-intro .image-container img {
    width: 100%;
    height: auto; /* Or fixed height if needed */
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-large);
}

/* Success Stories / Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    opacity: 0.3;
}

.timeline-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    position: relative;
    background-color: var(--background-color-light); /* Using neo-card style */
    width: calc(50% - 25px); /* Adjust width considering the gap from the line */
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius-medium);
}
.timeline-item.neo-card { /* If neo-card is used on timeline-item */
    padding: var(--spacing-md);
}


/* Positioning timeline items on left and right */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right; /* Adjust content alignment */
}
.timeline-item:nth-child(odd) .timeline-icon {
    right: -30px; /* Position icon for odd items */
    left: auto;
}
.timeline-item:nth-child(odd)::before { /* Connector arrow */
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--background-color-light);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--background-color-light);
}


.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left; /* Adjust content alignment */
}
.timeline-item:nth-child(even) .timeline-icon {
    left: -30px; /* Position icon for even items */
    right: auto;
}
.timeline-item:nth-child(even)::before { /* Connector arrow */
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--background-color-light);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--background-color-light) transparent transparent;
}


.timeline-icon {
    position: absolute;
    top: 20px;
    width: 40px; /* Diameter of the icon circle */
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    z-index: 10;
    font-size: 1.2rem;
    box-shadow: 0 0 0 3px var(--background-color-light), var(--neo-shadow-outer);
}
.timeline-icon.biomorphic-accent { /* If using biomorphic style for icon */
    width: 40px;
    height: 40px;
    line-height: normal; /* Override if needed for flex centering */
    box-shadow: 0 0 0 3px var(--background-color-light), var(--neo-shadow-outer);
}


.timeline-content h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}
.timeline-content p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
}
.timeline-content small {
    font-size: 0.85rem;
    color: var(--text-color-medium);
}

/* Team Section */
.team-member-card {
    text-align: center;
}
.team-member-card .card-image {
    width: 150px; /* Fixed size for profile picture */
    height: 150px;
    border-radius: 50%; /* Circular images */
    margin: 0 auto var(--spacing-md) auto; /* Center image */
    box-shadow: var(--neo-shadow-outer-strong); /* Stronger shadow for prominent elements */
}
.team-member-card .card-image img {
    border-radius: 50%;
}
.member-name {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.member-title {
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
}
.member-bio {
    font-size: 0.9rem;
}


/* Accolades Section */
.accolades-carousel .accolade-item {
    text-align: center;
    padding: var(--spacing-md);
}
.accolade-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: var(--spacing-sm);
}
.accolade-item h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}


/* Gallery Section */
.gallery-item img {
    border-radius: var(--border-radius-medium);
    transition: transform var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
}
.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: var(--neo-shadow-outer-strong);
}

/* Webinars Section - uses timeline styles */
#webinars .timeline-item {
    width: 100%; /* Full width for webinar items, not split */
    left: 0;
    text-align: left;
    margin-left: 30px; /* Offset from where the line would be */
}
#webinars .timeline-item::before { /* Remove arrows for full width items */
    display: none;
}
#webinars .timeline-icon {
    left: -20px; /* Position icon to the left of the item */
    /* top: 50%; transform: translateY(-50%); if dynamic height */
}
#webinars .timeline::after { /* Adjust line for full-width items */
    left: 20px; /* Position line to the left */
    margin-left: 0;
}


/* FAQ Section / Accordion */
.accordion {
    max-width: 700px;
    margin: 0 auto;
}
.accordion-item {
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius-medium); /* Neomorphic element already has this */
}
.accordion-header {
    width: 100%;
    background-color: transparent; /* Part of neo-element */
    border: none;
    text-align: left;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 1.2rem;
    font-family: var(--font-family-headings);
    color: var(--primary-color);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none; /* Override global button style */
}
.accordion-header:hover {
    color: var(--primary-color-darker);
    box-shadow: none; /* Override global button style */
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform var(--transition-speed-normal);
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 var(--spacing-md) var(--spacing-sm) var(--spacing-md);
    display: none; /* JS will toggle */
    font-size: 1rem;
    line-height: 1.6;
}
.accordion-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
#contact {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)); /* Dark overlay for text readability */
    z-index: 1;
}

#contact .container {
    position: relative;
    z-index: 2;
}

#contact .section-title, #contact .section-intro, #contact .contact-details h3, #contact .contact-details p {
    color: var(--text-color-light); /* Light text on dark background */
}
#contact .section-title {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}


.contact-form-container {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl) auto;
    padding: var(--spacing-lg); /* More padding for form container */
    background-color: var(--background-color-light-alpha); /* Semi-transparent white for form bg */
    backdrop-filter: blur(8px);
}
.contact-form-container .form-label {
    color: var(--text-color-dark); /* Ensure labels are dark on light form bg */
}


.contact-details {
    text-align: center;
}
.contact-details img { /* For icons next to contact info */
    vertical-align: middle;
    margin-right: var(--spacing-xs);
    width: 20px;
    height: 20px;
}


/* 6. Component Styles
-------------------------------------------------------------------*/

/* Cards (.neo-card, .card) */
.neo-card, .card {
    background-color: var(--background-color-light);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--neo-shadow-outer);
    padding: var(--spacing-md);
    transition: transform var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
    display: flex;
    flex-direction: column;
    /* align-items: center; -- This centers all content including card-image which might not be desired if it's full-width */
    height: 100%; /* For consistent height in grids/carousels */
}

.neo-card:hover, .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neo-shadow-outer-strong);
}

.card-image, .image-container { /* Ensure this class is on the div wrapping img */
    width: 100%;
    height: 200px; /* Standard height for card images */
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-soft); /* Soft radius for image itself */
    display: flex; /* For centering image if it's smaller than container */
    align-items: center;
    justify-content: center;
}

.card-image img, .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crucial for aspect ratio */
    display: block;
    transition: transform var(--transition-speed-normal);
}
.neo-card:hover .card-image img, .card:hover .image-container img {
    transform: scale(1.05);
}

.card-content {
    text-align: center; /* Center text content within card */
    flex-grow: 1; /* Allows content to fill space if card has fixed height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if card has variable content */
}

.card-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}
.card-content p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    flex-grow: 1; /* Allows text to take up available space */
}
.card-content .neo-button {
    margin-top: auto; /* Pushes button to the bottom of card content */
}


/* Carousels */
.content-carousel {
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0; /* Space for scrollbar or visual */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--background-color-light);
}
.content-carousel::-webkit-scrollbar {
    height: 8px;
}
.content-carousel::-webkit-scrollbar-track {
    background: var(--background-color-light);
    border-radius: 4px;
}
.content-carousel::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
}

.carousel-item {
    flex: 0 0 auto; /* Prevent shrinking/growing */
    width: 90%; /* Default for smaller screens, shows one and a bit */
    max-width: 350px; /* Max width of a carousel item */
}
@media (min-width: 576px) {
    .carousel-item {
        width: 60%;
    }
}
@media (min-width: 768px) {
    .carousel-item {
        width: 45%;
    }
}
@media (min-width: 992px) {
    .carousel-item {
        width: 31%; /* Approx 3 items */
    }
}
.carousel-item .card { /* Ensure card within carousel item takes full height */
    height: 100%;
}


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

.neo-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius-soft);
    background-color: var(--background-color-light);
    box-shadow: var(--neo-shadow-inner);
    font-size: 1rem;
    color: var(--text-color-dark);
    transition: box-shadow var(--transition-speed-normal);
    font-family: var(--font-family-body);
}

.neo-input::placeholder {
    color: #95a5a6;
}

.neo-input:focus {
    outline: none;
    box-shadow: var(--neo-shadow-inner-strong), 0 0 0 2px var(--primary-color-darker); /* Highlight focus */
}

.form-label { /* Floating label style */
    position: absolute;
    left: var(--spacing-md);
    top: var(--spacing-sm);
    color: var(--text-color-medium);
    pointer-events: none;
    transition: all var(--transition-speed-normal) ease;
    background-color: var(--background-color-light); /* Match input bg for clean float */
    padding: 0 var(--spacing-xs);
}

.neo-input:focus + .form-label,
.neo-input:not(:placeholder-shown) + .form-label {
    top: -0.75em; /* Adjust to sit above the input border */
    left: var(--spacing-sm);
    font-size: 0.85em;
    color: var(--primary-color);
}
.contact-form-container .neo-button.submit-button {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
}


/* 7. Page Specific Styles
-------------------------------------------------------------------*/

/* Success Page */
.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px); /* Adjust if header/footer have fixed height */
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-color-light);
}

.success-content {
    background-color: rgba(255, 255, 255, 0.15); /* Glassmorphism effect */
    padding: var(--spacing-xxl) var(--spacing-xl);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 600px;
}

.success-page-container h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-color-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.success-page-container p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color-light);
}
.success-page-container .neo-button {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}
.success-page-container .neo-button:hover {
    background-color: var(--secondary-color-darker);
}

/* Static Content Pages (Privacy, Terms) */
.static-page-content {
    padding-top: 120px; /* Account for sticky header height + extra space */
    padding-bottom: var(--spacing-xxl);
    min-height: 70vh;
}
.static-page-content .container h1 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}
.static-page-content .container h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}
.static-page-content .container p,
.static-page-content .container ul,
.static-page-content .container ol {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}
.static-page-content .container ul,
.static-page-content .container ol {
    padding-left: var(--spacing-lg);
}


/* 8. Animations & Transitions (General AOS will handle on-scroll)
-------------------------------------------------------------------*/
/* AOS animations are defined by the library. CSS transitions are for hover states etc. */
[data-aos] {
    transition-property: transform, opacity; /* Default AOS transition properties */
}


/* 9. Responsive Design (Media Queries)
-------------------------------------------------------------------*/
@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
}

@media (max-width: 767px) {
    .section-padding {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }

    /* Mobile Navigation */
    .menu-toggle {
        display: block; /* Show burger icon */
    }
    .main-navigation .nav-list {
        display: none; /* Hide nav list by default */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--background-color-light);
        flex-direction: column;
        padding: var(--spacing-md) 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-top: 1px solid var(--shadow-dark-soft);
    }
    .main-navigation .nav-list.active {
        display: flex; /* Show when active */
    }
    .main-navigation .nav-list li {
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-list a {
        display: block;
        padding: var(--spacing-sm);
        width: 100%;
    }

    /* Timeline for mobile */
    .timeline::after {
        left: 20px; /* Move line to the left */
    }
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: calc(100% - 40px); /* Full width minus space for icon/line */
        left: 40px; /* Offset from the line */
        text-align: left;
        padding-left: var(--spacing-lg);
    }
    .timeline-item::before,
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before { /* Arrow for mobile */
        left: -10px; /* Position arrow to point to the line */
        right: auto;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--background-color-light) transparent transparent;
    }
    .timeline-item .timeline-icon,
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: -20px; /* Icon on the line */
        right: auto;
    }
    #webinars .timeline::after, #webinars .timeline-item, #webinars .timeline-icon {
        /* Already adjusted for full width, should be fine */
    }


    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns on mobile */
        text-align: center;
    }
    .footer-column ul {
        padding-left: 0;
    }
    .footer-column.footer-about p {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 575px) {
    .container { width: 95%; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .neo-button, button, input[type="submit"] {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }
    .statistic-item { padding: var(--spacing-md); }
    .statistic-number { font-size: 2.2rem; }
    .statistic-label { font-size: 1rem; }
}