/* Global Variables & Root Styles */
:root {
    --primary-color: #0D5C63; /* Deep Teal */
    --secondary-color: #FF6F61; /* Living Coral */
    --accent-color: #FFB74D; /* Lighter Orange/Amber */
    --accent-color-dark: #E68A00; /* Darker accent for hover */

    --text-color: #212529; /* Dark Gray for body text */
    --text-light: #FFFFFF;
    --headings-color: #1B3A4B; /* Darker blue-ish gray for headings */

    --background-color: #FDFDFF; /* Very light, almost white */
    --background-light: #F0F4F8; /* Slightly off-white/light gray for section backgrounds */
    --background-dark: #1A1A1A; /* For footer or dark sections */
    
    --card-background: #FFFFFF;
    --border-color: #DEE2E6; /* Light Gray */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-medium: rgba(0, 0, 0, 0.15);
    --shadow-color-dark: rgba(0, 0, 0, 0.2);

    --font-family-heading: 'Raleway', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;

    --spacing-unit: 8px;
    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 16px;

    --header-height: 80px;
    --transition-speed: 0.3s;
    --transition-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--headings-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; font-weight: 900; }
h2 { font-size: 2.2rem; font-weight: 700; } /* Section titles */
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-color); /* Ensure paragraphs use the primary text color */
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--spacing-unit) * 2);
    padding-right: calc(var(--spacing-unit) * 2);
}

/* Utility Classes */
.text-center { text-align: center; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.section-bg-light {
    background-color: var(--background-light);
}
.mb-1 { margin-bottom: var(--spacing-unit); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }
.mt-1 { margin-top: var(--spacing-unit); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 3); }


/* Global Button Styles */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-heading);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 2px solid transparent;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3.5);
    font-size: 1rem;
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed) var(--transition-cubic);
    text-decoration: none; /* Remove underline from button-like links */
    line-height: 1.5; /* Ensure consistent line height */
}

.btn:hover {
    text-decoration: none; /* Remove underline on hover for buttons */
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3); /* Shadow related to secondary color */
}

.btn-primary:hover {
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(230, 138, 0, 0.4);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(13, 92, 99, 0.3); /* Shadow related to primary color */
}

.btn-secondary:hover {
    background-color: #0A4A50; /* Darker shade of primary */
    border-color: #0A4A50;
    color: var(--text-light);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(10, 74, 80, 0.4);
}

.btn-text {
    color: var(--secondary-color);
    padding: calc(var(--spacing-unit) * 0.5) 0;
    font-weight: bold;
    background-color: transparent;
    border: none;
}

.btn-text:hover {
    color: var(--accent-color-dark);
    text-decoration: underline;
}

/* Forms */
.form-group {
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    font-family: var(--font-family-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 92, 99, 0.2); /* Focus ring with primary color */
}

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

.btn-submit {
    width: 100%;
}


/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: calc(var(--spacing-unit) * 1.5) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    height: var(--header-height);
}

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

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

.main-navigation ul {
    display: flex;
    align-items: center;
}

.main-navigation li {
    margin-left: calc(var(--spacing-unit) * 3);
}

.main-navigation a {
    color: var(--headings-color);
    font-weight: 600;
    text-decoration: none;
    padding: calc(var(--spacing-unit)) calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius-small);
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) var(--transition-cubic);
}

.main-navigation a:hover::after,
.main-navigation a.active::after { /* Assuming an 'active' class for current page */
    width: 80%;
}

.main-navigation a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color var(--transition-speed) ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: transform var(--transition-speed) ease;
}

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

/* Open state for hamburger */
.menu-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* General Section Styling */
.content-section {
    padding: calc(var(--spacing-unit) * 8) 0;
    position: relative; /* For parallax or overlays */
}

.section-title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
    color: var(--headings-color); /* Darker for better contrast */
    position: relative;
    padding-bottom: calc(var(--spacing-unit) * 1.5);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

/* Parallax Background and Overlays */
.parallax-background {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.overlay, .overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Above parallax, below content */
}
.overlay {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}
.overlay-dark {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

/* Hero Section */
#hero {
    min-height: 90vh; /* Adjust as needed, avoid fixed large heights */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative; /* For overlay */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative; /* To be above overlay */
    z-index: 1;
    max-width: 800px;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--text-light); /* STROGO: white text */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
    color: var(--text-light); /* STROGO: white text */
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

