/* ================= CSS VARIABLES (ORIGINAL SITE THEME) ================= */
:root {
    /* Exact Brand Blue */
    --bg-dark: #090042;

    /* Slightly lighter/darker shades of exact blue for depth */
    --secondary-dark: #12005c;

    /* Glass Effect: Transparent version of exact blue */
    --card-glass: rgba(12, 0, 65, 0.6);
    /* 0C0041 in RGB is 12, 0, 65 */

    /* Borders */
    --card-border: rgba(255, 255, 255, 0.08);

    /* Exact Brand Orange */
    --primary-orange: #EE6F31;

    /* Neon Orange for glows (Slightly brighter version of your orange) */
    --neon-orange: #ff8143;

    /* Typography */
    --text-main: #ffffff;
    --text-muted: #b0c4de;
    /* Soft icy blue/grey for readable text */

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ================= FORCE THEME OVERRIDES (EXACT BRAND THEME) ================= */

/* Header & Dropdowns (Uses exact blue with 95% opacity) */

.dropdown,
.sub-dropdown {
    background: rgba(12, 0, 65, 0.95) !important;
    /* RGB for #0C0041 */
    backdrop-filter: blur(20px);
}

/* All Cards */
.glass-card,
.testi-box,
.job-card,
.testi-page-card,
.contact-card,
.tilt-card {
    background: var(--card-glass) !important;
    border-color: var(--card-border) !important;
}

/* Form Inputs (Very dark blue overlay) */
input,
textarea,
select {
    background: rgba(0, 0, 20, 0.25) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Fix Focus borders for forms using your exact orange */
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--primary-orange) !important;
    background: rgba(238, 111, 49, 0.05) !important;
    /* RGB for EE6F31 */
    box-shadow: 0 0 15px rgba(238, 111, 49, 0.15) !important;
}

/* Footer (Slightly darker version of your blue for contrast) */
.premium-footer,
.mega-footer {
    background: var(--bg-dark) !important;
}

/* ================= RESET & BASICS ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;


}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
}

/* background image with opacity */
body::before {
    content: "";
    position: fixed;
    left: 0;
    bottom: 0;

    width: 400px;
    height: 400px;
    transform: rotate(360deg);
    background-image: url("assets/BG-Element.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;

    opacity: 0.8;
    /* yahan opacity control karo */

    pointer-events: none;
    z-index: -1;
}

/* background image with opacity */
body::after {
    content: "";
    position: fixed;
    right: 0;
    bottom: 0;
    transform: rotate(270deg);

    width: 400px;
    height: 400px;

    background-image: url("assets/BG-Element.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;

    opacity: 0.8;
    /* yahan opacity control karo */

    pointer-events: none;
    z-index: -1;
}

::selection {
    background: var(--primary-orange);
    color: #fff;
}

/* ================= ORBS ================= */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: drift 20s infinite alternate linear;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.2) 0%, rgba(3, 5, 12, 0) 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.15) 0%, rgba(3, 5, 12, 0) 70%);
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.1) 0%, rgba(3, 5, 12, 0) 70%);
    animation-duration: 25s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* ================= CUSTOM CURSOR ================= */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-orange);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-orange);
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

/* ================= UTILITIES ================= */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.pt-100 {
    padding-top: 100px;
}

.pb-100 {
    padding-bottom: 100px;
}

.pt-50 {
    padding-top: 50px;
}

.pb-50 {
    padding-bottom: 50px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-40 {
    gap: 40px;
}

.inline-block {
    display: inline-block;
}

.p-2 {
    padding: 15px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    letter-spacing: -1.5px;
}

h2 {
    font-size: 3rem;
    letter-spacing: -1px;
}

p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-orange {
    color: var(--primary-orange);
}

.text-dark {
    color: #000;
}

.orange-label {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 90, 31, 0.1);
    color: var(--neon-orange);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 90, 31, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--neon-orange);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--neon-orange);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================= COMPONENT STYLES ================= */
.glass-card {
    background: var(--card-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

/* Animated Border Glow for Cards */
.animated-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 90, 31, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.animated-border:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, var(--primary-orange), transparent, var(--neon-orange));
}

.animated-border:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 90, 31, 0.05);
    transform: translateY(-5px);
}

