﻿
:root {
    --gold: #d4af37;
    --gold-hover: #e6c567;
    --dark: #0f0f0f;
    --dark-alt: #1a1a1a;
    --light: #ffffff;
    --gray: #e6e6e6;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
   /* background: var(--dark);*/
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.navbar {
    /*padding: 2rem 0;*/
    transition: all 0.6s ease;
    background: transparent !important;
    z-index: 1000;
}

    .navbar.scrolled {
        padding: 1rem 0;
        background: rgb(249 249 249) !important;
        backdrop-filter: blur(20px);
    }

.navbar-brand img {
    height: 80px;
    transition: 0.4s;
}

.navbar.scrolled .navbar-brand img {
    height: 65px;
}

.nav-link {
    color: #000000 !important;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.7rem 1.4rem !important;
    position: relative;
}

    .nav-link:hover, .nav-link.active {
        color: #ff4c47 !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        /*background: var(--gold);*/
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        transition: width 0.4s ease;
    }

    .nav-link:hover::after {
        width: 50%;
    }

/* Hero - 100% match to your screenshot */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url('https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=2400') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 20px;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

    .hero-title span {
        display: inline-block;
        opacity: 0;
        transform: translateY(100px);
        animation: riseUp 1.2s forwards;
    }

        .hero-title span:nth-child(-n+7) {
            color: var(--dark-navy);
            text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
        }

        .hero-title span:nth-child(9) to .hero-title span:nth-child(12) {
            color: var(--dark-navy);
        }

        .hero-title span:nth-child(14) to .hero-title span:nth-child(20) {
            color: var(--red);
            font-size: 1.1em;
            text-shadow: 0 0 30px rgba(224,19,47,0.6);
        }

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Stagger animation */
.hero-title span:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-title span:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-title span:nth-child(4) {
    animation-delay: 0.25s;
}

.hero-title span:nth-child(5) {
    animation-delay: 0.3s;
}

.hero-title span:nth-child(6) {
    animation-delay: 0.35s;
}

.hero-title span:nth-child(7) {
    animation-delay: 0.4s;
}

.hero-title span:nth-child(9) {
    animation-delay: 0.6s;
}

.hero-title span:nth-child(10) {
    animation-delay: 0.7s;
}

.hero-title span:nth-child(11) {
    animation-delay: 0.8s;
}

.hero-title span:nth-child(12) {
    animation-delay: 0.9s;
}

.hero-title span:nth-child(14) {
    animation-delay: 1.2s;
}

.hero-title span:nth-child(15) {
    animation-delay: 1.3s;
}

.hero-title span:nth-child(16) {
    animation-delay: 1.4s;
}

.hero-title span:nth-child(17) {
    animation-delay: 1.5s;
}

.hero-title span:nth-child(18) {
    animation-delay: 1.6s;
}

.hero-title span:nth-child(19) {
    animation-delay: 1.7s;
}

.hero-title span:nth-child(20) {
    animation-delay: 1.8s;
}

.hero p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn-gold {
    background: var(--dark-navy);
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 18px 55px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

    .btn-gold:hover {
        background: transparent;
        border: 2px solid var(--gold);
        color: var(--gold);
        transform: translateY(-5px);
    }

.gap-5 {
    gap: 0.5rem !important;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-alt {
    background: var(--dark-alt);
}

/* Gallery */
.gallery-img {
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    transition: var(--transition);
}

    .gallery-img:hover {
        transform: translateY(-20px) scale(1.04);
        box-shadow: 0 30px 70px rgba(212,175,55,0.3);
    }

/* Contact Section - Now fully dark & luxurious */
#contact {
    background: linear-gradient(135deg, #111 0%, #000 100%);
    position: relative;
}

    #contact::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=2400') center/cover;
        opacity: 0.06;
        z-index: 0;
    }

    #contact > .container {
        position: relative;
        z-index: 1;
    }

.form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--light);
    border-radius: 12px;
    padding: 14px 18px;
}

    .form-control:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 0.2rem rgba(212,175,55,0.25);
        background: rgba(255,255,255,0.12);
        color:white;
    }

    .form-control::placeholder {
        color: #aaa;
    }

