/* ===========================
   CSS CUSTOM PROPERTIES
=========================== */
:root {
    --primary-red: #E51923;
    --black: #F5F5F5;
    --bg-color: #0F0F0F;
    --grey-light: #1A1A1A;
    --font-main: 'Montserrat', sans-serif;
    --true-black: #050505;
    --transition-std: 0.3s ease;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--black);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/* ===========================
   UTILITIES
=========================== */
.text-red {
    color: var(--primary-red);
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-center {
    display: flex;
    gap: 40px;
}

.nav-center a {
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    transition: color var(--transition-std);
}

.nav-center a:hover {
    color: var(--primary-red);
}

/* ===========================
   BUTTONS
=========================== */
.btn-black {
    background-color: var(--primary-red);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity var(--transition-std), transform var(--transition-std);
    cursor: pointer;
    border: none;
}

.btn-black:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 10px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* ===========================
   HERO BANNER
=========================== */
.hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin: 20px auto 40px;
    box-sizing: border-box;
}

.banner-img {
    width: 100%;
    max-width: 1600px;
    height: auto;
    object-fit: contain;
}

/* ===========================
   VIDEO SECTION
=========================== */
.video-heading {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-top: 40px;
    color: var(--black);
    padding: 0 20px;
}

.video-container {
    padding: 40px 60px;
    max-width: 1300px;
    margin: 40px auto;
}

.video-placeholder {
    background-color: var(--grey-light);
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 12px;
    border: 1.5px solid #333;
    overflow: hidden;
}

.video-placeholder video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity var(--transition-std);
    cursor: pointer;
}

.play-btn {
    width: 80px;
    height: 80px;
    background-color: var(--true-black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 rgba(229, 25, 35, 0.4);
    pointer-events: none;
}

.blinking {
    animation: blink-pulse 2s infinite;
}

@keyframes blink-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(229, 25, 35, 0.7); }
    70%  { box-shadow: 0 0 0 20px rgba(229, 25, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 25, 35, 0); }
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--primary-red);
    margin-left: 5px;
}

/* ===========================
   SERVICES SECTION
=========================== */
.services-wrapper {
    max-width: 1200px;
    margin: 100px auto 140px;
    display: flex;
    gap: 120px;
    padding: 0 60px;
    align-items: flex-start;
}

.services-left {
    position: sticky;
    top: 120px;
}

.services-left h2 {
    font-size: 65px;
    font-weight: 800;
    line-height: 1.05;
}

.services-right {
    flex: 1;
}

.section-subtitle {
    font-size: 18px;
    color: #AAA;
    margin-bottom: 30px;
    font-weight: 600;
}

.service-list {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: flex;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    gap: 40px;
}

.service-row:first-child {
    padding-top: 0;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row h3 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    min-width: 260px;
    letter-spacing: -1.5px;
}

.semi-bold { font-weight: 700 !important; }
.thin      { font-weight: 500 !important; }
.ultra-thin{ font-weight: 200 !important; }

.service-row p {
    font-size: 14px;
    color: #AAA;
    line-height: 1.6;
    margin-top: 5px;
    max-width: 300px;
}

/* ===========================
   PORTFOLIO HORIZONTAL SCROLL
=========================== */
.horizontal-scroll-section {
    position: relative;
    height: 300vh;
    margin: 60px 0 100px;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.grid-marquees {
    width: 100%;
}

.marquees-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: max-content;
    padding: 0 60px;
    will-change: transform;
    transform: translateZ(0);
}

.marquee-row {
    display: flex;
    gap: 20px;
}

.m-2 {
    margin-left: 60px;
}

.m-box {
    background-color: #fff;
    height: 120px;
    width: 360px;
    flex-shrink: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.m-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.m-box:hover img {
    transform: scale(1.1);
}

.m-box-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-std);
    padding: 20px;
    text-align: center;
}

.m-box:hover .m-box-overlay {
    opacity: 1;
}

.m-box-overlay h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary-red);
}

.m-box-overlay p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* ===========================
   QUOTE
=========================== */
.quote-center {
    text-align: center;
    padding: 60px 20px 100px;
}

.quote-center h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

/* ===========================
   BANNER SLIDER
=========================== */
.banner-area {
    margin-top: 20px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    height: 600px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    position: absolute;
    width: 800px;
    height: auto;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    z-index: 0;
    transform: translateX(0) scale(0.7);
    pointer-events: none;
    will-change: transform, opacity;
}

