/* ==========================================
   Bytewyz Tech - THE DEFINITIVE RICH MODERN UI
   ========================================== */

:root {
    --color-bg-light: #ffffff !important;
    /* Force pure white on legacy sections */

    --primary-glow: rgba(56, 189, 248, 0.15);
    /* Sky blue glow */
    --accent-glow: rgba(139, 92, 246, 0.15);
    /* Violet glow */

    --glass-bg-light: rgba(255, 255, 255, 0.7);
    --glass-bg-dark: rgba(15, 23, 42, 0.6);
    --glass-border-light: rgba(255, 255, 255, 0.4);
    --glass-border-dark: rgba(255, 255, 255, 0.1);

    --shadow-rich: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    --shadow-neon: 0 0 30px var(--primary-glow);

    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-rich: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Remove all legacy top borders from sections */
section,
.section,
.process-section,
.trust-section,
.testimonials-section,
.why-choose-section,
section[style] {
    border-top: none !important;
    border-bottom: none !important;
}

/* Glowing Background Effects */
.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
}

.hero-bg-glow-2 {
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 70%);
}

/* ==========================================
   HEADER & NAVBAR - Bytes.co.uk Inspired
   White theme with subtle shadow
   ========================================== */
.header {
    background: #ffffff !important;
    z-index: 9999 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(0) !important;
    user-select: text !important;
    -webkit-user-select: text !important;
}

.header.header-hidden {
    transform: translateY(0) !important;
}

.header.header-scrolled {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08) !important;
}

.nav-container {
    height: 68px !important;
}

.header .nav-logo {
    display: block;
    height: 34px;
    width: auto;
    /* Inverts white text to black, then restores the blue icon color */
    filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.1);
    transition: filter 0.3s ease;
}
@media (min-width: 769px) {
    .header-home:not(.header-scrolled) .nav-logo {
        filter: none !important;
    }
}

.logo-area {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
}

.header .nav-link {
    color: #1e293b !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    padding: 4px 0 !important;
    user-select: text !important;
    -webkit-user-select: text !important;
}

.header .nav-link::after {
    background: #1e293b !important;
    height: 2px !important;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: #000000 !important;
}

.header .nav-dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.2) !important;
    border-radius: 16px !important;
    padding: 20px !important;
}

.header .mega-item:hover {
    background: #f8fafc !important;
}

.header .mega-icon {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.header .mega-title {
    color: #0f172a !important;
    font-size: 0.88rem !important;
}

.header .mega-desc {
    color: #64748b !important;
}

.header .mega-footer {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}

.header .mega-footer a {
    color: #0f172a !important;
}

.header .mega-footer a:hover {
    color: #000000 !important;
}

.header .company-item:hover {
    background: #f8fafc !important;
}

.header .company-icon {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.header .company-title {
    color: #0f172a !important;
}

.header .company-desc {
    color: #64748b !important;
}

.header .btn-nav {
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.header .btn-nav:hover {
    background: #1e293b !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12) !important;
}

.header .menu-toggle-label {
    color: #1e293b !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.header .menu-toggle-icon .bar {
    background-color: #1e293b !important;
}

.nav-close-btn {
    display: none;
}

/* Desktop adjustments */
@media (max-width: 1200px) {
    .header .nav-menu {
        gap: 16px !important;
    }

    .header .nav-link {
        font-size: 0.84rem !important;
    }

    .header .btn-nav {
        padding: 8px 18px !important;
        font-size: 0.82rem !important;
    }
}

/* ==========================================
   MOBILE - Full-screen overlay (≤ 768px)
   ========================================== */
@media (max-width: 768px) {
    .header .nav-logo {
        height: 30px;
    }

    .nav-container {
        height: 60px !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    .header .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 9998 !important;
        padding: 80px 28px 28px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        transform: translateX(100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        align-items: stretch !important;
    }

    .nav-close-btn {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
        border: none;
        background: #f1f5f9;
        color: #64748b;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 100;
    }

    .nav-close-btn:hover {
        background: #e2e8f0;
        color: #0f172a;
        transform: rotate(90deg);
    }

    .header .nav-menu.active {
        transform: translateX(0) !important;
    }

    .header .nav-menu .nav-link {
        color: #1e293b !important;
        font-size: 1.05rem !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        border-bottom: none !important;
        display: block !important;
    }

    .header .nav-menu .nav-link::after {
        display: none !important;
    }

    .header .nav-menu .nav-link:hover,
    .header .nav-menu .nav-link.active {
        background: #f1f5f9 !important;
        color: #0f172a !important;
    }

    .header .nav-dropdown-toggle {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .header .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8fafc !important;
        border-radius: 12px !important;
        padding: 12px !important;
        display: none !important;
        margin-top: 4px !important;
    }

    .header .nav-dropdown.mobile-open .nav-dropdown-menu {
        display: block !important;
    }

    .header .mega-grid {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .header .mega-item {
        padding: 10px 12px !important;
    }

    .header .mega-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 0.85rem !important;
    }

    .header .mega-title {
        font-size: 0.88rem !important;
    }

    .header .mega-desc {
        font-size: 0.78rem !important;
    }

    .header .mega-footer {
        margin-top: 8px !important;
        padding-top: 12px !important;
    }

    .header .company-item {
        padding: 10px 12px !important;
    }

    .header .company-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 0.85rem !important;
    }

    .header .company-title {
        font-size: 0.88rem !important;
    }

    .header .company-desc {
        font-size: 0.78rem !important;
    }

    .header .nav-btn-mobile {
        display: flex !important;
        background: #0f172a !important;
        color: #ffffff !important;
        padding: 14px 24px !important;
        border-radius: 12px !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        justify-content: center !important;
        margin-top: 12px !important;
        text-align: center;
        text-decoration: none;
    }

    .header .btn-nav {
        display: none !important;
    }
}

/* ==========================================
   HOME PAGE HEADER - Dark → White on scroll
   Bytes.co.uk style (at end for cascade override)
   ========================================== */
.header-home {
    background: rgba(10, 10, 15, 0.97) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

.header-home .nav-link {
    color: #ffffff !important;
    user-select: text !important;
    -webkit-user-select: text !important;
}

.header-home .nav-link::after {
    background: #ffffff !important;
}

.header-home .nav-link:hover,
.header-home .nav-link.active {
    color: #94a3b8 !important;
}

.header-home .btn-nav {
    background: #ffffff !important;
    color: #0f172a !important;
}

.header-home .btn-nav:hover {
    background: #e2e8f0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.header-home .menu-toggle-label {
    color: #ffffff !important;
}

.header-home .menu-toggle-icon .bar {
    background-color: #ffffff !important;
}

.header-home .nav-dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.3) !important;
}

.header-home .mega-item:hover {
    background: #f8fafc !important;
}

.header-home .mega-icon {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.header-home .mega-title {
    color: #0f172a !important;
}

.header-home .mega-desc {
    color: #64748b !important;
}

.header-home .mega-footer {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}

.header-home .mega-footer a {
    color: #0f172a !important;
}

.header-home .company-item:hover {
    background: #f8fafc !important;
}

.header-home .company-icon {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.header-home .company-title {
    color: #0f172a !important;
}

.header-home .company-desc {
    color: #64748b !important;
}

.header-home.header-scrolled {
    background: #ffffff !important;
    backdrop-filter: none !important;
    border-bottom-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05) !important;
}

.header-home.header-scrolled .nav-link {
    color: #1e293b !important;
}

.header-home.header-scrolled .nav-link::after {
    background: #1e293b !important;
}

.header-home.header-scrolled .nav-link:hover,
.header-home.header-scrolled .nav-link.active {
    color: #000000 !important;
}

.header-home.header-scrolled .btn-nav {
    background: #0f172a !important;
    color: #ffffff !important;
}

.header-home.header-scrolled .btn-nav:hover {
    background: #1e293b !important;
}

.header-home.header-scrolled .menu-toggle-label {
    color: #1e293b !important;
}

.header-home.header-scrolled .menu-toggle-icon .bar {
    background-color: #1e293b !important;
}

@media (max-width: 768px) {
    .header-home {
        background: #ffffff !important;
        backdrop-filter: none !important;
        border-bottom-color: rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05) !important;
    }

    .header-home .nav-link {
        color: #1e293b !important;
    }

    .header-home .nav-link::after {
        background: #1e293b !important;
    }

    .header-home .btn-nav {
        background: #0f172a !important;
        color: #ffffff !important;
    }

    .header-home .menu-toggle-label {
        color: #1e293b !important;
    }

    .header-home .menu-toggle-icon .bar {
        background-color: #1e293b !important;
    }
}

body {
    background-color: #ffffff;
    /* Pure white background */
    color: #334155;
    font-family: 'Inter', sans-serif;
}

/* Base Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title {
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.section-title {
    font-size: 3rem !important;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px !important;
}


/* ==========================================
   1. HERO SECTION (Restored Original Background)
   ========================================== */
.hero-section {
    position: relative;
    padding: 60px 0 30px !important;
    background-color: transparent !important;
}

/* ==========================================
   BYTES.CO.UK-INSPIRED HERO STYLES
   ========================================== */
.hero-section.bytes-hero {
    background: #0a0a0f !important;
    background-image: linear-gradient(135deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.6) 50%, rgba(10, 10, 15, 0.92) 100%), url('../images/global-banner.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    background-blend-mode: normal !important;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-section.bytes-hero.has-video-bg {
    background: #0a0a0f !important;
    background-image: none !important;
}

.hero-section.bytes-hero.has-video-bg .hero-overlay {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.65) 50%, rgba(10, 10, 15, 0.92) 100%) !important;
}

