
        :root {
            --primary: #0a192f;
            --primary-light: #112240;
            --accent: #00d4ff;
            --accent-glow: rgba(0, 212, 255, 0.4);
            --text-light: #ccd6f6;
            --text-dark: #112240;
            --text-muted: #555555;
            --white: #ffffff;
            --gray: #f4f7f6;
            --border-light: #eeeeee;
            --gradient-2: linear-gradient(135deg, #00d4ff 0%, #0077ff 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--white);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            color: var(--primary);
        }

        .container {
            width: 85%;
            max-width: 1200px;
            margin: auto;
        }

        section {
            padding: 100px 0;
            position: relative;
        }

        /* Reusable UI Components */
        .section-tag {
            color: var(--accent);
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 15px;
            display: inline-block;
            font-size: 0.85rem;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .btn {
            display: inline-block;
            padding: 15px 30px;
            border-radius: 4px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
        }

        .btn-primary {
            background: var(--gradient-2);
            color: white !important;
            box-shadow: 0 4px 15px var(--accent-glow);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 119, 255, 0.6);
        }

        .btn-outline {
            border: 2px solid var(--accent);
            color: var(--accent);
            background: transparent;
        }

        .btn-outline:hover {
            background: rgba(0, 212, 255, 0.1);
            transform: translateY(-2px);
        }

        /* Header */
        .navbar {
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            padding: 15px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }

        .navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 1.5rem;
            letter-spacing: 1px;
            color: var(--primary);
            text-decoration: none;
            z-index: 1001;
        }

        .logo span { color: var(--accent); }

        .nav-links {
            display: flex;
            list-style: none;
            align-items: center;
        }

        .nav-links li { margin-left: 30px; }
        .nav-links li a { 
            text-decoration: none; 
            color: var(--primary); 
            font-weight: 600; 
            transition: 0.3s; 
            font-family: 'Outfit', sans-serif;
        }
        .nav-links li a:hover { color: var(--accent); }

        .hamburger {
            display: none;
            cursor: pointer;
            z-index: 1001;
        }

        .hamburger .line {
            width: 25px;
            height: 2px;
            background-color: var(--primary);
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80') center/cover;
            padding-top: 120px;
            padding-bottom: 60px;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            line-height: 1.1;
            margin-bottom: 25px;
            color: var(--white);
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--text-light);
            margin-bottom: 40px;
            max-width: 600px;
        }

        .hero-btns {
            display: flex;
            gap: 20px;
        }

        /* Trusted Partners */
        .partners {
            padding: 40px 0;
            background: var(--white);
            border-bottom: 1px solid var(--border-light);
        }

        .partners p {
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .partner-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            flex-wrap: wrap;
            opacity: 0.7;
        }

        .partner-logos i {
            font-size: 2.5rem;
            color: var(--text-muted);
            transition: 0.3s;
        }

        .partner-logos i:hover {
            color: var(--primary);
            opacity: 1;
        }

        /* Interactive Split-Card */
        .split-card-sec {
            background: var(--gray);
        }

        .split-card {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .split-content {
            flex: 1;
        }

        .split-image {
            flex: 1;
            position: relative;
        }

        .split-image img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            transition: transform 0.5s ease;
        }

        .split-image::after {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            width: 100%;
            height: 100%;
            border: 2px solid var(--accent);
            border-radius: 8px;
            z-index: -1;
            transition: all 0.5s ease;
        }

        .split-card:hover .split-image img {
            transform: translate(-10px, -10px);
        }
        
        .split-card:hover .split-image::after {
            transform: translate(10px, 10px);
        }

        .resilience-quote {
            margin-top: 40px;
            font-style: italic;
            font-size: 1.2rem;
            color: var(--primary);
            border-left: 5px solid var(--accent);
            padding-left: 20px;
            display: inline-block;
        }

        /* Solutions Grid */
        .solutions {
            background: var(--white);
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .card {
            padding: 40px;
            background: var(--white);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            transition: 0.4s;
        }

        .card:hover {
            transform: translateY(-10px);
            border-color: var(--accent);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .card i {
            font-size: 2.5rem;
            color: var(--accent);
            margin-bottom: 20px;
            display: inline-block;
            transition: transform 0.3s;
        }

        .card:hover i {
            transform: scale(1.1);
        }

        .card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .card p {
            color: var(--text-muted);
        }

        /* Infrastructure / Security */
        .infrastructure {
            text-align: center;
            background: var(--gray);
        }

        .infra-grid {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-top: 50px;
            flex-wrap: wrap;
        }

        .infra-item {
            flex: 1;
            min-width: min(100%, 250px);
            padding: 30px;
            background: var(--white);
            border-radius: 8px;
            border: 1px solid var(--border-light);
            transition: 0.3s;
        }

        .infra-item:hover {
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }

        .infra-item i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        /* Blog / Insights */
        .blog {
            background: var(--white);
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .blog-card {
            background: var(--white);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border-light);
            transition: 0.3s;
        }

        .blog-card:hover {
            border-color: var(--accent);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .blog-img {
            height: 200px;
            background-color: var(--gray);
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .blog-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--accent);
            color: var(--primary);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .blog-content {
            padding: 25px;
        }

        .blog-content h4 {
            margin-bottom: 10px;
            font-size: 1.25rem;
        }

        .blog-content p {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .read-more {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
        }

        .read-more i {
            margin-left: 5px;
            transition: 0.3s;
        }

        .read-more:hover i {
            transform: translateX(5px);
        }

        /* CTA Section */
        .cta {
            background: var(--primary);
            color: var(--white);
            text-align: center;
            padding: 100px 0;
        }

        .cta h2 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--white);
        }

        .cta p {
            color: var(--text-light);
            font-size: 1.2rem;
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: white;
            padding: 80px 0 20px;
        }

        .footer-grid {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
            border-bottom: 1px solid #233554;
            padding-bottom: 40px;
        }

        .footer-info {
            max-width: 300px;
        }

        .footer-info .logo {
            color: white;
        }

        .footer-info p {
            color: #8892b0;
            margin-top: 15px;
        }

        .footer-links h4 {
            margin-bottom: 20px;
            font-family: 'Outfit', sans-serif;
            color: var(--white);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links ul li {
            margin-bottom: 10px;
        }

        .footer-links ul li a {
            color: #8892b0;
            text-decoration: none;
            transition: 0.3s;
        }

        .footer-links ul li a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            color: #8892b0;
            font-size: 0.9rem;
        }

        .final-quote {
            margin-top: 10px;
            font-style: italic;
        }

        /* Chat Widget */
        .chat-widget {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 9999;
            font-family: 'Inter', sans-serif;
        }

        .chat-button {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--gradient-2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            position: relative;
        }

        .chat-button:hover {
            transform: scale(1.05);
        }

        .chat-notification {
            position: absolute;
            top: 0;
            right: 0;
            width: 15px;
            height: 15px;
            background: #ff3b30;
            border-radius: 50%;
            border: 2px solid var(--white);
            display: none;
        }

        .chat-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 350px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            border: 1px solid var(--border-light);
            overflow: hidden;
            display: none;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .chat-window.active {
            display: flex;
            flex-direction: column;
            opacity: 1;
            transform: translateY(0);
        }

        .chat-header {
            background: var(--primary);
            color: var(--white);
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .chat-header h4 {
            font-size: 1rem;
            margin: 0;
            color: var(--white);
        }

        .close-chat {
            color: var(--text-light);
            cursor: pointer;
            transition: 0.3s;
        }
        .close-chat:hover { color: var(--white); }

        .chat-body {
            height: 300px;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .chat-message {
            max-width: 80%;
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .msg-bot {
            background: var(--gray);
            color: var(--text-dark);
            align-self: flex-start;
            border-bottom-left-radius: 0;
        }

        .msg-user {
            background: var(--gradient-2);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 0;
            display: none;
        }

        .chat-input {
            padding: 15px;
            border-top: 1px solid var(--border-light);
            display: flex;
            background: var(--white);
        }

        .chat-input input {
            flex: 1;
            background: var(--gray);
            border: 1px solid var(--border-light);
            padding: 10px 15px;
            border-radius: 20px;
            color: var(--text-dark);
            outline: none;
            font-family: 'Inter', sans-serif;
        }

        .chat-input input::placeholder {
            color: var(--text-muted);
        }

        .chat-input button {
            background: transparent;
            border: none;
            color: var(--accent);
            font-size: 1.2rem;
            margin-left: 10px;
            cursor: pointer;
            transition: 0.3s;
        }

        .chat-input button:hover {
            color: var(--primary);
        }

        /* Responsive Media Queries */
        @media (max-width: 992px) {
            .split-card {
                flex-direction: column;
            }
            .hero h1 { font-size: 3rem; }
        }

        @media (max-width: 768px) {
            section { padding: 60px 0; }
            .navbar .container { position: relative; }
            .nav-links {
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--white);
                flex-direction: column;
                padding: 20px 0;
                box-shadow: 0 10px 20px rgba(0,0,0,0.05);
                display: none;
                border-top: 1px solid var(--border-light);
            }
            .nav-links.active { display: flex; }
            .nav-links li { margin: 15px 0; text-align: center; width: 100%; }
            .hamburger { display: block; }
            .hamburger.active .line:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
            .hamburger.active .line:nth-child(2) { opacity: 0; }
            .hamburger.active .line:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
            
            .hero h1 { font-size: 2.5rem; }
            .hero-btns { flex-direction: column; }
            .btn { width: 100%; text-align: center; margin-bottom: 10px; }
            
            .chat-window {
                width: calc(100vw - 40px);
                max-width: 350px;
                right: -10px;
            }
        }
    

    
/* KEEP EVERYTHING YOU ALREADY HAVE ABOVE... then ADD/REPLACE WITH THIS */

/* Improved Container Responsiveness */
.container {
    width: 90%;
    max-width: 1200px;
}

/* Better spacing on smaller devices */
section {
    padding: 80px 0;
}

/* Hero Improvements */
.hero {
    padding-left: 15px;
    padding-right: 15px;
}

.hero-content {
    width: 100%;
}

/* Buttons wrap nicely */
.hero-btns {
    flex-wrap: wrap;
}

/* Split Card Responsive Improvements */
.split-card {
    align-items: center;
}

.split-image img {
    height: auto;
}

/* Blog images scale better */
.blog-img {
    width: 100%;
}

/* Footer stacking fix */
.footer-grid > div {
    flex: 1 1 200px;
}

/* Chat widget safe spacing */
.chat-widget {
    right: 15px;
    bottom: 15px;
}

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    section {
        padding: 60px 0;
    }

    /* Navbar */
    .navbar {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero {
        text-align: left;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Split Section */
    .split-card {
        flex-direction: column;
        gap: 30px;
    }

    .split-content {
        text-align: left;
    }

    /* Grid spacing */
    .grid {
        gap: 20px;
    }

    .card {
        padding: 25px;
    }

    /* Infra items */
    .infra-grid {
        gap: 20px;
    }

    /* Blog */
    .blog-grid {
        gap: 20px;
    }

    /* CTA */
    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        text-align: left;
    }

    /* Chat */
    .chat-window {
        width: calc(100vw - 30px);
        right: 0;
        bottom: 70px;
    }
}

/* ===== SMALL PHONES (480px and below) ===== */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card {
        padding: 20px;
    }

    .infra-item {
        padding: 20px;
    }

    .chat-button {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* ===== LARGE TABLETS (992px and below) ===== */
@media (max-width: 992px) {

    .split-card {
        flex-direction: column;
        text-align: left;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .infra-grid {
        justify-content: center;
    }
}


/* ===== FIX HORIZONTAL OVERFLOW (SIDE SCROLL) ===== */

/* Force no sideways scroll */
html, body {
    width: 100%;
    overflow-x: hidden;
}

/* Prevent any element from exceeding screen width */
* {
    max-width: 100%;
}

/* Fix container edge overflow */
.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix hero section overflow */
.hero {
    overflow: hidden;
}

/* Fix split image overflow */
.split-image {
    width: 100%;
    overflow: hidden;
}

/* Fix grids pushing out */
.grid, .blog-grid {
    width: 100%;
}

/* Fix chat widget causing overflow */
.chat-window {
    max-width: 100%;
    right: 10px;
}

/* Fix nav menu overflow on mobile */
.nav-links {
    width: 100%;
    left: 0;
}

/* Prevent long text or elements from stretching layout */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}



/* ===== HERO TEXT PERFECT SCALING ===== */
.hero h1 {
    font-size: clamp(2rem, 6vw, 4.2rem);
    line-height: 1.2;
    word-break: break-word;
}

/* Better paragraph scaling */
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

/* ===== CHAT BOX PERFECT MOBILE FIX ===== */
.chat-widget {
    right: 15px;
    bottom: 15px;
}

/* Desktop stays same */
.chat-window {
    max-width: 350px;
}

/* MOBILE CHAT FIX */
@media (max-width: 768px) {

    .chat-window {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        bottom: 80px;
        width: 95%;
        max-width: 400px;
        border-radius: 12px;
    }

    .chat-body {
        height: 250px;
    }
}

/* SMALL PHONE CHAT */
@media (max-width: 480px) {

    .chat-window {
        width: 94%;
        bottom: 75px;
    }

    .chat-body {
        height: 220px;
    }
}

/* ===== EXTRA: PREVENT TEXT OVERFLOW ===== */
.hero-content {
    width: 100%;
    max-width: 100%;
}

/* Ensure no weird stretching */
h1, h2, h3 {
    word-wrap: break-word;
}


/* ===== FORCE CHAT TO CENTER PROPERLY ON MOBILE ===== */
@media (max-width: 768px) {

    .chat-widget {
        right: 0 !important;
        left: 0 !important;
        display: flex;
        justify-content: center;
        pointer-events: none; /* allows button to still work properly */
    }

    .chat-window {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 94% !important;
        max-width: 400px !important;
        bottom: 80px;
        margin: 0 auto;
        pointer-events: auto;
    }

    .chat-button {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }
}

/* SMALL PHONES */
@media (max-width: 480px) {
    .chat-window {
        width: 95% !important;
        bottom: 75px;
    }
}
