:root {
    --primary: #2563EB;
    --primary-light: #60A5FA;
    --primary-dark: #1E3A8A;
    --secondary: #06B6D4;
    --secondary-light: #22D3EE;
    --bg-main: #F8FAFC;
    --bg-surface: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.4);
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================== GLOBAL KEYFRAMES ===================== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* ── Hero Text: smooth fade-up reveal ── */
@keyframes heroFadeUp {
    0%   { opacity: 0; transform: translateY(36px); }
    100% { opacity: 1; transform: translateY(0);    }
}

/* ── Hero Image: smooth fade + subtle zoom-in ── */
@keyframes heroImageIn {
    0%   { opacity: 0; transform: scale(1.06); }
    100% { opacity: 1; transform: scale(1);    }
}

/* ── Ken Burns: slow living zoom on each slide image ── */
@keyframes heroKenBurns {
    0%   { transform: scale(1.10); }
    100% { transform: scale(1.0);  }
}

/* ── Slide text reveal when slide becomes active ── */
@keyframes slideTextReveal {
    0%   { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0);    }
}

@keyframes borderGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
    }

    50% {
        box-shadow: 0 0 35px rgba(37, 99, 235, 0.4), 0 0 60px rgba(6, 182, 212, 0.15);
    }
}

@keyframes iconBounce {

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

    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 999999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    border-radius: 0 4px 4px 0;
    transition: width 0.1s ease-out;
}

html {
    scroll-behavior: smooth;
}

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

/* Background Animations & Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 10s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-light);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--secondary-light);
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 50%;
    width: 30vw;
    height: 30vw;
    background: #C084FC;
    opacity: 0.2;
    animation-delay: -2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px), linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.btn-primary {
    animation: pulse-glow 3s infinite;
}

/* Sidebar Menu (Enhanced Animations) */
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    /* Fluid expansion curve */
    transition: width 0.5s cubic-bezier(0.25, 1, 0.3, 1), box-shadow 0.5s ease;
    overflow: hidden;
}

.side-menu:hover {
    width: 230px;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.08);
}

.side-menu .menu-item {
    width: calc(100% - 30px);
    margin: 0 15px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 11px;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    background: transparent;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

/* Pseudo-element for smooth gradient hover */
.side-menu .menu-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 12px;
}

.side-menu .menu-item svg {
    min-width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.side-menu .menu-text {
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 1rem;
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.3, 1);
    white-space: nowrap;
}

/* Staggered text reveal when expanding */
.side-menu:hover .menu-item:nth-child(1) .menu-text { transition-delay: 0.05s; }
.side-menu:hover .menu-item:nth-child(2) .menu-text { transition-delay: 0.10s; }
.side-menu:hover .menu-item:nth-child(3) .menu-text { transition-delay: 0.15s; }
.side-menu:hover .menu-item:nth-child(4) .menu-text { transition-delay: 0.20s; }
.side-menu:hover .menu-item:nth-child(5) .menu-text { transition-delay: 0.25s; }
.side-menu:hover .menu-item:nth-child(6) .menu-text { transition-delay: 0.30s; }

