:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --gold: #c5a059;
    --gold-light: #dfbd7d;
    --white: #ffffff;
    --slate: #475569;
    --slate-light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6, .serif {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gridMovement {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    25% { opacity: 0.5; }
    50% { transform: translateY(-100px) translateX(20px); opacity: 0.8; }
    75% { opacity: 0.5; }
    100% { transform: translateY(-200px) translateX(-20px); opacity: 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Top Bar */
.top-bar {
    background: var(--navy);
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Nav */
.navbar {
    padding: 1.25rem 0;
    transition: all 0.4s ease;
}
.brand-main {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--navy);
}
.brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--slate);
    font-weight: 600;
}
.nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin: 0 5px;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold) !important;
}
.nav-btn {
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 24px !important;
}
.nav-btn:hover {
    background: var(--gold);
    color: white !important;
}

/* Hero Slider & Animated Background */
.hero-animated-bg {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: -100px;
    background-image: 
        linear-gradient(to right, rgba(197, 160, 89, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMovement 20s linear infinite;
}

.data-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px var(--gold);
    animation: floatParticle 10s ease-in infinite;
}

.carousel-bg {
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: transform 12s ease-out;
}
.carousel-item.active .carousel-bg {
    transform: scale(1.15);
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 2;
}
.carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Sections */
.section-padding { padding: 100px 0; }
.bg-light-alt { background-color: var(--slate-light); }
.accent-line {
    height: 4px;
    background: var(--gold);
    width: 60px;
    margin-bottom: 30px;
}

/* Corporate Cards */
.pillar-card, .mv-card {
    background: white;
    padding: 50px 40px;
    border: 1px solid #edf2f7;
    transition: all 0.4s ease;
}
.pillar-card:hover, .mv-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border-color: var(--gold);
}

.mv-card {
    border-left: 4px solid var(--gold);
}

/* Values section specifically */
.value-box {
    padding: 2rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}
.value-box:hover {
    background: var(--slate-light);
}

/* Team Grayscale */
.grayscale-to-color {
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
}
.team-card:hover .grayscale-to-color {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .vh-100 { height: 80vh !important; }
    .carousel-bg { height: 80vh !important; }
}