.bytes-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.65) 50%, rgba(10, 10, 15, 0.92) 100%);
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section.bytes-hero .hero-grid {
    padding: 100px 0 80px 0;
}

.hero-section.bytes-hero .hero-tag {
    background: rgba(56, 189, 248, 0.1) !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
    padding: 8px 20px !important;
    font-size: 0.8rem;
}

.hero-section.bytes-hero .hero-tag i {
    color: #38bdf8;
    font-size: 0.7rem;
}

.hero-section.bytes-hero .hero-title {
    font-size: 3.75rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-section.bytes-hero.has-video-bg .hero-title {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5) !important;
}

.hero-section.bytes-hero .hero-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section.bytes-hero.has-video-bg .hero-title span {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5) !important;
}

.hero-section.bytes-hero .hero-desc {
    font-size: 1.15rem !important;
    color: #cbd5e1 !important;
    max-width: 580px;
    line-height: 1.8 !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero-section.bytes-hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-section.bytes-hero .hero-actions .btn-white {
    background: #ffffff;
    color: #0a0a0f;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.hero-section.bytes-hero .hero-actions .btn-white:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.25);
}

.hero-section.bytes-hero .hero-actions .btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}

.hero-section.bytes-hero .hero-actions .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px);
}

.hero-section.bytes-hero .hero-mini-stats {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.hero-section.bytes-hero .hero-mini-stats .num {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section.bytes-hero .hero-mini-stats .lbl {
    color: #64748b !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Floating images enhancement */
.hero-section.bytes-hero .grid-img {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.hero-section.bytes-hero .grid-img:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 30px 60px -12px rgba(56, 189, 248, 0.15);
}

.hero-section.bytes-hero .floating-image-grid {
    height: 480px;
}

@media (max-width: 1024px) {
    .hero-section.bytes-hero {
        min-height: auto;
    }

    .hero-section.bytes-hero .hero-title {
        font-size: 2.75rem !important;
    }

    .hero-section.bytes-hero .hero-mini-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section.bytes-hero .hero-title {
        font-size: 2.25rem !important;
    }

    .hero-section.bytes-hero .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-section.bytes-hero .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-section.bytes-hero .hero-mini-stats {
        justify-content: center;
        gap: 24px;
    }

    .hero-section.bytes-hero .hero-mini-stats .num {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-section.bytes-hero .hero-title {
        font-size: 1.85rem !important;
    }

    .hero-section.bytes-hero .hero-grid {
        padding: 120px 0 50px 0;
    }
}

/* ==========================================
   INNOVATION SECTION (Bytes.co.uk inspired)
   ========================================== */
.innovation-section {
    background: #ffffff;
    padding: 100px 0;
}

.innovation-tabs-wrapper {
    text-align: center;
    margin-bottom: 50px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.innovation-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.innovation-tabs {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 6px;
    gap: 4px;
    flex-wrap: nowrap;
}

.innovation-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.innovation-tab i {
    font-size: 1rem;
}

.innovation-tab:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}

.innovation-tab.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.innovation-panels {
    position: relative;
}

.innovation-panel {
    display: none;
    animation: innovationFade 0.4s ease;
}

.innovation-panel.active {
    display: block;
}

@keyframes innovationFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.innovation-panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
    background: #f8fafc;
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 991px) {
    .innovation-panel-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

.innovation-panel-icon {
    width: 64px;
    height: 64px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

.innovation-panel-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.innovation-panel-summary {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 28px;
}

.innovation-points {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.innovation-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

.innovation-points li i {
    color: #38bdf8;
    font-size: 1.1rem;
}

.innovation-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.innovation-cta i {
    transition: transform 0.3s ease;
}

.innovation-cta:hover {
    background: #1e293b;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}

.innovation-cta:hover i {
    transform: translateX(5px);
}

/* Visual cards on the right */
.innovation-panel-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.innovation-visual-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.innovation-visual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.innovation-visual-card i {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 12px;
}

.innovation-visual-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.innovation-visual-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

@media (max-width: 768px) {
    .innovation-tabs {
        flex-wrap: nowrap;
        width: max-content;
        padding: 4px;
    }

    .innovation-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .innovation-tab i {
        display: none;
    }

    .innovation-section {
        padding: 60px 0;
    }

    .innovation-panel-content h3 {
        font-size: 1.5rem;
    }

    .innovation-panel-visual {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .innovation-visual-card {
        flex: 1;
        min-width: 140px;
        padding: 20px 16px;
    }

    .innovation-visual-card i {
        font-size: 1.5rem;
    }

    .innovation-visual-card h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .innovation-panel-grid {
        padding: 20px;
    }

    .innovation-panel-visual {
        flex-direction: column;
    }

    .innovation-visual-card {
        width: 100%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Restored original overlay */
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism Text Box */
.hero-content {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 999px !important;
    color: #0284c7 !important;
    /* Blue */
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: initial;
    text-decoration: none !important;
}

.hero-title span {
    background: linear-gradient(to right, #0284c7, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    display: inline-block;
}

.hero-title span::after,
.hero-title span::before,
.hero-title::after,
.hero-title::before {
    display: none !important;
    content: none !important;
}

.hero-desc {
    color: #cbd5e1 !important;
    font-size: 1.25rem !important;
    line-height: 1.7 !important;
    margin-bottom: 32px !important;
}

/* Invert buttons for white background (only in modern-light pages) */
.modern-light .hero-content .btn-white {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #ffffff !important;
}

.modern-light .hero-content .btn-white:hover {
    background: #f1f5f9 !important;
}

.modern-light .hero-content .btn-outline-white {
    border: 1px solid #0f172a !important;
    color: #0f172a !important;
}

.modern-light .hero-content .btn-outline-white:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Mini Stats */
.hero-mini-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mini-stats .mini-stat-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-mini-stats .num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1;
}

.hero-mini-stats .lbl {
    font-size: 0.85rem;
    color: #94a3b8 !important;
    font-weight: 500;
}

/* Floating Images in Hero - Make them Spectacular */
.floating-image-grid {
    position: relative;
    height: 500px;
    /* Reduced slightly to fit the tighter layout */
    margin-top: 20px;
}

.floating-image-grid .grid-img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    transition: var(--transition-rich);
}

.floating-image-grid .grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 1. Whiteboard (img-main is the whiteboard!) - Front & Center/Top */
.floating-image-grid .img-main {
    top: 0;
    left: 5%;
    width: 75%;
    z-index: 10;
    /* Front */
    border: 4px solid rgba(255, 255, 255, 0.95);
    /* Bright white border */
    transform: none;
    /* Reset any centering transforms */
    animation: float 6s ease-in-out infinite;
}

/* 2. Laptop (img-sub-1 is the laptop!) - Back Right */
.floating-image-grid .img-sub-1 {
    top: 35%;
    /* Pull up to overlap with whiteboard */
    right: 0;
    width: 60%;
    z-index: 2;
    /* Back */
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 7s ease-in-out infinite reverse;
}

/* 3. Matrix Code (img-sub-2 is the matrix!) - Back Left */
.floating-image-grid .img-sub-2 {
    top: 42%;
    /* Pull up to overlap with whiteboard */
    left: 10%;
    width: 45%;
    z-index: 1;
    /* Back */
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-image-grid .grid-img:hover {
    transform: scale(1.05) translateY(-10px) !important;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* ==========================================
   2. GENERAL SECTIONS
   ========================================== */
.section {
    padding: 80px 0 !important;
    position: relative;
}

/* Removed the blue radial gradients */
.container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    display: inline-block;
    color: #0f172a !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-size: 0.875rem !important;
    margin-bottom: 16px !important;
    padding: 8px 16px;
    background: #e2e8f0;
    border-radius: 999px;
}

.section-desc {
    color: #475569 !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
}

/* ==========================================
   3. SERVICES CARDS (Image Backgrounds preserved)
   ========================================== */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.home-service-card {
    position: relative;
    border-radius: var(--radius-lg) !important;
    padding: 40px !important;
    overflow: hidden;
    /* Use the inline background image! */
    background-image: var(--bg-img) !important;
    background-size: cover !important;
    background-position: center !important;
    color: #fff !important;
    box-shadow: var(--shadow-rich) !important;
    transition: var(--transition-rich) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
}

.home-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 1;
}

.home-service-card>* {
    position: relative;
    z-index: 2;
}

.home-service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.3);
}

.home-service-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: auto;
    /* Push content to bottom */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-service-title {
    color: #fff !important;
    font-size: 1.75rem !important;
    margin-bottom: 12px !important;
}

.home-service-desc {
    color: #cbd5e1 !important;
    font-size: 1rem !important;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-rich);
    height: 0;
}

.home-service-card:hover .home-service-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: 16px;
}

/* ==========================================
   4. WHY CHOOSE US & DARK SECTIONS
   ========================================== */
.section-dark,
.why-choose-section {
    background: #09090b !important;
    color: #fff !important;
}

.section-dark .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #fff !important;
}

.section-dark .section-subtitle {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: var(--radius-lg) !important;
    padding: 40px !important;
    transition: var(--transition-rich) !important;
    backdrop-filter: blur(10px);
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: var(--shadow-neon);
}

.why-choose-icon {
    font-size: 2.5rem;
    color: #38bdf8;
    margin-bottom: 24px;
}

.why-choose-card h3 {
    color: #fff !important;
    font-size: 1.5rem !important;
    margin-bottom: 16px !important;
}

.why-choose-card p {
    color: #94a3b8 !important;
}

/* ==========================================
   5. PROCESS SECTION (Image + Text Cards)
   ========================================== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.process-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.process-card:nth-child(even) {
    direction: rtl;
    /* Flip image to other side */
}

.process-card:nth-child(even)>* {
    direction: ltr;
    /* Keep text normal */
}

.process-card-header {
    margin-bottom: 24px;
}

.process-card-step {
    font-size: 6rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.05);
    line-height: 1;
    display: block;
    margin-bottom: -40px;
    position: relative;
    z-index: -1;
}

.process-card h3 {
    font-size: 2.5rem !important;
    color: #0f172a !important;
}

.process-card-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-rich);
    position: relative;
}

