/* style.css */

/* 1. CSS Variables
-------------------------------------------------- */
:root {
    /* Color Scheme: Triada */
    --color-bg: #f0f2f5; /* Light grayish blue - Neumorphism Base */
    --color-bg-alt: #e4e8f0; /* Slightly darker for inset elements */
    --color-primary: #6A1B9A; /* Deep Purple */
    --color-secondary: #00796B; /* Teal */
    --color-accent: #FBC02D; /* Yellow */

    --color-text-dark: #263238; /* Dark blue-gray for main text */
    --color-text-medium: #546E7A; /* Medium blue-gray for subtitles, descriptions */
    --color-text-light: #FFFFFF; /* White for dark backgrounds */
    --color-link: var(--color-primary);
    --color-link-hover: var(--color-secondary);

    /* Neumorphic Shadows */
    --shadow-distance: 6px;
    --shadow-blur: 12px;
    --shadow-color-light: rgba(255, 255, 255, 0.85);
    --shadow-color-dark: rgba(180, 185, 200, 0.65); /* Adjusted for --color-bg */
    
    --neumorphic-shadow-raised: 
        calc(var(--shadow-distance) * -1) calc(var(--shadow-distance) * -1) var(--shadow-blur) var(--shadow-color-light),
        var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--shadow-color-dark);
    --neumorphic-shadow-raised-soft:
        calc(var(--shadow-distance) / 2 * -1) calc(var(--shadow-distance) / 2 * -1) calc(var(--shadow-blur) / 2) var(--shadow-color-light),
        calc(var(--shadow-distance) / 2) calc(var(--shadow-distance) / 2) calc(var(--shadow-blur) / 2) var(--shadow-color-dark);
    --neumorphic-shadow-pressed:
        inset calc(var(--shadow-distance) / 1.5) calc(var(--shadow-distance) / 1.5) calc(var(--shadow-blur) / 1.5) var(--shadow-color-dark),
        inset calc(var(--shadow-distance) / 1.5 * -1) calc(var(--shadow-distance) / 1.5 * -1) calc(var(--shadow-blur) / 1.5) var(--shadow-color-light);
    --neumorphic-shadow-inset: /* Similar to pressed, but can be used for larger areas */
        inset var(--shadow-distance) var(--shadow-distance) var(--shadow-blur) var(--shadow-color-dark),
        inset calc(var(--shadow-distance) * -1) calc(var(--shadow-distance) * -1) var(--shadow-blur) var(--shadow-color-light);

    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Transitions */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --transition-speed-slow: 0.5s;

    /* Layout */
    --header-height: 80px;
    --container-width: 1140px;
    --container-padding: 20px;
    --border-radius: 12px;
}

/* 2. Resets & 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-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-link);
    transition: color var(--transition-speed-fast) ease-in-out;
}

a:hover {
    color: var(--color-link-hover);
}

/* 3. Typography
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-dark);
    margin-bottom: 0.75em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

h1 { font-size: 2.8rem; margin-bottom: 0.5em; } /* Approx 44.8px */
h2 { font-size: 2.2rem; } /* Approx 35.2px */
h3 { font-size: 1.8rem; } /* Approx 28.8px */
h4 { font-size: 1.4rem; } /* Approx 22.4px */

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

.section-title {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 2.5rem; /* Larger for section titles */
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.sub-section-title {
    font-size: 1.6rem;
    color: var(--color-secondary);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

/* 4. Layout Helpers
-------------------------------------------------- */
.main-container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.content-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.accent-bg {
    background-color: var(--color-bg-alt); /* Subtle change for neumorphic depth */
    box-shadow: var(--neumorphic-shadow-inset);
}
.accent-bg-light { /* For sections that need a lighter but still distinct BG */
    background-color: #f8f9fc; 
    padding: 3rem 0;
}

/* Basic Column System (inspired by Bulma/Bootstrap) */
.columns-container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}

.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}

.is-one-third { flex: none; width: 33.3333%; }
.is-half { flex: none; width: 50%; }
.is-two-thirds { flex: none; width: 66.6666%; }
.is-full { flex: none; width: 100%; }


/* 5. Global UI Components
-------------------------------------------------- */

/* --- Buttons --- */
.button-primary, .button-secondary,
input[type="submit"], button[type="submit"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8em 2em;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed-normal) ease-in-out;
    box-shadow: var(--neumorphic-shadow-raised);
    background-color: var(--color-bg); /* Base for neumorphism */
}

.button-primary {
    color: var(--color-primary);
}
.button-primary:hover {
    color: var(--color-text-light);
    background-color: var(--color-primary);
    box-shadow: var(--neumorphic-shadow-pressed), 0 0 15px var(--color-primary);
}

