:root {
    --font-heading: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;

    --color-primary: #0D6EFD; /* Vibrant Blue */
    --color-primary-dark: #0A58CA;
    --color-accent: #FF8C00; /* Dark Orange */
    --color-accent-dark: #D97706; /* Darker Orange for hover */
    --color-secondary: #6C757D; /* Medium Grey/Blue for secondary text or elements */
    --color-secondary-dark: #5A6268;

    --color-text-light: #FFFFFF;
    --color-text-dark: #212529;
    --color-text-medium: #495057;
    --color-text-headings: #182A3C; /* Dark, slightly desaturated blue */
    --color-text-success: #155724;

    --color-background-light: #F8F9FA;
    --color-background-medium: #E9ECEF;
    --color-background-dark: #1F2B38; /* Dark blue-gray for contrast sections */
    --color-background-footer: #121921;
    --color-background-success: #D4EDDA;

    --color-border: #DEE2E6;
    --color-input-border: #CED4DA;
    --color-input-focus-border: var(--color-primary);
    --color-input-focus-shadow: rgba(13, 110, 253, 0.25);

    --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55));
    --gradient-overlay-light: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));

    --box-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.12);

    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;

    --transition-speed: 0.3s ease;
    --section-padding: 60px 0;
    --section-padding-alt: 80px 0;

    --container-width: 1200px;
    --header-height: 80px;
}

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

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

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

.main-content {
    padding-top: var(--header-height); /* Adjust for fixed header */
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 99999;
    transform: translateY(100%);
}
body.barba-leave-active .page-transition {
    transform: translateY(0);
    transition: transform 0.5s var(--transition-speed);
}
body.barba-enter-active .page-transition {
    transform: translateY(-100%);
    transition: transform 0.5s var(--transition-speed);
}


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

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

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

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-medium);
}

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

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

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

ul, ol {
    list-style-position: inside;
    padding-left: 0; /* Reset for custom styling */
}

/* Buttons - Global Styles */
.cta-button,
.cta-button-secondary,
.cta-button-small,
.form-submit-button,
button[type="submit"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed);
    text-decoration: none;
    line-height: 1.5;
}

.cta-button, .form-submit-button, button[type="submit"] {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
}

.cta-button:hover, .form-submit-button:hover, button[type="submit"]:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-medium);
    text-decoration: none;
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.cta-button-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-soft);
    text-decoration: none;
}

.cta-button-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}
.cta-button-small:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-text-light);
    text-decoration: none;
}


/* Forms - Global Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text-headings);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-text-light);
    border: 1px solid var(--color-input-border);
    border-radius: var(--border-radius-small);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--color-input-focus-border);
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--color-input-focus-shadow);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Section Styling */
.section-padding {
    padding: var(--section-padding);
}
.section-padding-alt {
    padding: var(--section-padding-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem; /* Default margin, can be overridden */
    font-weight: 900;
    color: var(--color-text-headings);
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--color-text-medium);
}
.section-outro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    font-size: 1.05rem;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0; /* Reduced padding for a sleeker look */
    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;
}

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

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

.main-navigation .nav-link {
    font-family: var(--font-heading);
    padding: 0.8rem 1rem; /* Slightly increased padding for better clickability */
    text-decoration: none;
    color: var(--color-text-headings);
    font-weight: 500;
    position: relative;
    transition: color var(--transition-speed);
    font-size: 1rem;
}

.main-navigation .nav-link:hover,
.main-navigation .nav-link.active {
    color: var(--color-primary);
}

.main-navigation .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px; /* Position adjusted */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed);
}

.main-navigation .nav-link:hover::after,
.main-navigation .nav-link.active::after {
    width: 60%;
}

.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-headings);
    position: relative;
    transition: background-color 0s 0.3s; /* Delay background disappearing */
}
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-headings);
    transition: transform var(--transition-speed), top var(--transition-speed) 0.3s;
}
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { top: 8px; }

.menu-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent; /* Middle bar disappears */
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
    transition: top var(--transition-speed), transform var(--transition-speed) 0.3s;
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg);
    transition: top var(--transition-speed), transform var(--transition-speed) 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--color-text-light);
    padding: 120px 0; /* Increased padding for impact */
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 85vh; /* Use min-height for better control */
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--color-text-light); /* Explicitly white as per requirement */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-light); /* Explicitly white */
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-section .cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Generic Card Styles */
.card {
    background-color: var(--color-text-light);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-medium);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    text-align: left; /* Default text align for content */
}

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

.card .image-container, /* If a separate container is used */
.card .card-image {
    width: 100%;
    overflow: hidden;
    /* align-self: center; */ /* If card has align-items: center and this isn't full width */
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}