.side-menu:hover .menu-text {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.side-menu .menu-item:hover,
.side-menu .menu-item.active {
    color: white;
    transform: translateX(5px); /* Interactive slide effect */
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.side-menu .menu-item:hover::before,
.side-menu .menu-item.active::before {
    opacity: 1;
}

.side-menu .menu-item:hover svg,
.side-menu .menu-item.active svg {
    animation: superBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes superBounce {
    0% { transform: scale(1) rotate(0deg); }
    40% { transform: scale(1.2) rotate(-10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Page Layout Shift for Sidebar */
body {
    padding-left: 80px;
}

/* Global Page Header for Sub-pages */
.page-header {
    width: 100%;
    padding: 2rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
}

/* ── AOS SAFETY OVERRIDE: Hero content always visible ── */
.hero [data-aos],
.hero-text-side,
.hero-slider-side,
.hero-text-side[data-aos],
.hero-slider-side[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Split Hero Section */
.hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: stretch;
}

.hero-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-text-side {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 5%;
    background: var(--bg-main);
    z-index: 2;
    position: relative;
}

.hero-top {
    margin-bottom: 2rem;
    animation: fadeSlideLeft 0.8s ease both;
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ═══════════════════════════════════════════════
   HERO — SMOOTH DUAL-SIDE ANIMATION SYSTEM
   Left:  text fades+slides up with stagger
   Right: image fades+zooms in, Ken Burns on slides
   ═══════════════════════════════════════════════ */

/* Wrapper — just block display, no overflow clip needed */
.hero-reveal-wrap {
    display: block;
}

/* ── LEFT SIDE: Text animations ── */
.hero-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

.hero-logo img {
    height: clamp(55px, 6.8vh, 72px);
    width: auto;
    object-fit: contain;
    animation: iconBounce 4s ease-in-out 2s infinite;
}

.hero-logo .logo-text {
    font-size: clamp(2rem, 3.4vh, 2.7rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.hero-logo .logo-accent {
    color: #F97316;
}

.hero-text-side .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    width: fit-content;
    font-size: clamp(0.85rem, 1.5vh, 1rem);
    border: 1px solid rgba(37, 99, 235, 0.2);
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s forwards;
}

.hero-text-side h1 {
    font-size: clamp(2.5rem, 5vh + 1vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s forwards;
}

.hero-text-side h1 .text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-side p {
    font-size: clamp(1rem, 2vh, 1.2rem);
    color: var(--text-secondary);
    max-width: 95%;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.75s forwards;
}

.hero-actions {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.95s forwards;
}

/* ── RIGHT SIDE: Image smooth reveal ── */
.hero-slider-side {
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    opacity: 0;
    animation: heroImageIn 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.swiper-hero-split {
    width: 100%;
    height: 100%;
}

.swiper-hero-split .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Ken Burns on each slide's image */
.swiper-hero-split .slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

/* When slide is active — start Ken Burns zoom-out */
.swiper-hero-split .swiper-slide-active .slide-bg {
    transform: scale(1.0);
}

.swiper-hero-split .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem 4rem 7rem 4rem;
}

.swiper-hero-split .slide-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.9));
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.swiper-hero-split .slide-overlay h3 {
    color: white;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    line-height: 46px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.swiper-hero-split .slide-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 85%;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

/* Animate overlay text when slide is active */
.swiper-hero-split .swiper-slide-active .slide-overlay .slide-badge,
.swiper-hero-split .swiper-slide-active .slide-overlay h3,
.swiper-hero-split .swiper-slide-active .slide-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.swiper-pagination-split {
    bottom: 4rem !important;
    text-align: left !important;
    padding-left: 4rem;
}

.swiper-pagination-split .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
}

.swiper-pagination-split .swiper-pagination-bullet-active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Stats */
.stats {
    padding: 6rem 0 8rem;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    padding: 3.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), inset 0 2px 10px rgba(255, 255, 255, 1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15), inset 0 2px 10px rgba(255, 255, 255, 1);
    border-color: rgba(37, 99, 235, 0.2);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box h2 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 0.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* All Products Grid - Bento Style */
.products-section {
    padding: 7rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 1.2rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

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

/* Base Bento Card */
.b-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

/* Accent top border using CSS variable per card */
.b-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Subtle accent glow in corner */
.b-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent, var(--primary)), transparent 70%);
    opacity: 0.06;
    border-radius: 50%;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.b-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: color-mix(in srgb, var(--accent, var(--primary)) 30%, transparent);
}

.b-card:hover::before {
    transform: scaleX(1);
}

.b-card:hover::after {
    opacity: 0.12;
    transform: scale(1.4);
}

/* Number label */
.b-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent, var(--primary));
    opacity: 0.08;
    line-height: 1;
    letter-spacing: -2px;
    transition: opacity 0.4s ease;
}

.b-card:hover .b-number {
    opacity: 0.15;
}

/* Icon */
.b-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent);
    color: var(--accent, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.4s ease;
}

.b-icon svg {
    width: 26px;
    height: 26px;
}

.b-card:hover .b-icon {
    background: var(--accent, var(--primary));
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent, var(--primary)) 40%, transparent);
}

.b-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s;
}

.b-card:hover h3 {
    color: var(--accent, var(--primary));
}

.b-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Tag Badge */
.b-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: color-mix(in srgb, var(--accent, var(--primary)) 10%, transparent);
    color: var(--accent, var(--primary));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 8px;
    width: fit-content;
}

/* Featured card - spans 2 rows */
.b-card--featured {
    grid-column: span 2;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.9));
    justify-content: flex-start;
}

.b-card--featured .b-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 1.5rem;
}

.b-card--featured .b-icon svg {
    width: 32px;
    height: 32px;
}