/* Vision Section */
.vision-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 5);
    align-items: center;
}
.vision-image-container img {
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px var(--shadow-color-medium);
}

/* Methodology Section (Accordion) */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background-color: var(--card-background);
    margin-bottom: var(--spacing-unit);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 2px 8px var(--shadow-color);
    overflow: hidden;
}
.accordion-header {
    background-color: transparent;
    color: var(--headings-color);
    width: 100%;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2.5);
    text-align: left;
    border: none;
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed) ease;
}
.accordion-header:hover {
    background-color: rgba(13, 92, 99, 0.05); /* Light primary hover */
}
.accordion-icon {
    font-size: 1.2rem;
    transition: transform var(--transition-speed) var(--transition-cubic);
    margin-right: var(--spacing-unit);
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.accordion-content {
    padding: 0 calc(var(--spacing-unit) * 2.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
}
.accordion-content p {
    padding: calc(var(--spacing-unit) * 2) 0;
    font-size: 0.95rem;
}
.accordion-item.active .accordion-content {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: var(--spacing-unit);
    padding-bottom: calc(var(--spacing-unit) * 2);
}

/* Webinars Section */
#webinars {
    position: relative;
    color: var(--text-light); /* For intro text if needed */
}
#webinars .section-title, #webinars .section-intro {
    position: relative; /* To be above overlay */
    z-index: 1;
}
.webinar-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    position: relative;
    z-index: 1;
}

/* Card Styles (used by Webinars, Blog, External Resources etc.) */
.card {
    background-color: var(--card-background);
    border-radius: var(--border-radius-large);
    box-shadow: 0 5px 20px var(--shadow-color-medium);
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-cubic), box-shadow var(--transition-speed) var(--transition-cubic);
    display: flex;
    flex-direction: column;
    text-align: left; /* Default for card text, can be overridden */
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px var(--shadow-color-dark);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 200px; /* Fixed height for image container */
    overflow: hidden;
    display: flex; /* For centering if needed */
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the container */
    transition: transform var(--transition-speed) ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: calc(var(--spacing-unit) * 3);
    flex-grow: 1; /* Allows content to fill space if cards are in a row and have different heights */
    display: flex;
    flex-direction: column;
}
.card-content h3 {
    margin-bottom: var(--spacing-unit);
    font-size: 1.4rem;
    color: var(--headings-color);
}
.card-content p {
    font-size: 0.95rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    flex-grow: 1;
}
.card-content .btn {
    margin-top: auto; /* Pushes button to bottom if content varies */
    align-self: flex-start;
}
.webinar-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-unit);
}

/* Innovation Section */
.innovation-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 5);
    align-items: center;
}
.innovation-image-container img {
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px var(--shadow-color-medium);
}

/* History Section (Timeline) */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2) 0;
}
.history-timeline::before { /* The central line */
    content: '';
    position: absolute;
    left: calc(var(--spacing-unit) * 2.5); /* Adjust to align with icon center */
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    padding-left: calc(var(--spacing-unit) * 7);
    margin-bottom: calc(var(--spacing-unit) * 5);
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--spacing-unit) * 5);
    height: calc(var(--spacing-unit) * 5);
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 0 0 4px var(--background-light); /* Creates a "border" effect */
    z-index: 1; /* Above the line */
}
.timeline-content {
    background-color: var(--card-background);
    padding: calc(var(--spacing-unit) * 2.5);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 3px 10px var(--shadow-color);
    position: relative; /* For potential pseudo-element arrows */
}
.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-unit);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}
.blog-post-card .post-meta {
    font-size: 0.85rem;
    color: var(--neutral-light); /* Use a defined neutral color */
    margin-bottom: var(--spacing-unit);
}

/* Media Section */
.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-unit) * 5);
    margin-bottom: calc(var(--spacing-unit) * 4);
}
.media-logo-item {
    text-align: center;
    max-width: 200px;
}
.media-logo-item img {
    max-height: 50px; /* Control logo height */
    width: auto; /* Maintain aspect ratio */
    margin: 0 auto calc(var(--spacing-unit) * 1.5) auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-speed) ease, opacity var(--transition-speed) ease;
}
.media-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.media-logo-item p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--neutral-light);
}

