/* Green Arrow Corporate Theme - High End */

:root {
    /* --- Premium Color Palette --- */
    /* Primary Backgrounds */
    --bg-deep: #050a10;
    /* Darker, richer than slate-900 */
    --bg-card: rgba(14, 23, 35, 0.7);
    /* Glassy dark blue-grey */
    --bg-card-hover: rgba(20, 32, 48, 0.8);

    /* Text Colors */
    --text-primary: #f1f5f9;
    /* Soft white */
    --text-secondary: #94a3b8;
    /* Muted slate */
    --text-muted: #64748b;
    /* Darker muted */

    /* Accents - Refined Emerald */
    --accent-emerald: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.25);
    --accent-dark: #047857;

    /* Accents - Metallic Gold */
    --gold-primary: #d4af37;
    /* True metallic gold */
    --gold-dim: #a18320;

    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.4);
}

body {
    font-family: 'Manrope', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    /* Subtle noise texture */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(20, 32, 48, 0.2), transparent 25%);
}

/* Custom Scrollbar - Slim & Sleek */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* Navbar Blur - Premium Frost */
.glass-nav {
    background: rgba(5, 10, 16, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

/* Hero Overlay - Cinematographic Fade */
.hero-overlay {
    background: linear-gradient(to bottom,
            rgba(5, 10, 16, 0.3) 0%,
            rgba(5, 10, 16, 0.7) 50%,
            rgba(5, 10, 16, 1) 90%,
            var(--bg-deep) 100%);
}

.parallax-container {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Card Hover Effects - Premium Feel */
.corporate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.corporate-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--border-hover);
}

/* Text Gradients */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold-primary) 20%, var(--gold-dim) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 40s linear infinite;
    /* Slower, more majestic */
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Utility Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Badges - Premium Glassmorphism */
.trust-badge-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--accent-emerald);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px -5px var(--accent-glow);
}

.trust-badge i {
    color: var(--accent-emerald);
    font-size: 1.1rem;
}

.trust-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -- ANIMATIONS & PRELOADER -- */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-deep);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(5, 150, 105, 0.1);
    border-top: 2px solid var(--accent-emerald);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--accent-emerald);
    text-transform: uppercase;
    font-size: 0.7rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Staggered Text Reveal */
.stagger-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpStagger 0.6s ease-out forwards;
}

@keyframes fadeInUpStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Corporate Card with Glow */
.corporate-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--accent-emerald), transparent, var(--bg-deep));
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.corporate-card:hover::before {
    opacity: 0.8;
}

/* Button Pulse/Glow on Hover - Smoother */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}


/* Floating Arrow Animations */
.floating-arrow {
    animation: floatArrow 15s ease-in-out infinite;
}

.floating-arrow-reverse {
    animation: floatArrowReverse 18s ease-in-out infinite;
}

@keyframes floatArrow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.05;
    }

    50% {
        transform: translateY(-40px) rotate(10deg);
        opacity: 0.15;
    }
}

@keyframes floatArrowReverse {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.05;
    }

    50% {
        transform: translateY(40px) rotate(-15deg) scale(1.1);
        opacity: 0.15;
    }
}

/* Scroll Progress Track */
.scroll-progress-track {
    position: fixed;
    top: 0;
    right: 20px;
    width: 1px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.03);
    z-index: 100;
    display: none;
}

@media (min-width: 768px) {
    .scroll-progress-track {
        display: block;
    }
}

.scroll-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    transition: height 0.1s linear;
}

.scroll-arrow-indicator {
    position: absolute;
    top: 0;
    /* Updated by JS */
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--bg-deep);
    border: 1px solid var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-emerald);
    font-size: 10px;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: top 0.1s linear, transform 0.3s ease;
    z-index: 101;
    cursor: pointer;
}

.scroll-arrow-indicator:hover {
    background: var(--accent-emerald);
    color: white;
    transform: translateX(-50%) scale(1.1);
}

/* Contact Card - Mini Glassmorphism */
.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card i {
    transition: transform 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.1);
}