.contact-card {
    background: rgba(26,26,26,0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 30px;
    color: var(--gray);
}

    .contact-card h3 {
        color: var(--gold);
        margin-bottom: 1.5rem;
    }

.vertical-line {
    width: 1px;
    height: 420px;
    background: linear-gradient(transparent, var(--gold), transparent);
    opacity: 0.4;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

footer {
    background: #000;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(212,175,55,0.15);
}

    footer p {
        color: #888;
    }

@media (max-width: 992px) {
    .vertical-line {
        display: none;
    }

    .hero h1 {
        font-size: 4.5rem;
    }
}


/* Trusted By Marquee - Exactly like your image */
/* ===== MARQUEE CONTAINER ===== */
.trusted-marquee {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

    /* ===== CORNER ANIMATIONS ===== */
    .trusted-marquee::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 70%);
        animation: pulseLeft 3s ease-in-out infinite;
        pointer-events: none;
        z-index: 2;
    }

    .trusted-marquee::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(242, 94, 89, 0.3), transparent 70%);
        animation: pulseRight 3s ease-in-out infinite;
        pointer-events: none;
        z-index: 2;
    }

@keyframes pulseLeft {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.2);
    }
}

@keyframes pulseRight {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.2);
    }
}

.marquee-wrapper {
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

/* ===== CORNER DECORATIONS ===== */
.corner-deco {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    color: #d4af37;
}

.corner-left {
    left: 20px;
    animation: floatLeft 4s ease-in-out infinite;
}

.corner-right {
    right: 20px;
    animation: floatRight 4s ease-in-out infinite;
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(10px);
    }
}

/* ===== TRACK ===== */
.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    will-change: transform;
}

    /* ===== LOGOS ===== */
    .marquee-track img {
        height: 70px;
        width: auto;
        flex-shrink: 0;
        padding: 12px 18px;
        /*background: rgba(255, 255, 255, 0.95);*/
        border-radius: 24px;
        /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);*/
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        cursor: pointer;
    }

        .marquee-track img:hover {
            transform: perspective(700px) rotateY(-8deg) translateZ(25px) scale(1.1);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.6);
        }

        .marquee-track img::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
            opacity: 0;
            transition: opacity 0.4s;
            border-radius: 14px;
        }

        .marquee-track img:hover::after {
            opacity: 1;
        }

.marquee-spacer {
    height: 40px;
}


.btn-gold {
    background: #0c3341;
    color: #fcfcfc;
    font-weight: 700;
    padding: 18px 50px !important;
    border-radius: 50px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* box-shadow: 0 15px 40px rgba(212,175,55,0.4);*/
}

    .btn-gold:hover {
        background: #fff;
        color: var(--gold);
        transform: translateY(-6px);
    }

/* ===== PORTFOLIO SECTION ===== */
.portfolio-marquee {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    background: var(--dark-alt);
}

    /* Corner glows */
    .portfolio-marquee::before,
    .portfolio-marquee::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 200px;
        height: 200px;
        pointer-events: none;
        z-index: 1;
        animation: pulse 4s ease-in-out infinite;
    }

    .portfolio-marquee::before {
        left: 0;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
    }

    .portfolio-marquee::after {
        right: 0;
        background: radial-gradient(circle, rgba(242, 94, 89, 0.2), transparent 70%);
        animation-delay: 2s;
    }

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-50%) scale(1.3);
        opacity: 0.6;
    }
}

/* Track */
.portfolio-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

