/* style.css */

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

    /* Gradient Color Scheme */
    --gradient-primary: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    
    /* Solid Colors */
    --primary-color: #4A90E2;
    --secondary-color: #F5A623;
    --background-light: #f4f6f9;
    --background-dark: #2c3e50;
    --card-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --error-color: #f44336;

    /* Sizing & Spacing */
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

/* --- Utility Classes --- */
.content-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: #222222;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 40px;
    font-size: 1.1rem;
    color: #555;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.column {
    flex: 1;
    min-width: 300px;
}

.column.is-two-thirds {
    flex-grow: 2;
}

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

/* --- Global Button Styles --- */
.btn, button[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-light);
    transform: translateY(0);
}

.btn:hover, button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    text-decoration: none;
}

.btn-primary {
    background-image: var(--gradient-primary);
    color: var(--text-light);
}

.btn-secondary {
    background-image: var(--gradient-secondary);
    color: var(--text-light);
}

/* --- Header & Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    transition: background-color var(--transition-speed) ease;
}

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

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-heading);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease-out;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.burger-menu span {
    width: 2rem;
    height: 0.25rem;
    background: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

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

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 { color: var(--text-light); font-size: 4rem; }
.hero-text p { font-size: 1.25rem; margin: 20px 0 40px; }

/* --- Parallax Sections (Careers, Behind the Scenes) --- */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-light);
}

.parallax-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}
.parallax-section .section-title {
    color: var(--text-light);
}

/* --- Card Styles --- */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

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

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

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

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-content h3 {
    margin-top: 0;
}
.card-content p {
    flex-grow: 1;
}

/* --- Innovation Section --- */
.innovation-section .columns {
    align-items: stretch;
}

/* --- Behind the Scenes Slider --- */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.slider {
    display: flex;
    overflow-x: hidden; /* This will be managed by JS */
    scroll-snap-type: x mandatory;
}
.slide {
    flex: 0 0 33.333%;
    min-width: 33.333%;
    padding: 10px;
    scroll-snap-align: start;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    color: var(--text-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: var(--shadow-light);
}
.slider-btn.prev { left: -20px; }
.slider-btn.next { right: -20px; }


/* --- Partners Section --- */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.partners-logos img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}
.partners-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- External Resources Section --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.resource-card {
    border-left: 5px solid var(--primary-color);
}
.resource-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}
.resource-card h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* --- FAQ Section --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed) ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p {
    padding: 0 0 20px;
}

/* --- Contact Section --- */
.contact-info p { margin-bottom: 1.5rem; }
.contact-info strong { font-weight: 700; }

.contact-form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.contact-form label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #999;
    pointer-events: none;
    transition: all var(--transition-speed) ease;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--background-light);
    padding: 0 5px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--background-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 10px;
}
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.footer-column a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

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

/* --- Specific Page Styles (Success, Privacy, Terms) --- */
.success-page,
.static-page {
    display: flex;
    flex-direction: column;
}

.success-page main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - var(--header-height) - 150px); /* 150px approx footer height */
}

.success-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
}
.success-content h1 {
    color: var(--success-color);
}

.static-page-content {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll[data-animation="fade-up"] { transform: translateY(30px); }
.animate-on-scroll[data-animation="fade-down"] { transform: translateY(-30px); }
.animate-on-scroll[data-animation="fade-right"] { transform: translateX(-30px); }
.animate-on-scroll[data-animation="fade-left"] { transform: translateX(30px); }
.animate-on-scroll[data-animation="zoom-in"] { transform: scale(0.9); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-text h1 { font-size: 3rem; }
    h2, .section-title { font-size: 2rem; }

    .main-nav {
        display: none; /* Hide desktop nav */
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--background-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .main-nav.active {
        display: flex;
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .main-nav a {
        color: var(--text-light);
        font-size: 1.5rem;
    }
    .main-nav a::after {
        background: var(--text-light);
    }

    .burger-menu {
        display: flex;
    }
    
    .burger-menu.active span:nth-child(1) { transform: rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .burger-menu.active span:nth-child(3) { transform: rotate(-45deg); }
    
    .columns {
        flex-direction: column;
    }
    
    .slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}