/* style.css - Plinko Master Futuristic Pastel Theme */

/* --- CSS Variables --- */
:root {
    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Pastel Color Palette with Futuristic Accents */
    --color-bg-primary: #E0EFFF; /* Lightest Pastel Blue (AliceBlue variant) */
    --color-bg-secondary: #F0F8FF; /* Lighter Pastel Blue / Off-white */
    --color-bg-block: #FFFFFF; /* White for cards and blocks */
    --color-bg-dark-accent: #2c3e50; /* Dark Slate Blue for Footer/Contrasts */
    
    --color-text-primary: #333333; /* Dark Grey for main text - High Contrast */
    --color-text-secondary: #555555; /* Medium Grey for less important text */
    --color-text-light: #FFFFFF; /* White for text on dark backgrounds */
    --color-text-headings: #222222; /* Very Dark Grey/Black for headings */
    --color-text-accent: #0097A7; /* A slightly stronger teal for links/accents */

    --color-pastel-accent-primary: #79c7c5; /* Main Pastel Teal */
    --color-pastel-accent-secondary: #FFB6C1; /* Light Pastel Pink */
    --color-futuristic-glow: #4DD0E1; /* Bright Cyan for futuristic highlights/glows */
    --color-futuristic-glow-darker: #3eb8c5; /* Darker Cyan for hover states */
    --color-futuristic-accent: #8E44AD; /* Muted Purple for another futuristic touch */

    /* Shadows & Borders */
    --border-radius-S: 4px;
    --border-radius-M: 8px; /* Standard for blocky interface */
    --border-radius-L: 12px;
    --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-strong: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-color: #DDE7F0; /* Light border for separation */

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-s: 0.5rem;
    --spacing-m: 1rem;
    --spacing-l: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-section-vertical: 4rem; /* Consistent vertical padding for sections */

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;

    /* Header Height - for offsetting content if needed */
    --header-height: 70px; /* Approximate, adjust based on final header style */
}

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

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden; /* Prevent horizontal scroll from AOS/animations */
    position: relative; /* For particle canvas */
}

/* Particle Canvas Styling */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind all content */
    /* Particle.js or tsParticles will be initialized here via JS */
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-headings);
    margin-bottom: var(--spacing-l);
    line-height: 1.3;
    font-weight: 700; /* Oswald is often bolder */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05); /* Very subtle shadow for depth */
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); } /* Responsive font size */
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }

p {
    margin-bottom: var(--spacing-l);
    font-size: 1rem; /* Nunito regular is quite readable */
    color: var(--color-text-secondary);
}
p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-text-accent);
    text-decoration: none;
    transition: color var(--transition-medium);
}
a:hover, a:focus {
    color: var(--color-futuristic-glow);
    text-decoration: underline;
    outline: 2px solid var(--color-futuristic-glow-darker);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove bottom space */
    border-radius: var(--border-radius-M);
}

ul, ol {
    list-style-position: inside;
    padding-left: var(--spacing-m); /* Indent lists */
}
ul li, ol li {
    margin-bottom: var(--spacing-s);
}

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

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

.bg-light {
    background-color: var(--color-bg-secondary);
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    padding-bottom: var(--spacing-m);
}
.section-title::after { /* Futuristic underline */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Shorter, thicker underline */
    height: 5px;
    background-color: var(--color-futuristic-glow);
    border-radius: var(--border-radius-S);
    box-shadow: 0 0 10px var(--color-futuristic-glow); /* Glow effect */
}
.section-title-left { /* For non-centered titles */
    text-align: left;
    margin-bottom: var(--spacing-xl);
}
.section-title-left::after { display: none; }

/* --- Barba.js Transitions (from HTML structure) --- */
.barba-leave-active,
.barba-enter-active {
  transition: opacity var(--transition-slow);
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}
.fade-out { animation: fadeOut var(--transition-slow) forwards; }
.fade-in { animation: fadeIn var(--transition-slow) forwards; }

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Header --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.8); /* Glassmorphism base */
    backdrop-filter: blur(12px) saturate(180%); /* Enhanced glassmorphism */
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    padding: var(--spacing-s) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    height: var(--header-height);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text-headings);
    text-decoration: none;
}
.logo .logo-accent {
    color: var(--color-futuristic-glow);
}
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}
.main-nav li {
    margin-left: var(--spacing-l);
}
.main-nav a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 700;
    font-size: 1rem;
    padding: var(--spacing-s) var(--spacing-xs);
    position: relative;
    border-radius: var(--border-radius-S);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Slight offset for visibility */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--color-futuristic-glow);
    border-radius: 2px;
    transition: width var(--transition-medium);
}
.main-nav a:hover::after,
.main-nav a.active::after {
    width: 70%; /* Underline doesn't span full width for a modern look */
}
.main-nav a:hover, .main-nav a.active {
    color: var(--color-text-headings);
    background-color: rgba(var(--color-futuristic-glow-rgb, 77, 208, 225), 0.1); /* Subtle hover background */
}