.btn-primary,
.btn-secondary,
.btn-dark {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-orange);
    color: #fff;
    border: 1px solid var(--neon-orange);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.btn-dark {
    background: var(--bg-dark);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 90, 31, 0.5);
    transform: translateY(-3px);
}

.btn-secondary:hover {
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-dark:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

/* ================= 1. NAVBAR & MULTI-LEVEL DROPDOWN ================= */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 1000;
    background: rgba(3, 5, 12, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 15px 30px;
    transition: var(--transition);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary-orange);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links>li>a {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
    color: var(--primary-orange);
}

.header-socials {
    display: flex;
    gap: 15px;
}

.header-socials a {
    color: var(--primary-orange);
    font-size: 1.1rem;
    transition: 0.3s;
}

.header-socials a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.mobile-socials {
    display: none;
}

/* --- DROPDOWN STYLES --- */
.has-dropdown {
    position: relative;
}

.angle-icon {
    font-size: 0.7rem;
    margin-top: 2px;
}

/* Level 1 Dropdown */
.dropdown {
    position: absolute;
    top: 150%;
    left: 0;
    background: #0a0e17;
    /* Exact match with screenshot */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 260px;
    padding: 10px 0;
    list-style: none;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Level 2 Sub-Dropdown */
.sub-dropdown {
    position: absolute;
    top: -10px;
    left: 100%;
    background: #0a0e17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 250px;
    padding: 10px 0;
    margin-left: 5px;
    list-style: none;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Dropdown Hover Logic */
.has-dropdown:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-sub-dropdown {
    position: relative;
}

.has-sub-dropdown:hover>.sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Dropdown Links Style */
.dropdown li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    transition: 0.3s;
    text-transform: capitalize;
}

.dropdown a:hover {
    color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.02);
    padding-left: 25px;
}

/* Mobile Menu Overrides for Dropdowns */
@media (max-width: 1024px) {
    .glass-nav {
        border-radius: 15px;
        padding: 15px 20px;
        width: 95%;
        top: 10px;
    }

    .header-socials {
        display: none;
    }

    /* Hide desktop socials */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        background: #0a0e17;
        border: 1px solid var(--card-border);
        border-radius: 15px;
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s ease;
        text-align: left;
        align-items: flex-start;
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links>li {
        width: 100%;
    }

    .nav-links>li>a {
        padding: 10px 0;
        font-size: 1rem;
    }

    /* Mobile Dropdown (Accordion Style) */
    .dropdown,
    .sub-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 15px;
        background: transparent;
        display: none;
        /* Hidden by default, toggled via JS */
        min-width: 100%;
        border-left: 2px solid rgba(255, 90, 31, 0.3);
        margin-top: 10px;
    }

    .dropdown.open,
    .sub-dropdown.open {
        display: block;
    }

    .dropdown a {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    .mobile-socials {
        display: flex;
        gap: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: center;
    }

    .mobile-socials a {
        color: var(--primary-orange);
        font-size: 1.2rem;
    }
}

/* ================= 2. HERO SPLIT SECTION ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-wrap {
    padding: 80px 0;
}

/* account for nav */
.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.align-center {
    align-items: center;
}

.hero-content h1 {
    margin: 15px 0 20px;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(10px);
}

/* Right Image Area */
.hero-image-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--card-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.img-glow-ring {
    position: absolute;
    width: 90%;
    height: 90%;
    background: var(--primary-orange);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    animation: pulse-ring 4s infinite alternate;
}

.main-hero-img {
    width: 100%;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Floating UI Card over image */
.floating-ui-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 3;
    animation: float-3d 6s ease-in-out infinite alternate;
    background: rgba(10, 15, 30, 0.85);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.ui-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 90, 31, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--neon-orange);
    font-size: 1.5rem;
}

.ui-text h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
}

.ui-text h3 {
    margin: 0;
    font-size: 1.8rem;
}

@keyframes float-3d {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

/* ================= 3. ENHANCED MARQUEE ================= */
.marquee-section {
    background: var(--primary-orange);
    padding: 20px 0;
    transform: rotate(-2deg) scale(1.05);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    box-shadow: 0 0 30px rgba(255, 90, 31, 0.3);
}

.marquee-inner {
    display: inline-block;
    animation: marquee-scroll 50s linear infinite;
}

.marquee-inner span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}


