@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0066ff;
    --primary-dark: #0044cc;
    --primary-light: #4d94ff;
    --secondary: #0a0a0b;
    --accent: #00f2fe;
    --accent-glow: rgba(0, 242, 254, 0.4);
    --text-main: #4b5563;
    --text-dark: #0f172a;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --bg-dark: #020617;
    --bg-ink: #050505;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(2, 6, 23, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    --radius-xl: 3rem;
    --radius-full: 9999px;
    --f-sans: 'Plus Jakarta Sans', sans-serif;
    --f-display: 'Space Grotesk', sans-serif;
}

@keyframes gradient-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-gradient {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient-bg 15s ease infinite;
}

.premium-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #7000ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-display);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.display-1 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.display-2 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

section {
    padding: 120px 0;
    position: relative;
}

/*@media (max-width:800px){*/
/*    section {*/
/*    padding: 0px 0 !important;*/
/*}*/
/*}*/
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 400;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   HEADER 
   ========================================================================== */

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    z-index: 2000;
    transition: width 0.1s ease;
}

/* Base header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 1.25rem 0;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--glass-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
/*.logo {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 1rem;*/
/*    font-family: 'Space Grotesk', sans-serif;*/
/*}*/

/*.logo-text {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    line-height: 1;*/
/*    font-weight: 800;*/
/*    font-size: 1.5rem;*/
/*    color: var(--primary);*/
/*}*/

/*.logo-text span {*/
/*    color: var(--secondary);*/
/*}*/

/*.logo-text small {*/
/*    font-size: 0.7rem;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 0.2em;*/
/*    font-weight: 600;*/
/*    color: var(--text-light);*/
/*    margin-top: 2px;*/
/*}*/

/*.logo-icon i {*/
/*    font-size: 1.5rem;*/
/*}*/