/* Burger Menu */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above nav list */
}
.burger-line {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text-headings);
    margin: 6px 0;
    border-radius: 2px;
    transition: all var(--transition-medium);
}

/* --- Hero Section --- */
.hero-section {
    color: var(--color-text-light); /* IMPORTANT: Hero text must be white */
    min-height: 90vh; /* Slightly less than full to show scroll hint */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: var(--header-height); /* Offset for fixed header */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* IMPORTANT: Dark overlay for text readability on image */
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)); 
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    max-width: 800px;
    position: relative; /* Ensure content is above overlay if needed */
    z-index: 1;
}
.hero-title {
    font-size: clamp(3rem, 7vw, 4.5rem); /* Larger, responsive hero title */
    color: var(--color-text-light); /* IMPORTANT */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: var(--spacing-l);
}
.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--color-text-light); /* IMPORTANT */
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

/* --- Buttons (Global Styles) --- */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    padding: var(--spacing-m) var(--spacing-xl);
    font-family: var(--font-heading);
    font-size: 1.05rem; /* Slightly larger for headings font */
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-M); /* Blocky */
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--box-shadow-light);
}
.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-medium);
}
.btn:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-light);
}

.btn-primary {
    background-color: var(--color-futuristic-glow);
    color: var(--color-text-headings); /* Dark text on bright button for contrast */
    border-color: var(--color-futuristic-glow);
}
.btn-primary:hover {
    background-color: var(--color-futuristic-glow-darker);
    border-color: var(--color-futuristic-glow-darker);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-pastel-accent-primary);
    border-color: var(--color-pastel-accent-primary);
}
.btn-secondary:hover {
    background-color: var(--color-pastel-accent-primary);
    color: var(--color-text-light);
}

.btn-small {
    padding: var(--spacing-s) var(--spacing-l);
    font-size: 0.9rem;
}

/* "Read More" style links */
.read-more-link {
    font-weight: bold;
    color: var(--color-text-accent);
    display: inline-block;
    position: relative;
    padding-right: var(--spacing-l); /* Space for arrow */
}
.read-more-link::after {
    content: '→'; /* Arrow */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-medium);
}
.read-more-link:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* --- Form Input Styles (Global) --- */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: var(--spacing-m);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-M); /* Blocky */
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-bg-secondary); /* Light pastel bg for inputs */
    color: var(--color-text-primary);
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-futuristic-glow);
    box-shadow: 0 0 0 3px rgba(77, 208, 225, 0.25); /* Glow effect on focus */
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: var(--spacing-s);
    color: var(--color-text-headings);
    font-size: 0.95rem;
}
.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* --- Card Styles (Global and specific sections) --- */
/* Base card for Projects, Features, Resources, Testimonials etc. */
.card {
    background-color: var(--color-bg-block);
    border-radius: var(--border-radius-M); /* Blocky interface */
    box-shadow: var(--box-shadow-medium);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    /* IMPORTANT: Centering content within card */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image if it's smaller than card-image container */
    text-align: center; /* Center text content by default */
    height: 100%; /* Make cards in a grid equal height */
}
.card:hover {
    transform: translateY(-8px) scale(1.02); /* Subtle lift and scale */
    box-shadow: var(--box-shadow-strong);
}

.card-image {
    width: 100%;
    /* IMPORTANT: Fixed height for image container */
    height: 220px; 
    overflow: hidden;
    margin-bottom: var(--spacing-m); /* Space between image and content */
    border-bottom: 4px solid var(--color-futuristic-glow); /* Futuristic separator */
}
.card-image img {
    width: 100%;
    height: 100%;
    /* IMPORTANT: Ensure image covers and is centered */
    object-fit: cover; 
    object-position: center;
    border-radius: 0; /* Image itself doesn't need radius if container has it on top */
    transition: transform var(--transition-slow);
}
.card:hover .card-image img {
    transform: scale(1.05); /* Subtle zoom on image hover */
}