/* Portfolio items */
.portfolio-item {
    width: 380px;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

    .portfolio-item img.gallery-img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        cursor: pointer;
        display: block;
    }

    /* Enhanced pop hover effect */
    .portfolio-item img:hover {
        transform: translateY(-25px) scale(1.08);
        box-shadow: 0 50px 100px rgba(212, 175, 55, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
    }

    .portfolio-item:hover::after {
        opacity: 1;
    }

/* Responsive */
@media (max-width: 768px) {
    .portfolio-item {
        width: 300px;
    }

        .portfolio-item img.gallery-img {
            height: 260px;
        }
}

.animated-title {
    font-size: clamp(5rem, 12vw, 7rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -2px;
    font-weight: 800;
    text-transform: uppercase;
}

    .animated-title .line {
        display: inline-block;
        opacity: 0;
        transform: translateY(80px) rotate(12deg);
        color: #0c3341;
        text-shadow: 0 10px 30px rgba(0,0,0,0.6);
        animation: letterRise 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

        .animated-title .line:nth-child(1) {
            animation-delay: 0.1s;
        }

        .animated-title .line:nth-child(2) {
            animation-delay: 0.15s;
        }

        .animated-title .line:nth-child(3) {
            animation-delay: 0.2s;
        }

        .animated-title .line:nth-child(4) {
            animation-delay: 0.25s;
        }

        .animated-title .line:nth-child(5) {
            animation-delay: 0.3s;
        }

        .animated-title .line:nth-child(6) {
            animation-delay: 0.35s;
        }

        .animated-title .line:nth-child(7) {
            animation-delay: 0.4s;
        }

        /* Second line */
        .animated-title .line:nth-child(9) {
            animation-delay: 0.7s;
        }

        .animated-title .line:nth-child(10) {
            animation-delay: 0.75s;
        }

        .animated-title .line:nth-child(11) {
            animation-delay: 0.8s;
        }

        .animated-title .line:nth-child(12) {
            animation-delay: 0.85s;
        }

        /* Third line - BIGGEST IMPACT */
        .animated-title .line:nth-child(14) {
            animation-delay: 1.2s;
        }

        .animated-title .line:nth-child(15) {
            animation-delay: 1.3s;
        }

        .animated-title .line:nth-child(16) {
            animation-delay: 1.4s;
        }

        .animated-title .line:nth-child(17) {
            animation-delay: 1.5s;
        }

        .animated-title .line:nth-child(18) {
            animation-delay: 1.6s;
        }

        .animated-title .line:nth-child(19) {
            animation-delay: 1.7s;
        }

        .animated-title .line:nth-child(20) {
            animation-delay: 1.8s;
        }

        /* Golden glow on "Inspire" */
        .animated-title .line:nth-child(14),
        .animated-title .line:nth-child(15),
        .animated-title .line:nth-child(16),
        .animated-title .line:nth-child(17),
        .animated-title .line:nth-child(18),
        .animated-title .line:nth-child(19),
        .animated-title .line:nth-child(20) {
            color: #f25e59;
            text-shadow: 0 0 40px rgb(152 110 62);
            font-weight: 900;
        }

@keyframes letterRise {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

.laxenaire-video-wrapper {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.laxenaire-carousel-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.9);
    background: #000;
}

.laxenaire-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

    .laxenaire-video.active {
        opacity: 1;
        z-index: 1;
    }

/* Bottom Center Controls */
.laxenaire-controls {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 10;
    align-items: center;
    justify-content: center;
}

.lax-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.4s ease;
}

    .lax-btn:hover {
        opacity: 1;
        transform: scale(1.2);
    }

    .lax-btn svg {
        filter: drop-shadow(0 4px 20px rgba(212,175,55,0.4));
    }

/* Mobile */
@media (max-width: 992px) {
    .laxenaire-controls {
        bottom: -70px;
        gap: 20px;
    }

    .lax-btn svg {
        width: 48px;
        height: 48px;
    }
}

.text-white-50 {
    --bs-text-opacity: 1;
    color: rgb(0 0 0) !important;
}

/* ===== MOBILE-FIRST RESPONSIVE FIXES ===== */

/* 1. BASE RESPONSIVE IMPROVEMENTS */
@media (max-width: 1400px) {
    .hero h1 {
        font-size: 6rem !important;
    }
}

@media (max-width: 1200px) {
    .hero {
        min-height: 700px;
    }

        .hero h1 {
            font-size: 5rem !important;
        }

        .hero p {
            font-size: 1.2rem;
        }

    .section {
        padding: 80px 0;
    }
}

/* 2. TABLET FIXES (768px - 991px) */
@media (max-width: 991px) {
    /* Hero Section */
    .hero {
        min-height: 600px;
        padding: 0 20px;
    }

        .hero h1 {
            font-size: 4rem !important;
            line-height: 1.1 !important;
        }

        .hero p {
            font-size: 1.1rem;
            margin-bottom: 2rem !important;
        }

    /* Button */
    .btn-gold {
        padding: 14px 35px !important;
        font-size: 1rem !important;
    }

    /* Navbar */
    .navbar-brand .logo-img {
        height: 60px;
    }

    .navbar.scrolled .logo-img {
        height: 50px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem !important;
    }

    /* About Section */
    #about h2 {
        font-size: 3rem !important;
        text-align: center;
        margin-bottom: 2rem;
    }

    #about .lead {
        font-size: 1.1rem;
    }

    /* Services - Stack on tablet */
    #services .col-md-4 {
        margin-bottom: 2rem;
    }

    /* Contact vertical line - hide */
    .vertical-line {
        display: none !important;
    }

    #contact .col-lg-7 {
        margin-top: 3rem;
    }

    /* Portfolio items */
    .portfolio-item {
        width: 320px;
    }

        .portfolio-item img.gallery-img {
            height: 280px;
        }
}