.b-card--featured h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.b-card--featured p {
    font-size: 1.05rem;
}

/* Wide card - spans full row */
.b-card--wide {
    grid-column: span 2;
}

/* Full width final card */
.b-card--full {
    grid-column: span 4;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem 3rem;
}

.b-card--full .b-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 22px;
    margin-bottom: 0;
}

.b-card--full .b-icon svg {
    width: 38px;
    height: 38px;
}

.b-card--full .b-number {
    font-size: 6rem;
}

.b-card--full h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.b-card--full p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    max-width: 600px;
}


.p-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.p-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -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);
    pointer-events: none;
}

.p-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.p-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.p-card:hover::after {
    opacity: 1;
}

.p-card:hover::before {
    height: 100%;
    opacity: 1;
}

.p-card:hover h3,
.p-card:hover p {
    color: white;
}

.p-card:hover .p-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.p-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.p-icon-wrap svg {
    width: 30px;
    height: 30px;
}

.p-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.p-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    transition: var(--transition);
}

/* Animated CTA */
.cta {
    padding: 8rem 0;
    margin: 4rem 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    padding: 3rem 0 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e2a45 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    margin-top: 3rem;
}

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

.footer-top p {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer Logo - constrained size */
footer .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

footer .logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

footer .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

footer .logo-accent {
    color: #F97316;
}


.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #F97316;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: #F97316;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: #F97316;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-text-side {
        padding: 8rem 2rem 4rem 5%;
        width: 55%;
    }

    .hero-slider-side {
        width: 45%;
    }

    .hero-text-side h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
    }

    .hero-text-side,
    .hero-slider-side {
        width: 100%;
        height: 50vh;
        position: relative;
    }

    .hero-text-side {
        padding: 8rem 2rem 4rem;
        text-align: center;
        align-items: center;
    }

    .swiper-hero-split .slide-overlay {
        padding: 2rem;
    }

    .nav-links {
        display: none;
    }

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

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

    /* Bento Grid Responsive */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .b-card--featured {
        grid-column: span 2;
    }

    .b-card--wide {
        grid-column: span 2;
    }

    .b-card--full {
        grid-column: span 2;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .b-card--full .b-icon {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {

    /* ── Hide sidebar, use bottom nav ── */
    .side-menu {
        width: 100% !important;
        height: 60px !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        border-right: none !important;
        border-top: 1px solid rgba(0, 0, 0, 0.07) !important;
        gap: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        z-index: 999 !important;
    }

    .side-menu:hover {
        width: 100% !important;
        height: 60px !important;
    }

    .side-menu .menu-item {
        width: auto !important;
        margin: 0 !important;
        padding: 0.5rem !important;
        border-radius: 12px !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 2px;
        justify-content: center !important;
        align-items: center !important;
    }

    .side-menu .menu-text {
        opacity: 1 !important;
        transform: none !important;
        font-size: 0.6rem !important;
        margin-left: 0 !important;
        margin-top: 2px;
        transition: none !important;
    }

    .side-menu:hover .menu-text {
        transition-delay: 0s !important;
    }

    /* ── Reset body padding for mobile ── */
    body {
        padding-left: 0 !important;
        padding-bottom: 70px;
    }

    /* ── Hero Section: Full Screen Mobile ── */
    .hero {
        height: 100dvh !important;
        min-height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-wrapper {
        flex-direction: column;
        height: 100%;
        flex: 1;
    }

    .hero-text-side {
        width: 100% !important;
        height: auto !important;
        flex: 0 0 auto !important;
        position: relative !important;
        padding: 1.5rem 1.5rem 1rem !important;
        text-align: center;
        align-items: center;
    }

    .hero-slider-side {
        width: 100% !important;
        height: auto !important;
        flex: 1 1 0 !important;
        min-height: 0 !important;
        max-height: none !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
    }

    .swiper-hero-split {
        height: 100% !important;
        min-height: 240px;
    }

    .hero-text-side h1 {
        font-size: clamp(1.6rem, 5.5vw, 2.4rem) !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 0.6rem !important;
    }

    .hero-text-side p {
        font-size: 0.88rem !important;
        max-width: 100% !important;
        margin-bottom: 0rem !important;
    }

    .hero-top {
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 0.8rem !important;
        width: 100% !important;
        display: flex !important;
    }

    .hero-logo {
        justify-content: center !important;
        margin: 0 auto !important;
    }

    .hero-logo img {
        height: 48px !important;
    }

    .hero-logo .logo-text {
        font-size: 1.75rem !important;
    }

    .hero-text-side .badge {
        display: none !important;
    }

    .hero-actions {
        display: none !important;
    }

    .swiper-hero-split .slide-bg {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .swiper-hero-split .slide-overlay {
        padding: 1.5rem 1.5rem 6.5rem !important;
    }

    .swiper-hero-split .slide-overlay h3 {
        font-size: 1.65rem;
        line-height: 1.3;
    }

    .swiper-hero-split .slide-overlay p {
        font-size: 1.05rem;
        max-width: 100%;
    }

    .swiper-pagination-split {
        bottom: 5.5rem !important;
        padding-left: 1.5rem !important;
    }

    /* ── Page Header ── */
    .page-header {
        padding: 1rem 1.5rem;
        justify-content: flex-start;
    }

    /* ── Bento Grid ── */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .b-card--featured,
    .b-card--wide,
    .b-card--full {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
    }

    /* ── Section Header ── */
    .section-header h2 {
        font-size: 2rem;
    }

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

    /* ── Stats ── */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-box {
        padding: 2rem 1.5rem;
    }

    .stat-box h2 {
        font-size: 3rem;
    }

    /* ── Footer ── */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* ── Container ── */
    .container {
        padding: 0 1.2rem;
    }

    /* ── Products page ── */
    .product-row,
    .product-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    /* ── CTA ── */
    .cta {
        padding: 4rem 1.5rem;
        border-radius: 1rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .hero-text-side h1 {
        font-size: 1.0rem !important;
    }

    .hero-logo .logo-text {
        font-size: 1.5rem;
    }

    .hero-logo img {
        height: 40px;
    }

    .btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ============================================================
   PRODUCTS PAGE — MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {

    /* ── Page Header (Logo on sub-pages) ── */
    .page-header {
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 1.2rem 1.5rem !important;
        background: var(--bg-main);
        border-bottom: 1px solid var(--border-color);
    }

    .page-header .hero-logo {
        justify-content: center !important;
        margin: 0 auto !important;
    }

    /* ── Products Section ── */
    .products-section {
        padding: 2rem 0 4rem !important;
    }

    .product-list {
        margin-top: 1.5rem !important;
    }

    /* ── Product Row: Stack vertically ── */
    .product-row,
    .product-row.reverse {
        flex-direction: column !important;
        gap: 1.5rem !important;
        margin-bottom: 3rem !important;
        padding: 0 !important;
    }

    /* ── Product Image ── */
    .product-img {
        width: 100% !important;
        border-radius: 16px !important;
        padding: 0.75rem !important;
    }

    .product-img img {
        border-radius: 12px !important;
        width: 100% !important;
        height: auto !important;
        max-height: 220px;
        object-fit: cover;
    }

    /* ── Product Info Text ── */
    .product-info {
        width: 100% !important;
        text-align: center;
        padding: 0 0.5rem;
    }

    .product-info h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .product-info p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1.2rem !important;
    }

    .product-info .b-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .product-info .btn {
        width: 100% !important;
        justify-content: center !important;
        max-width: 280px;
        margin: 0 auto;
        display: flex !important;
    }

    /* ── Section Header on products page ── */
    .products-section .section-header h1 {
        font-size: 1.8rem !important;
    }

    .products-section .section-header p {
        font-size: 0.95rem !important;
    }
}

/* ============================================================
   PRODUCT DETAIL PAGES — MOBILE RESPONSIVE
   Fixes: bento-grid, hero split, inline paddings, footer
   ============================================================ */
@media (max-width: 768px) {

    /* ── Product Detail: Hero section (2-col → 1-col) ── */
    .product-detail-hero,
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 3rem !important;
    }

    /* ── Detail container top padding ── */
    .container[style*="padding-top: 120px"] {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }

    /* ── Product detail hero text ── */
    .product-detail-text h1 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem !important;
    }

    .product-detail-text p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* ── Bento Grid: Force 1 column on mobile ── */
    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* ── B-Card (feature cards) ── */
    .b-card {
        padding: 1.5rem !important;
    }

    .b-card h3 {
        font-size: 1.1rem !important;
        gap: 0.5rem !important;
    }

    .b-card p {
        font-size: 0.9rem !important;
    }

    /* ── Key Features heading ── */
    .product-features h2 {
        font-size: 1.6rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* ── General section header on mobile ── */
    .section-header h1,
    .section-header h2 {
        font-size: 1.7rem !important;
    }

    .section-header p {
        font-size: 0.92rem !important;
    }

    /* ── Footer: Stack to single column ── */
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── Contact page: stack grid ── */
    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* ── About / services section layouts ── */
    .about-grid,
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ============================================================
   PRODUCT PAGE (ZIGZAG LAYOUT)

   ============================================================ */

.product-list {
    margin-top: 4rem;
}

.product-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.product-row.reverse {
    flex-direction: row-reverse;
}

.product-img {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.product-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.product-row:hover .product-img img {
    transform: scale(1.03);
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-info p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

/* Left: Contact Details */
.contact-details h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    min-width: 46px;
    height: 46px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--c, #2563EB) 15%, transparent);
    color: var(--c, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-info-value:hover {
    color: var(--primary);
}

/* Right: Form Card */
.contact-form-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.contact-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%236b7280' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Responsive Contact */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PRODUCT FEATURE CARDS (OVERRIDES)
   ============================================================ */

.product-features {
    margin-top: 4rem;
}

.product-features .b-card {
    justify-content: flex-start;
    /* Fix unwanted empty space at the top */
    padding: 3rem 2rem;
    gap: 1rem;
}

.product-features .b-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-features .feature-icon {
    color: var(--accent);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    padding: 6px;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    border-radius: 8px;
}

/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */

.blog-hero-section {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}

.blog-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 1rem 0;
    color: var(--text-primary);
}

.blog-hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.blog-stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.blog-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.blog-stat strong {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-stat span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-grid-section {
    padding: 4rem 0 8rem;
}

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

.blog-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    border-color: color-mix(in srgb, var(--accent, var(--primary)) 30%, transparent);
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card-top {
    padding: 1.5rem 1.5rem 0;
}

.blog-card-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent);
    color: var(--accent, var(--primary));
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid color-mix(in srgb, var(--accent, var(--primary)) 25%, transparent);
}

.blog-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.02);
}

.blog-card-author {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent, var(--primary));
    text-decoration: none;
    transition: gap 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card-link:hover {
    gap: 0.6rem;
}

/* ============================================================
   BLOG POST PAGE
   ============================================================ */

.blog-post-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(6, 182, 212, 0.04) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.post-category-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: color-mix(in srgb, var(--accent, var(--primary)) 12%, transparent);
    color: var(--accent, var(--primary));
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid color-mix(in srgb, var(--accent, var(--primary)) 25%, transparent);
    margin-bottom: 1.2rem;
}

.blog-post-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 820px;
    margin-bottom: 1.5rem;
}

.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-post-body {
    padding: 5rem 0 8rem;
}

.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: flex-start;
}

.blog-article {
    min-width: 0;
}

.blog-article p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.blog-article h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.blog-article h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.blog-article ul,
.blog-article ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1.05rem;
}