.button-secondary {
    color: var(--color-secondary);
}
.button-secondary:hover {
    color: var(--color-text-light);
    background-color: var(--color-secondary);
    box-shadow: var(--neumorphic-shadow-pressed), 0 0 15px var(--color-secondary);
}

/* Microinteractions for buttons */
.button-interactive:active {
    box-shadow: var(--neumorphic-shadow-pressed) !important;
    transform: translateY(1px) translateX(1px);
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-medium);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
select.form-input { /* Apply to select as well */
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-bg-alt); /* Slightly different for depth */
    border: 1px solid transparent; /* Prepare for neumorphic look */
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-pressed);
    transition: box-shadow var(--transition-speed-normal) ease-in-out;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #90a4ae; /* Lighter placeholder text */
}

.form-input:focus,
.form-textarea:focus,
select.form-input:focus {
    outline: none;
    box-shadow: var(--neumorphic-shadow-pressed), 0 0 0 2px var(--color-primary_alpha); /* Focus ring */
    border-color: var(--color-primary);
    background-color: var(--color-bg);
}
:root { --color-primary_alpha: rgba(106, 27, 154, 0.3); } /* for focus ring */


select.form-input {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23546E7A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem; /* Make space for custom arrow */
}

.form-submit-group {
    text-align: center;
    margin-top: 2rem;
}

/* --- Cards --- */
.card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-raised);
    padding: 1.5rem;
    transition: transform var(--transition-speed-normal) ease-in-out, box-shadow var(--transition-speed-normal) ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
    height: 100%; /* For equal height cards in a row */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        calc(var(--shadow-distance) * -1.5) calc(var(--shadow-distance) * -1.5) calc(var(--shadow-blur) * 1.5) var(--shadow-color-light),
        calc(var(--shadow-distance) * 1.5) calc(var(--shadow-distance) * 1.5) calc(var(--shadow-blur) * 1.5) var(--shadow-color-dark);
}

.card-image {
    width: 100%;
    /* height: 200px; */ /* Fixed height for image container */
    aspect-ratio: 3/2; /* Maintain aspect ratio */
    border-radius: calc(var(--border-radius) - 6px); /* Slightly smaller radius */
    overflow: hidden;
    margin-bottom: 1rem;
    display: flex; /* For centering image if needed */
    align-items: center;
    justify-content: center;
    box-shadow: var(--neumorphic-shadow-inset);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container, crop if necessary */
    display: block; /* Remove extra space below image */
}

.card-content {
    flex-grow: 1; /* Allows content to fill space if card heights vary */
}
.card-content h4 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-medium);
    line-height: 1.6;
}
.team-role {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem !important; /* Override p margin */
}

/* Info Cards (Accolades) */
.info-card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--neumorphic-shadow-raised-soft);
    text-align: center;
    height: 100%;
}
.info-card-title {
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}
.info-card p {
    font-size: 0.9rem;
    color: var(--color-text-medium);
}

/* 6. Header & Navigation
-------------------------------------------------- */
.site-header {
    background-color: var(--color-bg);
    padding: 0; /* Let container handle padding */
    box-shadow: var(--neumorphic-shadow-raised-soft);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.logo-main-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}
.logo-sub-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.main-navigation .nav-links {
    display: flex;
    list-style: none;
}

.main-navigation .nav-links li {
    margin-left: 1.8rem;
}

.main-navigation .nav-links a {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-medium);
    padding: 0.5em 0;
    position: relative;
    transition: color var(--transition-speed-normal);
}

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

.main-navigation .nav-links a:hover,
.main-navigation .nav-links a.active { /* Add .active for current page */
    color: var(--color-primary);
}
.main-navigation .nav-links a:hover::after,
.main-navigation .nav-links a.active::after {
    width: 100%;
}

.burger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1010; /* Above nav links when open */
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: all var(--transition-speed-normal) ease-in-out;
}

/* For main content to not be hidden by fixed header */
body {
    padding-top: var(--header-height);
}


/* 7. Footer
-------------------------------------------------- */
.site-footer {
    background-color: var(--color-bg-alt);
    padding: 3rem 0;
    color: var(--color-text-medium);
    box-shadow: inset 0 5px 10px var(--shadow-color-dark); /* Top inset shadow */
    font-size: 0.9rem;
}