/* 3. MOBILE LANDSCAPE (576px - 767px) */
@media (max-width: 767px) {
    /* Hero */
    .hero {
        min-height: 550px;
        height: auto;
        padding: 100px 15px 60px;
    }

        .hero h1 {
            font-size: 3.2rem !important;
        }

        .hero p {
            font-size: 1rem;
            padding: 0 10px;
        }

    /* Animated title - smaller */
    .animated-title {
        font-size: 3.5rem !important;
    }

    /* Section padding */
    .section {
        padding: 60px 0;
    }

    /* About section */
    #about {
        min-height: auto !important;
        padding: 60px 0 !important;
    }

        #about h1 {
            font-size: 2.5rem !important;
            margin-bottom: 2rem !important;
        }

        #about h2 {
            font-size: 2.5rem !important;
        }

        #about .lead {
            font-size: 1rem;
        }

    /* Video section */
    .laxenaire-video-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }

    .laxenaire-carousel-inner {
        border-radius: 16px;
    }

    .laxenaire-controls {
        bottom: -60px;
        gap: 20px;
    }

    .lax-btn svg {
        width: 44px;
        height: 44px;
    }

    /* Services */
    #services h4 {
        font-size: 1.5rem;
    }

    #services p {
        font-size: 0.95rem;
    }

    /* Portfolio */
    .portfolio-item {
        width: 280px;
    }

        .portfolio-item img.gallery-img {
            height: 240px;
            border-radius: 12px;
        }

    /* Gallery */
    .gallery-img {
        height: 280px;
    }

    /* Contact */
    #contact h2 {
        font-size: 2.5rem !important;
    }

    .contact-card {
        padding: 20px;
        margin-top: 2rem;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Trusted marquee */
    .marquee-track img {
        height: 55px;
        padding: 10px 14px;
    }

    .marquee-spacer {
        height: 30px;
    }
}

