/* style.css */

/* --- CSS Variables --- */
:root {
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'DM Sans', sans-serif;

    /* Neutral & Futuristic Color Palette */
    --color-primary: #00AEEF; /* Bright, futuristic blue */
    --color-primary-darker: #008cbf;
    --color-secondary: #FF6F00; /* Energetic orange accent */
    --color-secondary-darker: #cc5900;
    --color-accent: #8E44AD; /* Futuristic purple for specific highlights */
    --color-accent-darker: #72338c;

    --color-text-primary: #2c3e50; /* Dark blue-grey for primary text */
    --color-text-headings: #1a252f; /* Even darker for headings */
    --color-text-secondary: #566573; /* Medium grey for secondary text */
    --color-text-light: #FFFFFF;
    --color-text-on-primary: #FFFFFF;
    --color-text-on-secondary: #FFFFFF;
    --color-text-link: var(--color-primary);
    --color-text-link-hover: var(--color-primary-darker);

    --color-bg-body: #F8F9FA; /* Very light grey, almost white */
    --color-bg-section-neutral: #FFFFFF;
    --color-bg-section-darker-neutral: #EFF1F3; /* Slightly darker for contrast */
    --color-bg-hero-overlay: rgba(10, 20, 30, 0.65); /* Dark overlay for hero */
    --color-bg-card: #FFFFFF;
    --color-bg-input: #FFFFFF;

    --color-border: #DDE2E6; /* Light grey border */
    --color-border-input: #CED4DA;
    --color-border-input-focus: var(--color-primary);

    /* Shadows & Effects */
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --transition-speed: 0.3s;
    --transition-speed-fast: 0.15s;
    --transition-easing: ease-in-out;

    /* Spacing */
    --spacing-xs: 0.5rem;  /* 8px */
    --spacing-sm: 1rem;    /* 16px */
    --spacing-md: 1.5rem;  /* 24px */
    --spacing-lg: 2.5rem;  /* 40px */
    --spacing-xl: 4rem;    /* 64px */

    /* Header Height */
    --header-height: 70px;
    --header-height-mobile: 60px;
}

/* --- Base 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-secondary);
    color: var(--color-text-primary);
    background-color: var(--color-bg-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

h1 { font-size: 2.8rem; letter-spacing: -1px; } /* ~44.8px */
h2 { font-size: 2.2rem; } /* ~35.2px */
h3 { font-size: 1.6rem; } /* ~25.6px */
h4 { font-size: 1.2rem; } /* ~19.2px */

p {
    margin-bottom: var(--spacing-md);
    font-size: 1rem; /* 16px */
}

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

a:hover {
    color: var(--color-text-link-hover);
    text-decoration: none; /* or underline if preferred */
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove bottom space */
}

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

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

/* Simple Columns System (as hinted by `is-two-thirds`) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}
.columns:not(:last-child) {
    margin-bottom: calc(1.5rem - 0.75rem);
}
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.column.is-two-thirds {
    flex: none;
    width: 66.6666%;
}
/* Add more column sizes if needed: .is-one-third, .is-half, etc. */
@media screen and (max-width: 768px) {
    .column.is-two-thirds {
        width: 100%;
    }
}


/* Sections */
.content-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    position: relative; /* For pseudo-elements or curved grids */
}

.section-neutral-bg {
    background-color: var(--color-bg-section-darker-neutral);
}

.section-curved-grid::before { /* Subtle curved effect */
    content: '';
    position: absolute;
    top: -50px; /* Adjust for curve size */
    left: 0;
    width: 100%;
    height: 100px; /* Adjust for curve size */
    background: var(--color-bg-body); /* Match previous section or body background */
    clip-path: ellipse(100% 60% at 50% 100%); /* Example curve */
    z-index: 0;
}
.section-curved-grid { /* Ensure content is above the curve */
    position: relative;
    z-index: 1;
}
/* If the section before curved-grid is dark, the ::before should match that color. */
.section-neutral-bg + .section-curved-grid::before {
    background: var(--color-bg-section-darker-neutral);
}


.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: var(--color-primary);
    margin: var(--spacing-xs) auto 0;
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* --- Header & Navigation --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white for a subtle glassmorphism feel */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    padding: 0 var(--spacing-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

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

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

.main-navigation ul {
    display: flex;
    gap: var(--spacing-md);
}

.main-navigation li {
    list-style: none;
}

.main-navigation a {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-text-primary);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: color var(--transition-speed) var(--transition-easing);
}

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

.main-navigation a:hover,
.main-navigation a.active-link { /* Assuming JS adds .active-link */
    color: var(--color-primary);
}

.main-navigation a:hover::after,
.main-navigation a.active-link::after {
    width: 100%;
}

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

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text-primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: all var(--transition-speed) var(--transition-easing);
}


/* --- Global Button Styles --- */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    padding: 0.8em 1.8em;
    border-radius: var(--border-radius-md);
    border: 2px solid transparent;
    transition: all var(--transition-speed) var(--transition-easing);
    white-space: nowrap; /* Prevent text wrapping */
}

