/* Custom CSS Variables for Consistency */
:root {
    --color-rich-black: #16161a;
    --color-deep-slate: #2c3e50;
    --color-primary-blue: #007bff; /* Primary Blue for CTA/Links */
    --color-primary-hover: #0056b3; /* Darker Blue for hover */
    --color-soft-gray: #f4f4f9; /* Page Background */
    --color-highlight-white: #ffffff;
    --color-dark-text: #2c3e50;
    --color-light-text: #ecf0f1;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.3s ease-in-out;
}

/* Base Reset and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark-text);
    background-color: var(--color-soft-gray);
    /* For smooth scroll on anchor links/page navigation */
    scroll-behavior: smooth; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-rich-black);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--color-primary-blue);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-highlight-white) !important;
}

.dark-bg {
    background-color: var(--color-rich-black);
    color: var(--color-light-text);
}

.soft-gray-bg {
    background-color: var(--color-soft-gray);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-deep-slate);
    margin-bottom: 40px;
}

/* === BUTTONS (Premium Design) === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px; /* Pill shape for premium feel */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast) ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary-blue);
    color: var(--color-highlight-white);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary-blue);
    border-color: var(--color-primary-blue);
}

.btn-secondary:hover {
    background-color: var(--color-primary-blue);
    color: var(--color-highlight-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Icon Styling */
.icon-lg {
    font-size: 3rem;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
}

/* === HEADER & NAVIGATION (Sticky & Responsive) === */

/* Top Bar */
.top-bar {
    background-color: var(--color-deep-slate);
    color: var(--color-light-text);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 25px;
}

.contact-info i {
    color: var(--color-primary-blue);
    margin-right: 5px;
}

/* Language Selector */
.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-button {
    background: none;
    border: none;
    color: var(--color-light-text);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: var(--transition-fast);
}

.lang-button:hover {
    color: var(--color-primary-blue);
}

.lang-dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-highlight-white);
    border: 1px solid #ccc;
    box-shadow: var(--shadow-premium);
    z-index: 1000;
    min-width: 150px;
    display: none; /* Controlled by JS */
    padding: 10px 0;
    border-radius: var(--border-radius);
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown li a {
    display: block;
    padding: 8px 15px;
    color: var(--color-dark-text);
    font-size: 0.9rem;
}

.lang-dropdown li a:hover {
    background-color: var(--color-soft-gray);
}

.flag-icon {
    margin-right: 8px;
}


/* Main Navigation */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-highlight-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 120px; /* Adjust as needed */
    transition: transform 0.4s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--color-dark-text);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

/* Active State and Hover Effect (Next Level Shit) */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary-blue);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.track-cta {
    margin-left: 20px;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-dark-text);
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation (Explicit Sweet) */
.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* === FOOTER === */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding: 60px 20px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col {
    padding: 10px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary-blue);
}

.footer-col p, .footer-col li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--color-light-text);
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--color-light-text);
}

.footer-col a:hover {
    color: var(--color-primary-blue);
}

.social-links a {
    display: inline-block;
    color: var(--color-highlight-white);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--color-deep-slate);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #95a5a6;
}

.footer-bottom a {
    color: #95a5a6;
}
.footer-bottom a:hover {
    color: var(--color-primary-blue);
}

/* === ANIMATIONS (Next Level Smooth) === */

/* Fade-in-up animation for text and elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Utility classes for stagger/delay */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Placeholder for JS-controlled scroll animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transform: translateY(40px);
}

.animate-on-scroll.scrolled {
    opacity: 1;
    transform: translateY(0);
}

/* === MEDIA QUERIES (Responsiveness) === */
@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }
    .track-cta {
        /* Hide Track Now on tablet/small desktop to make space */
        display: none; 
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col:nth-child(3), .footer-col:nth-child(4) {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner look */
    }
    .navbar {
        padding: 10px 20px;
    }
    .logo img {
        height: 90px;
    }
    
    /* Mobile Navigation Setup */
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Below the navbar */
        left: 0;
        width: 100%;
        background-color: var(--color-highlight-white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 90;
        transform: translateY(-10px); /* Start slightly off-screen */
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--color-soft-gray);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 20px;
    }
    
    .nav-links a::after {
        display: none; /* Remove line animation on mobile for simplicity */
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}