.card-content {
    padding: var(--spacing-l);
    width: 100%; /* Ensure padding is applied correctly */
    flex-grow: 1; /* Allow content to take remaining space in flex column */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if present */
}
.card-content h3 {
    font-size: clamp(1.3rem, 2.8vw, 1.6rem);
    margin-bottom: var(--spacing-s);
    color: var(--color-text-headings);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-m);
    flex-grow: 1; /* Allows paragraph to take space */
}
.card-content .btn { /* Button inside card */
    margin-top: auto; /* Push to bottom */
    align-self: center; /* Center button if card text-align isn't enough */
}


/* Grid containers for cards */
.grid-container-thirds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}
.grid-container-halves {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider cards */
    gap: var(--spacing-xl);
}
/* Ensure columns take up significant width if few items */
.grid-container-halves > .card {
    /* This would be better handled by parent container width or specific layout component */
    /* For 2 items, they will naturally take 50% each. For 1, it takes 100%. */
    /* The 'is-two-thirds' from Bulma is about column systems, this grid auto-fits. */
    /* If you want a max of 2 items per row and them to be wide: */
    /* @media (min-width: 768px) {
        .grid-container-halves { grid-template-columns: repeat(2, 1fr); }
    } */
}


/* --- About Plinko Section --- */
#about-plinko .content-block {
    background-color: var(--color-bg-block);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-L); /* Larger radius for main content blocks */
    box-shadow: var(--box-shadow-light);
}
#about-plinko .responsive-img {
    margin-top: var(--spacing-xl);
    box-shadow: var(--box-shadow-strong); /* More prominent shadow for standalone image */
}

/* --- Events Section (Timeline) --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::after { /* Central line */
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(var(--color-pastel-accent-primary), var(--color-futuristic-glow));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--color-pastel-accent-primary);
}
.timeline-item {
    padding: var(--spacing-s) var(--spacing-xl);
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item::after { /* Circles on the line (Pucks/Pegs) */
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px; /* Centered on the line */
    background-color: var(--color-bg-block);
    border: 4px solid var(--color-futuristic-glow);
    top: 25px; /* Align with content */
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--color-futuristic-glow);
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(even)::after { left: -10px; }

.timeline-content {
    padding: var(--spacing-l);
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent block */
    backdrop-filter: blur(5px);
    position: relative;
    border-radius: var(--border-radius-M);
    box-shadow: var(--box-shadow-medium);
    border: 1px solid var(--border-color);
}
.timeline-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.6rem);
    color: var(--color-text-headings);
}
.timeline-date {
    display: block;
    font-size: 0.9rem;
    color: var(--color-futuristic-accent);
    font-weight: bold;
    margin-bottom: var(--spacing-s);
    text-transform: uppercase;
}
/* Arrows for timeline items */
.timeline-item:nth-child(odd) .timeline-content::before {
    content: " "; height: 0; position: absolute; top: 28px; width: 0; z-index: 1;
    right: -15px; border: medium solid var(--color-bg-block);
    border-width: 10px 0 10px 15px; border-color: transparent transparent transparent var(--color-bg-block);
}
.timeline-item:nth-child(even) .timeline-content::before {
    content: " "; height: 0; position: absolute; top: 28px; width: 0; z-index: 1;
    left: -15px; border: medium solid var(--color-bg-block);
    border-width: 10px 15px 10px 0; border-color: transparent var(--color-bg-block) transparent transparent;
}

/* --- Testimonials Section --- */
.testimonial-card { /* Uses .card base */
    /* Specific testimonial card styling */
}
.testimonial-image-container {
    width: 100px;
    height: 100px;
    margin: calc(-50px - var(--spacing-l)) auto var(--spacing-m); /* Pull avatar up, negative top margin */
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-bg-block); /* Border around avatar */
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2; /* Ensure avatar is above card top edge */
}
.testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.testimonial-card .card-content {
    padding-top: 0; /* Avatar creates natural top space */
}
.testimonial-card h4 { /* Name of testimonial giver */
    font-size: 1.1rem;
    color: var(--color-text-accent);
    margin-top: var(--spacing-s);
    font-family: var(--font-body);
    font-weight: 700;
}
.testimonial-card p { /* The quote itself */
    font-style: italic;
    font-size: 1rem;
    color: var(--color-text-secondary);
    quotes: "“" "”" "‘" "’";
    padding: 0 var(--spacing-s);
}
.testimonial-card p::before { content: open-quote; }
.testimonial-card p::after { content: close-quote; }