.card .card-content {
    padding: 1.75rem;
    flex-grow: 1; /* Allows content to fill space if card heights are equalized by grid/flex */
    display: flex;
    flex-direction: column;
}
.card .card-content > *:last-child {
    margin-bottom: 0;
}

.card .card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-headings);
    text-align: center; /* Centered card titles */
}
.card .card-content p {
    color: var(--color-text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; /* Pushes actions to bottom if any */
}

/* Services Section */
.services-section .section-title { margin-bottom: 3rem; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card .card-image {
    height: 220px; /* Fixed height for service card images */
}

/* Our Process Section */
.our-process-section {
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.process-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-overlay); /* Darker overlay for dark BG image */
    z-index: 1;
}
.our-process-section .container { position: relative; z-index: 2; }
.our-process-section .section-title,
.our-process-section .section-intro,
.our-process-section .timeline-title,
.our-process-section .timeline-content p {
    color: var(--color-text-light);
}
.our-process-section .section-intro { opacity: 0.9; }

.timeline {
    position: relative;
    max-width: 900px;
    margin: 2rem auto 0;
}
.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }

.timeline-item::after { /* The circles on the timeline */
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-text-light);
    border: 4px solid var(--color-accent);
    top: 20px;
    border-radius: 50%;
    z-index: 2;
}
.timeline-item:nth-child(even)::after { left: -10px; }

.timeline-icon {
    position: absolute;
    z-index: 3; /* Above the line and circle */
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5px;
    color: var(--color-text-light);
    font-size: 1.5rem; /* For icon font */
}
.timeline-item:nth-child(odd) .timeline-icon { right: -25px; /* Adjust based on item padding and icon size */ }
.timeline-item:nth-child(even) .timeline-icon { left: -25px; }

.timeline-content {
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle glassmorphism on dark */
    backdrop-filter: blur(5px);
    position: relative;
    border-radius: var(--border-radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.timeline-title { font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 600; }
.timeline-content p { font-size: 0.95rem; opacity: 0.9; margin-bottom: 0; }

/* Research Section */
.research-section .section-title { margin-bottom: 3rem; }
.research-content-layout {
    display: grid;
    grid-template-columns: 1fr; /* Default for mobile */
    gap: 2.5rem;
    align-items: flex-start; /* Changed to flex-start for better text/image alignment */
}
.research-visuals img {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-strong);
    margin-bottom: 1.5rem;
}
.statistical-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.stat-widget {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius-small);
    text-align: center;
    box-shadow: var(--box-shadow-soft);
}
.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}
.research-text p { font-size: 1.05rem; }

/* Behind the Scenes Section */
.behind-scenes-section { background-color: var(--color-background-medium); }
.behind-scenes-section .section-title { margin-bottom: 1rem; }
.behind-scenes-section .section-intro { margin-bottom: 2rem; }
.behind-scenes-carousel .carousel-item {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--box-shadow-strong);
}
.behind-scenes-carousel img {
    width: 100%;
    /* height: 450px; Set specific height for consistency in carousel */
    object-fit: cover;
    display: block;
}
.behind-scenes-carousel .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-text-light);
    padding: 2rem 1.5rem 1.5rem;
    text-align: left;
}
.carousel-caption h3 { color: var(--color-text-light); margin-bottom: 0.5rem; }
.carousel-caption p { color: rgba(255,255,255,0.9); margin-bottom: 0; font-size: 0.95rem; }


/* Testimonials Section */
.testimonials-section .section-title { margin-bottom: 1rem; }
.testimonials-section .section-intro { margin-bottom: 3rem; }
.testimonial-card {
    background-color: var(--color-text-light);
    padding: 2rem;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-medium);
    text-align: center; /* Center testimonial text */
}
.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.testimonial-card cite {
    font-weight: 600;
    color: var(--color-text-headings);
    font-style: normal;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--color-background-dark);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.pricing-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}
.pricing-section .container { position: relative; z-index: 2; }

.pricing-section .section-title,
.pricing-section .section-intro,
.pricing-section .pricing-note {
    color: var(--color-text-light);
}
.pricing-section .section-intro { opacity: 0.9; margin-bottom: 3rem;}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Make cards same height */
}
.pricing-card {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent for depth */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid transparent;
}
.pricing-card .card-content { padding: 0; }
.pricing-tier-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.pricing-description {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
    min-height: 60px; /* Ensure some consistency */
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-headings);
    margin-bottom: 1.5rem;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}
.pricing-features li {
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
}
.pricing-features li i.icon-checkmark { /* Placeholder for icon */
    color: var(--color-primary);
    margin-right: 0.75rem;
    font-size: 1.2em; /* Adjust if using icon font */
}
/* Simple checkmark with CSS for placeholder */
.pricing-features li i.icon-checkmark::before {
    content: '✔';
}

