﻿
html{
    scroll-behavior:smooth;
}

: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:rgb(249 249 249);
    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: #fefefe5c !important;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

    .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: #257095 !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%;
    }*/

.navbar {
    transition: all 0.6s ease;
    background: rgba(254, 254, 254, 0.36) !important;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

    .navbar.scrolled {
        padding: 0.6rem 0;
        background: rgb(249, 249, 249) !important;
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

.navbar-brand img {
    height: 60px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

.navbar-toggler-icon {
    width: 28px;
    height: 28px;
}

.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;
    transition: all 0.3s ease;
}

    .nav-link:hover,
    .nav-link.active {
        color: #257095 !important;
        transform: translateY(-2px);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #257095, #1a5470);
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        transition: width 0.4s ease;
    }

    .nav-link:hover::after {
        width: 50%;
    }

/* ===== NEWS BUTTON STYLES ===== */
.news-nav-item {
    position: relative;
}

.news-nav-link {
    background: linear-gradient(to bottom, #39A9FF, #0A74D9) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 0.7rem 1.8rem !important;
    box-shadow: 0 4px 15px rgba(57, 169, 255, 0.4);
    position: relative;
    overflow: hidden;
}

    /*.news-nav-link::before {
        content: '🔔';
        position: absolute;
        top: -5px;
        right: 5px;
        font-size: 1.2rem;
        animation: bell-ring 1.5s infinite;
    }*/

    .news-nav-link::after {
        background: rgba(255, 255, 255, 0.3);
        bottom: 0;
    }

    .news-nav-link:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 25px rgba(57, 169, 255, 0.6);
        color: #ffffff !important;
    }

@keyframes bell-ring {
    0%, 100% {
        transform: rotate(0deg);
    }

    10%, 30% {
        transform: rotate(15deg);
    }

    20%, 40% {
        transform: rotate(-15deg);
    }

    50%, 100% {
        transform: rotate(0deg);
    }
}

/* ===== NEWS CARD DROPDOWN ===== */
.news-card {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 15px;
    overflow: hidden;
    z-index: 1001;
}

.news-nav-item:hover .news-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-card-header {
    background: linear-gradient(to bottom, #39A9FF, #0A74D9);
    color: white;
    padding: 1.2rem;
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card-body {
    padding: 0;
    max-height: 400px;
}

.news-item {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

    .news-item:last-child {
        border-bottom: none;
    }

    .news-item:hover {
        background: linear-gradient(90deg, rgba(57, 169, 255, 0.05) 0%, rgba(10, 116, 217, 0.05) 100%);
        transform: translateX(5px);
    }

.news-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(to bottom, #39A9FF, #0A74D9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.news-date {
    font-size: 0.8rem;
    color: #888;
}

.news-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.news-card-footer {
    padding: 1rem;
    text-align: center;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.view-all-btn {
    color: #0A74D9;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .view-all-btn:hover {
        color: #39A9FF;
        letter-spacing: 1px;
    }

/* ===== DEMO CONTENT ===== */
.demo-content {
    padding: 3rem 1rem;
    text-align: center;
}

    .demo-content h1 {
        font-size: clamp(2rem, 5vw, 3rem);
        color: #333;
        margin-bottom: 1rem;
    }

    .demo-content p {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        color: #666;
    }

   /* HERO*/
.hero {
    min-height: 100vh;
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url('../webphoto/SITEPICS/avif1.avif') center/cover no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.hero-title {
    min-height: 260px;
    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;
}

@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
}

.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: 50px 0;
}

.section-alt {
    background: #f9f9f9;
}

/*.services-section {
    background: #f8f8f8;
    padding: 50px 0;
    contain: layout paint;
}

.services-title {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.services-grid {
    display: flex;
}

.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

@keyframes service-zoom {
    0% {
        transform: translateY(80px) translateZ(-800px) scale(0.7) rotateX(12deg);
        opacity: 0;
        filter: blur(6px);
    }

    50% {
        transform: translateY(0) translateZ(0) scale(1) rotateX(0deg);
        opacity: 1;
        filter: blur(0);
    }

    100% {
        transform: translateY(-60px) translateZ(600px) scale(1.15);
        opacity: 0;
        filter: blur(6px);
    }
}*/

  /*Services*/
.services-section {
    position: relative;
    min-height: 20vh; /* scroll space */
    background: #f8f8f8;
}

/* STICKY WRAPPER */
.services-content {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

/* BACKGROUND LAYER */
.services-bg {
    position: absolute;
    inset: 0;
    perspective: 1000px;
    z-index: 1;
    pointer-events: none;
}

/* FOREGROUND LAYER */
.services-fg {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* GRID */
.stuck-grid {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 25vh);
    place-items: center;
    transform-style: preserve-3d;
}


.grid-item {
    font-size: 5vmin;
    font-weight: 300;
    white-space: nowrap;
    opacity: 0;
    transform: translateZ(-1000px);
    will-change: transform, opacity, filter;
}

    .grid-item.special b {
        font-size: 15vmin;
    }

    .grid-item.logo {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateZ(-1000px);
        will-change: transform, opacity, filter;
    }

        /* Logo images */
        .grid-item.logo img {
            width: clamp(60px, 8vw, 120px);
            height: auto;
            /*filter: grayscale(100%) contrast(1.05);*/
            opacity: 0.85;
        }

    /* Center logo emphasis */
    .grid-item.special img {
        width: clamp(140px, 20vw, 280px);
        filter: none;
        opacity: 1;
    }


/* 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 {
    background: linear-gradient(135deg, #111 0%, #000 100%);
    position: relative;
}

    #contact::before {
        content: '';
        position: absolute;
        inset: 0;
        background: #f9f9f9;
        /*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: #000000;
    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: black;
    }

    .form-control::placeholder {
        color: #aaa;
    }

.contact-card {
    background: rgb(237 237 237 / 80%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 30px;
    color: black;
}

    .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 7px 10px rgb(0 0 0 / 53%);
}

footer {
    background: #f9f9f9;
    padding: 20px 0 10px;
    border-top: 1px solid rgb(163 155 155 / 53%);
}

    footer p {
        color: #000000;
    }

@media (max-width: 992px) {
    .vertical-line {
        display: none;
    }

    .hero h1 {
        font-size: 4.5rem;
    }
}

/* ===== 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: 3rem;
    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: 30px;
}*/


.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: #f8f8f8;
}

    /* 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;
    cursor: move !important;
    touch-action: pan-y;
    cursor: move !important;
    cursor: -webkit-grab !important;
    cursor: grab !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

    .portfolio-track.is-dragging {
        cursor: move !important;
        cursor: -webkit-grabbing !important;
        cursor: grabbing !important;
    }

   /* .portfolio-track img {
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
    }
*/
/* 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: grab;
        display: block;
    }

    /* Enhanced pop hover effect */
    .portfolio-item img:hover {
        transform: translateY(-25px) scale(1.08) !important;
    }

    .portfolio-item:hover::after {
        opacity: 1;
    }

/* Responsive */
@media (max-width: 768px) {
    .portfolio-item {
        width: 300px;
    }

        .portfolio-item img.gallery-img {
            height: 260px;
        }
}

/* Portfolio Header - FIXED FOR TOOLTIP */
.portfolio-header {
    position: relative;
    overflow: visible !important;
    z-index: 1;
    padding-bottom: 20px;
}

/* Download wrapper */
.download-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    z-index: 1000; /* High z-index */
}

.portfolio-download-btn {
    position: relative;
    background: linear-gradient(135deg, #0d3655 0%, #1a5280 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(13, 54, 85, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 160px;
    max-height: 60px;
}

    .portfolio-download-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .portfolio-download-btn:hover:not(.downloading):not(.success)::before {
        left: 100%;
    }

    .portfolio-download-btn:hover:not(.downloading):not(.success) {
        background: linear-gradient(135deg, #0b283f 0%, #154666 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(13, 54, 85, 0.4);
    }

    .portfolio-download-btn:active:not(.downloading):not(.success) {
        transform: translateY(-1px);
    }

    .portfolio-download-btn.downloading {
        background: linear-gradient(135deg, #1e3a5f 0%, #2a5a8a 100%);
        pointer-events: none;
    }

    .portfolio-download-btn.success {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%);
        pointer-events: none;
    }

.btn-content {
    display: flex;
    gap: 4px;
    position: relative;
    z-index: 3;
    width: 100%;
}

.icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 8px;
}

.btn-icon,
.btn-spinner,
.btn-checkmark {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-icon {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

.btn-spinner {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
    visibility: hidden;
}

.btn-checkmark {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    visibility: hidden;
}

.downloading .btn-icon {
    opacity: 0;
    transform: scale(0.5) translateY(-10px);
    visibility: hidden;
}

.downloading .btn-spinner {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    visibility: visible;
    animation: spinRotate 1s linear infinite;
}

.downloading .btn-checkmark {
    opacity: 0;
    visibility: hidden;
}

.success .btn-icon {
    opacity: 0;
    visibility: hidden;
}

.success .btn-spinner {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
    visibility: hidden;
}

.success .btn-checkmark {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    visibility: visible;
    animation: checkBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes spinRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes checkBounce {
    0% {
        transform: scale(0) rotate(-180deg);
    }

    50% {
        transform: scale(1.3) rotate(20deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.btn-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* Progress Container */
.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

.downloading .progress-container {
    height: 28px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #22d3ee, #06b6d4, #22d3ee);
    background-size: 200% 100%;
    border-radius: 10px;
    transition: width 0.1s linear;
    animation: shimmer 2s infinite;
    position: relative;
}

.progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: progressShine 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes progressShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.progress-percent {
    font-size: 11px;
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

/* Particles */
.particles-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #22d3ee, #06b6d4);
    border-radius: 50%;
    opacity: 0;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

.success .particle {
    animation: particleExplode 1s ease-out forwards;
}

@keyframes particleExplode {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(1);
        opacity: 0;
    }
}

.particle:nth-child(1) {
    --tx: -60px;
    --ty: -60px;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    --tx: 60px;
    --ty: -60px;
    animation-delay: 0.05s;
}

.particle:nth-child(3) {
    --tx: -60px;
    --ty: 60px;
    animation-delay: 0.1s;
}

.particle:nth-child(4) {
    --tx: 60px;
    --ty: 60px;
    animation-delay: 0.15s;
}

.particle:nth-child(5) {
    --tx: 0px;
    --ty: -70px;
    animation-delay: 0.2s;
}

.particle:nth-child(6) {
    --tx: 0px;
    --ty: 70px;
    animation-delay: 0.25s;
}

.particle:nth-child(7) {
    --tx: -70px;
    --ty: 0px;
    animation-delay: 0.3s;
}

.particle:nth-child(8) {
    --tx: 70px;
    --ty: 0px;
    animation-delay: 0.35s;
}

.particle:nth-child(9) {
    --tx: -50px;
    --ty: -30px;
    animation-delay: 0.4s;
}

.particle:nth-child(10) {
    --tx: 50px;
    --ty: -30px;
    animation-delay: 0.45s;
}

.particle:nth-child(11) {
    --tx: -50px;
    --ty: 30px;
    animation-delay: 0.5s;
}

.particle:nth-child(12) {
    --tx: 50px;
    --ty: 30px;
    animation-delay: 0.55s;
}

/* Glow Effect */
.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.6), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.6s ease-out;
    z-index: 0;
}

.success .glow-effect {
    width: 200%;
    height: 200%;
    opacity: 1;
    animation: glowPulse 2s ease-out;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Confetti Canvas */
#confettiCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
    transform: scale(0);
    animation: rippleExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

@keyframes rippleExpand {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* Tooltip Card - FIXED VERSION */
.tooltip-card {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border-radius: 10px;
    padding: 16px;
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10000; /* Very high z-index to ensure visibility */
}

/* Show tooltip on hover */
.download-wrapper:hover .tooltip-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Hide during download/success */
.portfolio-download-btn.downloading ~ .tooltip-card,
.portfolio-download-btn.success ~ .tooltip-card {
    opacity: 0 !important;
    visibility: hidden !important;
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

    .tooltip-header i {
        font-size: 20px;
        color: #ef4444;
    }

    .tooltip-header span {
        font-size: 14px;
        font-weight: 600;
        color: #1f2937;
    }

.tooltip-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tooltip-filename {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin: 0;
    word-break: break-word;
}

.tooltip-size {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .download-wrapper {
        position: static;
        margin: 10px auto 0;
        display: flex;
        justify-content: center;
        width: fit-content;
    }

    .portfolio-download-btn {
        padding: 16px 28px;
    }

    .tooltip-card {
        display:none;
        bottom: auto;
        top: calc(100% + 12px);
        min-width: 240px;
    }

    .tooltip-arrow {
        display:none;
        bottom: auto;
        top: -6px;
        transform: translateX(-50%) rotate(225deg);
    }

    .download-wrapper:hover .tooltip-card {
        transform: translateX(-50%) translateY(0);
    }
}

.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: #eb302a;
            text-shadow: 0 0 40px rgb(0 0 0 / 0%);
            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: fill;
    opacity: 0;
    transition: opacity 1s ease;
}

    .laxenaire-video.active {
        opacity: 1;
        z-index: 1;
    }

/* Bottom Center Controls */
/*.laxenaire-controls {
    position: absolute;
    bottom: -50px;
    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));
        background-color: black;
        border-radius: 27px;
    }*/

.laxenaire-controls {
    position: absolute;
    bottom: clamp(-20px, -4vw, -40px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(16px, 4vw, 32px);
    z-index: 10;
}

.lax-btn {
    position: relative;
    width: clamp(44px, 6vw, 56px);
    height: clamp(44px, 6vw, 56px);
    border-radius: 50%;
    border: 1.5px solid rgb(242 242 242);
    background: #174b76;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

    .lax-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent 0%, #f5f1e6 40%, #ffffff 50%, #f5f1e6 60%, transparent 100% );
        transform: translateX(-120%);
        transition: transform 0.5s ease;
        z-index: 0;
    }

    .lax-btn .icon {
        position: relative;
        font-size: clamp(18px, 3vw, 22px);
        color: #f5f1e6;
        transition: color 0.3s ease;
        z-index: 1;
    }

/* HOVER FLOW */
@media (hover: hover) {
    .lax-btn:hover::before {
        transform: translateX(120%);
    }

    .lax-btn:hover .icon {
        color: #000;
    }

    .lax-btn:hover {
        transform: scale(1.1);
    }
}

/* ACTIVE (touch feedback) */
.lax-btn:active {
    transform: scale(0.95);
}

/* 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(255 255 255) !important;
}

   /*ABOUT SECTION*/
.flip-text {
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1;
    font-size: clamp(2rem, 6vw, 4.5rem);
    color: black;
}

    .flip-text span {
        display: inline-block;
        transform-origin: center;
        backface-visibility: visible;
        color: black;
        /* Animation will be added via class */
    }

    .flip-text.animate span {
        animation: flipIn 1.2s ease-in-out backwards;
    }

@keyframes flipIn {
    0% {
        transform: rotateY(0deg);
        color: #708a4e;
    }

    25% {
        color: #00ff88;
    }

    50% {
        transform: rotateY(180deg);
        color: #236790;
    }

    75% {
        color: #c62727;
    }

    100% {
        transform: rotateY(360deg);
        color: black;
    }
}

/* Stagger delay for each letter - target ONLY spans */
.flip-text.animate span:nth-of-type(1) {
    animation-delay: 0s;
}

.flip-text.animate span:nth-of-type(2) {
    animation-delay: 0.08s;
}

.flip-text.animate span:nth-of-type(3) {
    animation-delay: 0.16s;
}

.flip-text.animate span:nth-of-type(4) {
    animation-delay: 0.24s;
}

.flip-text.animate span:nth-of-type(5) {
    animation-delay: 0.32s;
}

.flip-text.animate span:nth-of-type(6) {
    animation-delay: 0.4s;
}

.flip-text.animate span:nth-of-type(7) {
    animation-delay: 0.48s;
}

.flip-text.animate span:nth-of-type(8) {
    animation-delay: 0.56s;
}

.flip-text.animate span:nth-of-type(9) {
    animation-delay: 0.64s;
}

.flip-text.animate span:nth-of-type(10) {
    animation-delay: 0.72s;
}

.flip-text.animate span:nth-of-type(11) {
    animation-delay: 0.8s;
}

.flip-text.animate span:nth-of-type(12) {
    animation-delay: 0.88s;
}

.flip-text.animate span:nth-of-type(13) {
    animation-delay: 0.96s;
}

.flip-text.animate span:nth-of-type(14) {
    animation-delay: 1.04s;
}

.flip-text.animate span:nth-of-type(15) {
    animation-delay: 1.12s;
}

.flip-text.animate span:nth-of-type(16) {
    animation-delay: 1.2s;
}

.flip-text.animate span:nth-of-type(17) {
    animation-delay: 1.28s;
}

.flip-text.animate span:nth-of-type(18) {
    animation-delay: 1.36s;
}

.flip-text.animate span:nth-of-type(19) {
    animation-delay: 1.44s;
}

.flip-text.animate span:nth-of-type(20) {
    animation-delay: 1.52s;
}

/* Preserve spaces */
.flip-text .space {
    width: 0.3em;
}

/* ===== MOBILE-FIRST RESPONSIVE FIXES ===== */

/* 1. BASE RESPONSIVE IMPROVEMENTS */
@media (max-width: 1400px) {
    .hero h1 {
        font-size: 6rem !important;
    }
}

@media (max-width: 1399px) {
    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem !important;
    }

    .navbar-nav {
        gap: 1.5rem !important;
    }
}

@media (max-width: 1200px) {
    .hero {
        min-height: 100vh;
    }

        .hero h1 {
            font-size: 5rem !important;
        }

        .hero p {
            font-size: 1.2rem;
        }

    .section {
        padding: 80px 0;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .navbar-brand img {
        height: 55px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 48px;
    }

    .navbar-nav {
        gap: 1rem !important;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.6rem 1rem !important;
    }

    .news-nav-link {
        padding: 0.6rem 1.5rem !important;
    }
}



/* 2. TABLET FIXES (768px - 991px) */
@media (max-width: 991px) {
    /* Hero Section */
    .hero {
        min-height: 100vh;
        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: 100vh;
        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;
    }
}

.text-light {
    --bs-text-opacity: 1;
    color: rgb(0 0 0) !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.social-container {
    position: relative;
    display: inline-block;
}

.social-link i {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px white);
}

/* Particle container */
.particles {
    position: absolute;
    top: 0;
    left: 50%;
    pointer-events: none;
    transform: translateX(-50%);
    z-index: 1000;
}

.particle {
    position: absolute;
    opacity: 0;
    will-change: transform, opacity;
    font-size: 1.3em;
}

/* Platform colors */
.facebook i {
    color: #1877F2;
}

.instagram i {
    color: #E4405F;
}

.linkedin i {
    color: #0077B5;
}

.whatsapp i {
    color: #25D366;
}

.text-white {
    --bs-text-opacity: 1;
    color: rgb(6 45 59) !important;
}

.hiring-wrapper {
    text-align: center;
    font-family: 'Poppins', Arial, sans-serif;
    margin-top: 60px;
    position: relative;
}

    /* Heading style */
    .hiring-wrapper h2 {
        font-size: 60px;
        font-weight: 800;
        color: #073B4C;
        margin-bottom: 60px;
        letter-spacing: 1px;
    }

/* Apply button */
.apply-btn {
    background: linear-gradient(to bottom, #39A9FF, #0A74D9);
    color: white;
    padding: 18px 60px;
    border-radius: 14px;
    font-size: 32px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0,123,255,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .apply-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0,123,255,0.45);
    }

.curved-arrow {
    position: absolute;
    right: 42%;
    top: 40px;
    width: 180px;
    transform: translateX(260px) rotate(-8deg);
    height: 60px;
    pointer-events: none;
    z-index: 1;
}

    .curved-arrow img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Large Desktop (1200px - 1440px+) */
@media (min-width: 1200px) and (max-width: 1440px) {
    .hiring-wrapper h2 {
        font-size: 56px;
    }

    .curved-arrow {
        right: 41%;
        top: 42px;
        width: 175px;
        height: 58px;
        transform: translateX(250px) rotate(-8deg);
    }
}

/* Laptop/Desktop (993px - 1199px) */
@media (min-width: 993px) and (max-width: 1199px) {
    .hiring-wrapper h2 {
        font-size: 52px;
        margin-bottom: 55px;
    }

    .curved-arrow {
        right: 40%;
        top: 45px;
        width: 165px;
        height: 56px;
        transform: translateX(235px) rotate(-9deg);
    }

    .apply-btn {
        font-size: 30px;
        padding: 17px 55px;
    }
}

/* Tablet Landscape (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .hiring-wrapper h2 {
        font-size: 48px;
        margin-bottom: 50px;
    }

    .curved-arrow {
        width: 160px;
        right: 42%;
        top: 31px;
        height: 54px;
        transform: translateX(220px) rotate(-10deg);
    }

    .apply-btn {
        font-size: 28px;
        padding: 16px 50px;
    }
}

/* Tablet Portrait (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .hiring-wrapper h2 {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .curved-arrow {
        width: 130px;
        right: 37%;
        top: 32px;
        height: 48px;
        transform: translateX(160px) rotate(353deg);
    }

    .apply-btn {
        font-size: 24px;
        padding: 14px 40px;
    }
}

/* Mobile Large (481px - 576px) */
@media (min-width: 481px) and (max-width: 576px) {
    .hiring-wrapper {
        margin-top: 50px;
    }

        .hiring-wrapper h2 {
            font-size: 34px;
            margin-bottom: 35px;
        }

    .curved-arrow {
        width: 110px;
        right: 35%;
        top: 24px;
        height: 42px;
        transform: translateX(120px) rotate(344deg);
    }

    .apply-btn {
        font-size: 22px;
        padding: 13px 38px;
        border-radius: 12px;
    }
}

/* Mobile Medium (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
    .hiring-wrapper {
        margin-top: 40px;
    }

        .hiring-wrapper h2 {
            font-size: 30px;
            margin-bottom: 30px;
        }

    .curved-arrow {
        display: none;
    }

    .apply-btn {
        font-size: 20px;
        padding: 12px 35px;
        border-radius: 12px;
    }
}

/* Mobile Small (320px - 375px) */
@media (max-width: 375px) {
    .hiring-wrapper {
        margin-top: 35px;
    }

        .hiring-wrapper h2 {
            font-size: 26px;
            margin-bottom: 25px;
            letter-spacing: 0.5px;
        }

    .curved-arrow {
        display: none;
    }

    .apply-btn {
        font-size: 18px;
        padding: 11px 30px;
        border-radius: 10px;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .hiring-wrapper {
        margin-top: 30px;
    }

        .hiring-wrapper h2 {
            font-size: 24px;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }

    .curved-arrow {
        display: none;
    }

    .apply-btn {
        font-size: 16px;
        padding: 10px 25px;
        border-radius: 10px;
    }
}
.overflow-hidden {
    overflow: visible !important;
}