.blog-article strong {
    color: var(--text-primary);
    font-weight: 700;
}

.blog-article a {
    color: var(--primary);
    font-weight: 600;
}

.article-cta {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.article-cta h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.75rem;
}

.sidebar-widget-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-cat-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    display: block;
    transition: all 0.2s ease;
}

.sidebar-cat-list li a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding-left: 1.1rem;
}

.sidebar-widget-cta {
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    border-color: transparent;
    text-align: center;
}

.sidebar-widget-cta h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
}

.sidebar-widget-cta p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-post-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-post-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero-title {
        font-size: 2.4rem;
    }

    .blog-stats-row {
        gap: 1.5rem;
    }
}

/* ===================== WHATSAPP FLOATING BUTTON ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
}

/* Icon Circle */
.whatsapp-float .wa-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    position: relative;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease;
}

.whatsapp-float:hover .wa-icon {
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

.whatsapp-float .wa-icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Pulse ring animation */
.whatsapp-float .wa-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: wa-pulse 2s ease-out infinite;
}

.whatsapp-float .wa-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    animation: wa-pulse 2s ease-out 0.4s infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Tooltip label */
.whatsapp-float .wa-label {
    background: #25D366;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 1rem 0.45rem 1.2rem;
    border-radius: 30px 0 0 30px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(10px);
    transition: max-width 0.4s ease, opacity 0.3s ease, transform 0.4s ease;
    box-shadow: -4px 4px 20px rgba(37, 211, 102, 0.3);
    position: absolute;
    right: 56px;
    pointer-events: none;
}