@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ================= 4. CORE FEATURES (Optimized for Zero Lag) ================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    /* Forces 3 columns on Desktop */
    gap: 30px;
    perspective: 1000px;
    width: 100%;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 90, 31, 0.05);
    border: 1px solid rgba(255, 90, 31, 0.2);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary-orange);
    margin-bottom: 20px;
    transition: 0.3s;
}

.tilt-card {
    background: var(--card-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    padding: 40px;
    transform-style: preserve-3d;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Ensures text and icon stay left aligned */
}

.tilt-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #fff;
    transform: translateZ(30px);
}

.tilt-card p {
    color: #888;
    transform: translateZ(20px);
}

/* Hover Effect */
.tilt-card:hover {
    border-color: var(--primary-orange);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 90, 31, 0.1),
        inset 0 0 10px rgba(255, 90, 31, 0.05);
}

.tilt-card:hover .icon-box {
    background: var(--primary-orange);
    color: #fff;
    border-color: var(--primary-orange);
    box-shadow: 0 10px 20px rgba(255, 90, 31, 0.4);
}

/* ================= RESPONSIVE DESIGN & MOBILE MENU ================= */

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.mobile-only-btn {
    display: none;
}

/* --- TABLET LAYOUT (Max-width: 1024px) --- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-text,
    .text-content {
        text-align: center;
    }

    .modern-list {
        display: inline-block;
        text-align: left;
    }

    .features-grid,
    .services-grid-new,
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* BUG FIX: Center UI Card without Transform */
    .floating-ui-card {
        left: 0;
        right: 0;
        margin: 0 auto;
        width: max-content;
        bottom: -20px;
    }

    .experience-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
    }
}

/* ================= FIXING OVERFLOW ISSUES (Card & Marquee) ================= */

/* ================= HERO & FLOATING CARD FINAL FIX ================= */

@media (max-width: 768px) {

    /* 1. Reset Hero Layout to Column */
    .hero .split-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* 2. Hero Image Container Full Width */
    .hero-image-area {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        /* Stack items vertically */
        align-items: center !important;
        margin-top: 30px !important;
        position: relative !important;
    }

    .main-hero-img {
        width: 90% !important;
        /* Thora chota taake side se na katay */
        height: auto !important;
        margin: 0 auto !important;
    }

    /* 3. FLOATING CARD FIX - AB YE IMAGE KE NEECHE AYEGA */
    .floating-ui-card {
        display: none;
    }

    /* 4. Marquee Fix - Overflow Hidden */
    .marquee-section {
        /* width: 100vw !important; */
        max-width: 100% !important;
        overflow: hidden !important;
        transform: none !important;
        /* Rotation hatayi taake sidha hojaye */
        margin-top: 50px;
        left: 0 !important;
    }
}