/* Logo */
.logo img {
    height: 86px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* When header becomes active / scrolled */
header.scrolled .logo img {
    height: 68px;
}

/* =====================================
   Hero Dark → White Nav Links
===================================== */

header.hero-dark nav ul li a {
    color: white;
}

/* When header becomes scrolled → back to dark */
header.hero-dark.scrolled nav ul li a {
    color: var(--text-dark);
}

/* Tablet */
@media (max-width: 991px) {
    .logo img {
        height: 70px;
    }

    header.scrolled .logo img {
        height: 58px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    header.scrolled .logo img {
        height: 50px;
    }
		    /* Keep hero dark working on mobile */
    header.hero-dark {
        background: transparent;
    }

    header.hero-dark nav ul li a {
        color: white;
    }
	
	header.hero-dark .menu-toggle {
    color: white;
    }

header.hero-dark.scrolled .menu-toggle {
    color: var(--secondary);
}
	    /* Mobile menu should always have dark text */
    nav ul li a {
        color: var(--text-dark) !important;
    }

	
}

/* Navigation container – flex to keep everything inline */
nav {
    display: flex;
    align-items: center;
    gap: 3rem; /* space between ul and button */
}

/* Nav links list */
nav ul {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}


/* Start Project button – ensure it stays inline */
.nav-cta {
    background: var(--primary);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    transition: var(--transition);
    white-space: nowrap; /* prevent wrapping */
    flex-shrink: 0;      /* don't let it shrink */
}

/* Hover effect */
.nav-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
    background: var(--primary-dark);
}

/* Menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.75rem;
    color: var(--secondary);
}

/* Close button – hidden by default */
.menu-close {
    display: none;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--secondary);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

/* ────────────────────────────────────────
   MOBILE ONLY
   ──────────────────────────────────────── */
@media (max-width: 768px) {

    header {
        padding: 1.1rem 0;
        background: rgba(255, 255, 255, 0.98);
    }
	
    header .container {
        padding: 0 1.25rem;
    }

    .menu-toggle {
        display: block;
        font-size: 2.2rem;
        padding: 0.4rem;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: white;
        z-index: 2000;
        padding: 80px 1.8rem 2.5rem;
        transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -12px 0 40px rgba(0,0,0,0.18);
        display: block; /* override flex on mobile */
    }

    nav.active {
        right: 0;
    }

    /* Show close button on mobile */
    .menu-close {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-items: flex-start;
        margin-top: 3.5rem;
    }

    nav ul li a {
        font-size: 1.6rem;
        font-weight: 600;
        width: 100%;
        padding: 0.6rem 0;
    }

    /* Move Start Project inside mobile menu */
    .nav-cta {
        margin-top: 3rem;
        width: 100%;
        text-align: center;
        font-size: 1.3rem;
        padding: 1.1rem 2rem;
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    }
}

/* ==========================================================================
   HERO SECTION – Final Updated Version (Large Image + Mobile BG Mode)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding: 180px 0 140px;
    overflow: hidden;
    background: var(--bg-white);
}
.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 15% 25%, rgba(0,102,255,0.07) 0%, transparent 60%),
        radial-gradient(circle at 85% 75%, rgba(112,0,255,0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}
/* Blobs – reduced dominance */
.blob {
    position: absolute;
    width: 420px;
    height: 420px;
    filter: blur(110px);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.55;
    animation: float 36s infinite alternate ease-in-out;
}
.blob-1 { top: -120px; right: -140px; background: linear-gradient(135deg, rgba(37,99,235,0.22), rgba(56,189,248,0.16)); }
.blob-2 { bottom: -100px; left: -120px; background: linear-gradient(135deg, rgba(112,0,255,0.18), rgba(0,242,254,0.14)); animation-delay: -12s; }
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
     grid-template-columns: 5fr 7fr; /* text ~33% : image ~67% → very large visual */
    gap: 7rem;
    align-items: center;
}
.hero-content {
    max-width: 680px;
}
.meta-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--primary);
    margin-bottom: 1.6rem;
    display: block;
}
.hero h1 {
    font-size: clamp(3.4rem, 6.5vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}
.hero h1 span {
    background: linear-gradient(125deg, var(--primary) 0%, #5e00ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-para {
    font-size: clamp(1.12rem, 1.8vw, 1.35rem);
    line-height: 1.65;
    color: var(--text-light);
    max-width: 580px;
    margin-bottom: 3rem;
    font-weight: 400;
}
.hero-btns {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
}
/* ─── Desktop Mockup ─── */
.hero-visual {
    position: relative;
}
.mockup-frame {
    position: relative;
    border-radius: 2.2rem;
    overflow: hidden;
    background: #0b1324;

    width: 100%;
    transform: perspective(1800px) rotateY(4deg) rotateX(4deg);
    transition: all 0.8s cubic-bezier(0.23,1,0.32,1);

    box-shadow:
        0 60px 150px -40px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.08);
}
.mockup-frame:hover {
   transform: perspective(1800px) rotateY(6deg) rotateX(5deg) translateY(-25px);
    box-shadow:
        0 70px 160px -40px rgba(0,0,0,0.35),
        0 0 0 2px var(--primary-light);
}
.mockup-frame img {
    width: 100%;
    height: 100%;
    min-height: 620px;  /* forces bigger height */
    object-fit: cover;
        border-radius: 2rem;
}
/* ─── Tablet + Mobile: Background Image Mode ─── */
@media (max-width: 991px) {
    .hero {
        padding: 140px 0 100px;
background: linear-gradient(
            to bottom,
            rgba(2, 6, 23, 0.72) 0%,
            rgba(2, 6, 23, 0.86) 60%,
            rgba(2, 6, 23, 0.92) 100%
        ),
        url('../images/home/layout-1.png') center/cover no-repeat fixed;
        background-attachment: scroll;
        min-height: auto;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    .hero-visual {
        display: none; /* hide separate image element */
        position: relative;
        width: 120%;          /* allow it to grow */
        margin-left: -10%;
    }
    .hero-content {
        max-width: 90%;
        margin: 0 auto;
        padding: 0 1.2rem;
       color: white !important; /* Override any inherited dark color */
        text-shadow: 0 2px 10px rgba(0,0,0,0.75);
    }
    .meta-label {
color: var(--primary-light); /* lighter blue for accent */
        text-shadow: none;
        font-size: 0.92rem;
        letter-spacing: 0.16em;
        margin-bottom: 1.2rem;
        margin-top: 1.4rem;
    }
    .hero h1 {
        font-size: clamp(2.7rem, 9.5vw, 4.4rem);
        margin-bottom: 1.3rem;
        line-height: 0.94;
        color: white !important;
        text-shadow: 0 3px 12px rgba(0,0,0,0.8); /* stronger shadow on headline */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    .hero-para {
        font-size: clamp(1.08rem, 3.5vw, 1.25rem);
        line-height: 1.58;
        max-width: 100%;
        margin: 0 auto 2.6rem;
color: rgba(255, 255, 255, 0.94) !important;
        text-shadow: 0 1.5px 6px rgba(0,0,0,0.6);
    }
.hero-btns .btn-premium {
        background: var(--primary) !important;
        color: white !important;
        box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
                justify-content: center;
    }
.hero-btns .btn-outline {
        color: white !important;
        border-color: rgba(255,255,255,0.6) !important;
        background: rgba(255,255,255,0.08) !important;
        justify-content: center;
    }
    .hero-btns .btn-outline:hover {
        background: var(--primary) !important;
        border-color: var(--primary) !important;
    }
}
/* Phones – tighter spacing */
@media (max-width: 767px) {
    .hero {
        background: linear-gradient(
            to bottom,
            rgba(2, 6, 23, 0.78) 0%,
            rgba(2, 6, 23, 0.90) 100%
        ),
        url('../images/home/layout-1.png') center/cover no-repeat;
    }
    .hero h1 {
        font-size: clamp(2.5rem, 9.5vw, 4rem);
        line-height: 0.95;
        margin-bottom: 1.1rem;
    }
    .hero-para {
        font-size: clamp(1.05rem, 3.6vw, 1.22rem);
        line-height: 1.6;
        margin-bottom: 2.4rem;
    }
}
@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    .meta-label {
        font-size: 0.85rem;
    }
    .hero h1 {
        font-size: clamp(2.3rem, 10vw, 3.6rem);
    }
    .hero-para {
        font-size: 1.02rem;
    }
}

/* ==========================================
   PREMIUM HERO FADE (Apple / Stripe style)
========================================== */

/*.hero::after,*/
/*.products-hero::after,*/
/*.contact-hero-clean::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: linear-gradient(*/
/*        to bottom,*/
/*        rgba(255,255,255,0) 0%,*/
/*        rgba(255,255,255,0) 60%,*/
/*        rgba(255,255,255,0.6) 100%*/
/*    );*/
/*    pointer-events: none;*/
/*    z-index: 1;*/
/*}*/

/* Subtle text spacing improvement */

.hero h1,
.products-main-title,
.contact-heading {
    margin-top: 0.2em;
}

.hero-para {
    letter-spacing: 0.01em;
}

/* ==========================================================================
   TRUSTED BY / PARTNERS SECTION – Premium 2-Row Layout + Glass Hover
   ========================================================================== */

/*.partners-section {*/
/*    padding: 100px 0 80px;*/
/*    background: linear-gradient(180deg, var(--bg-soft) 0%, #f9fbfd 100%);*/
/*    position: relative;*/
/*}*/

/*.partners-section::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 1px;*/
/*    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);*/
/*}*/

/*.partners-section .section-header .meta-label {*/
/*    background: rgba(0, 102, 255, 0.08);*/
/*    color: var(--primary);*/
/*    padding: 0.5rem 1.2rem;*/
/*    border-radius: 50px;*/
/*    font-size: 0.9rem;*/
/*    font-weight: 700;*/
/*    margin-bottom: 1rem;*/
/*    display: inline-block;*/
/*}*/

/*.partners-section .section-header h2 {*/
/*    font-size: 3.4rem;*/
/*    margin-bottom: 1rem;*/
/*}*/

/*.partners-section .section-header p {*/
/*    font-size: 1.3rem;*/
/*    color: var(--text-light);*/
/*    max-width: 720px;*/
/*    margin: 0 auto;*/
/*}*/

/* Desktop: 2 elegant rows with glass hover cards */
/*.desktop-logos {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    gap: 3.5rem;*/
/*}*/

/*.logo-row {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    gap: 6rem;*/
/*    flex-wrap: wrap;*/
/*}*/

/*.logo-card {*/
/*    background: rgba(255, 255, 255, 0.7);*/
/*    backdrop-filter: blur(12px);*/
/*    border: 1px solid rgba(255, 255, 255, 0.4);*/
/*    border-radius: 1.2rem;*/
/*    padding: 1.2rem 2rem;*/
/*    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);*/
/*    box-shadow: 0 8px 24px rgba(0,0,0,0.06);*/
/*}*/

/*.logo-card img {*/
/*    height: 42px;*/
/*    max-width: 160px;*/
/*    display: block;*/
/*    transition: all 0.4s ease;*/
/*    filter: grayscale(0.9) brightness(0.95);*/
/*}*/

/*.logo-card:hover {*/
/*    transform: translateY(-8px);*/
/*    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);*/
/*    border-color: var(--primary-light);*/
/*}*/

/*.logo-card:hover img {*/
/*    filter: grayscale(0) brightness(1);*/
/*}*/

/* Mobile: Responsive centered grid */
/*.mobile-logos {*/
/*    display: none;*/
/*    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));*/
/*    gap: 3rem 2.5rem;*/
/*    justify-items: center;*/
/*    padding: 2rem 0;*/
/*}*/

/*.mobile-logos .logo-card {*/
/*    background: transparent;*/
/*    border: none;*/
/*    box-shadow: none;*/
/*    padding: 1rem;*/
/*}*/

/*.mobile-logos img {*/
/*    height: 48px;*/
/*    max-width: 100%;*/
/*    opacity: 0.85;*/
/*    filter: grayscale(0.7);*/
/*    transition: all 0.35s ease;*/
/*}*/

/*.mobile-logos img:hover {*/
/*    opacity: 1;*/
/*    filter: grayscale(0);*/
/*    transform: scale(1.1);*/
/*}*/

/* Responsive switch */
/*@media (max-width: 991px) {*/
/*    .desktop-logos {*/
/*        display: none;*/
/*    }*/
/*    .mobile-logos {*/
/*        display: grid;*/
/*    }*/
/*    .partners-section {*/
/*        padding: 80px 0 60px;*/
/*    }*/
/*    .partners-section .section-header h2 {*/
/*        font-size: 2.8rem;*/
/*    }*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .mobile-logos {*/
/*        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));*/
/*        gap: 2.8rem 2rem;*/
/*    }*/
/*    .mobile-logos img {*/
/*        height: 44px;*/
/*    }*/
/*    .logo-row {*/
/*        gap: 4.5rem;*/
/*    }*/
/*}*/

/*@media (max-width: 480px) {*/
/*    .mobile-logos img {*/
/*        height: 40px;*/
/*    }*/
/*    .partners-section {*/
/*        padding: 70px 0 50px;*/
/*    }*/
/*}*/

/* ==========================================================================
   CORE CAPABILITIES – Modern Bento Grid (Clean, Deduplicated & Premium)
   ========================================================================== */

.zxgrid-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
    position: relative;
}

.zxgrid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zxgrid-header {
    text-align: center;
    margin-bottom: 5rem;
}

.zxgrid-meta {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.zxgrid-title {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.1;
}

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

.zxgrid-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto;
}

/* Grid Layout */
.zxgrid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Card Base */
.zxgrid-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 1.5rem;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 260px;
}