/* --- Statistical Widgets Section --- */
.stats-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--color-text-light);
}
.stats-overlay { /* Dark overlay for text readability on image */
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(26, 41, 58, 0.9)); 
    padding-top: var(--spacing-section-vertical);
    padding-bottom: var(--spacing-section-vertical);
}
.stats-section .section-title {
    color: var(--color-text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.stats-section .section-title::after {
    background-color: var(--color-text-light);
    box-shadow: 0 0 10px var(--color-text-light);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}
.stat-widget {
    background-color: rgba(255, 255, 255, 0.08); /* Glassmorphism block */
    padding: var(--spacing-l);
    border-radius: var(--border-radius-M);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: background-color var(--transition-medium), transform var(--transition-medium);
}
.stat-widget:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}
.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-futuristic-glow);
    margin-bottom: var(--spacing-xs);
    line-height: 1.1;
}
.stat-label {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-s);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Resources Section --- */
.resources-grid { /* Uses .card base */
    /* Specific styling for resource cards if needed */
}
.resource-item.card .card-content {
    text-align: left; /* Override default center for resource descriptions */
}
.resource-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-s);
}
.resource-title a {
    color: var(--color-text-headings);
}
.resource-title a:hover {
    color: var(--color-futuristic-glow);
}
.resource-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* --- Contact Section --- */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-bg-block);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-L); /* Larger radius */
    box-shadow: var(--box-shadow-medium);
}
.contact-intro {
    margin-bottom: var(--spacing-xl);
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
}
.form-group {
    margin-bottom: var(--spacing-l);
}
.btn-submit { /* Full-width submit button */
    width: 100%;
    padding-top: var(--spacing-l);
    padding-bottom: var(--spacing-l);
    font-size: 1.15rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-bg-dark-accent);
    color: rgba(255, 255, 255, 0.75); /* Lighter text for readability on dark bg */
    padding-top: var(--spacing-section-vertical);
    font-size: 0.95rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}
.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-l);
    position: relative;
    padding-bottom: var(--spacing-s);
}
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-futuristic-glow);
}
.footer-column p {
    line-height: 1.6;
    margin-bottom: var(--spacing-m);
    color: rgba(255, 255, 255, 0.75);
}
.footer-nav {
    list-style: none;
    padding-left: 0;
}
.footer-nav li {
    margin-bottom: var(--spacing-s);
}
.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}
.footer-nav a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}
.social-links {
    margin-top: var(--spacing-m);
}
.social-links a {
    color: rgba(255, 255, 255, 0.75);
    margin-right: var(--spacing-l); /* Space between text links */
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--spacing-s);
    transition: color var(--transition-medium), transform var(--transition-medium);
}
.social-links a:hover {
    color: var(--color-futuristic-glow);
    transform: translateY(-2px);
}
.footer-contact-info {
    margin-top: var(--spacing-m);
}
.footer-contact-info a {
    color: rgba(255, 255, 255, 0.75);
}
.footer-contact-info a:hover {
    color: var(--color-text-light);
}

.footer-bottom {
    text-align: center;
    padding: var(--spacing-l) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* --- Page Specific Styles --- */
/* For About, Contact, Privacy, Terms pages */
.page-title-section {
    padding-top: calc(var(--header-height) + var(--spacing-xl)); /* Offset for header + extra space */
    padding-bottom: var(--spacing-xl);
    text-align: center;
    color: var(--color-text-light); /* White text on banner */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.page-title-section .hero-overlay { /* Re-use hero-overlay for dark bg */
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)); /* Ensure readability */
}
.page-title { /* Title on these banner sections */
    font-size: clamp(2.8rem, 6vw, 4rem);
    color: var(--color-text-light);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Privacy and Terms pages content offset */
main[data-barba-namespace="privacy"] .section-padding:first-of-type,
main[data-barba-namespace="terms"] .section-padding:first-of-type {
    padding-top: calc(var(--header-height) + var(--spacing-section-vertical));
}
/* Ensure content block on legal pages has good contrast */
main[data-barba-namespace="privacy"] .content-block,
main[data-barba-namespace="terms"] .content-block {
    background-color: var(--color-bg-block);
    color: var(--color-text-primary);
}
main[data-barba-namespace="privacy"] .content-block h2,
main[data-barba-namespace="terms"] .content-block h2 {
    color: var(--color-text-headings);
    margin-top: var(--spacing-xl);
}
main[data-barba-namespace="privacy"] .content-block h2:first-of-type,
main[data-barba-namespace="terms"] .content-block h2:first-of-type {
    margin-top: 0;
}


.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: var(--spacing-xxl);
}
@media (min-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr 1.5fr; /* Side-by-side on larger screens */
         /* Ensure the form column (1.5fr) is wider, hence "is-two-thirds" like behavior */
    }
}
.contact-info-block {
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-M);
}
.contact-details .contact-detail-item { margin-bottom: var(--spacing-l); }
.contact-details h3 {
    font-size: 1.3rem; color: var(--color-text-headings); margin-bottom: var(--spacing-xs);
}
.contact-details i { margin-right: var(--spacing-s); color: var(--color-futuristic-glow); }
.social-links-contact-page a { margin-right: var(--spacing-m); }