/* --- MOBILE LAYOUT (Max-width: 768px) --- */
@media (max-width: 768px) {
    .container {
        width: 95% !important;
        /* Screen se thora gap choray */
        /* max-width: 100% !important; */
        margin: 0 auto;
        padding: 0 15px;
        /* Side padding taake text kinare se na chipke */
    }


    .pb-100 {
        padding-bottom: 60px;
    }

    .mt-50 {
        margin-top: 30px;
    }

    /* Typography fixes so text doesn't cut */
    h1 {
        font-size: 2.3rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    /* 3. Fix Hero Image Overflow */
    .hero-image-area,
    .main-hero-img,
    .floating-img {
        max-width: 100% !important;
        /* Image screen se bari na ho */
        height: auto !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .highlight-text {
        font-size: 1.2rem;
    }

    .badge {
        white-space: normal;
        line-height: 1.5;
        font-size: 0.8rem;
    }

    /* --- MOBILE NAVBAR --- */
    .glass-nav {
        border-radius: 15px;
        padding: 15px 20px;
        width: 95%;
    }

    .desktop-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 20, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--card-border);
        border-radius: 15px;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s ease;
        text-align: center;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-only-btn {
        display: block;
        margin-top: 10px;
    }

    .mobile-only-btn a {
        display: block;
        width: 100%;
    }

    .hero-wrap {
        padding-top: 100px;
    }

    .hero-content {
        padding: 0 10px;
    }

    /* Safety padding inside hero */
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .main-hero-img {
        border-radius: 15px;
        width: 100%;
        display: block;
    }

    /* BUG FIX: Adjust Floating Card strictly inside Mobile Screen */
    .floating-ui-card {
        width: 85%;
        max-width: 320px;
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }

    .features-grid,
    .services-grid-new,
    .grid-3,
    .bento-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .bento-wide,
    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .stat-box h3 {
        font-size: 3rem;
    }

    .stat-box .plus {
        font-size: 2.5rem;
    }

    .marquee-inner span {
        font-size: 1rem;
    }

    .mesh-bg h2 {
        font-size: 2.2rem;
    }

    .mesh-bg {
        padding: 40px 20px;
    }

    .testi-text {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* --- SMALL MOBILE (Max-width: 480px) --- */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }


    .pb-100 {

        padding-bottom: 30px !important;

    }

    .pt-100 {

        padding-top: 30px !important;

    }

    .experience-badge {

        right: 20% !important;
        padding: 15px 20px !important;

    }

    .experience-badge h2 {

        font-size: 1.5rem !important;

    }

    .footer-logos {
        flex-direction: column;
        gap: 20px;
    }

    /* background image with opacity */
    body::before {
        content: "";
        position: fixed;
        left: 0;
        bottom: 0;

        width: 150px;
        height: 150px;
    }

    /* background image with opacity */
    body::after {
        content: "";
        position: fixed;
        right: 0;
        bottom: 0;
        transform: rotate(270deg);

        width: 150px;
        height: 150px;
    }
}

/* ================= 5. ABOUT US ================= */
.reverse {
    direction: rtl;
}

.reverse>* {
    direction: ltr;
}

.img-wrapper {
    position: relative;
    padding: 15px;
}

.img-wrapper img {
    width: 100%;
    border-radius: 20px;
    /* filter: grayscale(50%) contrast(1.2); */
    transition: 0.5s;
}

.img-wrapper:hover img {
    filter: grayscale(0%);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-orange);
    padding: 20px 30px;
    border-radius: 20px;
    border: 4px solid var(--bg-dark);
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 90, 31, 0.4);
    z-index: 5;
}

.experience-badge h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.experience-badge p {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 600;
}

.modern-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.modern-list i {
    color: var(--neon-orange);
    font-size: 1.2rem;
}

/* ================= 6. VIDEO TEASER ================= */
.video-box {
    padding: 100px 20px;
    background: linear-gradient(rgba(3, 5, 12, 0.8), rgba(3, 5, 12, 0.8)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=1200&auto=format&fit=crop') center/cover;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 90, 31, 0.3);
}

.play-btn {
    width: 90px;
    height: 90px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 0;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 0 0 10px rgba(255, 90, 31, 0.3);
    animation: pulse-ring 2s infinite;
    cursor: none;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.6);
    }

    100% {
        box-shadow: 0 0 0 35px rgba(255, 90, 31, 0);
    }
}

/* ================= 7. GROW BUSINESS ================= */
.highlight-text {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
}

.prog-item {
    margin-bottom: 25px;
}

.prog-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1rem;
}

.prog-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-orange), var(--primary-orange));
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 10px var(--primary-orange);
}

.prog-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.floating-img {
    width: 100%;
    border-radius: 15px;
}

/* ================= 8. BENTO WHY CHOOSE US ================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.bento-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.bento-item i {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 45px;
    color: rgba(255, 255, 255, 0.05);
    transition: 0.4s;
}

.bento-item:hover i {
    color: var(--primary-orange);
    transform: scale(1.2) rotate(10deg);
}

.bento-large {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
}

.bento-item:hover .bento-bg {
    opacity: 0.4;
    transform: scale(1.1);
}

.bg-1 {
    background-image: url('assets/4.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.bg-2 {
    background-image: url('assets/7.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.bg-3 {
    background-image: url('assets/5.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.bg-4 {
    background-image: url('assets/6.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* ================= CLEAN STATS SECTION (No Gradients) ================= */

/* Grid Layout */
.stats-grid-clean {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* Card Styling - Matching Core Features Style */
.clean-stat-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--card-glass);
    /* Using Global Theme Variable */
    border: 1px solid var(--card-border);
    border-radius: 20px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.clean-stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    background: rgba(255, 90, 31, 0.05);
    /* Subtle Orange Tint on Hover */
}

/* Icon in a Circle */
.stat-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 90, 31, 0.1);
    /* Light Orange Background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--primary-orange);
    /* Solid Orange Icon */
    border: 1px solid rgba(255, 90, 31, 0.2);
    transition: 0.4s;
}