.zxgrid-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 102, 255, 0.12);
    border-color: var(--primary-light);
}

/* Big Card (spans full width on desktop) */
.zxgrid-big {
    grid-column: span 2;
    min-height: 340px;
}

/* Icon */
.zxgrid-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.zxgrid-card:hover .zxgrid-icon {
    background: var(--primary);
    color: white;
    transform: rotate(8deg) scale(1.1);
}

/* Text */
.zxgrid-card h3,
.zxgrid-card h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.zxgrid-card h3 {
    font-size: 1.6rem;
}

.zxgrid-card h4 {
    font-size: 1.35rem;
}

.zxgrid-card p {
    color: #64748b;
    line-height: 1.65;
    font-size: 1.05rem;
}

/* Watermark Background Image */
.zxgrid-bg {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 220px;
    opacity: 0.08;
    transform: rotate(-12deg);
    pointer-events: none;
    transition: all 0.6s ease;
}

.zxgrid-card:hover .zxgrid-bg {
    opacity: 0.12;
    transform: rotate(-8deg) scale(1.05);
}

/* Staggered reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive – safe & clean */
@media (max-width: 1024px) {
    .zxgrid-wrapper {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .zxgrid-big {
        grid-column: span 1;
        min-height: 300px;
    }

    .zxgrid-card {
        padding: 2rem;
    }

    .zxgrid-bg {
        width: 180px;
        right: -30px;
        bottom: -30px;
    }
}

@media (max-width: 768px) {
    .zxgrid-section {
        padding: 70px 0 50px;
    }

    .zxgrid-title {
        font-size: 2.6rem;
    }

    .zxgrid-subtitle {
        font-size: 1.15rem;
    }

    .zxgrid-card {
        padding: 1.8rem;
        min-height: auto;
    }

    .zxgrid-icon {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
    }

    .zxgrid-bg {
        width: 140px;
        right: -20px;
        bottom: -20px;
    }
}

@media (max-width: 480px) {
    .zxgrid-section {
        padding: 60px 0 40px;
    }

    .zxgrid-title {
        font-size: 2.2rem;
    }

    .zxgrid-card h3,
    .zxgrid-card h4 {
        font-size: 1.35rem;
    }

    .zxgrid-card p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   ABOUT COMPANY – Premium Layout (Bigger Image + Spacious Text)
   ========================================================================== */

.about-premium {
    padding: 90px 0 80px;
    background: var(--bg-white);
    position: relative;
}

.about-premium .container {
    max-width: 1400px;
}

/* Grid – Image side bigger */
.grid-2 {
    display: grid;
    grid-template-columns: 5fr 4fr;     /* Image takes more space */
    gap: 5.5rem;
    align-items: center;
}

/* Bigger image feel */
.image-side .glass-card {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    transform: translateX(-20px);       /* slight negative margin for full-bleed */
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.image-side:hover img {
    transform: scale(1.04);
}

/* Text side – more spacious */
.content-side {
    padding-left: 1rem;
}

.content-side .section-header h2 {
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: 1.18;
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-side .lead {
    font-size: 1.48rem;
    line-height: 1.85;
    font-weight: 500;
    margin-bottom: 2rem;
}

.content-side p {
    font-size: 1.16rem;
    line-height: 1.78;
    color: #4b5563;
    margin-bottom: 2.2rem;
}

.about-points {
    padding-left: 0;
    margin-top: 1.2rem;
    font-size: 1.13rem;
    line-height: 1.8;
    color: #334155;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.1rem;
}

.about-points i {
    flex-shrink: 0;
    font-size: 1.7rem;
    margin-top: 6px;
}

/* Hover Lift */
.hover-lift {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hover-lift:hover {
    transform: translateY(-14px);
    box-shadow: 0 35px 80px rgba(0, 102, 255, 0.18);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
    
    .image-side .glass-card {
        transform: none;
    }
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-premium {
        padding: 80px 0 60px;
    }
    
.content-side .lead {
        font-size: 1.28rem;
        line-height: 1.65;
    }
}

@media (max-width: 768px) {
.about-premium {
        padding: 70px 0 50px;
    }
    
    .grid-2 {
        gap: 3.5rem;
    }
    
    .content-side p {
        font-size: 1.08rem;
        line-height: 1.7;
    }
    
    .about-points {
        font-size: 1.05rem;
        line-height: 1.75;
    }
}

@media (max-width: 480px) {
    .about-premium {
        padding: 70px 0 50px;
    }
}

/* ==========================================================================
   CORE EXPERTISE – Premium Dark Cards (Responsive & Animated)
   ========================================================================== */

.expertise.bg-dark {
    padding: 110px 0 90px;
    background: var(--bg-dark);
    color: white;
    position: relative;
}

.expertise .section-header {
    margin-bottom: 5rem;
}

.expertise .section-header h2 {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, white 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.expertise .section-header p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto;
}

/* 3-Column Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

/* Card Style */
.card.glow-effect {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    padding: 2.2rem 1.8rem;
    backdrop-filter: blur(10px);
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.card.glow-effect:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 102, 255, 0.18);
    border-color: var(--primary-light);
}

/* Icon */
.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    font-size: 1.9rem;
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.12) rotate(8deg);
}

/* Text */
.card h3 {
    font-size: 1.55rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
}

/* Glow effect on hover */
.glow-effect::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 102, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glow-effect:hover::after {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .expertise {
        padding: 90px 0 70px;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .expertise {
        padding: 80px 0 60px;
    }

    .card {
        padding: 2rem 1.6rem;
        min-height: auto;
    }

    .card h3 {
        font-size: 1.45rem;
    }

    .card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .expertise .section-header h2 {
        font-size: 2.6rem;
    }

    .expertise .section-header p {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   SERVICES SECTION – Premium Responsive Cards
   ========================================================================== */

.services-premium {
    padding: 110px 0 90px;
    background: linear-gradient(180deg, var(--bg-white) 0%, #f9fbfd 100%);
}

.services-premium .section-header {
    margin-bottom: 5.5rem;
}

.services-premium .section-header h2 {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    margin-bottom: 1.2rem;
}

.services-premium .section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
}

/* Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Card */
.card.card-hover-effect {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1.6rem;
    padding: 2.4rem 1.8rem;
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 285px;
}

.card.card-hover-effect:hover {
    transform: translateY(-14px);
    box-shadow: 0 30px 70px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-light);
}

/* Icon */
.service-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    font-size: 2.3rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.12) rotate(8deg);
}

/* Text */
.card h4 {
    font-size: 1.48rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    font-size: 1.06rem;
    line-height: 1.72;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .services-premium { padding: 90px 0 70px; }
}

@media (max-width: 768px) {
    .grid-4 { grid-template-columns: 1fr; gap: 1.8rem; }
    .services-premium { padding: 80px 0 60px; }
    
    .card {
        padding: 2rem 1.6rem;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .services-premium .section-header h2 { font-size: 2.6rem; }
}
/* ===============================
   GLASS 3D ENTERPRISE SHOWCASE
   =============================== */

.nxp-products-experience {
    padding: 120px 0;
    background: radial-gradient(circle at top left, #eef3ff, #ffffff);
}

.nxp-container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

.nxp-header {
    text-align: center;
    margin-bottom: 80px;
}

.nxp-header h2 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 800;
}

.nxp-header h2 span {
    background: linear-gradient(90deg, #0066ff, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nxp-header p {
    margin-top: 15px;
    color: #64748b;
}

/* Layout */
.nxp-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
}

/* Product List Glass */
.nxp-product-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nxp-product-item {
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.25s ease;
}

.nxp-product-item h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.nxp-product-item span {
    font-size: 0.9rem;
    color: #64748b;
}

.nxp-product-item:hover {
    transform: translateX(4px);
}

.nxp-product-item.active {
    background: linear-gradient(135deg, rgba(0,102,255,0.95), rgba(0,194,255,0.95));
    color: white;
    box-shadow: 0 15px 35px rgba(0,102,255,0.25);
}

.nxp-product-item.active span {
    color: rgba(255,255,255,0.85);
}

/* Preview Glass */
.nxp-preview {
    perspective: 1200px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 30px 70px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nxp-3d-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
}

.nxp-preview-image {
    height: 360px;
    background: url('./assets/images/home/layout-3.1.png') center/cover;
    transform: translateZ(40px);
    transition: background-image 0.3s ease;
}

.nxp-light-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nxp-preview:hover .nxp-light-glow {
    opacity: 1;
}

.nxp-preview-content {
    padding: 40px;
    transform: translateZ(30px);
}

.nxp-preview-content h3 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.nxp-preview-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
}

.nxp-btn {
    padding: 12px 30px;
    border-radius: 40px;
    background: #0066ff;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.nxp-btn:hover {
    background: #004ecc;
}

/* Tablet */
@media (max-width: 1024px) {
    .nxp-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nxp-preview {
        perspective: none;
    }

    .nxp-3d-wrapper,
    .nxp-preview-content {
        transform: none !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nxp-preview-image {
        height: 240px;
    }

    .nxp-products-experience {
        padding: 90px 0;
    }
}
/* ==========================================================================
   TECHNOLOGY STACK – Ultra Premium Responsive Layout
   ========================================================================== */

.tech-stack {
    position: relative;
    padding: clamp(90px, 10vw, 140px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    overflow: hidden;
}

/* Soft animated background glow */
.tech-stack::before {
    content: "";
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,255,0.08), transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.tech-stack .container {
    position: relative;
    z-index: 2;
}

/* Section Header */
.tech-stack .section-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.tech-stack .section-header h2 {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.tech-stack .section-header p {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    color: var(--text-light);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================
   GRID SYSTEM
   ========================================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.4rem, 2vw, 2rem);
    max-width: 1150px;
    margin: 0 auto;
}

/* ==========================================================
   TECH CARD
   ========================================================== */

.tech-item {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    border-radius: 1.4rem;
    padding: clamp(1.5rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    min-height: 170px;
}

/* Soft gradient hover */
.tech-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(0,200,255,0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 102, 255, 0.15);
}

.tech-item:hover::after {
    opacity: 1;
}

/* ICON */
.tech-item i {
    font-size: 3rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.tech-item:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-dark);
}

/* LABEL */
.tech-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */

/* Large Tablet */
@media (max-width: 1100px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 850px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-item {
        min-height: 150px;
    }
}

/* Mobile */
@media (max-width: 500px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-item {
        padding: 1.4rem;
        min-height: 130px;
    }

    .tech-item i {
        font-size: 2.4rem;
    }

    .tech-item span {
        font-size: 1rem;
    }

    .tech-stack {
        padding: 80px 0;
    }
}

/* ==========================================================================
   TRUSTED CLIENTS – Same Premium Layout as Partners Section
   ========================================================================== */

.trusted-clients {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, #f9fbfd 100%);
    position: relative;
}

.trusted-clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

/* Section Header */

.trusted-clients .section-header .meta-label {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.trusted-clients .section-header h2 {
    font-size: 3.4rem;
    margin-bottom: 1rem;
}

.trusted-clients .section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
}

/* Desktop layout */

.clients-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

.client-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    flex-wrap: wrap;
}

/* Client Card */

.client-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.2rem;
    padding: 1.6rem 2.4rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Logo size increased */

.client-card img {
    height: 56px;
    max-width: 200px;
    display: block;
    transition: all 0.4s ease;
    filter: grayscale(0.9) brightness(0.95);
}

/* Hover */

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--primary-light);
}