.footer-columns {
    align-items: flex-start; /* Align columns to the top */
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

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

.footer-links a {
    color: var(--color-text-medium);
    transition: color var(--transition-speed-fast);
}

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

.footer-social-links li {
    margin-bottom: 0.5rem; /* Space between text links */
}
.footer-social-links a {
    color: var(--color-text-medium);
    font-weight: 700; /* Make them slightly bolder */
}
.footer-social-links a:hover {
    color: var(--color-accent);
}

#current-year {
    font-weight: 700;
}

/* 8. Section Specific Styles
-------------------------------------------------- */

/* --- Hero Section --- */
#hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - var(--header-height)); /* Full viewport height minus header */
    padding: 4rem var(--container-padding);
}

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

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

.hero-title {
    font-size: 3.5rem;
    color: var(--color-text-light); /* Enforce white text */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 0.5em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light); /* Enforce white text */
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
    margin-bottom: 1.5em;
    font-weight: 400;
}

#hero .button-primary {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    box-shadow: var(--neumorphic-shadow-raised); /* Custom shadow for hero button on dark bg */
}
#hero .button-primary:hover {
    background-color: var(--color-text-light);
    color: var(--color-accent);
    box-shadow: var(--neumorphic-shadow-pressed), 0 0 15px var(--color-accent);
}

.parallax-element { /* For JS-driven parallax */
    position: absolute;
    /* Example: bottom: 10%; left: 10%; width: 100px; height: 100px; */
    /* background-image: url('image/parallax-object.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0; /* Behind content, above overlay if needed */
}


/* --- Behind the Scenes (Timeline) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-inset);
}

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

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    background-color: var(--color-bg); /* Match parent for neumorphism */
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-raised-soft);
    width: calc(50% - 2rem); /* Each item takes half width minus spacing */
}
.timeline-item:nth-child(odd) {
    left: 0;
    padding-left: 2.5rem; /* Space for icon */
}
.timeline-item:nth-child(even) {
    left: 50%; /* Position to the right of the central line */
    padding-right: 2.5rem; /* Space for icon */
}
/* Adjust odd/even positioning for central line */
.timeline-item:nth-child(odd)::before { /* Connector to central line */
    content: '';
    position: absolute;
    top: 20px;
    right: -13px; /* Connects to center line */
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--color-bg-alt); /* Triangle pointing to line */
    z-index: 1;
}
.timeline-item:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -13px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--color-bg-alt);
    z-index: 1;
}

.timeline-icon { /* Placeholder for animated icons */
    position: absolute;
    top: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 1.5rem; /* For icon font if used */
    box-shadow: 0 0 0 4px var(--color-bg), var(--neumorphic-shadow-raised);
    z-index: 2; /* Above connector */
}
.timeline-item:nth-child(odd) .timeline-icon {
    right: -40px; /* Position icon on central line */
    transform: translateX(50%);
}
.timeline-item:nth-child(even) .timeline-icon {
    left: -40px; /* Position icon on central line */
    transform: translateX(-50%);
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-top: 0;
}
.timeline-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Success Stories --- */
#success-stories .gallery-container {
    margin-top: 2rem;
}
#success-stories .section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* --- External Resources --- */
#external-resources .resource-links-container {
    margin-top: 2rem;
}
.external-links-list {
    padding: 0;
}
.external-links-list li {
    background-color: var(--color-bg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-raised-soft);
    transition: transform var(--transition-speed-normal), box-shadow var(--transition-speed-normal);
}
.external-links-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--neumorphic-shadow-raised);
}
.external-link-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}
.external-link-title:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}
.external-link-description {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 0;
}
.aside-content {
    background-color: var(--color-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-inset);
    height: 100%; /* If next to list */
}
.aside-content h4 {
    color: var(--color-secondary);
}

/* --- FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 2rem auto;
}
.faq-item {
    background-color: var(--color-bg);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-raised-soft);
    overflow: hidden; /* For smooth accordion */
}
.faq-question {
    width: 100%;
    background-color: transparent; /* Button takes color from .faq-item */
    border: none;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed-fast);
}
.faq-question:hover {
    background-color: var(--color-bg-alt); /* Subtle hover */
}
.faq-question::after { /* Arrow icon */
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    transition: transform var(--transition-speed-normal);
}
.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed-normal) ease-out, padding var(--transition-speed-normal) ease-out;
}
.faq-answer p {
    font-size: 0.95rem;
    padding-bottom: 1.2rem; /* Add padding when open */
    margin-bottom: 0;
    color: var(--color-text-medium);
}
.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 0.5rem;
    padding-bottom: 1.2rem;
}

/* --- Contact Section --- */
.contact-form {
    background-color: var(--color-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-inset);
}
.contact-info-aside {
    background-color: var(--color-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-raised-soft);
    height: 100%;
}
.contact-info-aside h4 {
    color: var(--color-secondary);
}
.contact-info-aside p {
    font-size: 0.95rem;
}
.contact-info-aside hr {
    border: 0;
    height: 1px;
    background-color: var(--color-text-medium);
    opacity: 0.2;
    margin: 1.5rem 0;
}