.process-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.process-card-media img {
    width: 100%;
    height: auto;
    transition: transform 0.7s;
}

.process-card:hover .process-card-media img {
    transform: scale(1.05);
}

/* ==========================================
   6. BENTO ABOUT GRID
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.visual-box {
    border-radius: var(--radius-lg) !important;
    background: #fff !important;
    box-shadow: var(--shadow-rich) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.visual-box-main {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #fff !important;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.visual-box-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

/* Buttons */
.btn {
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 16px 32px !important;
    transition: var(--transition-rich) !important;
}

.btn-white {
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2) !important;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3) !important;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-outline-white:hover {
    background: #fff !important;
    color: #0f172a !important;
}

/* ==========================================
   Modern Process Grid
   ========================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, #38bdf8, #8b5cf6, #38bdf8);
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.process-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.process-step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    height: 100%;
}

.process-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
    border-color: rgba(56, 189, 248, 0.15);
}

.process-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: #0f172a;
    transition: all 0.4s ease;
}

.process-step-card:hover .process-step-icon {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    border-radius: 50%;
}

.process-step-card h3 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 800;
}

.process-step-card p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.process-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.process-step-list li {
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.process-step-list li i {
    color: #38bdf8;
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .process-grid::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================
   Modern Tech Stack (Light Theme)
   ========================================== */
.tech-modern-light {
    background-color: #ffffff !important;
    /* Force true white */
    position: relative;
}

/* Override existing conflicting card styles */
.tech-modern-light .tech-panel-shell {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.tech-modern-light .tech-tabs-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.tech-modern-light .tech-tabs {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 100px;
    padding: 8px;
    display: flex;
    width: max-content;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.tech-modern-light .tech-tab {
    background: transparent !important;
    color: #64748b !important;
    border: none !important;
    border-radius: 100px;
    padding: 10px 24px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.tech-modern-light .tech-tab:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.tech-modern-light .tech-tab.active {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.tech-modern-light .tech-tab i {
    margin-right: 8px;
}

/* Redesign individual cards */
.tech-modern-light .tech-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, 140px) !important;
    justify-content: center !important;
    gap: 20px !important;
}

.tech-modern-light .tech-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    width: 140px !important;
    height: 140px !important;
    padding: 20px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.05) !important;
}

.tech-modern-light .tech-card:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Icons */
.tech-modern-light .tech-card-icon {
    border: none !important;
    background: transparent !important;
    margin-bottom: 15px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 50px !important;
    width: 100% !important;
}

.tech-modern-light .tech-card-icon i {
    font-size: 3.5rem !important;
}

/* Remove ugly hover border/background from old style.css */
.tech-modern-light .tech-card:hover .tech-card-icon {
    background: transparent !important;
    border: none !important;
}

.tech-modern-light .tech-card-name {
    color: #1e293b !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

/* Brand Colors (Always colorful in light mode, high specificity to beat style.css hover) */
.tech-modern-light .tech-card .tech-card-icon .tech-html5 {
    color: #E34F26 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-css3 {
    color: #1572B6 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-js {
    color: #F7DF1E !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-react {
    color: #61DAFB !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-vue {
    color: #4FC08D !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-angular {
    color: #DD0031 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-bootstrap {
    color: #7952B3 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-tailwind {
    color: #06B6D4 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-php {
    color: #777BB4 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-laravel {
    color: #FF2D20 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-node {
    color: #339933 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-python {
    color: #3776AB !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-express {
    color: #000000 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-java {
    color: #007396 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-swift {
    color: #F05138 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-android {
    color: #3DDC84 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-apple {
    color: #999999 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-flutter {
    color: #02569B !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-kotlin {
    color: #7F52FF !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-db {
    color: #4479A1 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-postgres {
    color: #336791 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-mongo {
    color: #47A248 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-firebase {
    color: #FFCA28 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-aws {
    color: #FF9900 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-gcp {
    color: #4285F4 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-azure {
    color: #0089D6 !important;
}

.tech-modern-light .tech-card .tech-card-icon .tech-docker {
    color: #2496ED !important;
}

/* Fix container width */
.tech-modern-light .container {
    max-width: 1200px;
}

/* Force bg-light to pure white as requested */
.bg-light {
    background-color: #ffffff !important;
}

/* ==========================================
   Industries Grid - Modern Expandable Cards
   ========================================== */
.industries-section {
    background: #ffffff !important;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 50px;
    align-items: start;
}

.industry-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.industry-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.industry-card.active {
    border-color: #0f172a;
    box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.15);
}

.industry-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc, #eef2f6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.3rem;
    color: #0f172a;
    transition: all 0.35s ease;
}

.industry-card.active .industry-card-icon {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    border-radius: 50%;
}

.industry-card-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}

.industries-details-container {
    margin-top: 32px;
}

.industry-detail-panel {
    display: none;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.08);
}

.industry-detail-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.industry-detail-header {
    margin-bottom: 24px;
}

.industry-detail-header h3 {
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 1.5rem;
}

.industry-detail-header p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
}

.industry-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .industry-detail-content {
        grid-template-columns: 1fr;
    }
}

.industry-detail-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-detail-points li {
    font-size: 0.95rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.industry-detail-points li i {
    color: #38bdf8;
    margin-top: 4px;
}

.industry-detail-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ind-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
}

.ind-highlight i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #0f172a;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ind-highlight div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ind-highlight div strong {
    font-size: 0.82rem;
    color: #0f172a;
}

.ind-highlight div span {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
}

.industry-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.industry-card-cta:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.industry-card-cta i {
    transition: transform 0.3s ease;
}

.industry-card-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   FAQ Accordion - Modern Clean
   ========================================== */
.faq-container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.is-open {
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.06);
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    gap: 16px;
}

.faq-btn i {
    color: #0f172a;
    font-size: 0.85rem;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-btn i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 22px;
}

.faq-item.is-open .faq-content {
    max-height: 300px;
    padding: 0 22px 20px;
}

.faq-content p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.93rem;
    margin: 0;
}

/* ==========================================
   Modern Why Choose Us Section (Light Theme)
   ========================================== */
.why-choose-modern-light {
    background-color: #ffffff !important;
    /* Pure white background */
    position: relative;
    border-top: none !important;
}

.why-choose-modern-light .section-title {
    color: #0f172a !important;
}

.why-choose-modern-light .section-subtitle {
    color: #0284c7 !important;
}

.why-choose-modern-light .section-desc {
    color: #475569 !important;
}

.why-choose-modern-light .why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.why-choose-modern-light .why-choose-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-choose-modern-light .why-choose-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.why-choose-modern-light .why-choose-icon {
    width: 72px;
    height: 72px;
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
    border-radius: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem !important;
    margin-bottom: 24px !important;
    transition: all 0.3s ease;
}