/* External Resources Section */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}
.resource-item { /* Re-using card style, but might need specific adjustments */
    padding: calc(var(--spacing-unit) * 2.5);
}
.resource-item h3 {
    font-size: 1.2rem;
}
.resource-item a {
    color: var(--primary-color);
}
.resource-item a:hover {
    color: var(--secondary-color);
}
.resource-description {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Partners Section */
.partner-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 5);
}
.partner-logo img {
    max-height: 70px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter var(--transition-speed) ease, opacity var(--transition-speed) ease;
}
.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.partners-collaboration-image img {
    border-radius: var(--border-radius-large);
    box-shadow: 0 8px 25px var(--shadow-color-medium);
    margin: calc(var(--spacing-unit) * 3) auto;
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 5);
    background-color: var(--card-background);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 40px var(--shadow-color-medium);
}
.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}
.contact-info p {
    display: flex;
    align-items: flex-start; /* Align icon with first line of text */
    margin-bottom: var(--spacing-unit) * 1.5;
    font-size: 1rem;
}
.contact-info .contact-icon {
    color: var(--secondary-color);
    margin-right: var(--spacing-unit);
    font-size: 1.3rem;
    width: 20px; /* Fixed width for alignment */
    text-align: center;
    flex-shrink: 0;
}
.contact-image {
    border-radius: var(--border-radius-medium);
    margin-bottom: calc(var(--spacing-unit) * 3);
    box-shadow: 0 5px 15px var(--shadow-color);
}


/* Footer */
.site-footer {
    background-color: var(--background-dark);
    color: rgba(255,255,255,0.7);
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 2) 0;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 4);
}
.footer-widget h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
    position: relative;
    padding-bottom: var(--spacing-unit);
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}
.footer-widget p, .footer-widget ul li a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}
.footer-widget ul li {
    margin-bottom: var(--spacing-unit);
}
.footer-widget ul li a:hover {
    color: var(--secondary-color);
    text-decoration: none; /* Usually no underline for footer links */
}
.footer-link {
    color: var(--accent-color) !important;
    font-weight: bold;
}
.footer-link:hover {
    color: var(--text-light) !important;
}

.social-links-text li a {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 0.5) 0;
    transition: color var(--transition-speed) ease;
}

.newsletter-form {
    display: flex;
    margin-top: calc(var(--spacing-unit) * 2);
}
.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: calc(var(--spacing-unit) * 1.2);
    border: 1px solid rgba(255,255,255,0.3);
    background-color: rgba(255,255,255,0.1);
    color: var(--text-light);
    border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
    font-size: 0.9rem;
}
.newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}
.newsletter-form button {
    padding: calc(var(--spacing-unit) * 1.2) calc(var(--spacing-unit) * 2);
    border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
    font-size: 0.9rem;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: 1px solid var(--secondary-color);
}
.newsletter-form button:hover {
    background-color: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 3);
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Responsive Styles */
@media (min-width: 768px) { /* Tablet and up */
    .vision-layout {
        grid-template-columns: 1fr 1fr; /* Asymmetric visual weight */
    }
    .vision-layout > div:first-child { order: 1; } /* Text on left */
    .vision-layout > div:last-child { order: 2; } /* Image on right */
    
    .innovation-layout {
        grid-template-columns: 1fr 1fr;
    }
    .innovation-layout > div:first-child { order: 2; } /* Image on right */
    .innovation-layout > div:last-child { order: 1; } /* Text on left */
    
    .contact-layout {
        grid-template-columns: 3fr 2fr; /* Form larger */
        gap: calc(var(--spacing-unit) * 6);
    }
    .history-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: calc(var(--spacing-unit) * 7); /* Space for icon on right */
        margin-bottom: calc(var(--spacing-unit) * 2); /* Less bottom margin for denser look */
    }
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: right; /* Align content to right for odd items */
    }
    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: calc(var(--spacing-unit) * 7); /* Space for icon on left */
        padding-right: 0;
    }
    .timeline-icon {
        left: 50%;
        transform: translateX(-50%);
        top: calc(var(--spacing-unit) * 0.5); /* Align better with content block */
    }
    .timeline-item:nth-child(odd) .timeline-icon {
        /* Icon remains in center effectively */
    }
    .timeline-item:nth-child(even) .timeline-icon {
        /* Icon remains in center effectively */
    }
     .timeline-content {
        text-align: left; /* Reset text alignment inside content block */
    }
}