/* FAQ Section (Contact Page) */
.faq-item {
    margin-bottom: var(--spacing-m);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-M);
    background-color: var(--color-bg-block);
    box-shadow: var(--box-shadow-light);
}
.faq-question {
    width: 100%;
    background-color: transparent;
    border: none;
    padding: var(--spacing-l);
    text-align: left;
    font-family: var(--font-body); /* Body font for questions */
    font-size: 1.1rem;
    font-weight: 700; /* Bold questions */
    color: var(--color-text-headings);
    cursor: pointer;
    position: relative;
    transition: background-color var(--transition-fast);
}
.faq-question:hover { background-color: var(--color-bg-secondary); }
.faq-question::after { /* Arrow icon */
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    right: var(--spacing-l);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-pastel-accent-primary);
    transition: transform var(--transition-medium);
}
.faq-question.active::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
    padding: 0 var(--spacing-l) var(--spacing-l) var(--spacing-l);
    display: none; /* Hidden by default */
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Success Page */
.success-page-section {
    /* IMPORTANT: min-height 100vh and centered content */
    min-height: 100vh; 
    display: flex;
    flex-direction: column; /* Ensure children stack vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl); /* Add some padding */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.success-page-section .hero-overlay { /* Use overlay for background image */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2));
}
.success-page-section .container { /* Ensure container takes full height if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* For overlay content */
    z-index: 1;
}
.success-icon svg {
    fill: var(--color-futuristic-glow);
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-l);
}
.success-page-section .page-title { /* Already styled to be white */
    margin-bottom: var(--spacing-m);
}
.success-message {
    font-size: 1.15rem;
    color: var(--color-text-light); /* White text on success page */
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    line-height: 1.7;
}
.success-follow-up {
    margin-top: var(--spacing-l);
    font-size: 1rem;
    color: var(--color-text-light);
    opacity: 0.8;
}
.success-follow-up a {
    color: var(--color-futuristic-glow); /* Brighter link on dark bg */
    font-weight: bold;
}
.success-follow-up a:hover {
    color: var(--color-text-light);
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) { /* Tablet */
    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0%; }
    .timeline-item::after, .timeline-item:nth-child(even)::after { left: 10px; }
    .timeline-item .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px; border-width: 10px 15px 10px 0; border-color: transparent var(--color-bg-block) transparent transparent;
    }
    .footer-container { text-align: center; } /* Center footer columns on tablet */
    .footer-column h4::after { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 768px) { /* Mobile */
    html { font-size: 15px; } /* Adjust base font for smaller screens */
    
    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: calc(var(--header-height) - 1px); /* Align with bottom of header */
        left: 0;
        background-color: rgba(255, 255, 255, 0.95); /* Slightly more opaque for readability */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: var(--spacing-s) 0;
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }
    .main-nav ul.nav-active { display: flex; }
    .main-nav li { margin: 0; width: 100%; text-align: center; }
    .main-nav a {
        display: block;
        padding: var(--spacing-m);
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav li:last-child a { border-bottom: none; }
    .main-nav a::after { display: none; } /* No underline effect for mobile nav items */
    .main-nav a:hover, .main-nav a.active {
        background-color: rgba(var(--color-futuristic-glow-rgb, 77, 208, 225), 0.15);
    }

    .burger-menu { display: block; }
    .burger-menu.toggle .burger-line:nth-child(1) { transform: rotate(-45deg) translate(-7px, 7px); }
    .burger-menu.toggle .burger-line:nth-child(2) { opacity: 0; }
    .burger-menu.toggle .burger-line:nth-child(3) { transform: rotate(45deg) translate(-7px, -7px); }

    .section-title { font-size: clamp(1.8rem, 5vw, 2.2rem); margin-bottom: var(--spacing-xl); }
    .hero-section { min-height: 80vh; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.2rem); }

    .grid-container-thirds, .grid-container-halves, .stats-grid {
        grid-template-columns: 1fr; /* Stack cards/widgets */
        gap: var(--spacing-l);
    }
    .card-image { height: 200px; } /* Slightly smaller images on mobile */

    .contact-page-grid { grid-template-columns: 1fr; }

    .footer-column { margin-bottom: var(--spacing-l); }
}