.clean-stat-card:hover .stat-icon-circle {
    background: var(--primary-orange);
    color: #fff;
    /* Icon turns white on hover */
    box-shadow: 0 0 20px rgba(255, 90, 31, 0.4);
}

/* Solid White Numbers (Sharp & Clear) */
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    /* Pure White */
    margin-bottom: 10px;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

/* The Plus Sign */
.text-orange {
    color: var(--primary-orange);
}

.clean-stat-card p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #9da6c5;
    /* Muted Grey-Blue */
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid-clean {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid-clean {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* ================= 10. CLIENT LOGOS (Seamless Infinite Marquee) ================= */
.logo-scroller {
    overflow: hidden;
    width: 100%;
    /* Fades the left and right edges for a premium look */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.scroller-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 30s linear infinite;
}

/* Pause animation on hover */
.logo-scroller:hover .scroller-track {
    animation-play-state: paused;
}

.logo-group {
    display: flex;
    flex-shrink: 0;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    margin: 0 15px;
    min-width: 140px;
    height: 80px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
    cursor: pointer;
}

/* Client logo image: consistent size, muted by default */
.logo-item .client-logo {
    max-height: 44px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: var(--transition);
}

/* Hover: full color + highlight */
.logo-item:hover .client-logo {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

.logo-item:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 0 20px rgba(255, 90, 31, 0.2), inset 0 0 10px rgba(255, 90, 31, 0.1);
    transform: scale(1.05);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    /* Moves exactly half the width of the track (which equals exactly 1 group length) */
    100% {
        transform: translateX(-50%);
    }
}

/* ================= 11. PREMIUM SERVICES ================= */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.srv-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.srv-img {
    height: 220px;
    background: rgba(0, 0, 0, .3);
    background-size: cover;
    background-position: center;
    transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* filter: grayscale(80%); */
}

.srv-card:hover .srv-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Pseudo images */
.srv-card:nth-child(1) .srv-img {
    background-image: url('assets/8.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.srv-card:nth-child(2) .srv-img {
    background-image: url('assets/9.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.srv-card:nth-child(3) .srv-img {
    background-image: url('assets/10.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.srv-card:nth-child(4) .srv-img {
    background-image: url('assets/11.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.srv-card:nth-child(5) .srv-img {
    background-image: url('assets/12.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.srv-card:nth-child(6) .srv-img {
    background-image: url('assets/13.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.srv-content {
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(3, 5, 12, 0.95);
    flex-grow: 1;
    z-index: 2;
    border-top: 1px solid var(--card-border);
}

.srv-content h3 {
    font-size: 1.25rem;
    margin: 0;
}

.arrow-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.srv-card:hover .arrow-link {
    background: var(--primary-orange);
    color: #fff;
    transform: rotate(45deg);
    box-shadow: 0 0 15px var(--primary-orange);
}

/* ================= 12. PARTNERSHIP BADGE ================= */
.badge-glow-container {
    position: relative;
    padding: 20px;
}

.designrush-badge {
    position: relative;
    z-index: 2;
    padding: 15px;
    border-radius: 20px;
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    background: conic-gradient(from 0deg, transparent, var(--primary-orange), transparent);
    border-radius: 50%;
    animation: spin-glow 3s linear infinite;
    z-index: 1;
    filter: blur(15px);
}

@keyframes spin-glow {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ================= 13. 2-ROW TESTIMONIAL GRID ================= */
.testimonials-grid {
    overflow: hidden;
    position: relative;
    /* background-color: var(--bg-dark); */
    /* Ensure background is solid dark for fade to blend perfectly */
}

/* The Pill Label */
.outline-pill {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--primary-orange);
    border-radius: 50px;
    color: var(--primary-orange);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroller Container WITH STRONG FADED EDGES */
/* Scroller Container WITH DEEP STRONG FADED EDGES */
.testi-scroller {
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    /* Fade percentage increased to 30% for a deep cinematic fade */
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 30%,
            black 70%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 30%,
            black 70%,
            transparent 100%);
}

/* Pause on hover so users can read */
.testi-scroller:hover .scroller-inner {
    animation-play-state: paused;
}

.scroller-inner {
    display: flex;
    width: max-content;
    gap: 20px;
    padding: 10px 0;
    animation: scroll-grid 60s linear infinite;
}

/* If data-direction="right", reverse the animation */
.testi-scroller[data-direction="right"] .scroller-inner {
    animation-direction: reverse;
}

/* Pause on hover so users can read */
.testi-scroller:hover .scroller-inner {
    animation-play-state: paused;
}

@keyframes scroll-grid {
    to {
        /* Translates exactly half of the track minus half gap for perfect loop */
        transform: translateX(calc(-50% - 10px));
    }
}

/* Individual Card Match exactly to Screenshot */
.testi-box {
    width: 450px;
    /* Wide card */
    background: var(--card-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* Solid dark theme color */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    transition: 0.3s;
    cursor: pointer;
}

.testi-box:hover {
    border-color: rgba(255, 90, 31, 0.3);
    background: linear-gradient(145deg, rgba(255, 90, 31, 0.05) 0%, #0a0e17 50%);
    transform: translateY(-5px);
}

.t-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.t-name {
    color: #fff;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.t-role {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
}

.t-text {
    color: #94a3b8;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
}

/* ================= RESPONSIVE ADJUSTMENTS FOR TESTIMONIALS ================= */
@media (max-width: 768px) {
    .testi-box {
        width: 320px;
        padding: 25px;
    }

    .t-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 15px;
    }

    .t-role {
        text-align: left;
        color: var(--primary-orange);
    }

    .scroller-inner {
        animation-duration: 25s;
    }

    /* Mobile par fade thora kam kiya hai taake text parha ja sake */
    .testi-scroller {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    }
}

/* ================= 14. CAREERS CTA (Mesh Gradient) ================= */
.mesh-bg {
    background-color: #FF5A1F;
    background-image: radial-gradient(at 40% 20%, hsla(28, 100%, 74%, 1) 0px, transparent 50%), radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 1) 0px, transparent 50%), radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 1) 0px, transparent 50%);
    border-radius: 30px;
    padding: 80px 40px;
    box-shadow: 0 20px 50px rgba(255, 90, 31, 0.2);
    border: none;
}

.mesh-bg h2 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

/* ================= 15. MEGA FOOTER ================= */
.border-bottom {
    border-bottom: 1px solid var(--card-border);
}

.footer-logos h3 {
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-logos h3:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.f-links ul,
.f-contact ul {
    list-style: none;
    margin-top: 20px;
}

.f-links li,
.f-contact li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: 0.3s;
}

.f-links a:hover {
    color: var(--primary-orange);
    padding-left: 10px;
}

.social-links a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: 0.3s;
    color: #fff;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 90, 31, 0.4);
}

/* ================= ANIMATIONS ================= */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ================= SUCCESS POPUP STYLES ================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 5, 12, 0.85);
    /* Dark semi-transparent bg */
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

/* Jab popup show hoga */
.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-card {
    max-width: 450px;
    width: 90%;
    text-align: center;
    padding: 50px 30px !important;
    transform: scale(0.7);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-card {
    transform: scale(1);
}

.popup-icon-box {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(238, 111, 49, 0.4));
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.popup-card p {
    color: #b0c4de;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

#close-popup {
    width: 100%;
    cursor: pointer;
}

/* Mobile Friendly tweaks */
@media (max-width: 480px) {
    .popup-card {
        padding: 40px 20px !important;
    }

    .popup-card h2 {
        font-size: 1.6rem;
    }
}

/* ================= RESPONSIVE DESIGN & MOBILE MENU ================= */

/* Hide Mobile Menu elements on Desktop */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.mobile-only-btn {
    display: none;
}

/* --- TABLET LAYOUT (Max-width: 1024px) --- */
@media (max-width: 1024px) {

    /* Typography */
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    /* Layout Adjustments */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-text,
    .text-content {
        text-align: center;
    }

    .modern-list {
        display: inline-block;
        text-align: left;
    }

    /* Grids to 2 Columns */
    .features-grid,
    .services-grid-new,
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Fix Floating Elements overlapping */
    .floating-ui-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: max-content;
    }

    .experience-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -20px;
    }
}

/* --- MOBILE LAYOUT (Max-width: 768px) --- */
@media (max-width: 768px) {



    .pb-100 {
        padding-bottom: 60px;
    }

    .mt-50 {
        margin-top: 30px;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .highlight-text {
        font-size: 1.2rem;
    }

    /* --- MOBILE NAVBAR --- */
    .glass-nav {
        border-radius: 15px;
        padding: 15px 20px;
        width: 95%;
    }

    .desktop-btn {
        display: none;
    }

    /* Hide Let's talk outside menu */
    .menu-toggle {
        display: block;
    }

    /* Mobile Menu Dropdown */
    .nav-links {
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 20, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid var(--card-border);
        border-radius: 15px;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s ease;
        text-align: center;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-only-btn {
        display: block;
        margin-top: 10px;
    }

    .mobile-only-btn a {
        display: block;
        width: 100%;
    }

    /* Hero Section Mobile */
    .hero-wrap {
        padding-top: 0;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
    }

    .main-hero-img {
        border-radius: 15px;
    }

    /* Grids to 1 Column */
    .features-grid,
    .services-grid-new,
    .grid-3,
    .bento-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bento-wide,
    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Stats & Text Tweaks */
    .stat-box h3 {
        font-size: 3rem;
    }

    .stat-box .plus {
        font-size: 2.5rem;
    }

    .marquee-inner span {
        font-size: 1rem;
    }

    .mesh-bg h2 {
        font-size: 2.2rem;
    }

    .mesh-bg {
        padding: 40px 20px;
    }

    .testi-text {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .quote-icon {
        font-size: 3rem;
        top: 10px;
    }

    /* Disable Custom Cursor */
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* --- SMALL MOBILE (Max-width: 480px) --- */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .c-text p,.c-text h4 {

        text-align: left;

    }

    .top-margin {

        margin-top: 120px;

    }

    .pt-100 {


        padding-top: 0 !important;
    }

    .split-layout {

        gap: 30px !important;

    }

    .tilt-card {

        padding: 20px;

    }

    .inner-hero {

        margin-top: 120px;
        padding-bottom: 0;

    }

    .srv-text,
    .srv-visual {
        padding: 20px !important;
    }

    .srv-icon {

        margin: 0 auto 20px;

    }

    .hero-content {

        margin-bottom: 0;

    }

    /* Stack floating UI card text */
    .floating-ui-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
        width: 90%;
    }

    .footer-logos {
        flex-direction: column;
        gap: 20px;
    }
}

/* Touch devices: show key card hover styles by default */
@media (hover: none) and (pointer: coarse) {
    .animated-border::before {
        opacity: 1;
        background: linear-gradient(45deg, var(--primary-orange), transparent, var(--neon-orange));
    }

    .animated-border {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 90, 31, 0.05);
        transform: translateY(-5px);
    }

    .tilt-card {
        border-color: var(--primary-orange);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 90, 31, 0.1), inset 0 0 10px rgba(255, 90, 31, 0.05);
    }

    .tilt-card .icon-box {
        background: var(--primary-orange);
        color: #fff;
        border-color: var(--primary-orange);
        box-shadow: 0 10px 20px rgba(255, 90, 31, 0.4);
    }

    .bento-item i {
        color: var(--primary-orange);
        transform: scale(1.2) rotate(10deg);
    }

    .bento-item .bento-bg {
        opacity: 0.4;
        transform: scale(1.1);
    }

    .clean-stat-card {
        transform: translateY(-10px);
        border-color: var(--primary-orange);
        background: rgba(255, 90, 31, 0.05);
    }

    .clean-stat-card .stat-icon-circle {
        background: var(--primary-orange);
        color: #fff;
        box-shadow: 0 0 20px rgba(255, 90, 31, 0.4);
    }

    .srv-card .srv-img {
        transform: scale(1.1);
        filter: grayscale(0%);
    }

    .srv-card .arrow-link {
        background: var(--primary-orange);
        color: #fff;
        transform: rotate(45deg);
        box-shadow: 0 0 15px var(--primary-orange);
    }

    .testi-box {
        border-color: rgba(255, 90, 31, 0.3);
        background: linear-gradient(145deg, rgba(255, 90, 31, 0.05) 0%, #0a0e17 50%);
        transform: translateY(-5px);
    }

    .consult-card {
        background: rgba(255, 255, 255, 0.02);
    }

    .consult-card .neon-circle {
        background: var(--primary-orange);
        color: #fff;
        box-shadow: 0 0 40px rgba(255, 90, 31, 0.6);
        transform: scale(1.1);
    }

    .consult-card .neon-circle::after {
        transform: rotate(225deg);
        border-color: var(--primary-orange);
    }
}