.client-card:hover img {
    filter: grayscale(0) brightness(1);
}

/* Mobile grid */

.clients-mobile {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 3rem 2.5rem;
    justify-items: center;
    padding: 2rem 0;
}

.clients-mobile .client-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 1rem;
}

.clients-mobile img {
    height: 52px;
    max-width: 100%;
    opacity: 0.85;
    filter: grayscale(0.7);
    transition: all 0.35s ease;
}

.clients-mobile img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

/* Responsive */

@media (max-width: 991px) {

    .clients-desktop {
        display: none;
    }

    .clients-mobile {
        display: grid;
    }

    .trusted-clients {
        padding: 80px 0 60px;
    }

    .trusted-clients .section-header h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    .clients-mobile {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 2.8rem 2rem;
    }

    .clients-mobile img {
        height: 48px;
    }

    .client-row {
        gap: 4.5rem;
    }
}

@media (max-width: 480px) {

    .clients-mobile img {
        height: 44px;
    }

    .trusted-clients {
        padding: 70px 0 50px;
    }
}
/* ==========================================================================
   PROCESS TIMELINE – Fixed Overlap + Fully Responsive (Horizontal → Vertical)
   ========================================================================== */

.process.bg-soft {
    padding: 110px 0 90px;
    background: var(--bg-soft);
}