.pricing-card .cta-button, .pricing-card .cta-button-secondary { width: 100%; }

.pricing-card.featured-plan {
    border-color: var(--color-accent);
    transform: scale(1.05);
    box-shadow: var(--box-shadow-strong);
    position: relative; /* For badge */
    background-color: var(--color-text-light); /* Solid for featured */
}
.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-text-light);
    padding: 0.3rem 1rem;
    border-radius: var(--border-radius-small);
    font-size: 0.85rem;
    font-weight: bold;
}
.pricing-note { text-align: center; margin-top: 3rem; font-size: 0.95rem; opacity: 0.85; }

/* Events Section */
.events-section .section-title { margin-bottom: 1rem; }
.events-section .section-intro { margin-bottom: 3rem; }
.events-list {
    display: grid;
    grid-template-columns: 1fr; /* Single column for events is often better */
    gap: 2.5rem;
}
.event-item.card {
    display: flex;
    flex-direction: column; /* Default for mobile */
    background-color: var(--color-text-light); /* Ensure proper background */
}
.event-item .card-image {
    height: 280px; /* Custom height for event images */
    flex-shrink: 0;
}
.event-item .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.event-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-align: left; /* Event titles left aligned */
}
.event-meta {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 1rem;
}
.event-meta strong { color: var(--color-text-dark); }
.event-item .card-content p { margin-bottom: 1.5rem; font-size: 1rem; }
.event-item .cta-button-small { margin-top: auto; align-self: flex-start; }


/* Press Section */
.press-section { background-color: var(--color-background-medium); }
.press-section .section-title { margin-bottom: 1rem; }
.press-section .section-intro { margin-bottom: 3rem; }

.press-mention.card .card-image { height: 200px; } /* Specific height for press images */
.press-title { font-size: 1.3rem; text-align: left; } /* Press titles left aligned */
.press-source {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    font-style: italic;
    margin-bottom: 0.75rem;
}
.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-accent);
    font-weight: bold;
    text-decoration: none;
}
.read-more-link:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}


/* Partners Section */
.partners-section .section-title { margin-bottom: 1rem; }
.partners-section .section-intro { margin-bottom: 3rem; }
.partners-carousel {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for many partners */
    justify-content: center;
    align-items: center;
    gap: 2.5rem; /* Increased gap */
}
.partner-logo img {
    max-height: 70px; /* Adjusted max-height */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-speed), opacity var(--transition-speed);
}
.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* External Resources Section */
.external-resources-section {
    background-color: var(--color-background-dark);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.resources-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}
.external-resources-section .container { position: relative; z-index: 2; }
.external-resources-section .section-title,
.external-resources-section .section-intro {
    color: var(--color-text-light);
}
.external-resources-section .section-intro { opacity: 0.9; margin-bottom: 3rem;}

.external-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.resource-item.card {
    background-color: rgba(255,255,255, 0.08); /* Subtle glassmorphism */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}
.resource-item .card-content { padding: 1.5rem; }
.resource-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.resource-title a { color: var(--color-text-light); }
.resource-title a:hover { color: var(--color-accent); }
.resource-description {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
}
.resource-source {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

/* Contact Section */
.contact-section .section-title { margin-bottom: 1rem; }
.contact-section .section-intro { margin-bottom: 3rem; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr; /* Default */
    gap: 3rem;
    align-items: flex-start;
}
.contact-form-container {
    background-color: var(--color-text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-strong);
}
.contact-info-container {
    padding: 1rem 0; /* Minimal padding if image is main focus */
}
.contact-image {
    border-radius: var(--border-radius-medium);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow-medium);
}
.contact-info-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.contact-info-container p {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-medium);
    display: flex;
    align-items: center;
}
.contact-info-container p i { /* Placeholder for icons */
    margin-right: 0.75rem;
    color: var(--color-primary);
    font-size: 1.2em;
    width: 20px; /* Give icon fixed width */
    text-align: center;
}
/* Icon placeholders */
.icon-location::before { content: '📍'; }
.icon-phone::before { content: '📞'; }
.icon-email::before { content: '✉️'; }
.icon-clock::before { content: '🕒'; }


/* Footer */
.site-footer {
    background-color: var(--color-background-footer);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column .footer-heading {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-column p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed), padding-left var(--transition-speed);
}

.footer-column ul li a:hover {
    color: var(--color-text-light);
    padding-left: 5px; /* Subtle hover effect */
    text-decoration: underline;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.7);
}
.footer-contact p a:hover {
    color: var(--color-text-light);
}