.whatsapp-float:hover .wa-label {
    max-width: 200px;
    opacity: 1;
    transform: translateX(0);
}

/* Mobile: raise above bottom nav bar */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
    }

    .whatsapp-float .wa-icon {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float .wa-icon svg {
        width: 26px;
        height: 26px;
    }

    .whatsapp-float .wa-label {
        display: none;
    }
}

/* ============================================================
   BLOG POST — MISSING UTILITY & COMPONENT CLASSES
   ============================================================ */

/* Lead paragraph */
.lead {
    font-size: 1.15rem;
    line-height: 1.95;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Feature / stats highlight box */
.feature-box {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

/* Simple flex row / col grid (Bootstrap-like, no dependency) */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.col-md-3 {
    flex: 1 1 160px;
    min-width: 130px;
}

.text-center { text-align: center; }

/* Stat numbers inside feature-box */
.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 500;
}

/* Technology stack badges */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.5rem;
}

.tech-item {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(37, 99, 235, 0.07);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    transition: all 0.22s ease;
}

.tech-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

/* Responsive table wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

/* Comparison / data tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    background: rgba(255, 255, 255, 0.9);
    min-width: 560px;
}

.comparison-table thead tr {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.comparison-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.83rem;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.comparison-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
    line-height: 1.55;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.04);
}

/* Case study cards */
.case-study {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-study:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}