.process .section-header {
    margin-bottom: 5.5rem;
}

.process .section-header h2 {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    margin-bottom: 1.2rem;
}

.process .section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto;
}

/* ─── Desktop: Horizontal Timeline ─── */
.timeline-h {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 4rem 0 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-h::before {
    content: '';
    position: absolute;
    top: 50px;                    /* moved down to align properly with dots */
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), var(--primary), var(--primary-light), transparent);
    z-index: 0;
}

/* Each step */
.timeline-h-item {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 1.2rem;
    transition: all 0.4s ease;
}

.timeline-h-item:hover {
    transform: translateY(-6px);
}

/* Dot (now with icon inside) */
.timeline-h-dot {
    width: 70px;
    height: 70px;
    background: white;
    border: 5px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
    transition: all 0.4s ease;
    font-size: 1.9rem;
    color: var(--primary);
    z-index: 2;                    /* ensures dot is above line */
}

.timeline-h-item:hover .timeline-h-dot {
    transform: scale(1.18);
    background: var(--primary);
    color: white;
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.25);
}

/* Text */
.timeline-h-item h4 {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.timeline-h-item p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
}

/* ─── Mobile / Tablet: Vertical Timeline (no overlap) ─── */
@media (max-width: 992px) {
    .timeline-h {
        flex-direction: column;
        padding: 2rem 0;
        align-items: flex-start;
        max-width: 100%;
    }

    .timeline-h::before {
        top: 0;
        left: 35px;
        width: 3px;
        height: 100%;
        background: linear-gradient(to bottom, transparent, var(--primary-light), var(--primary), var(--primary-light), transparent);
    }

    .timeline-h-item {
        text-align: left;
        padding: 2rem 0 2rem 5rem;
        flex: none;
        width: 100%;
    }

    .timeline-h-dot {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .timeline-h-item h4 {
        font-size: 1.35rem;
    }

    .timeline-h-item p {
        font-size: 1rem;
    }

    .process {
        padding: 90px 0 70px;
    }
}

@media (max-width: 576px) {
    .timeline-h-item {
        padding-left: 4.5rem;
    }

    .timeline-h-dot {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .process .section-header h2 {
        font-size: 2.6rem;
    }

    .process .section-header p {
        font-size: 1.15rem;
    }
}

/* =========================================================
   TESTIMONIALS – 4 COLUMNS (2 ROWS TOTAL)
========================================================= */

.testimonials {
    padding: 120px 0 100px;
    background: #f8fafc;
}

/* 4 columns fixed on desktop */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

/* Card */
.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s ease;
}

/* Hover */
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0,102,255,0.15);
}