.social-media-list-text li a {
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Content Carousel (Basic Styling for Flex Scrolling) */
.content-carousel {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1.5rem; /* Space for scrollbar */
    gap: 1.5rem; /* Space between carousel items */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: var(--color-primary) var(--color-background-medium); /* For Firefox */
}
.content-carousel::-webkit-scrollbar { height: 8px; }
.content-carousel::-webkit-scrollbar-track { background: var(--color-background-medium); border-radius: 4px;}
.content-carousel::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 4px; }

.content-carousel .carousel-item,
.content-carousel .testimonial-card, /* Assuming these are direct children */
.content-carousel .press-mention {
    flex: 0 0 auto; /* Prevent shrinking/growing */
    width: 85%; /* Default width, adjust as needed */
    max-width: 400px; /* Max width for items like testimonials */
}
.behind-scenes-carousel .carousel-item {
    max-width: 600px; /* Larger items for behind the scenes */
    width: 90%;
}
.testimonials-carousel .testimonial-card {
    max-width: 350px;
    width: 80%;
}
.press-carousel .press-mention {
    max-width: 380px;
    width: 80%;
}

/* Static Pages (Privacy, Terms) */
.static-page-content {
    padding-top: calc(var(--header-height) + 40px); /* Header height + extra space */
    padding-bottom: 40px;
    min-height: calc(100vh - var(--header-height)); /* Full height minus header */
}
.static-page-content .container h1 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}
.static-page-content .container h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.static-page-content .container p,
.static-page-content .container ul,
.static-page-content .container ol {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-dark);
}
.static-page-content .container ul,
.static-page-content .container ol {
    padding-left: 20px;
}

/* Success Page */
.success-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height)); /* Adjust if header is present */
    text-align: center;
    background-color: var(--color-background-success);
    padding: 2rem;
}
.success-page-container h1 {
    font-size: 2.8rem;
    color: var(--color-text-success);
    margin-bottom: 1rem;
}
.success-page-container p {
    font-size: 1.2rem;
    color: var(--color-text-dark); /* Darker text for readability on light green */
    margin-bottom: 2rem;
}
.success-page-container .cta-button {
    background-color: var(--color-text-success); /* Match heading color */
    border-color: var(--color-text-success);
}
.success-page-container .cta-button:hover {
    background-color: #11461e;
    border-color: #11461e;
}


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

    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; margin-bottom: 40px; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 21px; } /* Adjusted for new line position */
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon { left: 6px; } /* Position icon relative to the new line */

    .research-content-layout { grid-template-columns: 1fr; }
    .research-visuals { order: -1; /* Image first on mobile */ }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .main-content {
        padding-top: var(--header-height);
    }

    .section-padding { padding: 40px 0; }
    .section-padding-alt { padding: 50px 0; }

    .hero-section { padding: 80px 0; min-height: 70vh; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .menu-toggle { display: block; z-index: 1001; /* Above nav list */ }
    .main-navigation .nav-list {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-text-light);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
        border-top: 1px solid var(--color-border);
    }
    .main-navigation .nav-list.is-active { display: flex; }
    .main-navigation .nav-link {
        display: block;
        padding: 0.8rem 1.5rem; /* Full width clickable area */
        text-align: left;
        border-bottom: 1px solid var(--color-border);
    }
    .main-navigation .nav-link:last-child { border-bottom: none; }
    .main-navigation .nav-link::after { display: none; /* Remove underline on mobile */ }

    .services-grid,
    .pricing-grid,
    .external-links-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
    .pricing-card.featured-plan { transform: scale(1); } /* No scale on mobile */

    .contact-layout { grid-template-columns: 1fr; }
    .contact-form-container { padding: 1.5rem; }

    .event-item.card { flex-direction: column; }
    .event-item .card-image { width: 100%; height: 200px; }

    .content-carousel .carousel-item,
    .content-carousel .testimonial-card,
    .content-carousel .press-mention {
        width: 90%;
    }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-column ul { text-align: center; }
    .footer-column ul li a:hover { padding-left: 0; }
}

@media (min-width: 769px) {
    .event-item.card {
        flex-direction: row; /* Side-by-side layout for larger screens */
        align-items: stretch; /* Stretch content to match image height or vice versa */
    }
    .event-item .card-image {
        width: 40%; /* Adjust width as needed */
        height: auto; /* Auto height based on content or fixed */
        min-height: 280px; /* Ensure a minimum height */
    }
    .event-item .card-content {
        width: 60%;
        justify-content: space-between; /* Pushes button to bottom */
    }

    .contact-layout { grid-template-columns: 1.2fr 1fr; /* Asymmetric */ }
    .research-content-layout { grid-template-columns: 1fr 0.8fr; /* Asymmetric */ }
}

/* Cookie Consent Popup Minimal Styles */
#cookieConsentPopup {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5); /* Already in HTML style but good to have */
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}