.why-choose-modern-light .why-choose-card:hover .why-choose-icon {
    background: #0284c7 !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.why-choose-modern-light .why-choose-card h3 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
}

.why-choose-modern-light .why-choose-card p {
    font-size: 0.95rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* ==========================================
   E-COMMERCE PAGE MODERNIZATION
   ========================================== */

/* Approach Section */
.ecom-approach-section {
    background-color: var(--glass-bg-light) !important;
}

.ecom-approach-card {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: var(--transition-rich) !important;
}

.ecom-approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

.ecom-approach-card-icon {
    width: 60px !important;
    height: 60px !important;
    background: rgba(56, 189, 248, 0.1) !important;
    color: var(--color-primary) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin-bottom: 24px !important;
}

.ecom-approach-panel {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    padding: 30px !important;
    color: #475569 !important;
}

.ecom-approach-panel-title {
    color: #0f172a !important;
}

.ecom-approach-list li {
    color: #475569 !important;
}

.ecom-approach-stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

.ecom-approach-stat {
    background: #ffffff !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

/* Features Included */
.ecom-features-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    justify-content: center !important;
}

.ecom-feature-item {
    background: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    transition: var(--transition-rich) !important;
}

.ecom-feature-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    color: var(--color-primary) !important;
}

.ecom-feature-item i {
    color: var(--color-primary) !important;
}

/* Pricing Packages */
.ecom-pricing-section {
    background-color: #f8fafc !important;
}

.ecom-pricing-card {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: var(--transition-rich) !important;
    position: relative !important;
}

.ecom-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08) !important;
}

.ecom-pricing-card--featured {
    border: 2px solid var(--color-primary) !important;
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.15) !important;
}

.ecom-pricing-name {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.ecom-pricing-price {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: var(--color-primary) !important;
    margin: 16px 0 !important;
}

.ecom-pricing-features li {
    color: #475569 !important;
    font-weight: 500 !important;
}

.ecom-pricing-features li i {
    color: var(--color-primary) !important;
}

.ecom-pricing-features li.is-muted {
    opacity: 0.5 !important;
}

.ecom-pricing-features li.is-muted i {
    color: #ef4444 !important;
}

/* Bytewyz Reason Section */
.ecom-bytewyz-section {
    background: #0f172a !important;
}

.ecom-bytewyz-title {
    color: #ffffff !important;
}

/* ==========================================
   ULTRA-PREMIUM E-COMMERCE UPGRADES
   ========================================== */

/* 1. Hero Upgrades */
.page-hero-title {
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 5px;
}

.page-hero-media {
    position: relative;
    z-index: 1;
}

.page-hero-media::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
    animation: pulse-glow 4s infinite alternate;
}

.page-hero-float-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 20px !important;
}

.page-hero-float-card i {
    color: var(--color-primary) !important;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* 2. Bento-Box Grid (Approach Section) */
.ecom-approach-grid {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 24px !important;
}

.ecom-approach-main {
    grid-column: span 8 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.ecom-approach-aside {
    grid-column: span 4 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

@media (max-width: 992px) {

    .ecom-approach-main,
    .ecom-approach-aside {
        grid-column: span 12 !important;
    }
}

.ecom-approach-card,
.ecom-approach-panel,
.ecom-approach-stat {
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    overflow: hidden;
}

.ecom-approach-card:hover,
.ecom-approach-panel:hover {
    border-color: rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.1) !important;
}

.ecom-approach-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: #0f172a;
    font-weight: 700;
}

.ecom-approach-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.ecom-approach-card-icon i {
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* 3. Animated Feature Pills */
.ecom-feature-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ecom-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.1), rgba(139, 92, 246, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecom-feature-item:hover::before {
    opacity: 1;
}

/* 4. Premium Pricing Cards */
.ecom-pricing-card--featured {
    transform: scale(1.05);
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2) !important;
}

.ecom-pricing-card--featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.ecom-pricing-card--featured .ecom-pricing-name,
.ecom-pricing-card--featured .ecom-pricing-price {
    color: #ffffff !important;
}

.ecom-pricing-card--featured .ecom-pricing-tagline {
    color: #94a3b8 !important;
}

.ecom-pricing-card--featured .ecom-pricing-features li {
    color: #cbd5e1 !important;
}

.ecom-pricing-card--featured .ecom-pricing-features li i {
    color: #38bdf8 !important;
}

.ecom-pricing-card--featured .ecom-pricing-support {
    color: #ffffff !important;
}

/* ==========================================
   TIMELINE COMPONENT
   Used on E-Commerce, ERP, CRM pages
   ========================================== */
.modern-process-timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.4), rgba(56, 189, 248, 0.1));
    transform: translateX(-50%);
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step.reverse {
    flex-direction: row-reverse;
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--color-primary, #38bdf8);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.timeline-content {
    width: calc(50% - 40px);
    text-align: right;
}

.timeline-step.reverse .timeline-content {
    text-align: left;
}

.timeline-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.timeline-bg-num {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(56, 189, 248, 0.06);
    line-height: 1;
    pointer-events: none;
}

.timeline-step.reverse .timeline-bg-num {
    right: auto;
    left: 20px;
}

.timeline-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.timeline-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.timeline-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-points li {
    background: rgba(56, 189, 248, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary, #0ea5e9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.timeline-points li i {
    font-size: 0.7rem;
}

.timeline-media {
    width: calc(50% - 40px);
}

.timeline-media .media-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   CRM PAGE CUSTOM CLASSES
   ========================================== */
.text-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-primary, #38bdf8);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 6px;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.page-hero-float-value {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-primary, #38bdf8);
    margin-bottom: 4px;
}

.section-highlights {
    background-color: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 40px;
}

.highlights-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.highlights-pill:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