.btn-primary,
button[type="submit"] { /* Default submit button style */
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    border-color: var(--color-primary);
}
.btn-primary:hover,
button[type="submit"]:hover {
    background-color: var(--color-primary-darker);
    border-color: var(--color-primary-darker);
    color: var(--color-text-on-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 174, 239, 0.3);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-on-secondary);
    border-color: var(--color-secondary);
}
.btn-secondary:hover {
    background-color: var(--color-secondary-darker);
    border-color: var(--color-secondary-darker);
    color: var(--color-text-on-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 111, 0, 0.3);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-tertiary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    border-color: var(--color-primary);
}

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

.contact-form label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"], /* If you add a phone field */
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--color-text-primary);
    background-color: var(--color-bg-input);
    border: 1px solid var(--color-border-input);
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-speed-fast) var(--transition-easing), box-shadow var(--transition-speed-fast) var(--transition-easing);
}
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
    color: #999; /* Placeholder text color */
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-border-input-focus);
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.25); /* Focus glow */
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: auto; /* Or 100% if preferred */
    margin-top: var(--spacing-sm);
}

/* --- Global Card Styles --- */
.card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg); /* More futuristic rounded corners */
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
    height: 100%; /* For equal height cards in a grid */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.card-image { /* Container for the image */
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Default fixed height for consistent card image sizes, adjust as needed */
    height: 220px; 
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, might crop */
    transition: transform var(--transition-speed) var(--transition-easing);
}
.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-md);
    flex-grow: 1; /* Allows content to fill space if card is flex column */
    display: flex;
    flex-direction: column;
}
.card-content h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.4rem;
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    flex-grow: 1; /* Pushes button to bottom if present */
}
.card-content .price {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}
.card-content .btn {
    margin-top: auto; /* Pushes button to the bottom of card content */
    align-self: flex-start; /* Or center/flex-end */
}


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

/* --- Hero Section --- */
.hero-section {
    min-height: 85vh; /* Slightly less than full viewport to show there's more content */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: var(--header-height); /* Account for fixed header */
    padding-bottom: var(--spacing-xl);
}
/* The background-image with gradient is set inline in HTML */

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light); /* Ensured white text */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Stronger shadow for readability */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    color: var(--color-text-light); /* Ensured white text */
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

/* --- About Snippet Section --- */
#nosotros-snippet .image-container img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

/* --- Products Section (Portfolio) --- */
.product-gallery .card {
    /* Specific styles for product cards if needed */
}

/* --- Events & Our Process (Timeline) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}
.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-primary);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item {
    padding: var(--spacing-sm) var(--spacing-lg);
    position: relative;
    background-color: inherit;
    width: 50%;
}
/* Alternating sides */
.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: calc(var(--spacing-lg) + 30px); /* Space for icon */
}
.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: calc(var(--spacing-lg) + 30px); /* Space for icon */
}
/* Timeline Icon */
.timeline-icon {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-bg-section-neutral);
    border: 4px solid var(--color-primary);
    top: 28px; /* Adjust vertical alignment */
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-icon {
    right: -10px; /* (20px icon width / 2) */
}
.timeline-item:nth-child(even) .timeline-icon {
    left: -10px; /* (20px icon width / 2) */
}

.timeline-content {
    padding: var(--spacing-md);
    background-color: var(--color-bg-card);
    position: relative;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
}
.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}
.timeline-item:nth-child(odd) .timeline-content {
    text-align: right; /* Or left, depending on design */
}
.timeline-content h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}
.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}
.timeline-content p strong {
    color: var(--color-text-primary);
}

/* Process Steps (can reuse timeline or have specific styling) */
.process-steps .timeline-content {
    background-color: var(--color-bg-section-neutral); /* If on dark bg */
}
.process-steps .timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
}
.process-steps .timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}


/* --- Customer Stories (Testimonials) --- */
.testimonial-card {
    text-align: center;
    align-items: center; /* Centers .card-image and .card-content horizontally */
}
.testimonial-card .card-image {
    width: 120px; /* Fixed size for profile pic */
    height: 120px;
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
    border: 4px solid var(--color-primary);
    padding: 4px; /* Creates a ring effect */
    background-color: var(--color-bg-card); /* Ensure bg is solid for the ring */
}
.testimonial-card .card-image img {
    border-radius: 50%;
}
.testimonial-card .card-content p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}
.testimonial-card .card-content h4 {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* --- Instructors/Advisors --- */
.instructor-card {
    text-align: center;
}
.instructor-card .card-image {
    height: 250px; /* Taller image for instructors */
}
.instructor-card .card-content h3 {
    color: var(--color-primary);
}

/* --- Projects/Special Collections --- */
.project-card .card-image {
    height: 300px; /* Larger images for projects */
}

/* --- Partners Section --- */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}
.partners-logos img {
    max-height: 60px; /* Control logo height */
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-speed) var(--transition-easing);
}
.partners-logos img:hover {
    opacity: 1;
}