/* Quote */
.quote-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Text */
.testimonial-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 1.8rem;
}

/* User */
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-user h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonial-user span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ================= RESPONSIVE ================= */

/* Tablet → 2 columns */
@media (max-width: 1100px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile → 1 column */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* ==========================================================================
   CONTACT SECTION – Premium Layout (Clean Fields, No Square Borders)
   ========================================================================== */

.contact-premium {
    padding: 120px 0 100px;
    background: var(--bg-white);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Left Side – Contact Info Cards */
.section-header h2 {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-info-cards .glass-card {
    padding: 1.8rem 2rem;
    border-radius: 1.3rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
}

.contact-info-cards .glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.08);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.contact-info-cards h5 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.contact-link,
.contact-info-cards p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 0;
}

/* Right Side – Contact Form (No square/outline) */
.contact-form {
    padding: 3.5rem 2.5rem;
    border-radius: 1.6rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    background: var(--glass);
    backdrop-filter: blur(12px);
}

/* Floating Labels – Clean, no square border */
.floating-label-group {
    position: relative;
    margin-bottom: 2.4rem;
}

.floating-label-group input,
.floating-label-group textarea {
    width: 100%;
    padding: 1.6rem 1.2rem 0.6rem;
    border: none;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    background: transparent;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: border-color 0.4s ease;
}

/* Kill browser default focus outline/square completely */
.floating-label-group input:focus,
.floating-label-group textarea:focus,
.floating-label-group input:active,
.floating-label-group textarea:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Custom focus style: only bottom border changes */
.floating-label-group input:focus,
.floating-label-group textarea:focus {
    border-bottom: 2px solid var(--primary) !important;
}

.floating-label-group label {
    position: absolute;
    top: 1.4rem;
    left: 1.2rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.35s ease;
    font-size: 1.1rem;
}

.floating-label-group input:focus ~ label,
.floating-label-group input:not(:placeholder-shown) ~ label,
.floating-label-group textarea:focus ~ label,
.floating-label-group textarea:not(:placeholder-shown) ~ label {
    top: -0.4rem;
    left: 1.2rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.floating-label-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* Button */
.contact-form .btn-primary {
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .contact-premium {
        padding: 90px 0 70px;
    }

    .contact-form {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .contact-premium {
        padding: 80px 0 60px;
    }

    .section-header h2 {
        font-size: 2.8rem;
    }

    .contact-info-cards .glass-card {
        padding: 1.6rem 1.8rem;
    }

    .contact-form {
        padding: 2.5rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-premium {
        padding: 70px 0 50px;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .contact-info-cards h5 {
        font-size: 1.15rem;
    }

    .contact-form .btn-primary {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
}


.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.timeline-item {
    padding: 20px 60px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: white;
    border: 5px solid var(--primary);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.1);
}

.left { left: 0; }
.right { left: 50%; }

.right::after { left: -12px; }

.timeline-content {
    padding: 3rem;
    background-color: white;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.05);
}

/* ===============================
   FAQ – Premium Responsive
=================================*/

.faq-modern {
    padding: 110px 0 90px;
    background: var(--bg-soft);
}

.faq-list {
    max-width: 920px;
    margin: 0 auto;
}

.faq-card {
    background: #ffffff;
    border-radius: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.08);
}

/* Header */
.faq-header {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.faq-header span {
    flex: 1;
}

.faq-toggle-icon {
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform 0.4s ease;
}

.faq-card.active .faq-toggle-icon {
    transform: rotate(180deg);
}

/* Body */
.faq-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: #64748b;
    line-height: 1.7;
}

.faq-body p {
    margin-bottom: 16px;
}

.faq-list-items {
    padding-left: 20px;
    margin-bottom: 16px;
}

.faq-list-items li {
    margin-bottom: 8px;
}

.faq-card.active .faq-body {
    padding: 0 30px 24px;
}

/* ===============================
   Responsive
=================================*/

@media (max-width: 768px) {

    .faq-modern {
        padding: 80px 0 60px;
    }

    .faq-header {
        padding: 18px 20px;
        font-size: 1.05rem;
    }

    .faq-body {
        padding: 0 20px;
        font-size: 0.95rem;
    }

    .faq-card.active .faq-body {
        padding: 0 20px 18px;
    }
}
/* --- Forms --- */
.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus {
    outline: none;
    background: white;
    border-color: var(--primary-light);
    box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.1),
                inset 0 2px 4px rgba(0,0,0,0.01);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

/* --- Form Validation States --- */
.form-control.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* --- Success Message --- */
.form-success {
    text-align: center;
    padding: 4rem 2rem;
}

.form-success i {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 2rem;
    display: block;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* --- Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}


/* --- Refined Buttons --- */
.btn-premium {
    position: relative;
    padding: 1.25rem 2.5rem;
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    background: var(--primary);
    transform: scale(1.02);
}
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.card-hover-effect {
    position: relative;
    overflow: hidden;
}

.card-hover-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.card-hover-effect:hover::after {
    left: 100%;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==========================================================================
   PREMIUM FOOTER – Modern, Responsive & Glass Effect
   ========================================================================== */

.site-footer {
    background: var(--bg-ink);
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 60%);
    pointer-events: none;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem 6rem;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer Logo Image */
.footer-logo img {
    height: 70px;
    width: auto;
    display: block;
    margin-bottom: 2rem;
}

/* About Column */
.footer-about p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 380px;
    margin-bottom: 2rem;
}

/* Links Columns */
.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 8px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.35s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
}

/* Newsletter */
.footer-newsletter p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.8rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form button {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.35s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        gap: 4rem 4rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 3rem;
    }

    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 80px 0 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 70px 0 40px;
    }

    .footer-grid {
        gap: 3rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        height: 48px;
    }
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4rem; }
    .footer-grid { gap: 3rem; }
}