/* 4. MOBILE PORTRAIT (max 575px) */
@media (max-width: 575px) {
    /* Container padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding: 80px 15px 40px;
    }

        .hero h1 {
            font-size: 2.8rem !important;
            margin-bottom: 1rem !important;
        }

        .hero p {
            font-size: 0.95rem;
            margin-bottom: 1.5rem !important;
        }

    .btn-gold {
        padding: 12px 28px !important;
        font-size: 0.9rem !important;
    }

    /* Navbar */
    .navbar {
        padding: 0.5rem 0 !important;
    }

    .navbar-brand .logo-img {
        height: 50px;
    }

    .navbar.scrolled .logo-img {
        height: 45px;
    }

    .navbar-collapse {
        background: rgb(0 0 0 / 0%);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .navbar-nav {
        gap: 0 !important;
    }

    .nav-link {
        padding: 0.6rem 0.5rem !important;
        font-size: 0.95rem;
    }

    /* Animated title */
    .animated-title {
        font-size: 2.5rem !important;
    }

    /* Sections */
    .section {
        padding: 50px 0;
    }

    /* Section titles */
    h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }

    /* About */
    /* #about {
        padding: 50px 0 !important;
    }*/

    #about h1 {
        font-size: 2rem !important;
    }

    #about h2 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }

    #about h3 {
        font-size: 1.8rem !important;
    }

    #about .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem !important;
    }

    #about p {
        font-size: 0.9rem;
    }

    /* Video controls */
    .laxenaire-controls {
        bottom: -55px;
        gap: 15px;
    }

    .lax-btn svg {
        width: 40px;
        height: 40px;
    }

    /* Services */
    #services h4 {
        font-size: 1.3rem;
    }

    /* Portfolio */
    #portfolio h2 {
        font-size: 2rem !important;
    }

    .portfolio-item {
        width: 260px;
    }

        .portfolio-item img.gallery-img {
            height: 220px;
            border-radius: 10px;
        }

    /* Marquee logos */
    .marquee-track img {
        height: 48px;
        padding: 8px 12px;
        border-radius: 10px;
    }

    .marquee-spacer {
        height: 25px;
    }

    .corner-deco {
        font-size: 40px;
    }

    /* Contact form */
    #contact {
        padding: 50px 0 !important;
    }

        #contact h2 {
            font-size: 2rem !important;
            margin-bottom: 2rem !important;
        }

    .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .contact-card h3 {
        font-size: 1.5rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    .map-container iframe {
        height: 280px;
        border-radius: 12px;
    }

    /* Footer */
    footer {
        padding: 40px 0 20px;
        font-size: 0.9rem;
    }
}

/* 5. EXTRA SMALL MOBILE (max 390px) */
@media (max-width: 390px) {
    .hero h1 {
        font-size: 2.3rem !important;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .animated-title {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .btn-gold {
        padding: 10px 24px !important;
        font-size: 0.85rem !important;
    }

    .portfolio-item {
        width: 240px;
    }

        .portfolio-item img.gallery-img {
            height: 200px;
        }

    .marquee-track img {
        height: 42px;
    }
}

/* 6. FIX OVERFLOW ISSUES */
body, html {
    overflow-x: hidden !important;
    max-width: 100vw;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Prevent horizontal scroll */
.row {
    margin-left: 0;
    margin-right: 0;
}

[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* 7. TOUCH-FRIENDLY IMPROVEMENTS */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets */
    .nav-link {
        padding: 1rem !important;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .btn-gold {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Remove hover effects on touch devices */
    .gallery-img:hover,
    .portfolio-item img:hover {
        transform: none;
    }

    .nav-link:hover::before {
        width: 0;
    }
}

/* 8. LANDSCAPE ORIENTATION FIX */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
    }

    .section {
        padding: 40px 0;
    }
}

/* ===========================================================
   TABLETS & SMALL LAPTOPS (Max-width: 1024px)
=========================================================== */
@media (max-width: 1024px) {

    .navbar {
        padding: 6px 20px !important;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
    }

    .navbar-brand img {
        height: 48px !important;
    }

    .navbar-nav {
        gap: 20px !important;
    }

    .nav-link {
        font-size: 1rem !important;
        padding: 5px 5px !important;
    }

    #home.hero {
        padding-top: 130px !important;
        padding-bottom: 60px !important;
        height: auto !important;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem) !important;
        line-height: 1.1 !important;
        word-break: break-word;
        display: block;
        margin-bottom: 20px;
    }

    .hero .lead {
        font-size: clamp(1rem, 2.4vw, 1.3rem) !important;
    }

    .btn-gold {
        font-size: 1rem !important;
        padding: 12px 25px !important;
    }

    /* BRANDS MARQUEE FIX */
    .trusted-marquee img {
        width: clamp(80px, 16vw, 130px);
        margin: 0 10px;
    }

    .trusted-marquee {
        margin-top: 40px !important;
    }
}