.highlights-pill i {
    color: #10b981;
    font-size: 0.9rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-primary, #38bdf8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.benefit-desc {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.features-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.process-section {
    background-color: #f8fafc !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-section {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ==========================================
   INDUSTRY TAGS & PILLS (Shared)
   ========================================== */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.industry-tag {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    color: #334155;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.industry-tag:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.08);
}

/* ==========================================
   WHY CHOOSE PILLS
   ========================================== */
.why-choose-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.why-choose-pill {
    background: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.why-choose-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(56, 189, 248, 0.2);
}

.why-choose-pill i {
    color: #10b981;
}

/* ==========================================
   FAQ INLINE STYLE REPLACEMENT
   Pre-styled FAQ wrapper to avoid inline styles on ERP page
   ========================================== */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-wrapper .faq-item-custom {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.faq-wrapper .faq-item-custom .faq-btn {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.faq-wrapper .faq-item-custom .faq-btn i {
    color: var(--color-primary);
    transition: transform 0.3s;
}

.faq-wrapper .faq-item-custom .faq-content {
    padding: 0 20px 20px;
    color: #475569;
    line-height: 1.6;
    display: none;
}

/* ==========================================
   SECTION SPACING HELPERS
   ========================================== */
.section-bg-light {
    background-color: #f8fafc !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-bg-white {
    background-color: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.section-desc p {
    margin-bottom: 20px;
    color: #64748b;
    line-height: 1.7;
}

.section-desc p:last-child {
    margin-bottom: 0;
}

.section-desc.text-center {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   ERP/MODULE GRID - Approach card grid for ERP modules
   ========================================== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   All pages: Homepage, E-Commerce, ERP, CRM
   Breakpoints: 1200px, 1024px, 768px, 480px
   ========================================== */

/* ------- LARGE TABLETS / SMALL DESKTOPS ------- */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 2.5rem !important;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] {
        gap: 40px !important;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] h1 {
        font-size: 3rem !important;
    }

    .ecom-pricing-card--featured {
        transform: scale(1.02) !important;
    }
}

/* ------- TABLETS ------- */
@media (max-width: 1024px) {

    /* Homepage Hero */
    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .hero-content {
        text-align: center !important;
    }

    .hero-content .hero-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.75rem !important;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center !important;
    }

    .hero-media {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-bg-glow {
        width: 300px !important;
        height: 300px !important;
    }

    /* Homepage grids */
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tech-content {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .why-choose-modern-light .why-choose-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .industries-modern-light .industry-panel-grid {
        grid-template-columns: 1fr !important;
        padding: 30px !important;
    }

    /* ERP/CRM inline hero grids */
    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] .hero-content {
        text-align: center !important;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] .hero-content>div:first-child {
        margin-left: auto;
        margin-right: auto;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] .hero-content div[style*="display: flex; gap: 16px"] {
        justify-content: center !important;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] .hero-graphic {
        max-width: 560px;
        margin: 0 auto;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] h1 {
        font-size: 2.75rem !important;
    }

    /* E-Commerce hero */
    .page-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .page-hero-content {
        text-align: center !important;
    }

    .page-hero-content .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .page-hero-media {
        max-width: 560px;
        margin: 0 auto;
    }

    /* Timeline responsive */
    .timeline-spine {
        left: 20px !important;
    }

    .timeline-step,
    .timeline-step.reverse {
        flex-direction: column !important;
        padding-left: 50px !important;
        gap: 16px !important;
    }

    .timeline-node {
        left: 20px !important;
        top: 24px !important;
    }

    .timeline-content,
    .timeline-step.reverse .timeline-content {
        width: 100% !important;
        text-align: left !important;
    }

    .timeline-media {
        width: 100% !important;
    }

    .timeline-bg-num {
        right: 15px !important;
    }

    .timeline-step.reverse .timeline-bg-num {
        left: auto !important;
        right: 15px !important;
    }

    /* CRM grid responsive */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .features-modules-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Shared cards */
    .ecom-approach-section .container>div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .ecom-pricing-card--featured {
        transform: scale(1) !important;
    }

    .ecom-pricing-card--featured:hover {
        transform: translateY(-5px) !important;
    }

    /* Bytes.co.uk redesign responsive */
    .bytes-hero-inner {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center !important;
    }

    .bytes-hero p {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .bytes-hero-actions {
        justify-content: center !important;
    }

    .bytes-hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .bytes-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bytes-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .bytes-section {
        padding: 70px 0 !important;
    }

    .bytes-section-alt {
        padding: 70px 0 !important;
    }

    .bytes-cta {
        padding: 50px 32px !important;
    }

    /* ERP Process Timeline */
    .process-timeline {
        gap: 50px !important;
    }

    .process-timeline>div {
        flex-direction: column !important;
        text-align: center;
    }

    .process-timeline>div>div[style*="text-align: right"] {
        text-align: center !important;
    }

    .process-timeline>div>div[style*="text-align: left"] {
        text-align: center !important;
    }

    .process-timeline>div>div[style*="min-width: 300px"] {
        min-width: unset !important;
    }

    .process-timeline>div>div[style*="width: 80px"] {
        margin: 0 auto !important;
    }

    /* Fix Tab Overflows on Tablets */
    .industries-tabs,
    .tech-tabs,
    .industry-tabs {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        white-space: normal !important;
        overflow: visible !important;
        display: flex !important;
    }

    .industry-tab,
    .tech-tab {
        white-space: normal !important;
        text-align: center;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        flex: 1 1 auto;
    }
}

/* ------- MOBILE LANDSCAPE / SMALL TABLETS ------- */
@media (max-width: 768px) {
    .modern-light .section {
        padding: 60px 0 !important;
    }

    /* Homepage Hero */
    .hero-title {
        font-size: 2.25rem !important;
    }

    .hero-desc {
        font-size: 1rem !important;
    }

    .hero-cta-group,
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .hero-cta-group .btn,
    .hero-actions .btn {
        width: 100% !important;
        max-width: 320px !important;
    }

    .hero-bg-glow {
        width: 200px !important;
        height: 200px !important;
    }

    /* Homepage grids */
    .home-services-grid {
        grid-template-columns: 1fr !important;
    }

    .why-choose-modern-light .why-choose-grid {
        grid-template-columns: 1fr !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: grid !important;
    }

    .tech-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* Industries tabs */
    .industry-tabs,
    .industries-modern-light .industry-tabs {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .industry-tab,
    .industries-modern-light .industry-tab,
    .industry-tabs .nav-link {
        white-space: normal !important;
        text-align: center;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
        flex: 1 1 auto;
    }

    /* Section headers */
    .section-title {
        font-size: 1.75rem !important;
    }

    .section-desc {
        font-size: 0.95rem !important;
    }

    /* ERP/CRM pages */
    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] h1 {
        font-size: 2.25rem !important;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] .hero-content div[style*="display: flex; gap: 16px"] {
        flex-direction: column !important;
        align-items: center !important;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] .hero-content div[style*="display: flex; gap: 16px"] .btn {
        width: 100% !important;
        max-width: 320px !important;
    }

    .page-hero {
        padding: 120px 0 70px 0 !important;
    }

    .page-hero-float-card {
        bottom: -10px !important;
        right: -10px !important;
        padding: 14px !important;
    }

    /* Shared cards */
    .ecom-approach-section .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .ecom-features-grid {
        gap: 10px !important;
    }

    .ecom-feature-item {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
    }

    /* Pricing */
    .ecom-pricing-section .container div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .ecom-pricing-card {
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ecom-pricing-card--featured {
        transform: scale(1) !important;
    }

    /* Bytes.co.uk redesign mobile */
    .bytes-hero {
        padding: 130px 0 70px !important;
    }

    .bytes-hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    }

    .bytes-section {
        padding: 60px 0 !important;
    }

    .bytes-section-alt {
        padding: 60px 0 !important;
    }

    .bytes-grid-3 {
        grid-template-columns: 1fr !important;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .bytes-grid-4 {
        grid-template-columns: 1fr !important;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .bytes-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bytes-timeline-step {
        gap: 20px !important;
    }

    .bytes-cta {
        padding: 40px 24px !important;
    }

    .bytes-cta h2 {
        font-size: 1.5rem !important;
    }

    .bytes-cta .btn {
        width: 100% !important;
        max-width: 320px !important;
    }

    .bytes-hero-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: -30px;
    }

    /* ERP Process Timeline */
    .process-timeline {
        gap: 40px !important;
    }

    .process-timeline>div>div[style*="width: 80px"] {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }

    /* Modern Process Timeline */
    .timeline-card {
        padding: 28px !important;
    }

    .timeline-card h3 {
        font-size: 1.2rem !important;
    }

    /* CRM grids */
    .benefits-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .features-modules-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .highlights-grid {
        gap: 10px !important;
    }

    .highlights-pill {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }

    /* FAQ */
    .faq-btn {
        font-size: 1rem !important;
        padding: 16px !important;
    }

    /* CTA banner */
    .cta-banner {
        padding: 50px 24px !important;
    }

    .cta-banner h2 {
        font-size: 1.75rem !important;
    }

    .cta-banner-actions {
        flex-direction: column !important;
        align-items: center !important;
    }

    .cta-banner-actions .btn {
        width: 100% !important;
        max-width: 320px !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ------- MOBILE PORTRAIT ------- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem !important;
    }

    .hero-desc {
        font-size: 0.9rem !important;
    }

    .page-hero {
        padding: 110px 0 50px 0 !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .tech-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ERP/CRM */
    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] h1 {
        font-size: 1.85rem !important;
    }

    .page-hero .container[style*="grid-template-columns: 1fr 1fr"] p {
        font-size: 1rem !important;
    }

    /* Cards */
    .ecom-approach-card {
        padding: 28px !important;
    }

    .ecom-features-grid {
        flex-direction: column !important;
        align-items: center !important;
    }

    .ecom-pricing-card {
        padding: 28px !important;
    }

    .ecom-pricing-name {
        font-size: 1.3rem !important;
    }

    .ecom-pricing-price {
        font-size: 2rem !important;
    }

    /* CTA */
    .cta-banner {
        padding: 40px 20px !important;
        border-radius: 16px !important;
    }

    .cta-banner h2 {
        font-size: 1.5rem !important;
    }

    .cta-banner-actions {
        flex-direction: column !important;
        align-items: center !important;
    }

    .cta-banner-actions .btn {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
    }

    /* Hide float cards */
    .page-hero-float-card {
        display: none !important;
    }

    /* Bytes.co.uk 480px */
    .bytes-hero {
        padding: 110px 0 50px !important;
    }

    .bytes-hero h1 {
        font-size: 1.6rem !important;
    }

    .bytes-hero p {
        font-size: 0.95rem !important;
    }

    .bytes-hero-actions {
        flex-direction: column !important;
        align-items: center !important;
    }

    .bytes-hero-actions .btn {
        width: 100% !important;
        max-width: 300px !important;
    }

    .bytes-section {
        padding: 50px 0 !important;
    }

    .bytes-section-alt {
        padding: 50px 0 !important;
    }

    .bytes-card {
        padding: 24px !important;
    }

    .bytes-timeline-step {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .bytes-timeline-num {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.95rem !important;
    }

    .bytes-timeline-step:not(:last-child) .bytes-timeline-num::after {
        top: 40px !important;
    }

    .bytes-cta {
        padding: 32px 20px !important;
        border-radius: 16px !important;
    }

    .bytes-hero-badge {
        display: none !important;
    }

    .bytes-hero-visual img {
        border-radius: 14px !important;
    }

    /* Process timeline */
    .process-timeline>div>div[style*="width: 80px"],
    .process-timeline>div>div[style*="width: 60px"] {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }

    /* Modern Process Timeline */
    .timeline-card {
        padding: 24px !important;
    }

    .timeline-card h3 {
        font-size: 1.1rem !important;
    }

    .timeline-card p {
        font-size: 0.9rem !important;
    }

    /* CRM mobile */
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .features-modules-grid {
        grid-template-columns: 1fr !important;
    }

    .benefit-card {
        padding: 24px !important;
    }

    .faq-btn {
        font-size: 0.9rem !important;
        padding: 14px !important;
    }

    .process-timeline>div>div[style*="flex: 1"] {
        min-width: unset !important;
    }

    .process-timeline>div>div[style*="flex: 1"] h3 {
        font-size: 1.3rem !important;
    }

    .process-timeline>div>div[style*="flex: 1"] p {
        font-size: 0.95rem !important;
    }

    /* Industry Panels Extra Small Adjustments */
    .industries-modern-light .industry-panel-grid {
        padding: 16px !important;
        gap: 20px !important;
    }

    .industries-modern-light .industry-panel-head {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }

    .industries-modern-light .industry-panel-cta {
        width: 100% !important;
        font-size: 0.85rem !important;
        padding: 10px !important;
        justify-content: center !important;
        white-space: normal !important;
        text-align: center !important;
    }

    /* Tabs Extra Small Adjustments */
    .industries-tabs,
    .tech-tabs,
    .industry-tabs {
        gap: 6px !important;
    }

    .industry-tab,
    .tech-tab {
        padding: 8px 10px !important;
        font-size: 0.8rem !important;
        flex: 1 1 45% !important;
        /* Force 2 columns of pills on very small screens */
    }
}

/* ==========================================
   BYTES.CO.UK-INSPIRED ENHANCEMENTS
   ========================================== */

/* CTA Banner Enhancement */
.cta-banner {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-title {
    position: relative;
    z-index: 1;
}

.cta-banner-desc {
    position: relative;
    z-index: 1;
}

.cta-banner-actions {
    position: relative;
    z-index: 1;
}

/* Achievements Section Enhancement */
.achievements-section {
    position: relative;
    background: #0a0a0f !important;
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.achievements-section .stat-number {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-section-compact {
    padding: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 24px !important;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: #0066cc;
    margin-bottom: 4px;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.achievements-section .stat-number-static {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: statSupportPulse 2.5s ease-in-out infinite;
}

/* Section title text gradient */
.section-title {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Testimonials section polishes */
.testimonials-section {
    background: #ffffff !important;
}

.testimonial-card {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
}

.testimonial-card--featured {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

/* Trust section polish */
.trust-section {
    padding: 48px 0 !important;
    background: #f8fafc !important;
}

.trust-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
}

.trust-badge {
    padding: 10px 20px !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
    font-weight: 600 !important;
    color: #334155 !important;
    transition: all 0.3s ease !important;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.trust-bar-section {
    padding: 40px 0;
}

.trust-bar-header {
    margin-bottom: 28px;
}

.trust-bar-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* About section refinements */
.about-grid {
    gap: 60px !important;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-desc-second {
    margin-top: 15px;
}

.about-features {
    margin-top: 30px;
}

.about-brand-title {
    color: #FFF;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
}

.about-brand-desc {
    text-align: center;
    color: #94a3b8;
    font-size: 1rem;
}

.feature-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.feature-body p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Process section polish */
.process-section {
    background: #ffffff !important;
}

/* Service cards polish - ensure consistent height */
.home-services-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .home-services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Premium Modal Redesign */
.modal-card {
    max-width: 900px !important;
    width: 95% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2) !important;
}

.modal-header {
    margin-bottom: 0 !important;
    padding: 40px 40px 24px 40px !important;
    flex-shrink: 0 !important;
    text-align: center;
    background: #ffffff;
}

.modal-header h3 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.modal-header p {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
}

.modal-body {
    padding: 0 40px 40px 40px !important;
    overflow-y: auto !important;
    background: #ffffff;
}

.modal-body form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.modal-body .form-group {
    width: 100%;
    margin-bottom: 0 !important;
}

/* Make Name and Email side-by-side */
.modal-body .form-group:nth-of-type(1),
.modal-body .form-group:nth-of-type(2) {
    width: calc(50% - 10px);
}

.modal-card .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    width: 100%;
    font-family: inherit;
}

.modal-card textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.modal-card .form-control:focus {
    border-color: #38bdf8;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
    outline: none;
}

.modal-card .form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.modal-card button[type="submit"] {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border: none;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.modal-card button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.35);
    background: linear-gradient(135deg, #0066cc, #004c99);
}

.modal-close {
    top: 25px !important;
    right: 25px !important;
    width: 40px !important;
    height: 40px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease !important;
    z-index: 10;
}

.modal-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-body .form-group:nth-of-type(1),
    .modal-body .form-group:nth-of-type(2) {
        width: 100%;
    }
    .modal-header {
        padding: 30px 20px 20px 20px !important;
    }
    .modal-body {
        padding: 0 20px 30px 20px !important;
    }
    .modal-header h3 {
        font-size: 1.6rem !important;
    }
}

/* ==========================================
   HERO SLIDER
   ========================================== */

.hero-slider {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    position: relative;
    z-index: 2;
}

.hero-slide {
    display: none;
    animation: heroFadeIn 0.6s ease forwards;
}

.hero-slide.active {
    display: block;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 30px 0 10px 0;
    z-index: 5;
    flex-shrink: 0;
}

.hero-slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slide-dot.active {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-slide-dot:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   AWARDS SECTION
   ========================================== */

.awards-section {
    background: #ffffff;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.award-card {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: var(--brand, rgba(0, 0, 0, 0.08));
    background: #ffffff;
}

.award-logo {
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 8px;
}

.award-card:hover .award-logo {
    background: var(--brand, linear-gradient(135deg, #38bdf8, #818cf8));
    color: #ffffff;
}

.award-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.award-sub {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   EVENTS SECTION
   ========================================== */

.events-section {
    background: #f8fafc;
}

.events-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.events-tabs {
    display: inline-flex;
    background: #ffffff;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    gap: 2px;
}

.events-tab {
    padding: 10px 28px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-tab:hover {
    color: #0f172a;
}

.events-tab.active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.events-panels {
    min-height: 100px;
}

.events-panel {
    display: none;
}

.events-panel.active {
    display: block;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    padding: 10px 0;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.event-date-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.event-date-month {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-body {
    flex: 1;
}

.event-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #38bdf8;
    margin-bottom: 8px;
}

.event-type--virtual {
    color: #818cf8;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.event-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.event-link {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.event-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.event-link:hover {
    color: #38bdf8;
}

.event-link:hover i {
    transform: translateX(4px);
}

/* ==========================================
   INSIGHTS SECTION
   ========================================== */

.insights-section {
    background: #ffffff;
}

.insights-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.insights-tabs {
    display: inline-flex;
    background: #f8fafc;
    border-radius: 50px;
    padding: 4px;
    gap: 2px;
}

.insights-tab {
    padding: 10px 28px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.insights-tab:hover {
    color: #0f172a;
}

.insights-tab.active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.insights-panels {
    min-height: 100px;
}

.insights-panel {
    display: none;
}

.insights-panel.active {
    display: block;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.insight-card {
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.insight-media {
    height: 140px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.insight-media i {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.3);
}

.insight-card:hover .insight-media i {
    color: #38bdf8;
    transform: scale(1.1);
}

/* Video embed card */
.insight-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 42%;
    background: #000;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.insight-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.insight-card--embed .insight-body {
    padding: 16px 18px 20px;
}

.insight-card--embed .insight-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.insight-card--embed .insight-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-body {
    padding: 16px 18px 20px;
}

.insight-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #38bdf8;
    margin-bottom: 8px;
}

.insight-tag--report {
    color: #818cf8;
}

.insight-tag--podcast {
    color: #f59e0b;
}

.insight-tag--podcast i {
    margin-right: 4px;
}

.insight-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.insight-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.insight-link {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.insight-link i {
    transition: transform 0.3s ease;
}

.insight-link:hover {
    color: #38bdf8;
}

.insight-link:hover i {
    transform: translateX(4px);
}

.insights-podcast-cta {
    text-align: center;
    margin-top: 40px;
}

.insights-podcast-cta .btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.insights-podcast-cta .btn i {
    margin-left: 8px;
}

/* ==========================================
   CUSTOMER LOGOS SECTION
   ========================================== */

.customers-section {
    background: #f8fafc;
}

.customers-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.customer-logo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.customer-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.customer-logo-inner {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0f172a;
    transition: all 0.3s ease;
}

.customer-logo-card:hover .customer-logo-inner {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2);
}

.customer-logo-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

/* ==========================================
   FRAMEWORKS / TRUST SECTION
   ========================================== */

.frameworks-section {
    background: #ffffff;
}

.frameworks-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #f8fafc;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.frameworks-content h2 {
    margin-bottom: 16px;
}

.frameworks-content p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.frameworks-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.framework-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.framework-badge i {
    color: #38bdf8;
    font-size: 0.9rem;
}

.framework-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

.frameworks-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.frameworks-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.framework-icon-box {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.framework-icon-box:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: #ffffff;
}

.frameworks-title {
    font-size: 2rem;
}

/* ==========================================
   NEWS SECTION
   ========================================== */

.news-section {
    background: #f8fafc;
}

.news-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.news-tabs {
    display: inline-flex;
    background: #ffffff;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    gap: 2px;
}

.news-tab {
    padding: 10px 28px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tab:hover {
    color: #0f172a;
}

.news-tab.active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.news-panels {
    min-height: 100px;
}

.news-panel {
    display: none;
}

.news-panel.active {
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.news-card-img {
    height: 140px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.news-card-img i {
    z-index: 1;
}

.news-card-img img~i {
    display: none;
}

.news-card:hover .news-card-img {
    color: rgba(56, 189, 248, 0.3);
}

.news-card-body {
    padding: 20px;
}

.news-card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 14px;
}

.news-link {
    color: #0f172a;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: #38bdf8;
}

.news-link:hover i {
    transform: translateX(4px);
}

/* ==========================================
   PARTNER TECHNOLOGY LOGOS SECTION
   ========================================== */

.partners-tech-section {
    background: #ffffff;
}

.partners-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.partner-tech-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: #64748b;
}

.partner-tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border-color: var(--brand, rgba(0, 0, 0, 0.08));
    background: #ffffff;
    color: var(--brand, #0f172a);
}

.partner-tech-card:hover i {
    color: var(--brand, #0f172a);
}

.partner-tech-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.partner-tech-card:hover span {
    color: #0f172a;
}

.partners-cta {
    text-align: center;
    margin-top: 40px;
}

.partners-cta .btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.partners-cta .btn i {
    margin-left: 8px;
}

/* ==========================================
   BYTES.CO.UK INSPIRED REDESIGN
   Service Pages: E-Commerce, ERP, CRM
   ========================================== */

/* Hero - bytes.co.uk style */
.bytes-hero {
    padding: 160px 0 100px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.bytes-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.85) 100%), url('../images/global-banner.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.bytes-hero>.container {
    position: relative;
    z-index: 1;
}

.bytes-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bytes-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0066cc;
    margin-bottom: 20px;
}

.bytes-hero-label i {
    font-size: 0.75rem;
}

/* Center home page content since graphics were removed */
#home .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
}
#home .hero-content {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#home .hero-desc {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#home .hero-actions {
    justify-content: center;
}
#home .hero-mini-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.bytes-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.bytes-hero h1 span {
    color: #0066cc;
}

.bytes-hero p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 32px;
    max-width: 520px;
}

.bytes-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bytes-hero-actions .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.bytes-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bytes-hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    display: block;
}

.bytes-hero-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bytes-hero-badge i {
    font-size: 1.4rem;
    color: #0066cc;
}

.bytes-hero-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

/* Section - bytes.co.uk style */
.bytes-section {
    padding: 60px 0;
}

.bytes-section-alt {
    padding: 60px 0;
    background: #f8fafc;
}

.bytes-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.bytes-section-header h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.bytes-section-header p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Cards - bytes.co.uk style */
.bytes-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.bytes-card:hover {
    border-color: rgba(0, 102, 204, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    transform: translateY(-3px);
}

.bytes-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 102, 204, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #0066cc;
    margin-bottom: 18px;
}

.bytes-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.bytes-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* Grid layouts */
.bytes-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bytes-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bytes-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Feature pills */
.bytes-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.bytes-pill {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #334155;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bytes-pill i {
    color: #0066cc;
    font-size: 0.8rem;
}

.bytes-pill:hover {
    border-color: rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

/* Timeline - bytes.co.uk inspired */
.bytes-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.bytes-timeline-step {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.bytes-timeline-step:last-child {
    margin-bottom: 0;
}

.bytes-timeline-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.bytes-timeline-step:not(:last-child) .bytes-timeline-num::after {
    content: '';
    position: absolute;
    top: 48px;
    left: 50%;
    width: 2px;
    height: calc(100% + 2px);
    background: #e2e8f0;
    transform: translateX(-50%);
}

.bytes-timeline-body {
    flex: 1;
    padding-top: 8px;
}

.bytes-timeline-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.bytes-timeline-body p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.bytes-timeline-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bytes-timeline-body ul li {
    background: rgba(0, 102, 204, 0.06);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0066cc;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bytes-timeline-body ul li i {
    font-size: 0.65rem;
}

/* CTA Banner - bytes.co.uk style */
.bytes-cta {
    background: #0f172a;
    border-radius: 20px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bytes-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, transparent 100%);
    z-index: 1;
}

.bytes-cta>* {
    position: relative;
    z-index: 2;
}

.bytes-cta h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.bytes-cta p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 32px;
}

.bytes-cta .btn-white {
    background: #ffffff !important;
    color: #0f172a !important;
}

.bytes-cta .btn-outline-white {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

/* Text utility */
.bytes-text-blue {
    color: #0066cc;
}

/* Section label */
.bytes-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0066cc;
    margin-bottom: 12px;
}

/* Hero subtitle accent underline */
.bytes-hero-accent {
    display: inline-block;
    width: 40px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
    margin-bottom: 20px;
}

/* Layout utilities */
.bytes-text-center {
    text-align: center;
}

.bytes-mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bytes-max-w-700 {
    max-width: 700px;
}

.bytes-max-w-800 {
    max-width: 800px;
}

.bytes-max-w-900 {
    max-width: 900px;
}

.bytes-text-muted {
    color: #64748b;
}

.bytes-leading-normal {
    line-height: 1.7;
}

.bytes-mt-40 {
    margin-top: 40px;
}

/* CTA actions row */
.bytes-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Learn More link inside bytes-card */
.bytes-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 20px;
    transition: gap 0.3s ease;
}

.bytes-learn-more:hover {
    gap: 12px;
    color: #004999;
}

.bytes-card .bytes-learn-more {
    margin-top: 20px;
}

/* Hero centered layout */
.bytes-hero-centered .bytes-hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.bytes-hero-centered .bytes-hero-content p {
    margin-left: auto;
    margin-right: auto;
}

.bytes-hero-centered .bytes-hero-actions {
    justify-content: center;
}

/* ==========================================
   RESPONSIVE: MISSING BREAKPOINTS
   ========================================== */

@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customers-logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .partners-tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .frameworks-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .frameworks-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .events-tabs {
        width: 100%;
    }

    .events-tab {
        flex: 1;
        text-align: center;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .insights-tabs {
        width: 100%;
    }

    .insights-tab {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .news-tabs {
        width: 100%;
    }

    .news-tab {
        flex: 1;
        text-align: center;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .customers-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .frameworks-card {
        padding: 32px 24px;
    }

    .frameworks-icon-grid {
        gap: 12px;
    }

    .framework-icon-box {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

}

@media (max-width: 480px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .award-card {
        padding: 16px 12px;
    }

    .award-logo {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .award-title {
        font-size: 0.78rem;
    }

    .customers-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .frameworks-badges {
        flex-direction: column;
        align-items: center;
    }

    .framework-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   Contact Page - Light Theme
   ========================================== */

.contact-hero-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-details-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-detail-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-detail-card:hover {
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.contact-detail-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 102, 204, 0.08);
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 16px;
}

.contact-detail-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.contact-detail-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

.contact-form-section {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 48px;
    max-width: 720px;
    margin: 48px auto 0;
}

.contact-form-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.contact-form-section>p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: #0066cc;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.25);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .contact-details-row {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 28px 20px;
    }
}

/* ==========================================
   About Page - Additional Styles
   ========================================== */

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-stat-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
}

.about-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0066cc;
    margin-bottom: 4px;
    line-height: 1.2;
}

.about-stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.about-culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-culture-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-culture-card:hover {
    border-color: rgba(0, 102, 204, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.about-culture-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 102, 204, 0.08);
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.about-culture-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.about-culture-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-value-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.about-value-card:hover {
    border-color: rgba(0, 102, 204, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.about-value-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: rgba(0, 102, 204, 0.08);
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.about-value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.about-value-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-culture-grid {
        grid-template-columns: 1fr;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE — GLOBAL FIXES
   ========================================== */

/* Responsive container */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 14px;
    }
}

/* bytes-hero-centered — better mobile spacing */
@media (max-width: 768px) {
    .bytes-hero-centered {
        padding: 130px 0 60px !important;
    }

    .bytes-hero-centered .bytes-hero-content h1 {
        font-size: 1.8rem !important;
    }

    .bytes-hero-centered .bytes-hero-content p {
        font-size: 0.95rem !important;
    }

    .bytes-hero-centered .bytes-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .bytes-hero-centered .bytes-hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* bytes-card — tighter padding on mobile */
@media (max-width: 768px) {
    .bytes-card {
        padding: 28px 22px !important;
    }

    .bytes-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .bytes-card h3 {
        font-size: 1.05rem;
    }

    .bytes-card p {
        font-size: 0.88rem;
    }
}

/* bytes-pills — wrap on mobile */
@media (max-width: 768px) {
    .bytes-pills {
        gap: 8px;
    }

    .bytes-pill {
        font-size: 0.78rem;
        padding: 6px 14px;
    }
}

/* bytes-section-header — tighter on mobile */
@media (max-width: 768px) {
    .bytes-section-header h2 {
        font-size: 1.5rem !important;
    }

    .bytes-section-header p {
        font-size: 0.92rem !important;
    }

    .bytes-section-header {
        margin-bottom: 32px !important;
    }
}

/* bytes-hero (service pages) — smaller padding on mobile */
@media (max-width: 768px) {
    .bytes-hero {
        padding: 130px 0 60px !important;
    }

    .bytes-hero h1 {
        font-size: 1.8rem !important;
    }

    .bytes-hero p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }

    .bytes-hero-actions .btn {
        font-size: 0.88rem;
        padding: 12px 22px;
    }

    .bytes-hero-visual img {
        border-radius: 14px;
    }

    .bytes-hero-badge {
        display: none !important;
    }
}

/* bytes-learn-more — full width on mobile */
@media (max-width: 480px) {
    .bytes-learn-more {
        width: 100%;
        justify-content: center;
    }
}

/* About page — stat cards tighter */
@media (max-width: 480px) {
    .about-stat-number {
        font-size: 1.6rem;
    }

    .about-stat-card {
        padding: 20px 14px;
    }
}

/* Contact page — detail cards tighter */
@media (max-width: 480px) {
    .contact-detail-card {
        padding: 24px 16px;
    }

    .contact-detail-card .icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .contact-detail-card h4 {
        font-size: 0.95rem;
    }

    .contact-detail-card p {
        font-size: 0.85rem;
    }
}

/* Section spacing for all sections */
@media (max-width: 768px) {
    .section {
        padding: 60px 0 !important;
    }

    .section-title {
        font-size: 1.6rem !important;
    }

    .section-desc {
        font-size: 0.92rem !important;
    }
}

/* ==========================================
   RESPONSIVE: SMALL DEVICES 576px
   ========================================== */
@media (max-width: 576px) {
    .section {
        padding: 60px 0 !important;
    }

    .section-title {
        font-size: 1.6rem !important;
    }

    .section-desc {
        font-size: 0.92rem !important;
    }

    .bytes-section {
        padding: 50px 0;
    }

    .bytes-section-alt {
        padding: 50px 0;
    }

    .bytes-section-header {
        margin-bottom: 30px;
    }

    .bytes-section-header h2 {
        font-size: 1.4rem;
    }

    .bytes-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .bytes-grid-3 {
        gap: 16px;
    }

    .bytes-grid-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bytes-card {
        padding: 24px;
    }

    .bytes-pills {
        gap: 8px;
    }

    .bytes-pill {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .bytes-cta {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .bytes-cta h2 {
        font-size: 1.3rem;
    }

    .bytes-cta p {
        font-size: 0.9rem;
    }

    .bytes-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .bytes-cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .bytes-hero {
        padding: 130px 0 60px;
    }

    .bytes-hero-centered .bytes-hero-content {
        max-width: 100%;
    }

    .bytes-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .bytes-hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .bytes-timeline-step {
        gap: 20px;
    }

    .bytes-timeline-body h3 {
        font-size: 1.05rem;
    }

    .bytes-timeline-body p {
        font-size: 0.88rem;
    }

    .stat-card-value {
        font-size: 1.6rem;
    }

    .stat-card-label {
        font-size: 0.78rem;
    }

    .events-grid,
    .insights-grid,
    .news-grid {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .frameworks-card {
        padding: 28px 20px;
    }

    .frameworks-icon-grid {
        gap: 10px;
    }

    .framework-icon-box {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
}

/* ==========================================
   RESPONSIVE: EXTRA SMALL 480px
   ========================================== */
@media (max-width: 480px) {
    .section {
        padding: 40px 0 !important;
    }

    .section-title {
        font-size: 1.35rem !important;
    }

    .section-desc {
        font-size: 0.85rem !important;
    }

    .bytes-section {
        padding: 40px 0;
    }

    .bytes-section-alt {
        padding: 40px 0;
    }

    .bytes-section-header h2 {
        font-size: 1.25rem;
    }

    .bytes-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .bytes-grid-3 {
        grid-template-columns: 1fr !important;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .bytes-card {
        padding: 20px;
    }

    .bytes-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .bytes-card h3 {
        font-size: 1rem;
    }

    .bytes-card p {
        font-size: 0.85rem;
    }

    .bytes-hero {
        padding: 110px 0 50px;
    }

    .bytes-hero h1 {
        font-size: 1.5rem !important;
    }

    .bytes-hero p {
        font-size: 0.88rem;
    }

    .bytes-hero-badge {
        display: none !important;
    }

    .bytes-pill {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .bytes-cta {
        padding: 32px 18px;
        border-radius: 12px;
    }

    .bytes-cta h2 {
        font-size: 1.15rem;
    }

    .bytes-cta p {
        font-size: 0.85rem;
    }

    .bytes-timeline-step {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .bytes-timeline-num {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .bytes-timeline-step:not(:last-child) .bytes-timeline-num::after {
        top: 40px;
    }

    .bytes-timeline-body {
        padding-top: 0;
    }

    .bytes-timeline-body h3 {
        font-size: 1rem;
    }

    .bytes-timeline-body p {
        font-size: 0.85rem;
    }

    .bytes-timeline-body ul li {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .stat-card-value {
        font-size: 1.35rem;
    }

    .stat-card-label {
        font-size: 0.72rem;
    }
}

/* Blog page responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-header h1 {
        font-size: 1.8rem;
    }

    .blog-post-card {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        gap: 20px;
    }

    .blog-header h1 {
        font-size: 1.5rem;
    }

    .blog-header p {
        font-size: 0.9rem;
    }

    .blog-post-card {
        padding: 20px;
    }

    .blog-post-card h3 {
        font-size: 1.05rem;
    }

    .blog-post-card p {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 120px 0 40px !important;
    }

    .page-hero h1 {
        font-size: 1.8rem !important;
    }

    .blog-header h1 {
        font-size: 1.3rem;
    }

    .blog-grid {
        gap: 16px;
    }
}

/* Post page responsive */
@media (max-width: 768px) {
    .post-content {
        padding: 0 16px;
    }

    .post-content h1 {
        font-size: 1.6rem;
    }

    .post-content h2 {
        font-size: 1.3rem;
    }

    .post-content p,
    .post-content li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .post-content h1 {
        font-size: 1.4rem;
    }

    .post-content h2 {
        font-size: 1.15rem;
    }

    .post-content p,
    .post-content li {
        font-size: 0.9rem;
    }

    .post-content pre {
        font-size: 0.82rem;
        padding: 12px;
    }

    .post-content img {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .post-content h1 {
        font-size: 1.2rem;
    }

    .post-content h2 {
        font-size: 1.05rem;
    }

    .post-content p,
    .post-content li {
        font-size: 0.85rem;
    }
}

/* ==========================================
   GENERAL OVERFLOW & TEXT PROTECTION
   ========================================== */
img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

pre,
code {
    word-break: break-word;
    white-space: pre-wrap;
}

.innovation-tabs {
    flex-wrap: nowrap;
}

@media (max-width: 480px) {
    .innovation-tab {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }

    .innovation-tab i {
        display: none;
    }
}

/* Homepage floating image grid responsive */
@media (max-width: 768px) {
    .hero-section.bytes-hero .floating-image-grid {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .hero-section.bytes-hero .floating-image-grid {
        height: 240px;
    }

    .hero-mini-stats {
        gap: 16px !important;
    }

    .hero-mini-stats .num {
        font-size: 1.1rem !important;
    }

    .hero-mini-stats .lbl {
        font-size: 0.65rem !important;
    }

    .about-stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .about-stat-card {
        padding: 20px 16px;
    }

    .about-stat-number {
        font-size: 1.6rem;
    }

    .about-stat-label {
        font-size: 0.78rem;
    }

    .about-values-grid,
    .about-culture-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

/* Fix Tech Stack Tabs Responsiveness on Mobile */
@media (max-width: 768px) {
    .tech-modern-light .tech-tabs {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        gap: 6px !important;
    }

    .tech-modern-light .tech-tab {
        flex: 1 1 calc(50% - 10px) !important;
        justify-content: center !important;
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .tech-modern-light .tech-tab {
        font-size: 0.78rem !important;
        padding: 8px 6px !important;
    }
}