.slide-image-wrapper {
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--grey-light);
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
    z-index: 3;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.slide.active .slide-image-wrapper {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.slide.prev {
    opacity: 0.5;
    z-index: 2;
    transform: translateX(-55%) scale(0.8);
    pointer-events: auto;
    cursor: pointer;
}

.slide.next {
    opacity: 0.5;
    z-index: 2;
    transform: translateX(55%) scale(0.8);
    pointer-events: auto;
    cursor: pointer;
}

.banner-overlap {
    display: flex;
    width: 90%;
    margin: -80px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.red-bar {
    background-color: var(--primary-red);
    color: #fff;
    width: 100%;
    padding: 30px 20px;
    font-size: 45px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===========================
   SERVICES CARDS GRID
=========================== */
.cards-grid-section {
    max-width: 1300px;
    margin: 100px auto;
    padding: 0 60px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    border: 1.5px solid #333;
    border-radius: 20px;
    padding: 40px 30px;
    background: var(--grey-light);
    transition: transform var(--transition-std), box-shadow var(--transition-std);
}

.card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
}

.card h4 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.card p {
    font-size: 13.5px;
    color: #AAA;
    line-height: 1.6;
}

/* ===========================
   CTA SECTION
=========================== */
.bottom-cta {
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.cta-title span {
    color: var(--primary-red);
}

/* ===========================
   FOOTER
=========================== */
.bottom-footer {
    background-color: var(--primary-red);
    padding: 20px 60px;
    color: #fff;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-socials {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-socials a {
    color: #fff;
    font-size: 18px;
    transition: transform var(--transition-std);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    transform: translateY(-3px);
}

.footer-copyright p {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    opacity: 0.9;
}

/* ===========================
   ENTRANCE ANIMATION
=========================== */
.fade-entrance {
    opacity: 0;
    transform: translateY(60px);
    will-change: transform, opacity;
}

.fade-entrance-active {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   CONTACT MODAL
=========================== */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-std), visibility var(--transition-std);
    padding: 20px;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

@keyframes modal-pop {
    from { transform: scale(0.85) translateY(30px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.contact-modal {
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 35px 45px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(30px) scale(0.95);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    /* Remove scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.contact-modal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.contact-modal-overlay.active .contact-modal {
    animation: modal-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #AAA;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-modal-btn:hover {
    color: var(--primary-red);
}

.contact-modal h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--black);
}

.contact-modal > p {
    font-size: 14px;
    color: #AAA;
    margin-bottom: 25px;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--black);
    font-family: var(--font-main);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    min-height: 20px;
}

/* ===========================
   RESPONSIVE — 1200px
=========================== */
@media (max-width: 1200px) {
    .nav-center { gap: 20px; }
    .services-left h2 { font-size: 50px; }
}

/* ===========================
   RESPONSIVE — 1024px
=========================== */
@media (max-width: 1024px) {
    .navbar { padding: 20px 40px; }

    .video-container { padding: 30px 40px; }
    .video-placeholder { height: 400px; }
    .video-heading { font-size: 36px; }

    .services-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 40px;
    }
    .services-left { position: static; }
    .services-left h2 { font-size: 48px; }

    .horizontal-scroll-section { margin: 40px 0 80px; }
    .marquees-wrapper { padding: 0 40px; }

    .quote-center h2 { font-size: 38px; }

    .slide { width: 600px; }
    .slide-image-wrapper { height: 380px; }
    .slide.prev { transform: translateX(-50%) scale(0.8); }
    .slide.next { transform: translateX(50%) scale(0.8); }
    .red-bar { font-size: 32px; padding: 20px 15px; }

    .cards-grid-section { padding: 0 40px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .bottom-footer { padding: 20px 40px; }
}

/* ===========================
   RESPONSIVE — 768px
=========================== */
@media (max-width: 768px) {
    .navbar { padding: 15px 20px; }
    .nav-center { display: none; }

    .btn-black { padding: 10px 16px; font-size: 13px; }
    .btn-black svg { width: 12px; height: 12px; }

    .video-heading { font-size: 26px; margin-top: 30px; }
    .video-container { padding: 20px; margin: 20px auto; }
    .video-placeholder { height: 250px; }

    .play-btn { width: 60px; height: 60px; }
    .play-triangle {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 18px solid var(--primary-red);
        margin-left: 4px;
    }

    .services-wrapper { margin: 60px auto; padding: 0 20px; }
    .services-left h2 { font-size: 38px; }
    .service-row { flex-direction: column; gap: 15px; padding: 20px 0; }
    .service-row h3 { font-size: 28px; min-width: auto; }
    .service-row p { font-size: 14.5px; max-width: 100%; }

    .horizontal-scroll-section { height: 180vh; margin: 40px 0 60px; }
    .marquees-wrapper { padding: 0 20px; }
    .m-box { width: 280px; height: 200px; }
    .m-box-overlay h4 { font-size: 18px; }
    .m-2 { margin-left: 30px; }

    .quote-center { padding: 40px 20px 60px; }
    .quote-center h2 { font-size: 26px; letter-spacing: -0.5px; }

    .slider-container { height: 400px; width: 100%; overflow: hidden; }
    .slide { width: 85vw; max-width: 350px; }
    .slide-image-wrapper { height: 250px; }
    .slide.prev { transform: translateX(-40%) scale(0.8); opacity: 0; }
    .slide.next { transform: translateX(40%) scale(0.8); opacity: 0; }
    .banner-overlap { flex-direction: column; margin-top: -40px; }
    .red-bar { width: 100%; font-size: 24px; padding: 15px; text-align: center; justify-content: center; }

    .cards-grid-section { margin: 60px auto; padding: 0 20px; }
    .cards-grid { grid-template-columns: 1fr; }

    .bottom-cta { padding: 50px 20px; }
    .cta-title { font-size: 32px; letter-spacing: -1px; }
    .btn-large { padding: 14px 28px; font-size: 14px; }

    .bottom-footer { padding: 20px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }

    .contact-modal { padding: 30px 25px; }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* ===========================
   RESPONSIVE — 480px
=========================== */
@media (max-width: 480px) {
    .m-box { width: 220px; height: 160px; }
    .quote-center h2 { font-size: 22px; }
    .cta-title { font-size: 26px; }
    .slide { width: 90vw; }
}