@media (max-width: 767px) { /* Mobile */
    h1 { font-size: 2.2rem; }
    #hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    #hero p { font-size: 1.1rem; }

    .site-header {
        padding: var(--spacing-unit) 0;
    }
    .main-navigation {
        position: relative; /* For dropdown positioning */
    }
    .menu-toggle {
        display: block;
        z-index: 1001; /* Above menu */
    }
    .main-navigation ul {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: calc(var(--header-height) - var(--spacing-unit) * 3); /* Align below header */
        left: 0;
        right: 0;
        background-color: var(--card-background);
        box-shadow: 0 5px 15px var(--shadow-color-medium);
        flex-direction: column;
        padding: var(--spacing-unit) 0;
        border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
        width: 100vw; /* Full width */
        transform: translateX(-50%);
        left: 50%;
    }
    .main-navigation ul.menu-open {
        display: flex;
    }
    .main-navigation li {
        margin-left: 0;
        width: 100%;
    }
    .main-navigation a {
        display: block;
        padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }
    .main-navigation li:last-child a {
        border-bottom: none;
    }
    .main-navigation a::after {
        display: none; /* No underline effect on mobile nav items */
    }
    .content-section {
        padding: calc(var(--spacing-unit) * 6) 0;
    }
    .history-timeline::before { /* Mobile timeline vertical line */
        left: calc(var(--spacing-unit) * 2.5);
    }
    .timeline-item,
    .timeline-item:nth-child(even) { /* Stack all items to one side */
        width: 100%;
        left: 0;
        padding-left: calc(var(--spacing-unit) * 7);
        padding-right: 0;
        text-align: left;
    }
    .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
        transform: none;
    }
}

/* Special Page Styles */
/* For privacy.html & terms.html to avoid header overlap */
body.privacy-page main,
body.terms-page main,
.privacy-content-wrapper, /* If using a specific wrapper */
.terms-content-wrapper {   /* If using a specific wrapper */
    padding-top: calc(var(--header-height) + 40px); /* Header height + buffer */
}
.privacy-page .container,
.terms-page .container {
    padding-bottom: 50px; /* Ensure space at the bottom */
}
.privacy-page h1, .terms-page h1 {
    margin-bottom: 30px;
}
.privacy-page h2, .terms-page h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

/* success.html styling */
body.success-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--background-light);
    padding: calc(var(--spacing-unit) * 2);
}

.success-page .success-container {
    background-color: var(--card-background);
    padding: calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px var(--shadow-color-medium);
    max-width: 600px;
}

.success-page .success-icon {
    font-size: 4rem;
    color: var(--primary-color); /* Or a success green */
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.success-page h1 {
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.success-page p {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Animate.css integration helpers */
.animate__animated {
    visibility: visible; /* Hide until animated */
}
.animate__animated.animate__fadeInUp, 
.animate__animated.animate__fadeIn,
/* Add other Animate.css classes you use */
.animate__animated.animate__slideInLeft,
.animate__animated.animate__slideInRight {
    /* Default visibility for JS to handle */
}

/* Fix for GSAP/ScrollTrigger if elements are initially hidden by Animate.css */
[data-scroll] {
    opacity: 0;
    transform: translateY(50px); /* Example initial state for GSAP animations */
    transition: opacity 0.6s var(--transition-cubic), transform 0.6s var(--transition-cubic);
}

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

/* Barba.js transition styles (example) */
.barba-leave-active,
.barba-enter-active {
  transition: opacity .5s ease-in-out;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}

/* Ensure high contrast for text on various backgrounds */
.section-bg-light h1, .section-bg-light h2, .section-bg-light h3, .section-bg-light h4, .section-bg-light p {
    color: var(--text-color); /* Ensure dark text on light backgrounds */
}

/* For hero and webinar sections with dark overlays */
#hero .hero-content h1, #hero .hero-content p,
#webinars .container > h2, #webinars .container > p.section-intro {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Ensure readability */
}

/* Ensuring card image containers center their content (the image itself)
   and images cover correctly */
.card .card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Height is set in .card-image */
}
.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is key */
}
.card .card-content {
    text-align: left; /* Default text alignment within card content */
}
.card.text-center .card-content { /* Optional class to center text content in a card */
    text-align: center;
}
.card.text-center .card-content .btn {
    align-self: center;
}

/* Ensure all images within cards are centered if they are smaller than their container
   though object-fit: cover should handle most cases for the main .card-image.
   For other images that might be directly in .card-content: */
.card-content img {
    margin-left: auto;
    margin-right: auto;
}

/* Final contrast check for section titles */
.section-title {
    color: var(--headings-color); /* Already dark */
}
.section-bg-light .section-title {
    color: var(--headings-color); /* Ensure it's dark on light bg */
}