/* 🎨 ROOT VARIABLES */
        :root {
            --primary: #3B82F6;
            --primary-gradient: linear-gradient(135deg, #3B82F6, #06B6D4);
            --dark-bg: #0B1120;
            --dark-secondary: #0F172A;
            --text-light: #E5E7EB;
            --text-muted: #9CA3AF;
            --border-color: rgba(255, 255, 255, 0.08);

            --heading-font: 'Inter', sans-serif;
            --body-font: 'Inter', sans-serif;

            --section-padding: 6.25rem;
            --radius: 14px;
            --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
        }

        html {
            scroll-behavior: smooth;
        }

        /* 🧱 BASE STYLES */
        body {
            font-family: var(--body-font);
            background-color: var(--dark-bg);
            color: var(--text-light);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* 🧩 GLOBAL COMMON CLASSES */
        .heading-xl {
            font-family: var(--heading-font);
            font-size: 3.2rem;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        .heading-gradient {
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .text-muted-custom {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.6;
        }

        .badge-custom {
            background: rgba(59, 130, 246, 0.15);
            color: var(--primary);
            padding: 0.375rem 0.875rem;
            border-radius: 50px;
            font-size: 0.85rem;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 500;
        }

        .sub-badge {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-color);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .common-padding {
            padding: clamp(60px, 10vw, 100px) 0px;
        }

        /* BUTTONS */
        .btn-gradient {
            background: var(--primary-gradient);
            border: none;
            color: #fff;
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-gradient:hover {
            opacity: 0.9;
            transform: scale(1.02);
            color: #fff;
        }

        .btn-outline-custom {
            border: 1px solid var(--border-color);
            color: var(--text-light);
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            background: transparent;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .btn-outline-custom:hover {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-light);
            transform: scale(1.02);
        }

        /* LAYOUT HELPERS */
        .glass-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            backdrop-filter: blur(10px);
        }

        /* 🟦 NAVBAR & OFFCANVAS IMPLEMENTATION */
        .navlogo img {
            height: 50px;
            margin-left: -20px;
        }

        .navbar-custom {
            padding: clamp(8px, 2vw, 14px) 0;
            transition: all 0.3s ease;
            background: transparent;
        }

        .navbar-custom.scrolled {
            background: var(--dark-secondary);
            padding: 1rem 0;
            box-shadow: var(--shadow-soft);
        }

        .navbar-brand {
            color: #fff !important;
            font-weight: 700;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-box {
            background: var(--primary-gradient);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 6px;
            font-size: 0.85rem;
        }

        .nav-link {
            color: var(--text-light) !important;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 0.5rem 1.25rem !important;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: var(--primary) !important;
        }

        /* Navbar Toggler Fixes */
        .navbar-toggler {
            border: none;
            padding: 0.25rem 0.5rem;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        .navbar-toggler-icon {
            filter: invert(1);
        }

        /* Offcanvas Dark Styling */
        .offcanvas {
            background-color: var(--dark-secondary) !important;
        }

        .offcanvas-header {
            border-bottom: 1px solid var(--border-color);
        }

        .btn-close {
            filter: invert(1) grayscale(100%) brightness(200%);
        }

        /* 🟪 HERO SECTION & BACKGROUND */
        .hero-section {
            background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15), transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15), transparent 40%),
                var(--dark-bg);
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: clamp(85px, 10vw, 110px) !important;
        }

        .hero-image-wrapper {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            transition: transform 0.3s ease;
        }

        .hero-image-wrapper:hover {
            transform: translateY(-8px);
        }

        .hero-img {
            width: 100%;
            height: 450px;
            object-fit: cover;
            display: block;
        }

        .floating-badge {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
            font-weight: 500;
            z-index: 2;
        }

        .stars i {
            color: #F59E0B;
            font-size: 1rem;
        }

        .rating-text {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-light);
        }

        .trusted-divider {
            width: 1px;
            height: 20px;
            background-color: var(--border-color);
        }

        .trusted-text {
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        /* 📱 RESPONSIVENESS RULES */
        @media (max-width: 1199px) {
            .heading-xl {
                font-size: 2.8rem;
            }
        }

        @media (max-width: 991px) {
            .hero-section {
                text-align: center;
            }

            .hero-content {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-bottom: 0rem;
            }

            .btn-actions {
                justify-content: center;
            }

            .rating-wrapper {
                flex-direction: column;
                gap: 0.5rem !important;
            }

            .trusted-divider {
                display: none;
            }

            /* Mobile Offcanvas spacing */
            .offcanvas-body .nav-link {
                padding: 1rem 0 !important;
                border-bottom: 1px solid var(--border-color);
            }
        }

        @media (max-width: 767px) {
            .heading-xl {
                font-size: 2rem;
            }

            .btn-actions {
                width: 100%;
            }

            .btn-actions .btn {
                width: 100%;
            }

            .hero-img {
                height: 300px;
            }
        }





        /* --- FEATURES SECTION STYLES --- */
        .features-section {
            background-color: #F8FAFC;
            /* Clean light background */
            position: relative;
        }

        /* Light Badge Variant */
        .badge-custom-light {
            background: #E0F2FE;
            color: var(--primary);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            display: inline-block;
        }

        /* Feature Card */
        .feature-card {
            background: #ffffff;
            border: 1px solid #E5E7EB;
            border-radius: var(--radius);
            padding: 40px 30px;
            height: 100%;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
            border-color: transparent;
        }

        /* Icon Boxes */
        .icon-box {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            margin-bottom: 24px;
            transition: transform 0.3s ease;
        }

        .feature-card:hover .icon-box {
            transform: scale(1.1);
        }

        /* Icon Border Variants */
        .icon-orange {
            border: 2.5px solid #F59E0B;
        }

        .icon-green {
            border: 2.5px solid #10B981;
        }

        .icon-blue {
            border: 2.5px solid #3B82F6;
        }

        .icon-purple {
            border: 2.5px solid #8B5CF6;
        }

        .icon-red {
            border: 2.5px solid #EF4444;
        }

        .icon-indigo {
            border: 2.5px solid #6366F1;
        }

        /* Typography Overrides */
        .feature-title {
            color: #0F172A;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .feature-text {
            color: #64748B;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 0;
        }









        /* --- IMPROVED PRICING STYLES --- */
        .pricing-toggle {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 50px;
            display: inline-flex;
        }

        .pricing-toggle .nav-link {
            color: var(--text-muted);
            border: none;
            background: transparent;
            padding: 8px 24px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: 0.3s ease;
        }

        /* Override Bootstrap active class to match your gradient */
        .pricing-toggle .nav-link.active {
            background: var(--primary-gradient) !important;
            color: white !important;
        }

        .featured-badge {
            position: absolute;
            top: -18px;
            background: var(--primary-gradient);
            padding: 5px 14px;
            border-radius: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: fit-content;
            white-space: nowrap;
        }

        .pricing-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            padding: 40px 30px;

            /* CRITICAL: Force equal height and push button to bottom */
            height: 100%;
            display: flex;
            flex-direction: column;

            transition: all 0.3s ease;
            position: relative;
        }

        /* Ensure the button stays at the bottom regardless of content above */
        .pricing-card .btn {
            margin-top: auto;
        }

        .pricing-card.featured {
            border: 2px solid var(--primary);
            background: rgba(59, 130, 246, 0.06);
            z-index: 2;
        }

        .pricing-section .badge {
            font-size: 0.75rem;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: -24px;
        }


        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .features-section {
                text-align: center;
            }

            .icon-box {
                margin-left: auto;
                margin-right: auto;
            }

            .feature-card {
                padding: 30px 20px;
            }


        }


        /* Desktop Scale only (prevents mobile layout issues) */
        @media (min-width: 992px) {
            .pricing-card.featured {
                transform: scale(1.05);
            }

        }





        .ts-trust-sec {
            background-color: #fff;
        }


        .ts-section-subtitle {
            color: #6b7280;
            font-size: 16px;
        }

        .ts-card {
            border-radius: 16px;
            border: 1px solid #e5e7eb;
            padding: clamp(20px, 3vw, 30px);
            height: 100%;
            transition: 0.3s;
            background: #fff;
        }

        .ts-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        }

        .ts-icon-box {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            background: linear-gradient(135deg, #3b82f6, #06b6d4);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 24px;
            margin-bottom: 20px;
        }

        .ts-stat-number {
            font-size: 36px;
            font-weight: 700;
            color: #3b82f6;
        }

        .ts-stat-title {
            font-weight: 600;
            margin-top: 5px;
        }

        .ts-stat-desc {
            font-size: 14px;
            color: #6b7280;
        }





        .hm-testimonial-section {
            position: relative;
            background: radial-gradient(circle at 20% 20%, #0f172a, #020617);
            overflow: hidden;
        }

        /* Glow effects */
        .hm-testimonial-section::before {
            content: "";
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
            top: -100px;
            left: -100px;
            filter: blur(40px);
        }

        .hm-testimonial-section::after {
            content: "";
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent);
            bottom: -100px;
            right: -100px;
            filter: blur(40px);
        }

        /* Badge */
        .hm-badge {
            display: inline-block;
            padding: 6px 16px;
            border-radius: 50px;
            background: rgba(59, 130, 246, 0.15);
            color: #38bdf8;
            font-size: 13px;
            letter-spacing: 1px;
        }


        /* Subtitle */
        .hm-sub-title {
            color: #94a3b8;
            margin-top: 10px;
        }

        /* Card */
        .hm-testimonial-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 18px;
            padding: 28px;
            position: relative;
            height: 100%;
            backdrop-filter: blur(12px);
            transition: all 0.3s ease;
        }

        .hm-testimonial-card:hover {
            transform: translateY(-6px);
            border-color: rgba(59, 130, 246, 0.6);
        }

        /* Stars */
        .hm-stars {
            color: #facc15;
            font-size: 14px;
        }

        /* Quote */
        .hm-quote {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 45px;
            color: rgba(255, 255, 255, 0.08);
        }

        /* Text */
        .hm-testimonial-text {
            color: #cbd5f5;
            margin-top: 15px;
            font-size: 15px;
            line-height: 1.6;
        }

        /* User */
        .hm-user-box {
            display: flex;
            align-items: center;
            margin-top: 25px;
        }

        .hm-user-box img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            margin-right: 12px;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        .hm-user-name {
            color: #fff;
            font-weight: 600;
        }

        .hm-user-role {
            color: #94a3b8;
            font-size: 13px;
        }



        /* --- CONTACT SECTION STYLES --- */
        .contact-section {
            background: #F8FAFC;
        }

        .contact-icon {
            width: 45px;
            height: 45px;
            border-radius: 10px;
            background: rgba(59, 130, 246, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .live-chat-box {
            background: rgba(59, 130, 246, 0.06);
            border: 1px solid rgba(59, 130, 246, 0.15);
            border-radius: var(--radius);
            padding: 20px;
        }

        /* Custom Form Inputs */
        .form-control-custom {
            border-radius: 10px;
            border: 1px solid #E5E7EB;
            padding: 14px 16px;
            font-size: 0.95rem;
            background-color: #fff;
            transition: all 0.3s ease;
        }

        .form-control-custom::placeholder {
            color: #9CA3AF;
        }

        .form-control-custom:focus {
            border-color: #3B82F6;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
            outline: none;
        }

        /* --- FOOTER SECTION STYLES --- */
        .footerlogo img {
            margin-left: -50px;
            height: 60px;
        }

        .footer-section {
            background: var(--dark-bg);
            padding-top: 80px;
        }

        .footer-link {
            color: var(--text-muted);
            text-decoration: none;
            display: inline-block;
            margin-bottom: 12px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .footer-link:hover {
            color: #fff;
            transform: translateX(4px);
            /* Slight bump effect on hover */
        }

        .footer-divider {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            margin: 30px 0;
        }

        .social-icon {
            width: 38px;
            height: 38px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 8px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-3px);
        }

        /* Responsive alignment fixes */
        @media (max-width: 768px) {
            .contact-info {
                margin-bottom: 40px;
            }

            .social-icon {
                margin: 0 6px;
            }
        }


        /* --- iOS Safari Touch Fix --- */
        .offcanvas-body .nav-link,
        .offcanvas-body .nav-item,
        .offcanvas-body .btn {
            cursor: pointer;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .nav-link {
            cursor: pointer;
            touch-action: manipulation;
            /* Removes the 300ms tap delay on iOS */
        }

        /* Force links to be clickable and responsive */
        .offcanvas-body .nav-link {
            position: relative;
            z-index: 1051;
            /* Sits above the offcanvas body */
            display: block;
            width: 100%;
            cursor: pointer;
            touch-action: manipulation;
        }

        /* Smooth scroll so it doesn't just 'snap' */
        html {
            scroll-behavior: smooth;
        }

        /* Offset so the fixed navbar doesn't cover the section title */
        section {
            scroll-margin-top: 80px;
        }

        /* Ensure the offcanvas body doesn't swallow clicks */
        .offcanvas-body {
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* Make sure the links are the top-most layer */
        .nav-link {
            position: relative;
            z-index: 10;
            padding: 15px 0;
            /* Larger hit area for fingers */
            display: block;
        }

        /* This is a magic fix for Bootstrap Offcanvas on mobile */
        .offcanvas.show {
            pointer-events: auto !important;
        }



        /* --- SIMPLE NAVBAR STYLES --- */

        .navbar-custom {
            padding: clamp(8px, 2vw, 15px) 0;
            transition: all 0.3s ease;
            background: transparent;
        }

        /* Background color when menu is expanded on mobile or scrolled */
        @media (max-width: 991px) {
            .navbar-collapse {
                background: var(--dark-secondary);
                padding: 20px;
                border-radius: 12px;
                margin-top: 15px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            }
        }

        .navbar-custom.scrolled {
            background: var(--dark-secondary);
            box-shadow: var(--shadow-soft);
        }

        .nav-link {
            cursor: pointer;
            touch-action: manipulation;
        }

        /* Ensure smooth scrolling globally */
        html {
            scroll-behavior: smooth;
        }

        /* Stop the header from covering section titles */
        section {
            scroll-margin-top: 80px;
        }