/* =============================================================================
   LANDING PAGE SPECIFIC STYLES (index.css)
   Contains: Core Layout, Hero Section, Statistics (Coming Soon)
   ============================================================================= */

/* =========================
   CORE LAYOUT & RESETS
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    text-align: left;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Side Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 5% 0 8%;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

/* Hero CTA Buttons */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.hero-btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.hero-btn-primary:hover {
    background: #c31a20;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(228, 31, 38, 0.3);
}

.hero-btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* =========================
   RESPONSIVE (HERO)
   ========================= */
@media screen and (max-width: 1024px) {
    .hero {
        justify-content: center;
        text-align: center;
    }

    .hero-overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.4) 0%,
                rgba(0, 0, 0, 0.7) 100%);
    }

    .hero-content {
        padding: 0 20px;
        margin-top: 150px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.95rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ========================= FEATURED INSIGHTS SECTION (Senior Dev V2) ========================= */
.insights-section {
    width: 100%;
    padding: 80px 20px 100px;
    background: #0a0a0a;
    overflow: hidden;
}

.insights-section .container {
    max-width: 1300px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 55px;
    color: var(--white);
}

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

.card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 720px;
    padding: 30px;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

.card:hover::before {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    transition-delay: 0s;
    /* Start blurring immediately */
}

.card-content {
    /* 1. Layout */
    position: relative;
    z-index: 5;
    /* 4. Interaction */
    transform: translateY(80px);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-content {
    /* 4. Interaction */
    transform: translateY(-10px);
}

.card .tag {
    /* 1. Layout */
    display: inline-block;
    /* 2. Box Model */
    padding: 4px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    /* 3. Visuals */
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    /* 4. Interaction */
    transition: opacity 0.4s ease;
}

.card h3 {
    /* 3. Visuals */
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    /* 4. Interaction */
    transition: transform 0.6s ease;
}

/* Premium Description Reveal */
.card-description {
    /* 1. Layout */
    visibility: hidden;
    /* 2. Box Model */
    margin-top: 15px;
    /* 3. Visuals */
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    /* 4. Interaction */
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-description {
    /* 1. Layout */
    visibility: visible;
    /* 3. Visuals */
    opacity: 1;
    /* 4. Interaction */
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Premium Read More Link */
.card-link {
    /* 1. Layout */
    display: inline-flex;
    align-items: center;
    visibility: hidden;
    /* 2. Box Model */
    gap: 10px;
    margin-top: 25px;
    /* 3. Visuals */
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    /* 4. Interaction */
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-link i {
    /* 4. Interaction */
    transition: transform 0.3s ease;
}

.card:hover .card-link {
    /* 1. Layout */
    visibility: visible;
    /* 3. Visuals */
    opacity: 1;
    /* 4. Interaction */
    transform: translateX(0);
    transition-delay: 0.4s;
}

.card-link:hover i {
    /* 4. Interaction */
    transform: translateX(5px);
}

/* --- Card 1 Logic --- */
.card1 {
    background: linear-gradient(135deg, rgba(255, 79, 135, 0.6), rgba(106, 0, 255, 0.6)),
        url('https://media.licdn.com/dms/image/v2/D4D22AQH1C_dXUZEAYQ/feedshare-shrink_800/B4DZ2Q4B4HJgAc-/0/1776252100523?e=1779926400&v=beta&t=u1wTtPqBXcZ4wrCUasPpLIJpSSNSbHZum-Ef2GnOySI');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card1 .shape1 {
    position: absolute;
    right: -50px;
    bottom: -40px;
    z-index: 0;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9cc6, #ff4f87);
    opacity: .9;
}

.card1 .shape2 {
    position: absolute;
    top: 40px;
    left: -40px;
    z-index: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* --- Card 2 Logic --- */
.card2 {
    background: linear-gradient(180deg, #4d00a8, #b300ff);
}

.card2 .glass {
    position: absolute;
    top: 70px;
    left: 50%;
    z-index: 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    transform: translateX(-50%);
}

.card2 .ring {
    position: absolute;
    top: -40px;
    right: -40px;
    z-index: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 25px solid rgba(255, 255, 255, 0.08);
}

/* --- Card 3 Logic --- */
.card3 {
    background: radial-gradient(circle at top, #d68fff, #704dff, #38245e);
}

.card3 .blob {
    position: absolute;
    right: -20px;
    bottom: -40px;
    z-index: 0;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 58% 42% 70% 30% / 30% 52% 48% 70%;
    backdrop-filter: blur(10px);
}

.card3 .small-circle {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

/* --- Card 4 Logic --- */
.card4 {
    background: linear-gradient(180deg, #0052ff, #07195d);
}

.card4 .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    clip-path: ellipse(70% 100% at 50% 100%);
}

.card4 .circle {
    position: absolute;
    top: 30px;
    right: -40px;
    z-index: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

/* --- Card 5 Logic --- */
.card5 {
    background: linear-gradient(180deg, #02040f, #4d5ea8);
}

.card5 .lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: repeating-linear-gradient(135deg, transparent 0, transparent 12px, rgba(255, 255, 255, 0.06) 13px, rgba(255, 255, 255, 0.06) 15px);
}

.card5 .glow {
    position: absolute;
    right: -60px;
    bottom: -80px;
    z-index: 0;
    width: 220px;
    height: 220px;
    background: #8f9cff;
    filter: blur(90px);
    opacity: .35;
}

/* --- Card 6 Logic --- */
.card6 {
    background: linear-gradient(180deg, #0d1f52, #1f4f92);
}

.card6 .diamond {
    position: absolute;
    top: 60px;
    right: -60px;
    z-index: 0;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    border-radius: 20px;
}

.card6 .circle2 {
    position: absolute;
    bottom: 30px;
    left: -30px;
    z-index: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

@media(max-width:992px) {
    .insights-section .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {
    .section-title {
        font-size: 32px;
    }

    .insights-section .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 450px;
    }

    .card h3 {
        font-size: 18px;
        line-height: 1.4;
    }

    .card .tag {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .card-description {
        font-size: 13px;
        line-height: 1.5;
        margin-top: 10px;
    }
}

/* MOBILE: Horizontal Carousel Mode for Featured Insights */
@media (max-width: 1024px) {
    .insights-section .cards {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding: 20px 15px !important;
        gap: 20px !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .insights-section .cards::-webkit-scrollbar {
        display: none;
    }

    .insights-section .card {
        flex: 0 0 85% !important;
        min-width: 85%;
        scroll-snap-align: center;
        margin-bottom: 0 !important;
    }
}

/* =============================================================================
   STATISTICS SECTION (DEVELOPER PROVIDED)
   ============================================================================= */
.stats-section {
    width: 100%;
    padding: 120px 20px;
    background: #fdfdfd;
}

/* TOP AREA */
.testi-top-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 90px;
    flex-wrap: wrap;
}

/* BUTTONS */
.testi-btns {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
}

.testi-btn {
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    height: 58px;
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-btn {
    background: #fff;
    border: 1.5px solid #d6d6d6;
    color: #172033;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #172033;
}

.testi-play-icon {
    width: 22px;
    height: 22px;
    border: 1.5px solid #172033;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    padding-left: 2px;
}

.start-btn {
    background: #2d3a52;
    color: #fff;
    box-shadow: 0 10px 20px rgba(45, 58, 82, 0.18);
}

.start-btn:hover {
    transform: translateY(-3px);
    background: #1f2a3d;
    box-shadow: 0 14px 30px rgba(45, 58, 82, 0.25);
}

/* STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
}

.stat-box {
    position: relative;
    padding-top: 25px;
}

.stat-number {
    font-size: 45px;
    font-weight: 650;
    color: #e21d24;
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -3px;
}

.stat-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d2433;
    margin-bottom: 12px;
}

.stat-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #6e6e6e;
}

/* TOP LINE ANIMATION */
.stat-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #2d3a52;
    border-radius: 10px;
    transition: 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-box.active::before {
    width: 70px;
}

/* RESPONSIVE */
@media(max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
}

@media(max-width: 768px) {
    .stats-section {
        padding: 80px 20px;
    }

    .testi-top-area {
        margin-bottom: 60px;
    }

    .stat-number {
        font-size: 62px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }
}

/* =============================================================================
   ABOUT US SECTION
   ============================================================================= */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content {
    flex: 1;
}

.section-tag {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

.feat i {
    color: var(--primary-red);
}

.btn-primary-red {
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(228, 31, 38, 0.2);
}

.btn-primary-red:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(228, 31, 38, 0.3);
}

.about-visual {
    flex: 1;
}

.visual-box {
    position: relative;
}

.visual-box img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-red);
    color: var(--white);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(228, 31, 38, 0.3);
    animation: float 4s ease-in-out infinite;
}

.experience-badge .years {
    display: block;
    font-size: 40px;
    font-weight: 800;
}

.experience-badge .exp-text {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =============================================================================
   CORPORATE SERVICES GRID
   ============================================================================= */
.services-grid {
    padding: 120px 0;
    background: #fcfcfc;
}

.grid-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.grid-header h2 {
    font-size: 38px;
    margin-top: 10px;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(228, 31, 38, 0.1);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card-link {
    text-decoration: none;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Responsive Layouts --- */
@media screen and (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }

    .experience-badge {
        right: 0;
        bottom: -20px;
    }
}

@media screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px;
    }
}

/* =============================================================================
   MEDIA GALLERY (PHASE 4.0)
   ============================================================================= */
.media-gallery {
    background-color: #f9f9f9;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 10px 20px rgba(228, 31, 38, 0.2);
}

.gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 40px;
    /* Space for scrollbar */
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) rgba(0, 0, 0, 0.05);
}

/* Premium Desktop Scrollbar */
.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.gallery-item {
    position: relative;
    flex: 0 0 auto;
    width: 450px;
    /* Standard Desktop Width */
    height: 500px;
    /* Large, interactive height */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    scroll-snap-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item.span-2 {
    width: 800px;
    /* Wide Feature Image for Desktop */
}

.gallery-item.row-2 {
    /* Kept standard width for tall images in horizontal flow */
    width: 450px;
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(228, 31, 38, 0.15);
    transform: translateY(-5px);
}

.gallery-img-container {
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Glassmorphism Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    opacity: 1;
}

.gallery-info {
    transition: transform 0.4s ease;
    transform: translateY(20px);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-tag {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 8px;
    background: var(--primary-red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
}

.gallery-info h4 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-icon {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: rotate(90deg) scale(1.1);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-red);
    transform: rotate(90deg);
}

/* --- Responsive Media Gallery (Carousel Mode) --- */
@media screen and (max-width: 1024px) {
    .gallery-grid {
        display: flex !important;
        /* Force flex for horizontal layout */
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding: 20px 15px !important;
        gap: 15px !important;
        /* Custom scrollbar behavior */
        -ms-overflow-style: none;
        scrollbar-width: none;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 85% !important;
        /* Each card takes 85% of screen */
        min-width: 85%;
        height: 350px !important;
        /* Fixed height for consistency */
        scroll-snap-align: center;
    }

    /* Disable span and row effects in carousel mode */
    .gallery-item.span-2 {
        grid-column: auto;
    }

    .gallery-item.row-2 {
        grid-row: auto;
    }
}

/* Added Grid Header Paragraph Styling */
.grid-header p {
    color: var(--text-muted, #666);
    font-size: 16px;
    margin-top: 15px;
    line-height: 1.6;
}

/* =============================================================================
   SCROLL TO TOP BUTTON
   ============================================================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(228, 31, 38, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(228, 31, 38, 0.4);
    color: var(--primary-red);
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(228, 31, 38, 0.3);
}

/* =============================================================================
   EVENTS SHOWCASE SLIDER
   ============================================================================= */
/* ========================= EVENTS SHOWCASE SLIDER ========================= */
.evt-slider-section {
    background: transparent;
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
}

.evt-slider-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.evt-slider-header h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: #050404;
    max-width: 700px;
    margin: 10px auto 0;
    line-height: 1.3;
}

.evt-slider-wrapper {
    width: 100%;
    position: relative;
}

/* SLIDER WINDOW */
.evt-slider {
    width: 100%;
    overflow: hidden;
    /* Hide the track outside this window */
    position: relative;
    padding: 40px 0;
}

/* SLIDER TRACK — The moving part */
.evt-slider-track {
    display: flex;
    align-items: center;
    gap: 30px;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    /* We'll use JS for the smooth movement, so no CSS transition here to avoid conflict with Lerp */
}

.evt-slider::-webkit-scrollbar {
    display: none;
}

/* CARD — ultra-large LED-screen size */
.evt-card {
    position: relative;
    flex: 0 0 1100px;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.55);
    flex-shrink: 0;
}

/* ACTIVE CARD — maximum cinematic view */
.evt-card.active {
    flex: 0 0 1200px;
    height: 650px;
    filter: brightness(1);
    /* box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4); */
}

/* IMAGE */
.evt-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DARK GRADIENT OVERLAY — Softened to be less "muddy" */
.evt-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
}

/* TAG */
.evt-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    background: rgba(180, 26, 31, 0.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* CONTENT */
.evt-content {
    position: absolute;
    left: 28px;
    bottom: 35px;
    z-index: 2;
    color: #fff;
    width: 70%;
}

.evt-content h2 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 14px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* better readability */
}

.evt-arrow {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
}

/* NAVIGATION BAR */
.evt-navigation {
    position: relative;
    margin: 35px auto 0;
    width: fit-content;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.evt-nav-btn {
    font-size: 26px;
    cursor: pointer;
    user-select: none;
    color: #aaa;
    transition: color 0.2s;
    line-height: 1;
}

.evt-nav-btn:hover {
    color: #fff;
}

.evt-counter {
    font-size: 16px;
    color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 950px) {
    .evt-slider {
        padding: 20px 20px;
    }

    .evt-card {
        flex: 0 0 85vw;
        height: 420px;
    }

    .evt-card.active {
        flex: 0 0 90vw;
        height: 450px;
    }

    .evt-content h2 {
        font-size: 15px;
    }
}



/* ========================= SERVICES STICKY CAROUSEL ========================= */
.services-scroll-track {
    position: relative;
    height: 300vh;
    /* Determines the duration of the horizontal scroll */
}

.new-services-carousel.sticky-section {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #151515;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nsc-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.nsc-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.nsc-header-center h4 {
    letter-spacing: 4px;
    font-size: 14px;
    color: #aaa;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.nsc-header-center h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.nsc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.nsc-left h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

.nsc-highlight {
    background: linear-gradient(90deg, #b41a1f, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nsc-right p {
    max-width: 500px;
    color: #ccc;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* CAROUSEL WRAPPER */
.svc-cards-wrapper {
    width: 100%;
    overflow: hidden;
    /* Hide overflow since we transform */
}

/* CARDS ROW (HORIZONTAL) */
.svc-cards {
    display: flex;
    gap: 25px;
    padding-bottom: 40px;
    will-change: transform;
    /* Hardware acceleration for JS animation */
}

/* Spacer to align first item with container while allowing it to scroll to screen edge */
.svc-cards::before,
.svc-cards::after {
    content: '';
    flex-shrink: 0;
    width: max(15px, calc((100vw - 1300px) / 2 + 15px));
    /* Account for 25px flex gap to equal 40px total */
}

/* CARD */
.svc-card {
    width: 320px;
    background-image: url('https://img.magnific.com/free-photo/excited-audience-watching-confetti-fireworks-having-fun-music-festival-night-copy-space_637285-559.jpg?semt=ais_hybrid&w=740&q=80');
    min-width: 320px;
    height: 360px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-radius: 15px;
    transition: 0.3s ease;
    overflow: hidden;
    padding-bottom: 70px;
    /* extra room to avoid overlap */
}

.svc-card:hover {
    /* Hover effect disabled */
}



/* Colors */
.svc-pink {
    background: #B83F6E;
    /* Deep raspberry – upscale vibe */
}

.svc-blue {
    background: #1A5276;
    /* Dark navy – sophisticated */
}

.svc-yellow {
    background: #B7950B;
    /* Rich gold – premium accent */
}

/* Icon */
.svc-icon {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
}

/* Text */
.svc-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
    text-align: left;
}

.svc-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    margin: 8px 0 0 0;
    line-height: 1.4;
    font-weight: 400;

    /* Strictly limit the text to 3 lines so it never ruins the card size */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More button inside cards */
.read-more-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 2;
    /* ensure button stays on top */
}

.read-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.read-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media(max-width: 1000px) {
    .nsc-top {
        flex-direction: column;
        gap: 20px;
    }

    .svc-card {
        min-width: 280px;
        height: 320px;
    }
}

@media(max-width: 600px) {
    .svc-card {
        min-width: 260px;
        height: 300px;
    }
}

/* =============================================================================
   TESTIMONIALS SECTION (DEVELOPER PROVIDED)
   ============================================================================= */
.testimonial-section {
    width: 100%;
    padding: 120px 20px;
    background: #f9f9f9;
    text-align: center;
    overflow-x: hidden;
}

.testi-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testi-small-heading {
    color: #e41f26;
    /* Adjusted to project brand red */
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testi-main-heading {
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.2;
    font-weight: 800;
    color: #111;
    margin-bottom: 90px;
}

.testi-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testi-slider-window {
    width: 100%;
    max-width: 1240px;
    /* 4 cards (285) + 3 gaps (32) = 1236px approx */
    overflow: hidden;
    padding: 60px 0 30px;
    /* Increased top padding to accommodate overflowing profile images */
}

.testi-cards-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: nowrap;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* NAVIGATION BUTTONS */
.testi-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.testi-nav-btn:hover {
    background: #e41f26;
    color: #fff;
    border-color: #e41f26;
    box-shadow: 0 5px 15px rgba(228, 31, 38, 0.3);
}

.testi-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* CARD */
.testimonial-card {
    position: relative;
    width: 285px;
    flex: 0 0 285px;
    /* Fixed width for carousel */
    background: #fff;
    border-radius: 20px;
    padding: 80px 32px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* TOP IMAGE */
.testi-profile-wrapper {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testi-profile-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testi-client-name {
    font-size: 19px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.testi-client-role {
    font-size: 14px;
    color: #888;
    margin-bottom: 22px;
    font-weight: 500;
}

.testi-review-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.testi-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
}

.testi-star {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e41f26;
    /* Project Red */
}

/* SECOND CARD BLUE STARS */
.testi-blue .testi-star {
    background: #5138ff;
}

@media(max-width: 1200px) {
    .testi-cards-wrapper {
        gap: 80px 25px;
    }
}

@media(max-width: 768px) {
    .testimonial-section {
        padding: 80px 20px;
    }

    .testimonial-card {
        width: 100%;
        max-width: 350px;
    }
}