@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 180px; }
    .hero-content { max-width: 100%; }
    .hero-btns { justify-content: center; }
    .hero-image { position: relative; width: 100%; right: 0; transform: none; margin-top: 80px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
    .section-header h2 { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 2000;
        padding: 120px 40px;
        transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    nav.active { right: 0; }
    nav ul { flex-direction: column; gap: 3rem; }
    nav ul li a { font-size: 1.5rem; }
    .hero h1 { font-size: 3rem; }
    .timeline::after { left: 40px; }
    .timeline-item { width: 100%; padding-left: 80px; padding-right: 0; }
    .timeline-item::after { left: 28px; }
    .right { left: 0; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* --- Glassmorphism Utils --- */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

@media (max-width: 992px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 3rem; }
}

   @media (max-width: 800px) {
  .hero-content {
    right: 15px !important;
  }

  .card-3d {
    margin-top: 20px !important;
  }

  .bento-grid {
    display: block !important;
  }
  .features{
      padding:20px 0 !important;
  }
  .glass-card {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }
  .timeline-h {
    display: grid !important;
    justify-content: center !important;
    position: relative !important;
    padding: unset !important;
}
.footer-grid{
        grid-template-columns: unset !important;

        }
}


/*====Other Common CSS====*/
/* --- Floating Blobs --- */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(56, 189, 248, 0.15) 100%);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
    animation: float 25s infinite alternate;
}

.blob-1 { top: -200px; right: -200px; }
.blob-2 { bottom: -200px; left: -200px; animation-delay: -7s; }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(50px, -80px) rotate(10deg) scale(1.1); }
    66% { transform: translate(-40px, 40px) rotate(-5deg) scale(0.9); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* --- 3D Cards --- */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d-inner {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 3;
    pointer-events: none;
}
.card {
    background: white;
    padding: 3.5rem;
    border-radius: 2.5rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(37, 99, 235, 0.02));
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-soft);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

/* --- Buttons --- */
.btn {
    margin-top:12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -5px rgba(37, 99, 235, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

/* --- Metrics --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.metric-item h2 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
}

.metric-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   FIX ANCHOR OFFSET FOR FIXED HEADER
========================================= */

:target {
    scroll-margin-top: 140px;
}