/* --- Press Section --- */
.press-mentions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}
.press-item .card {
    box-shadow: var(--shadow-light);
}
.press-item .card-content h3 {
    font-size: 1.3rem;
}
.read-more {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-secondary);
    margin-top: var(--spacing-sm);
    text-decoration: none;
    transition: color var(--transition-speed);
}
.read-more:hover {
    color: var(--color-secondary-darker);
    text-decoration: underline;
}

/* --- Success Stories Section --- */
.success-stories-timeline .timeline-content .card {
    box-shadow: none; /* Card is part of timeline content */
    border-radius: var(--border-radius-sm); /* Slightly less rounded if inside another card */
}
.success-stories-timeline .timeline-content .card-image {
    height: 200px;
}

/* --- External Resources Section --- */
.external-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}
.link-card .card-content h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}
.link-card .card-content h3 a {
    color: var(--color-primary);
}
.link-card .card-content h3 a:hover {
    text-decoration: underline;
}
.link-card .card-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}


/* --- Contact Form Section (on Home) --- */
#contacto-home.form-section {
    background-color: var(--color-bg-section-darker-neutral); /* Example for curved grid */
}
#contacto-home .contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

/* --- Footer --- */
.site-footer {
    background-color: #1f2b38; /* Dark futuristic footer */
    color: #bdc3c7; /* Light grey text */
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

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

.footer-column h4 {
    font-family: var(--font-primary);
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
}
.footer-column h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    margin-top: var(--spacing-xs);
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

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

.footer-column ul a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color var(--transition-speed), padding-left var(--transition-speed);
}

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

.social-links li a {
    /* Text-based social links styling */
    font-weight: 500; /* Make them slightly bolder */
}
.social-links li a:hover {
    color: var(--color-primary); /* Highlight on hover */
}


.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid #34495e; /* Slightly lighter border */
    font-size: 0.9rem;
}

/* --- Particle Container Placeholder --- */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind all content */
    /* Actual particles will be rendered by JS */
}
.flex{

    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.contact-text{
    max-width: 500px;
}

/* --- Specific Page Styles --- */
/* success.html */
.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--color-bg-body);
}
.success-page-container h1 {
    color: var(--color-primary);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}
.success-page-container p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

/* privacy.html & terms.html */
.legal-page-content, .about-page-content, .contact-page-content {
    padding-top: calc(var(--header-height) + var(--spacing-lg)); /* Header height + extra space */
    padding-bottom: var(--spacing-xl);
}
.legal-page-content .container, .about-page-content .container, .contact-page-content .container {
    max-width: 800px; /* Narrower content for readability */
}
.legal-page-content h1, .about-page-content h1, .contact-page-content h1 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}
.legal-page-content h2, .about-page-content h2, .contact-page-content h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .flex{
        flex-direction: column;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }

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

@media (max-width: 768px) {

    :root {
        --header-height: var(--header-height-mobile);
    }
    .site-header {
        height: var(--header-height-mobile);
    }
    .main-navigation {
        display: none; /* Hidden by default */
        position: fixed;
        top: var(--header-height-mobile);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height-mobile));
        background-color: rgba(255, 255, 255, 0.98); /* Almost opaque for mobile */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-speed) var(--transition-easing);
        z-index: 999; /* Below header, above content */
    }
    .main-navigation.active {
        display: flex;
        transform: translateX(0);
    }
    .main-navigation ul {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    .main-navigation a {
        font-size: 1.5rem;
    }
    .burger-menu {
        display: block;
    }
    /* Burger animation to X */
    .burger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section { min-height: 70vh; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }

    .columns {
        margin-left: 0;
        margin-right: 0;
    }
    .column {
        width: 100% !important; /* Force full width for all columns */
        padding-left: 0;
        padding-right: 0;
    }

    /* Timeline adjustments for mobile */
    .timeline::after {
        left: 20px; /* Move line to the left */
    }
    .timeline-item {
        width: 100%;
        padding-left: calc(var(--spacing-lg) + 30px); /* Offset for line and icon */
        padding-right: var(--spacing-sm);
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-right: var(--spacing-sm); /* Reset specific paddings */
        padding-left: calc(20px + var(--spacing-lg) + 10px); /* line_pos + space + icon_space */
    }
    .timeline-icon {
        top: 28px; /* Adjust if needed */
    }
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 10px; /* (20px line_pos - (20px icon_width / 2)) */
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr; /* Stack columns */
        text-align: center;
    }
    .footer-column h4::after {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-column ul {
        padding-left: 0;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.2rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    h1 { font-size: 2rem; }
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }

    .btn, button, input[type="submit"] {
        font-size: 0.9rem;
        padding: 0.7em 1.5em;
    }
    .contact-form {
        padding: var(--spacing-md);
    }
}


/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-light { color: var(--color-text-light); }
.mb-0 { margin-bottom: 0 !important; }
.mt-auto { margin-top: auto !important; }

/* Scroll Animations (Placeholder - GSAP will handle actual animations) */
.gsap-reveal {
    opacity: 0;
    transform: translateY(50px);
    /* GSAP will transition this to opacity: 1, transform: translateY(0) */
}