:root {
    --bg: #000000;
    --text: #ffffff;
    --lime: #00cc99; 
    --border: rgba(255, 255, 255, 0.1);
    --font: 'Sora', sans-serif; 
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

/* Navigation */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 2000;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    background: rgba(0,0,0,0.8); /* Slight dark background for better contrast */
}
.nav-inner { display: flex; justify-content: space-between; padding: 24px 48px; align-items: center; }
.logo-main { height: 38px; }

.nav-links { display: flex; align-items: center; }
.nav-links a {
    color: #ffffff; text-decoration: none; font-weight: 600;
    font-size: 0.9rem; margin: 0 15px; transition: opacity 0.3s ease;
}
.nav-links a:hover { opacity: 0.7; }
.cta-nav {
    background: var(--lime); color: #000 !important;
    padding: 10px 20px; border-radius: 100px; display: inline-block;
}

/* Hamburger Menu (Hidden by default on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 2001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Active State for Hamburger (X shape) */
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* Ad Banner */
.popup-banner {
    position: fixed; bottom: 60px; left: 50%; width: 850px; max-width: 90vw;
    z-index: 3000; border-radius: 20px; overflow: hidden;
    background: #111; border: 1px solid var(--border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    transform: translateX(-50%); 
    will-change: transform, opacity;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    opacity: 1;
    visibility: visible;
}

.popup-banner.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px); 
}

.popup-banner img { width: 100%; display: block; }
.close-btn {
    position: absolute; top: 20px; right: 25px; color: white;
    font-size: 36px; cursor: pointer; z-index: 3001;
    line-height: 1; text-shadow: 0 0 15px rgba(0,0,0,1);
    transition: transform 0.3s ease;
}
.close-btn:hover { transform: scale(1.1); }

/* Hero Section */
.hero-with-bg {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/background-image.jpg');
    background-size: cover; background-position: center;
    background-repeat: no-repeat; background-attachment: fixed;
}
.hero { padding: 160px 0 120px; text-align: center; }

.hero-title {
    font-family: 'Instrument Sans', sans-serif; 
    font-size: clamp(3rem, 8vw, 7.5rem); 
    text-transform: uppercase;
    font-weight: 600; 
    line-height: 0.9; 
    letter-spacing: -0.05em; 
    margin-bottom: 40px;
}
.lime { color: var(--lime); }
.italic { font-style: italic; font-weight: 400; }

/* Vision Section */
.vision-section { padding: 120px 0; border-bottom: 1px solid var(--border); }
.section-label { 
    font-size: 0.9rem; color: #888; text-transform: uppercase; 
    margin-bottom: 40px; letter-spacing: 0.05em; 
}
.vision-grid { 
    display: grid; grid-template-columns: 1fr 1fr; 
    gap: 60px; align-items: start; 
}

/* Vision Left */
.vision-img-box { display: flex; justify-content: center; position: sticky; top: 120px; }
.vision-img-box img { 
    width: 60%; 
    max-width: 400px; 
    border-radius: 12px; opacity: 0.9; 
    display: block; 
}

/* Vision Right */
.vision-mini-img {
    width: 100%; max-width: 320px; 
    height: auto; display: block;
    margin-bottom: 30px; border-radius: 12px;
}

.vision-text h2 { 
    font-size: 2rem; 
    line-height: 1.2; 
    margin-bottom: 24px;
    margin-top: 0; 
}
.vision-text p { 
    font-size: 1.1rem; color: #bbb; line-height: 1.6; 
    max-width: 550px; margin-bottom: 20px; 
}

/* View More Button Logic */
.btn-thin {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px 0 0 0;
}
.btn-thin:hover {
    border-color: var(--lime); color: var(--lime); background: rgba(255, 255, 255, 0.05);
}

/* Hidden content styles */
.hidden-text {
    display: none;
    margin-top: 30px;
}
.hidden-text.show {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Work Grid */
.work-section { padding: 100px 0; border-bottom: 1px solid var(--border); }

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.work-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.work-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.work-item:hover img { transform: scale(1.05); }

/* Video Overlay */
.video-item { position: relative; }
.play-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.play-overlay:hover { background: rgba(0,0,0,0.1); }

.play-icon {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(10px);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: white; border: 1px solid rgba(255,255,255,0.4);
    padding-left: 4px; 
}
.work-cta-container { text-align: center; margin-top: 40px; }

/* Services Grid */
.capabilities { padding: 100px 0; border-bottom: 1px solid var(--border); }

.cap-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1px;
    background: var(--border); 
    border: 1px solid var(--border); 
    margin-top: 0;
}

/* Card Styling */
.cap-card {
    background: var(--bg); 
    padding: 60px 40px;
    display: flex; 
    flex-direction: column; 
    min-height: 450px;
    transition: background 0.3s ease, color 0.3s ease; 
}

.cap-card:hover { background: var(--lime); color: #000; }

.cap-asset { 
    width: 100%; margin-top: auto; 
    opacity: 0.6; filter: grayscale(1); 
    transition: 0.6s ease; 
}
.cap-card:hover .cap-asset { opacity: 1; filter: grayscale(0); transform: scale(1.03); }

/* FOOTER Styles */
.footer { padding: 100px 0 40px; border-top: 1px solid var(--border); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-main h2 {
    font-size: 3rem; margin-bottom: 20px; line-height: 1;
}

.footer-email-large {
    font-size: 2rem; color: #888; text-decoration: none;
    transition: color 0.3s;
}
.footer-email-large:hover { color: var(--lime); }

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: #666; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 20px;
}

.footer-col p {
    color: #fff; line-height: 1.6; font-size: 1rem; margin-bottom: 10px;
}

.link-hover { color: #fff; text-decoration: none; transition: 0.3s; }
.link-hover:hover { color: var(--lime); }

.footer-legal {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Animations */
.reveal {
    opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 992px) {
    /* Layout Adjustments */
    .vision-grid, .cap-grid, .work-grid { grid-template-columns: 1fr; }
    .footer-grid, .footer-info { grid-template-columns: 1fr; gap: 40px; }
    .footer-main h2 { font-size: 2.2rem; }
    .footer-email-large { font-size: 1.5rem; }
    
    .container { padding: 0 24px; }
    
    /* Hamburger & Mobile Menu Logic */
    .hamburger { display: flex; }
    
    .nav-links {
        display: none; /* Hidden by default */
        position: absolute;
        top: 80px; /* Below navbar */
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 40px;
        box-sizing: border-box;
        border-bottom: 1px solid var(--border);
        gap: 20px;
        align-items: flex-start;
    }

    .nav-links.active { display: flex; }
    
    .nav-links a { margin: 0; font-size: 1.5rem; }
    
    /* Hero Adjustments */
    .hero { 
        padding: 120px 0 80px;
        min-height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .popup-banner { width: 95%; bottom: 20px; }
    .vision-img-box { position: static; margin-bottom: 40px; }
    .vision-img-box img { width: 80%; }

    .hero-with-bg {
        background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/background-image-mobile.jpg');
    }
}