/* --- BRAND DNA --- */
:root {
    /* Inherits defaults */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.hero-container {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1100px;
    padding: 20px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(36px, 10vw, 72px);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

/* --- SERVICE LAYOUT --- */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 650px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.service-row:nth-child(even) .text-content {
    order: 2;
}

.service-row:nth-child(even) .image-content {
    order: 1;
}

.text-content {
    padding: 80px;
}

.service-cat {
    font-family: var(--font-head);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
    display: block;
}

.text-content h2 {
    font-family: var(--font-head);
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 1.1;
}

.text-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.feature-item::before {
    content: '•';
    color: var(--accent);
    margin-right: 10px;
}

.image-content {
    height: 100%;
    min-height: 650px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-label {
    color: rgba(255, 255, 255, 0.1);
    font-family: var(--font-head);
    font-size: 80px;
    font-weight: 800;
    transform: rotate(-90deg);
}

/* --- TECH STACK --- */
.tech-stack {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.tech-stack h4 {
    font-family: var(--font-head);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 50px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
    color: var(--accent);
}

/* --- CTA --- */
.cta-section {
    text-align: center;
    padding: 140px 20px;
    background: #fff;
}

.cta-btn {
    background: var(--primary);
    color: white;
    padding: 20px 50px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-container {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 15px;
        margin-top: 40px !important; /* Push down to avoid navbar */
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: clamp(24px, 8vw, 36px) !important;
        word-wrap: break-word; /* Prevent horizontal overflow */
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
        padding: 0 10px;
    }

    .service-row {
        grid-template-columns: 1fr;
    }

    .service-row:nth-child(even) .text-content {
        order: 1;
    }

    .service-row:nth-child(even) .image-content {
        order: 2;
    }

    .image-content {
        min-height: 350px;
    }

    .text-content {
        padding: 40px 20px;
    }

    .img-label {
        font-size: 40px;
        transform: none;
    }
}

/* --- REMOVED THE CONFLICTING DISPLAY: NONE BLOCK HERE --- */
@media (max-width: 600px) {
    .filter-bar {
        white-space: nowrap;
        overflow-x: auto;
    }
}