.case-study h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
}

/* FAQ items */
.faq-item {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-item h5 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    line-height: 1.4;
}

.faq-item p {
    font-size: 0.95rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.75 !important;
    margin-bottom: 0 !important;
}

/* Reveal animation (IntersectionObserver triggered) */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button variants */
.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 2px solid rgba(37, 99, 235, 0.22);
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

/* Spacing utility helpers */
.mb-3  { margin-bottom: 1rem;  }
.mb-4  { margin-bottom: 1.5rem; }
.mt-5  { margin-top: 3rem;  }

/* ── Mobile fixes for Blog Post pages ──────────────────────── */
@media (max-width: 768px) {
    .blog-post-hero {
        padding: 100px 0 40px !important;
    }

    .blog-post-title {
        font-size: 1.65rem !important;
        letter-spacing: -0.4px !important;
        line-height: 1.25 !important;
    }

    .blog-post-body {
        padding: 3rem 0 4rem !important;
    }

    .blog-post-layout {
        gap: 2.5rem !important;
    }

    .article-cta {
        padding: 1.75rem !important;
    }

    .article-cta h3 {
        font-size: 1.3rem !important;
    }

    .feature-box {
        padding: 1.5rem !important;
    }

    .row {
        gap: 0.9rem !important;
    }

    .col-md-3 {
        flex: 1 1 120px !important;
        min-width: 110px !important;
    }

    .stat-number {
        font-size: 1.75rem !important;
    }

    .tech-stack { gap: 0.4rem !important; }

    .tech-item {
        font-size: 0.78rem !important;
        padding: 0.32rem 0.75rem !important;
    }

    .case-study {
        padding: 1.25rem !important;
    }

    .faq-item {
        padding: 1.25rem !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.7rem 0.9rem !important;
        font-size: 0.82rem !important;
    }

    .breadcrumb-nav {
        font-size: 0.78rem !important;
        flex-wrap: wrap !important;
    }

    .post-meta-bar {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        font-size: 0.82rem !important;
    }
}

@media (max-width: 480px) {
    .blog-post-hero {
        padding: 80px 0 30px !important;
    }

    .blog-post-title {
        font-size: 1.4rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .feature-box {
        padding: 1.25rem !important;
    }
}

/* ============================================================
   BOOTSTRAP-COMPATIBLE TABLE CLASSES (no Bootstrap dependency)
   ============================================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
}

.table th {
    padding: 0.9rem 1.1rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.table td {
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    line-height: 1.55;
}

.table tbody tr:last-child td { border-bottom: none; }

.table-hover tbody tr:hover {
    background: rgba(37, 99, 235, 0.04);
    transition: background 0.18s ease;
}

.mb-0 { margin-bottom: 0 !important; }

/* comparison-table div wrapper used as visual container */
.blog-article .comparison-table {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-md);
}

/* Mobile: Bootstrap table fixes */
@media (max-width: 768px) {
    .table th,
    .table td {
        padding: 0.65rem 0.8rem !important;
        font-size: 0.82rem !important;
    }

    .blog-article .comparison-table {
        border-radius: 10px !important;
    }
}