/* 9. Page Specific Styles
-------------------------------------------------- */

/* --- About, Privacy, Terms Pages Hero --- */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 350px; /* Shorter hero for inner pages */
    padding: 3rem var(--container-padding);
}
.page-hero .hero-overlay { /* Re-use hero overlay styles */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 1;
}
.page-hero .hero-content {
    position: relative;
    z-index: 2;
}
.page-title {
    font-size: 2.8rem;
    color: var(--color-text-light);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    font-weight: 400;
}

.text-content-container {
    max-width: 850px; /* For readable text blocks */
    margin-left: auto;
    margin-right: auto;
}
.text-content-container ul,
.text-content-container ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25em;
    list-style: disc; /* Or decimal for ol */
}
.text-content-container ul li,
.text-content-container ol li {
    margin-bottom: 0.5em;
    color: var(--color-text-medium);
}
/* Privacy & Terms pages content padding from fixed header */
body[data-barba-namespace="privacy"] main,
body[data-barba-namespace="terms"] main {
    /* padding-top: 100px; is too much if header is already accounted for. */
    /* Handled by global body padding-top */
}
.content-image {
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-raised);
    margin: 1rem 0;
}

/* --- Success Page --- */
body[data-barba-namespace="success"] main .content-section.text-center-section {
    min-height: calc(100vh - var(--header-height) - 150px); /* Approx footer height, adjust if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.success-message-box {
    background-color: var(--color-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--neumorphic-shadow-raised);
    text-align: center;
    max-width: 600px;
}
.success-message-box img { /* For checkmark icon */
    margin-left: auto;
    margin-right: auto;
}


/* 10. Animations & Transitions
-------------------------------------------------- */
/* Scroll-triggered animations - basic setup (JS will add 'visible' class) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-speed-slow) ease-out, transform var(--transition-speed-slow) ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Barba.js page transitions (example fade) */
.barba-leave-active,
.barba-enter-active {
  transition: opacity var(--transition-speed-normal) ease-in-out;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}


/* 11. Parallax Styles
-------------------------------------------------- */
/* Simple CSS parallax for backgrounds (if JS isn't used for all) */
.parallax-bg {
    background-attachment: fixed; /* Note: can have performance issues on mobile */
}

/* 12. Media Queries (Responsiveness)
-------------------------------------------------- */
@media (max-width: 991px) { /* Tablets and larger phones */
    :root {
        --header-height: 70px;
    }
    .main-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    h1, .hero-title { font-size: 2.5rem; }
    h2, .section-title { font-size: 2rem; }
    
    .column.is-one-third, .column.is-half, .column.is-two-thirds {
        width: 100%; /* Stack columns */
    }
    .columns-container {
        margin-left: 0;
        margin-right: 0;
    }
    .column {
        padding-left: 0;
        padding-right: 0;
    }

    /* Timeline adjustments for smaller screens */
    .timeline::after { left: 30px; }
    .timeline-item { width: calc(100% - 30px); /* Full width minus space for icon line */ left: 30px !important; padding-left: 3rem; padding-right: 1rem; }
    .timeline-item:nth-child(even) { left: 30px !important; } /* Align all to one side */
    .timeline-item::before { display: none; } /* Hide arrows */
    .timeline-item .timeline-icon { left: -20px !important; transform: translateX(-50%); }
    
    .contact-form-container .column.is-one-third {
        margin-top: 2rem; /* Space between form and contact info */
    }
}

@media (max-width: 767px) { /* Mobile */
    :root {
        --header-height: 60px;
    }
    h1, .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    h2, .section-title { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    .main-navigation .nav-links {
        display: none; /* Hide for burger menu */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
        border-top: 1px solid var(--color-bg-alt);
    }
    .main-navigation .nav-links.open {
        display: flex;
    }
    .main-navigation .nav-links li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-links a {
        display: block;
        padding: 0.8rem 1rem;
        width: 100%;
    }
    .main-navigation .nav-links a::after {
        display: none; /* No underline effect on mobile dropdown */
    }
    .burger-menu {
        display: block;
    }
    /* Burger animation */
    .burger-menu.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger-menu.open span:nth-child(2) { opacity: 0; }
    .burger-menu.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .footer-columns {
        text-align: center;
    }
    .footer-column {
        margin-bottom: 2rem;
    }
    .footer-column:last-child {
        margin-bottom: 0;
    }
}