/* Premium White & Red Theme — TechnoSense */

:root {
    /* Brand palette */
    --primary-red: #C8102E;
    --primary-red-dark: #8B0A1F;
    --primary-red-light: #E8364F;
    --primary-red-soft: #FFF5F5;
    --primary-red-muted: #FEE2E2;

    /* Legacy aliases (used across existing rules) */
    --primary-blue: var(--primary-red);
    --primary-blue-dark: #111827;
    --primary-blue-light: var(--primary-red);
    --accent-purple: var(--primary-red-dark);
    --accent-cyan: var(--primary-red);

    /* Typography on light surfaces */
    --text-white: #111827;
    --text-light: #4B5563;
    --text-gray: #6B7280;
    --text-on-primary: #FFFFFF;

    /* Surfaces */
    --bg-dark: #FFFFFF;
    --bg-dark-light: #F9FAFB;
    --bg-section-alt: #FFF5F5;

    /* Gradients & elevation */
    --gradient-primary: linear-gradient(135deg, #B30E29 0%, #C8102E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,245,245,0.88) 100%);
    --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    --shadow-premium: 0 4px 24px rgba(200, 16, 46, 0.08);
    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
    --border-red-subtle: rgba(200, 16, 46, 0.14);
    --border-light: #E5E7EB;

    /* Porto theme skin overrides */
    --primary: #C8102E;
    --primary-100: #B30E29;
    --primary-200: #A00C24;
    --primary--100: #D41835;
    --primary--200: #E8364F;
    --secondary: #8B0A1F;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
    padding-top: 0;
    -webkit-font-smoothing: antialiased;
}

.body {
    padding-top: 0; /* Ensure no padding that would conflict with fixed navbar */
}

/* ============================================
   MODERN NAVBAR - COMPLETE REDESIGN
   ============================================ */

.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(232, 235, 239, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-light), 0 4px 24px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--border-red-subtle);
    width: 100%;
}

/* Top Bar */
.navbar-top {
    background: rgba(10, 14, 39, 0.25);
    backdrop-filter: blur(8px);
    padding: 8px 0;
}

.navbar-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-contact {
    display: flex;
    gap: 25px;
    align-items: center;
}

.navbar-contact a {
    color: var(--text-light);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-contact a i {
    color: var(--primary-blue-light);
    font-size: 12px;
}

.navbar-contact a:hover {
    color: var(--accent-cyan);
}

.navbar-social {
    display: flex;
    gap: 10px;
}

.navbar-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.2);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.navbar-social a:hover {
    background: var(--primary-blue-light);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Main Navbar */
.navbar-main {
    padding: 15px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.navbar-logo {
      flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    overflow: visible;
    margin-right: 60px;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0;
}

.navbar-logo a:hover {
    transform: scale(1.05);
}

.logo-img {
    max-height: 112px;
    width: auto;
    display: block;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
    mix-blend-mode: normal;
    transform: none;
    filter: none;
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3px;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
}

.navbar-menu li {
    position: relative;
    flex-shrink: 0;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 14px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    border-bottom: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary-red);
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    background: var(--primary-red-soft);
    text-decoration: none;
    border-bottom: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
    text-decoration: none;
    border-bottom: none;
}

.nav-link:hover i,
.nav-link.active i {
    text-decoration: none;
    border-bottom: none;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

/* Hide dropdowns on mobile when menu is closed - Important override */
@media (max-width: 991px) {
    /* Ensure dropdowns are hidden when mobile menu is closed */
    .navbar-menu:not(.active) .nav-dropdown > .dropdown-menu,
    .navbar-menu:not(.active) .dropdown-submenu > .submenu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Also hide dropdowns that might be outside navbar-menu */
    .modern-navbar .dropdown-menu:not(.navbar-menu .dropdown-menu),
    .modern-navbar .submenu:not(.navbar-menu .submenu) {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Disable desktop hover effects on mobile */
    .nav-dropdown:hover > .dropdown-menu:not(.navbar-menu.active .dropdown-menu) {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
}

.nav-dropdown > .nav-link {
    padding-right: 30px;
}

.nav-dropdown > .nav-link::after {
    left: calc(50% - 15px);
    transform: translateX(-50%) scaleX(0);
    width: 60%;
}

.nav-dropdown > .nav-link:hover::after,
.nav-dropdown > .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 0;
    margin-top: 15px;
    min-width: 280px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    display: block;
}

/* Mobile: Override desktop dropdown styles completely */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        margin-top: 0 !important;
        min-width: auto !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        transform: none !important;
    }
}

.nav-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Disable hover effects on mobile/tablet */
/* Removed hover-only behavior for mobile - now using click-based toggle */

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #FFFFFF;
}

.dropdown-item {
    color: var(--text-light);
    padding: 12px 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.dropdown-item:hover {
    background: var(--primary-red-soft);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    padding-left: 30px;
}

.dropdown-item.active {
    background: var(--primary-red-soft);
    color: var(--primary-red);
    border-left-color: var(--primary-red);
    font-weight: 600;
}

.dropdown-item i {
    font-size: 11px;
    color: var(--text-gray);
}

.dropdown-item:hover i {
    color: var(--primary-red);
}

/* Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 8px;
    background: var(--bg-dark-light);
    border: 1px solid rgba(200, 16, 46, 0.3);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 240px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    display: none; /* Base state - hidden by default */
}

/* Mobile-friendly click-based submenu toggle */
.submenu.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Desktop hover - keep for desktop only */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .submenu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

/* Mobile-friendly click-based submenu toggle */
.submenu {
    display: none;
}

.submenu.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.submenu li a {
    color: var(--text-light);
    padding: 10px 25px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu li a:hover {
    background: rgba(200, 16, 46, 0.15);
    color: var(--accent-cyan);
    border-left-color: var(--accent-cyan);
    padding-left: 30px;
}

.submenu li a.active {
    background: rgba(200, 16, 46, 0.2);
    color: var(--accent-cyan);
    border-left-color: var(--accent-cyan);
    font-weight: 600;
}

/* CTA Button */
.navbar-cta {
    flex-shrink: 0;
}

.btn-nav-cta {
    background: var(--gradient-primary);
    color: var(--text-on-primary);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(200, 16, 46, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.35);
    background: var(--primary-red-dark);
    color: var(--text-on-primary);
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-top {
        display: none;
    }
    
    .navbar-cta {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
    }
    
    .navbar-menu.active {
        max-height: 90vh;
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-menu li {
        border-bottom: 1px solid rgba(200, 16, 46, 0.1);
    }
    
    .navbar-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-radius: 0;
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Hide ALL dropdown menus when mobile menu is closed - Critical fix */
    .navbar-menu:not(.active) .dropdown-menu,
    .navbar-menu:not(.active) .submenu,
    .navbar-menu:not(.active) .nav-dropdown.active > .dropdown-menu,
    .navbar-menu:not(.active) .dropdown-submenu.active > .submenu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: 20px;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(200, 16, 46, 0.3);
        border-radius: 0;
        display: none;
        background: rgba(30, 41, 59, 0.5);
        padding: 10px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown.active > .dropdown-menu {
        display: block;
        max-height: 500px;
    }
    
    .submenu {
        position: static !important;
        margin-left: 20px;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: rgba(30, 41, 59, 0.3);
        padding: 8px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    /* Mobile-friendly click-based submenu toggle */
    .submenu.open {
        display: block !important;
        max-height: 500px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Keep active class support for backward compatibility */
    .dropdown-submenu.active > .submenu {
        display: block;
        max-height: 500px;
    }
    
    /* Ensure .open class takes precedence */
    .dropdown-submenu.active > .submenu.open {
        display: block !important;
        max-height: 500px !important;
    }
    
    .logo-img {
        max-height: 48px;
        margin: 0;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    .navbar-main {
        padding: 8px 0;
        min-height: 64px;
        align-items: center;
    }

    .navbar-logo {
        height: 48px;
        overflow: hidden;
        margin-right: 0;
    }

    .navbar-logo a {
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .navbar-menu {
        top: 64px;
    }
}

@media (max-width: 768px) {
    .navbar-main {
        padding: 10px 0;
    }
    
    .navbar-menu {
        top: 60px;
        padding: 15px;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .dropdown-menu {
        margin-left: 15px;
        padding: 8px 0;
    }
    
    .dropdown-item {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .submenu {
        margin-left: 15px;
        padding: 6px 0;
    }
    
    .submenu li a {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .logo-img {
        max-height: 44px;
        margin: 0;
    }
    
    .navbar-toggle {
        width: 40px;
        height: 40px;
        align-self: center;
    }
    
    .navbar-toggle span {
        width: 22px;
        height: 2.5px;
    }
}

@media (max-width: 480px) {
    .navbar-menu {
        top: 55px;
        padding: 12px;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .dropdown-menu {
        margin-left: 12px;
    }
    
    .dropdown-item {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .submenu li a {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .logo-img {
        max-height: 30px;
    }
}

/* Hero Section - Premium Red */
.cyberguard-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #0a0204 0%, #1a0509 28%, #4a0818 62%, #8B0A1F 100%);
    padding: 160px 0 100px;
    overflow: hidden;
    margin-top: -80px;
    z-index: 1;
}

.cyberguard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/hero.webp') center/cover;
    opacity: 0.18;
    z-index: 1;
    mix-blend-mode: luminosity;
}

.cyberguard-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 16, 46, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(232, 54, 79, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(10, 2, 4, 0.2) 0%, rgba(10, 2, 4, 0.55) 100%);
    z-index: 2;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 75%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 2;
}

.hero-glow--1 {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -80px;
    background: rgba(200, 16, 46, 0.45);
}

.hero-glow--2 {
    width: 360px;
    height: 360px;
    bottom: -60px;
    left: -60px;
    background: rgba(139, 10, 31, 0.5);
}

.hero-bottom-fade {
    display: none !important;
}

.hero-content-wrapper {
    position: relative;
    z-index: 5;
    color: #FFFFFF;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    margin-bottom: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E8364F;
    box-shadow: 0 0 12px rgba(232, 54, 79, 0.9);
    animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title-container {
    margin-bottom: 28px;
    min-height: auto;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0;
    color: #FFFFFF;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
    letter-spacing: -0.02em;
}

.hero-title-accent {
    display: block;
    margin-top: 8px;
    background: linear-gradient(90deg, #FFFFFF 0%, #FECACA 45%, #FCA5A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-container {
    margin-bottom: 40px;
    min-height: clamp(90px, 12vw, 130px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.85;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    max-width: 720px;
}

.hero-buttons-container {
    margin-top: 0;
    margin-bottom: 48px;
    min-height: auto;
}

.hero-trust-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 18px 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
    min-width: 90px;
}

.hero-trust-item strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero-trust-item span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.hero-trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* Typewriter Effect */
.typewriter-text {
    margin: 0 auto;
    max-width: 720px;
}

.cyberguard-hero .btn-cyberguard {
    padding: 17px 36px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 32px rgba(200, 16, 46, 0.45);
}

.cyberguard-hero .btn-cyberguard:hover {
    box-shadow: 0 16px 40px rgba(200, 16, 46, 0.55);
    transform: translateY(-3px);
}

.cyberguard-hero .btn-cyberguard-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
}

.cyberguard-hero .btn-cyberguard-outline:hover {
    background: #FFFFFF;
    color: var(--primary-red);
    border-color: #FFFFFF;
}

.btn-cyberguard {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-on-primary);
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.28);
}

.btn-cyberguard:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(200, 16, 46, 0.38);
    color: var(--text-on-primary);
    background: var(--primary-red-dark);
}

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

.btn-cyberguard-outline:hover {
    background: var(--primary-red);
    color: var(--text-on-primary);
}

/* Trust Badges Section */
.trust-badges {
    background: var(--bg-dark-light);
    padding: 40px 0;
    border-top: 1px solid rgba(200, 16, 46, 0.2);
    border-bottom: 1px solid rgba(200, 16, 46, 0.2);
}

.badge-item {
    text-align: center;
    padding: 20px;
}

.badge-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.3);
}

.badge-text {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    background: #F9FAFB;
    padding: 48px 0 56px;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

.cta-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

/* Responsive CTA Section */
@media (max-width: 991px) {
    .cta-section {
        padding: 30px 0;
    }
    
    .cta-text {
        font-size: 20px;
        margin-bottom: 15px !important;
    }
    
    .cta-section .btn-cyberguard {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 576px) {
    .cta-text {
        font-size: 18px;
    }
}

/* Services Section */
.services-section {
    background: var(--bg-dark);
    padding: 50px 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(200, 16, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 16, 46, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-red-soft);
    color: var(--primary-red);
    border: 1px solid var(--border-red-subtle);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.3;
    display: block;
    text-align: center;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Carousel */
.services-carousel-wrapper {
    position: relative;
    padding: 0 45px;
}
    
/* Pagination Dots - Hidden on Desktop */
.carousel-dots {
    display: none;
}

.services-carousel-container {
    overflow: hidden;
    position: relative;
    padding: 15px 0;
    margin: 0 5px;
}

.services-carousel {
    display: flex;
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Mobile: Disable transform, use native scroll */
@media (max-width: 991px) {
    .services-carousel {
        transform: none !important;
        transition: none;
    }
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(200, 16, 46, 0.2);
    border: 2px solid rgba(200, 16, 46, 0.4);
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-nav-btn:hover {
    background: rgba(200, 16, 46, 0.4);
    border-color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(200, 16, 46, 0.4);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn:disabled:hover {
    transform: translateY(-50%);
    background: rgba(200, 16, 46, 0.2);
}

/* Service Cards */
.service-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 30px 25px;
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(200, 16, 46, 0.12);
    border-color: var(--border-red-subtle);
}

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

.service-icon {
    width: 65px;
    height: 65px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--text-on-primary);
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.22);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 14px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-list li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 13.5px;
}

.service-list li i {
    color: var(--primary-blue-light);
    margin-right: 10px;
    font-size: 12px;
}

.service-link {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 10px;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-red-dark);
    text-decoration: none !important;
}

/* About Section */
.about-section {
    background: #000000;
    padding: 80px 0;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.about-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

/* Video Responsive Styles */
@media (max-width: 991px) {
    .about-video-bg {
        opacity: 0.6;
    }
}

@media (max-width: 767px) {
    .about-video-bg {
        opacity: 0.5;
        object-position: center;
    }
    
    /* Ensure videos don't cause horizontal scroll */
    video {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .about-video-bg,
    .experience-section .about-image,
    .skills-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Prevent video from causing layout issues */
    .about-section,
    .experience-section .video-wrapper,
    .skills-video-wrapper {
        position: relative;
        overflow: hidden;
    }
    
    /* Ensure video containers don't overflow */
    .about-section .container,
    .experience-section .container,
    .skills-section .container {
        position: relative;
        z-index: 2;
    }
}

.about-map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 15px;
    z-index: 1;
}

.about-section .row {
    position: relative;
    min-height: 600px;
}

.about-section .about-content {
    position: relative;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

.about-content .btn-cyberguard {
    margin-bottom: 20px;
}


/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1920&q=80') center/cover;
    opacity: 0.1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--text-on-primary);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Experience Section */
.experience-section {
    background: #000000;
    padding: 100px 0;
}

.experience-section .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 15px;
}

.experience-section .about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.experience-section .col-lg-6 {
    position: relative;
}

.experience-section .about-content {
    position: relative;
    z-index: 1;
    padding-left: 30px;
}

@media (max-width: 991px) {
    .experience-section .video-wrapper {
        min-height: 400px;
    }
    
    .experience-section .about-content {
        padding-left: 0;
        padding-top: 30px;
    }
}

/* Process Section */
.process-section {
    background: var(--bg-dark-light);
    padding: 60px 0;
}

.process-item {
    text-align: center;
    padding: 0;
    height: 100%;
    background: var(--gradient-card);
    border-radius: 20px;
    border: 1px solid rgba(200, 16, 46, 0.2);
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(200, 16, 46, 0.4);
    border-color: var(--primary-blue-light);
}

.process-item:hover::before {
    transform: scaleX(1);
}

.process-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.4);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.process-item:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(200, 16, 46, 0.6);
}

.process-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.process-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.process-list li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 28px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(200, 16, 46, 0.1);
}

.process-list li:last-child {
    border-bottom: none;
}

.process-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary-blue-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.process-item:hover .process-list li::before {
    color: var(--accent-cyan);
    transform: scale(1.2);
}

.process-item:hover .process-list li {
    color: var(--text-white);
    padding-left: 32px;
}

/* Rolling Text Effect */
.roller {
    height: 4.125rem;
    line-height: 3.95rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    color: var(--accent-cyan);
    width: 540px;
    text-align: left;
}

.roller #rolltext {
    position: absolute;
    top: 0;
    left: 0;
    animation: slide 5s infinite;
    text-align: left;
    white-space: normal;
}

.roller #rolltext br {
    display: block;
}

@keyframes slide {
    0% {
        top: 0;
    }
    25% {
        top: -4rem;
    }
    50% {
        top: -8rem;
    }
    75% {
        top: -12rem;
    }
    100% {
        top: 0;
    }
}

@media screen and (max-width: 600px) {
    .roller {
        height: 2.6rem;
        line-height: 2.125rem;
        width: 280px;
    }

    .roller #rolltext {
        animation: slide-mob 5s infinite;
    }

    @keyframes slide-mob {
        0% {
            top: 0;
        }
        25% {
            top: -2.125rem;
        }
        50% {
            top: -4.25rem;
        }
        75% {
            top: -6.375rem;
        }
        100% {
            top: 0;
        }
    }
}

/* Skills Section */
.skills-section {
    background: #000000;
    padding: 100px 0;
}

.skills-content {
    padding-right: 30px;
}

.skills-content h2 {
    color: #ffffff;
}

.skills-video-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: var(--bg-dark-light);
}

.skills-video {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.skill-item {
    margin-bottom: 30px;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-white);
    font-weight: 600;
}

.skill-progress {
    height: 10px;
    background: var(--bg-dark-light);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 2s ease-out;
    width: 0%;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-dark-light);
    padding: 100px 0;
    margin-bottom: 0;
}

/* ============================================
   PARTNERS SECTION (TRENDY / PREMIUM)
   ============================================ */
.partners-section {
    position: relative;
    background: var(--bg-dark-light);
    padding: 95px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    isolation: isolate;
}

.partners-section::before {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(circle at 12% 35%, rgba(200, 16, 46, 0.06) 0%, transparent 48%),
        radial-gradient(circle at 80% 18%, rgba(200, 16, 46, 0.08) 0%, transparent 56%);
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.partners-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(249, 250, 251, 0) 0%, rgba(249, 250, 251, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
}

.partners-header {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    text-align: center;
}

.partners-title {
    margin: 0;
    /* keep consistent with .section-title */
}

.partners-subtitle {
    margin: 0;
    /* keep consistent with .section-description */
    margin-left: auto;
    margin-right: auto;
}

/* Marquee shell with edge fade */
.partners-marquee {
    position: relative;
    z-index: 2;
    border-radius: 18px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    height: 112px;
    display: flex;
    align-items: center;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(249, 250, 251, 1) 0%, rgba(249, 250, 251, 0) 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(249, 250, 251, 1) 0%, rgba(249, 250, 251, 0) 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    padding: 0 60px;
    animation: none;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

/* Partners: keep a clean, centered single row (no blank space loops). */

.partner-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 220ms ease, filter 220ms ease, opacity 220ms ease;
    height: 112px;
}

.partner-pill img {
    width: auto;
    max-width: 310px;
    height: 58px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 0.98;
    transition: opacity 220ms ease;
}

.partner-pill--aws img,
.partner-pill--microsoft img,
.partner-pill--fortinet img {
    transform: scale(1.55);
    transform-origin: center;
}

.partner-pill--redington img {
    transform: scale(1);
}

/* Partners: no hover resizing/glow (do not override transforms) */
.partner-pill:hover {
    filter: none;
    opacity: 0.98;
}

.partner-pill:hover img {
    filter: none;
    opacity: 0.98;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
    }
}

/* ============================================
   CLIENTS SECTION (MATCHING PARTNERS)
   ============================================ */
.clients-section {
    position: relative;
    background: #FFFFFF;
    padding: 85px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
    isolation: isolate;
}

.clients-section::before {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(circle at 18% 30%, rgba(200, 16, 46, 0.05) 0%, transparent 52%),
        radial-gradient(circle at 78% 25%, rgba(200, 16, 46, 0.07) 0%, transparent 58%);
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.clients-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 245, 245, 0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

.clients-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 32px;
}

.clients-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.clients-marquee {
    position: relative;
    z-index: 2;
    border-radius: 18px;
    padding: 0;
    background: rgba(30, 41, 59, 0.18);
    border: 1px solid rgba(200, 16, 46, 0.12);
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    height: 112px; /* bigger, clearer logos */
    display: flex;
    align-items: center;
}

.clients-marquee::before,
.clients-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(6, 9, 20, 1) 0%, rgba(6, 9, 20, 0) 100%);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(6, 9, 20, 1) 0%, rgba(6, 9, 20, 0) 100%);
}

.clients-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 48px;
    width: max-content;
    padding: 0 28px;
    animation: clientsMarquee 24s linear infinite;
    will-change: transform;
}

.clients-marquee:hover .clients-track {
    animation-play-state: paused;
}

@keyframes clientsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* right -> left */
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    height: 112px;
}

.client-logo img {
    width: auto;
    max-width: 260px;
    height: 46px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    opacity: 0.98;
    transition: opacity 220ms ease, filter 220ms ease;
}

.client-logo:hover img {
    opacity: 0.98;
    filter: none;
}

/* Note: we intentionally keep client logos moving even when OS requests reduced motion,
   because this strip is part of the site's visual identity. */

@media (max-width: 991px) {
    .clients-section { padding: 70px 0; }
    .clients-marquee::before,
    .clients-marquee::after { width: 70px; }
    .clients-track { animation-duration: 18s; gap: 28px; }
    .clients-marquee { height: 104px; }
    .client-logo { height: 104px; }
    .client-logo img { max-width: 230px; height: 42px; }
}

@media (max-width: 576px) {
    .clients-section { padding: 60px 0; }
    .clients-track { animation-duration: 16s; gap: 22px; }
    .clients-marquee { height: 98px; }
    .client-logo { height: 98px; }
    .client-logo img { max-width: 210px; height: 38px; }
}

@media (max-width: 991px) {
    .partners-section { padding: 75px 0; }
    .partners-header {
        margin-bottom: 35px;
    }
    .partners-marquee::before,
    .partners-marquee::after {
        width: 70px;
    }
    .partners-track { animation-duration: 18s; }
    .partners-marquee { height: 104px; }
    .partner-pill { height: 104px; }
    .partner-pill img { max-width: 280px; height: 52px; }
}

@media (max-width: 576px) {
    .partners-section { padding: 65px 0; }
    .partners-marquee { border-radius: 16px; }
    .partners-track { animation-duration: 16s; }
    .partners-marquee { height: 98px; }
    .partner-pill { height: 98px; }
    .partner-pill img { max-width: 250px; height: 48px; }
}

#footer {
    margin-top: 0 !important;
}

.faq-accordion .card {
    background: var(--bg-dark);
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .card:hover {
    border-color: var(--primary-blue-light);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.2);
}

.faq-accordion .card-header {
    background: transparent;
    border: none;
    padding: 25px;
}

.faq-accordion .card-title a {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion .card-title a:hover {
    color: var(--accent-cyan);
}

.faq-accordion .card-title a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-accordion .card-title a[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.faq-accordion .card-body {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.8;
    background: var(--bg-dark);
}

.faq-accordion .card-body p {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cyberguard-hero {
        min-height: 100svh;
        padding: 130px 0 80px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.5rem);
    }

    .hero-title-accent {
        margin-top: 6px;
    }

    .hero-trust-row {
        padding: 14px 16px;
        gap: 8px;
        border-radius: 12px;
    }

    .hero-trust-item {
        padding: 0 12px;
        min-width: 70px;
    }

    .hero-trust-item strong {
        font-size: 1.2rem;
    }

    .hero-trust-divider {
        height: 28px;
    }

    .hero-trust-divider:nth-child(6) {
        display: none;
    }

    .hero-trust-item:nth-child(7) {
        flex-basis: 100%;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .services-section,
    .about-section,
    .stats-section,
    .experience-section,
    .process-section,
    .skills-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .skills-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .skills-video-wrapper {
        min-height: 400px;
    }
    
    .services-carousel-wrapper {
        padding: 0 50px;
    }
    
    .carousel-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .service-card {
        min-width: 280px;
        max-width: 280px;
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 13px;
    }
    
    .service-list li {
        font-size: 12.5px;
        padding: 5px 0;
    }
    
    .process-item {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
        margin-bottom: 25px;
    }
    
    .process-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .process-list li {
        font-size: 14px;
        padding: 10px 0;
        padding-left: 25px;
    }
    
    .process-item:hover .process-list li {
        padding-left: 28px;
    }
}

@media (max-width: 576px) {
    .services-carousel-wrapper {
        padding: 0 45px;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .service-card {
        min-width: 260px;
        max-width: 260px;
        padding: 22px 18px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    /* Improve text rendering on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6,
    p, span, a, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Improve touch scrolling */
    .services-carousel-container {
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        scroll-behavior: smooth;
    }
    
    /* Better button touch targets */
    button, a.btn, .btn-cyberguard {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(200, 16, 46, 0.3);
    }
}

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

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

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

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

/* Hide old carousel */
.owl-carousel {
    display: none !important;
}

.home-intro {
    display: none !important;
}

/* Text Colors Override */
.text-color-dark,
.text-dark,
strong.text-dark {
    color: #111827 !important;
}

.text-color-primary {
    color: var(--primary-red) !important;
}

.text-color-light,
.text-light {
    color: #4B5563 !important;
}

/* Override light backgrounds to use white theme */
.bg-light,
.bg-white {
    background: #FFFFFF !important;
    color: #111827 !important;
}

/* List icons with theme colors */
.list-icons i {
    color: var(--primary-blue-light);
}

.list-icons-style-2 i {
    color: var(--accent-cyan);
}

/* Background Overrides */
.bg-color-grey {
    background: var(--bg-dark-light) !important;
}

.bg-color-transparent {
    background: var(--bg-dark) !important;
}

.world-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  
  .about-map-wrapper .world-dots {
    justify-content: flex-start;
    padding-left: 0;
  }
  
  .dots-container {
    width: 550px;               /* EXACT width = 55 cols × 10px */
    height: 450px;              /* Increased height = 35 rows × ~12.86px */
    display: grid;
    grid-template-columns: repeat(55, 10px);
    grid-template-rows: repeat(35, 12.86px); /* Increased row height to fill space */
  }
  
  .dot {
    width: 8px;
    height: 8px;
    background: #222;
    border-radius: 50%;
  }
  
  @keyframes worldFade {
    from { background-color: var(--dot-color); }
    to   { background-color: #222; }
  }
  
  /* Scale up on desktop to align with green lines */
  @media (min-width: 769px) {
    .dots-container {
      transform: scale(1.5);
      transform-origin: center;
    }
  }
  
  /* Keep fixed at all screen sizes */
  @media (max-width: 768px) {
    .dots-container {
      transform: scale(0.20);   /* Scales down without distortion */
      transform-origin: center;
    }
  }

/* ============================================
   PAGE HEADER IMPROVEMENTS WITH THEME COLORS
   ============================================ */

.page-header,
.page-header-classic {
    background: transparent;
    padding: 100px 0 30px; /* Reduced padding since no background bar */
    margin-top: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.page-header-sm {
    padding: 100px 0 30px; /* Reduced padding since no background bar */
}

.page-header::before {
    display: none; /* Remove the gradient overlay */
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--text-white);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header h1[data-title-border]::after {
    background: var(--gradient-primary);
    height: 4px;
    width: 80px;
    content: '';
    display: block;
    margin-top: 15px;
    border-radius: 2px;
}

/* ============================================
   CONTENT SECTION IMPROVEMENTS
   ============================================ */

.main {
    background: var(--bg-dark);
    min-height: calc(100vh - 200px);
    padding-top: 80px; /* Account for fixed navbar height */
    position: relative;
    z-index: 1;
}

.container.pb-1 {
    padding-top: 20px; /* Reduced since .main already has padding-top for navbar */
    padding-bottom: 60px;
}

/* Word Rotator with Theme Colors */
.word-rotator-words {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Text Improvements */
.text-justify {
    color: var(--text-light);
    line-height: 1.8;
}

h2, h3, h4, h5, h6 {
    color: var(--text-white);
}

h2.word-rotator {
    color: var(--text-white);
}

/* Links with Theme Colors */
a {
    color: var(--primary-blue-light);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-cyan);
    text-decoration: none;
}

/* Services Anchor List */
.services_anchor {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.services_anchor li {
    margin: 12px 0;
    padding: 12px 20px;
    background: var(--bg-dark-light);
    border-left: 4px solid var(--primary-blue-light);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.services_anchor li:hover {
    background: var(--gradient-card);
    border-left-color: var(--accent-cyan);
    transform: translateX(5px);
}

.services_anchor a {
    color: var(--text-white);
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.services_anchor a:hover {
    color: var(--accent-cyan);
}

/* Buttons with Theme Colors */
.btn-primary,
.btn-modern {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover,
.btn-modern:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.5);
    color: var(--text-white);
}

.btn-rounded {
    border-radius: 30px;
}

/* Cards and Content Boxes */
.card, .content-box {
    background: var(--bg-dark-light);
    border: 1px solid rgba(200, 16, 46, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card:hover, .content-box:hover {
    border-color: rgba(200, 16, 46, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* Images */
img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
}

/* Responsive Images */
@media (max-width: 767px) {
    img {
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .col-md-5 img,
    .col-md-7 img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
}

/* Lists */
ul.list-unstyled li {
    color: var(--text-light);
}

ul.list-unstyled li a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

ul.list-unstyled li a:hover {
    color: var(--accent-cyan);
}

/* Form Elements */
.form-control {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-white);
    border-radius: 8px;
    padding: 12px 15px;
}

.form-control:focus {
    background: #FFFFFF;
    border-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.form-control::placeholder {
    color: var(--text-gray);
}

/* Footer Improvements */
.footer-texts-more-lighten {
    background: linear-gradient(180deg, #8B0A1F 0%, #6B0818 100%);
    border-top: 3px solid var(--primary-red);
    color: rgba(255, 255, 255, 0.88);
}

.footer-texts-more-lighten a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-texts-more-lighten a:hover {
    color: #FFFFFF;
}

.footer-texts-more-lighten h5,
.footer-texts-more-lighten .text-color-light {
    color: #FFFFFF !important;
}

/* Footer Responsive */
@media (max-width: 991px) {
    #footer .row {
        margin: 0;
    }
    
    #footer .col-md-6,
    #footer .col-lg-3,
    #footer .col-lg-2,
    #footer .col-lg-4 {
        margin-bottom: 30px;
    }
    
    #footer h5 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    #footer .list-unstyled li {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

@media (max-width: 767px) {
    #footer {
        padding-top: 40px;
    }
    
    #footer .row.py-4 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    #footer .col-md-6,
    #footer .col-lg-3,
    #footer .col-lg-2,
    #footer .col-lg-4 {
        margin-bottom: 35px;
        padding: 0 15px;
    }
    
    #footer h5 {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    #footer .list-unstyled {
        margin-bottom: 0;
    }
    
    #footer .list-unstyled li {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.6;
    }
    
    #footer .list-unstyled li.pb-1 {
        padding-bottom: 8px;
    }
    
    #footer article {
        margin-bottom: 20px;
    }
    
    #footer article a {
        font-size: 14px;
    }
    
    #footer article p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    #footer article p a {
        font-size: 12px;
    }
    
    #footer .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    #footer .btn {
        font-size: 13px;
        padding: 10px 20px;
        width: 100%;
    }
    
    .footer-copyright {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .footer-copyright h5 {
        font-size: 13px;
    }
    
    .social-icons {
        margin-top: 15px;
    }
    
    .social-icons li {
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    #footer {
        padding-top: 30px;
    }
    
    #footer .row.py-4 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    #footer h5 {
        font-size: 0.95rem;
    }
    
    #footer .list-unstyled li {
        font-size: 12px;
    }
    
    #footer article a {
        font-size: 13px;
    }
    
    #footer article p {
        font-size: 11px;
    }
    
    #footer article p a {
        font-size: 11px;
    }
}

/* Social Icons */
.social-icons a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* Responsive Improvements */
@media (max-width: 991px) {
    .container.pb-1 {
        padding-top: 30px;
        padding-bottom: 50px;
    }
    
    .container.pb-1 .row {
        margin: 0;
    }
    
    .container.pb-1 .col-md-7,
    .container.pb-1 .col-md-5 {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .container.pb-1 .col-md-5:last-child {
        margin-bottom: 0;
    }
    
    .text-justify {
        font-size: 15px;
        line-height: 1.7;
    }
    
    h2.word-rotator {
        font-size: 2rem;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .container.pb-1 {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    
    .container.pb-1 .col-md-7,
    .container.pb-1 .col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 25px;
    }
    
    .text-justify {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    h2.word-rotator {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .services_anchor {
        margin: 20px 0;
    }
    
    .services_anchor li {
        padding: 10px 15px;
        margin: 10px 0;
    }
    
    .services_anchor a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 70px 0 25px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .container.pb-1 {
        padding-top: 25px;
        padding-bottom: 35px;
    }
    
    .text-justify {
        font-size: 13px;
    }
    
    h2.word-rotator {
        font-size: 1.5rem;
    }
    
    .services_anchor li {
        padding: 8px 12px;
        margin: 8px 0;
    }
    
    .services_anchor a {
        font-size: 13px;
    }
}

/* Additional Theme Color Utilities */
.text-theme-primary {
    color: var(--primary-blue-light) !important;
}

.text-theme-cyan {
    color: var(--accent-cyan) !important;
}

.bg-theme-dark {
    background: var(--bg-dark) !important;
}

.bg-theme-dark-light {
    background: var(--bg-dark-light) !important;
}

.border-theme {
    border-color: rgba(200, 16, 46, 0.2) !important;
}

/* ============================================
   WHO WE ARE / WHAT WE DO SECTION - ABOUT PAGE
   ============================================ */
.who-we-are-section {
    padding: 0;
    margin: 0;
    margin-bottom: 0;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* Remove bottom spacing from main on about page */
.main:has(.who-we-are-section) {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove main padding for about page - more specific override */
.main:has(.who-we-are-section),
body .main .who-we-are-section {
    padding-top: 0 !important;
}

.who-we-are-left {
    background: var(--bg-dark);
    padding: 80px 60px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.what-we-do-right {
    background: var(--bg-dark-light);
    padding: 80px 60px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.who-we-are-content {
    width: 100%;
    max-width: 600px;
}

.logo-section {
    margin-bottom: 40px;
}

.company-logo-text {
    font-size: 4rem;
    font-weight: 900;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 500;
    margin: 0;
}

.btn-about-us {
    display: inline-block;
    padding: 14px 35px;
    background: #60a5fa;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    border: none;
}

.btn-about-us:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 40px;
    line-height: 1.2;
}

.content-block {
    position: relative;
    padding-left: 35px;
    margin-bottom: 30px;
}

.content-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #3b82f6;
    border-radius: 2px;
}

.content-block p {
    color: var(--text-white);
    font-size: 1.15rem;
    line-height: 1.9;
    margin: 0;
}

.promise-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.promise-text {
    color: var(--text-white);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.9;
    margin: 0;
}

.what-we-do-content {
    width: 100%;
    max-width: 600px;
}

.what-we-do-content .section-heading {
    color: var(--text-white);
    padding-left: 35px;
    position: relative;
}

.what-we-do-content .section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #3b82f6;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-block {
    background: #0d9488;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-icon-block {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
}

.service-icon-block i {
    font-size: 32px;
    color: #ffffff;
}

.service-block-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-block-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .who-we-are-left,
    .what-we-do-right {
        min-height: auto;
        padding: 60px 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .company-logo-text {
        font-size: 3rem;
    }
    
    .section-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .who-we-are-section {
        margin-top: 80px;
    }
    
    .who-we-are-left,
    .what-we-do-right {
        padding: 50px 30px;
    }
    
    .company-logo-text {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .content-block p,
    .promise-text {
        font-size: 1rem;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE STYLES
   ============================================ */

/* Tablet Styles (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    /* Hero Section */
    .cyberguard-hero {
        min-height: 90vh;
        padding: 150px 0 70px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-subtitle-container {
        min-height: 120px;
    }
    
    /* About Section */
    .about-section {
        padding: 60px 0;
    }
    
    .about-section .row {
        min-height: 500px;
    }
    
    .about-section .col-lg-6.offset-lg-6 {
        margin-left: 0;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-section .about-content {
        padding: 35px;
        margin-top: 20px;
    }
    
    .about-video-bg {
        opacity: 0.6;
    }
    
    /* Services Section */
    .services-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .services-carousel-wrapper {
        padding: 0 60px;
    }
    
    .service-card {
        min-width: 300px;
        max-width: 300px;
    }
    
    /* Stats Section */
    .stats-section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    /* Experience Section */
    .experience-section {
        padding: 70px 0;
    }
    
    .experience-section .video-wrapper {
        min-height: 450px;
    }
    
    .experience-section .about-content {
        padding-left: 20px;
    }
    
    /* Skills Section */
    .skills-section {
        padding: 70px 0;
    }
    
    .skills-content {
        padding-right: 20px;
    }
    
    .skills-video-wrapper {
        min-height: 450px;
    }
    
    /* Process Section */
    .process-section {
        padding: 70px 0;
    }
    
    /* FAQ Section */
    .faq-section {
        padding: 70px 0;
    }
}

/* Mobile Styles (max-width: 767px) */
@media (max-width: 767px) {
    /* Hero Section - Mobile */
    .cyberguard-hero {
        min-height: 85vh;
        padding: 100px 0 50px;
        margin-top: -80px;
    }
    
    .cyberguard-hero::before {
        background-attachment: scroll;
    }
    
    .hero-content-wrapper {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle-container {
        min-height: 100px;
        margin-bottom: 30px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .typewriter-text {
        max-width: 100%;
    }
    
    .hero-buttons-container {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
    }
    
    .hero-buttons-container .d-flex {
        flex-direction: column;
        gap: 15px !important;
        align-items: center;
    }
    
    .btn-cyberguard {
        padding: 14px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 320px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .cyberguard-hero .hero-btn-primary,
    .cyberguard-hero .hero-btn-secondary {
        width: 100%;
        max-width: none;
        justify-content: center;
        text-align: center;
    }
    
    /* CTA Section - Mobile */
    .cta-section {
        padding: 25px 0;
    }
    
    .cta-text {
        font-size: 16px;
        margin-bottom: 15px !important;
    }
    
    .cta-section .btn-cyberguard {
        width: 100%;
        max-width: 280px;
    }
    
    /* About Section - Mobile */
    .about-section {
        padding: 50px 0;
        overflow: hidden;
    }
    
    .about-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.5;
    }
    
    .about-section .row {
        min-height: auto;
        margin: 0;
    }
    
    .about-section .col-lg-6.offset-lg-6 {
        margin-left: 0;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .about-section .about-content {
        padding: 25px 20px;
        margin-top: 20px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 12px;
    }
    
    .about-content h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .about-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    .about-content .lead {
        font-size: 16px;
    }
    
    /* Services Section - Mobile */
    .services-section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .section-label {
        font-size: 11px;
        padding: 6px 16px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .services-carousel-wrapper {
        padding: 0; /* Remove padding to allow full width */
        margin: 0;
    }
    
    .services-carousel-container {
        margin: 0;
        padding: 10px 15px; /* Add padding here instead */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        /* Hide scrollbar on mobile */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .services-carousel-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Hide navigation arrows on mobile */
    .carousel-nav-btn {
        display: none !important;
    }
    
    .services-carousel {
        gap: 15px;
        scroll-snap-type: x mandatory;
        /* On mobile, use native scroll instead of transform */
        transform: none !important;
        display: flex;
    }
    
    .service-card {
        min-width: calc(100vw - 60px); /* Full width minus container padding (30px) and wrapper padding (30px) */
        max-width: calc(100vw - 60px);
        width: calc(100vw - 60px);
        padding: 20px 16px; /* Reduced padding for smaller card */
        scroll-snap-align: start;
        flex-shrink: 0;
        box-sizing: border-box; /* Ensure padding is included in width */
    }
    
    /* Ensure container doesn't add extra padding */
    .services-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Pagination Dots for Mobile - Show on mobile */
    .carousel-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 25px;
        padding: 0 15px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(200, 16, 46, 0.3);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
        flex-shrink: 0;
    }
    
    .carousel-dot.active {
        background: var(--primary-blue-light);
        width: 30px;
        border-radius: 5px;
    }
    
    .carousel-dot:hover {
        background: rgba(200, 16, 46, 0.6);
    }
    
    .carousel-dot:active {
        transform: scale(0.9);
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .service-list {
        margin-bottom: 15px;
    }
    
    .service-list li {
        font-size: 12px;
        padding: 5px 0;
    }
    
    .service-link {
        font-size: 14px;
    }
    
    /* Stats Section - Mobile */
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-section .row {
        margin: 0;
    }
    
    .stats-section .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }
    
    .stats-section .col-md-3:nth-child(3),
    .stats-section .col-md-3:nth-child(4) {
        margin-bottom: 0;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 13px;
        letter-spacing: 1px;
    }
    
    /* Experience Section - Mobile */
    .experience-section {
        padding: 50px 0;
    }
    
    .experience-section .row {
        margin: 0;
    }
    
    .experience-section .col-lg-6 {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .experience-section .col-lg-6:last-child {
        margin-bottom: 0;
    }
    
    .experience-section .video-wrapper {
        min-height: 300px;
        border-radius: 12px;
        margin-bottom: 0;
    }
    
    .experience-section .about-image {
        border-radius: 12px;
    }
    
    .experience-section .about-content {
        padding-left: 0;
        padding-top: 0;
    }
    
    .experience-section .about-content h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .experience-section .about-content p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    /* Process Section - Mobile */
    .process-section {
        padding: 50px 0;
    }
    
    .process-section .section-header {
        margin-bottom: 40px;
    }
    
    .process-section .row {
        margin: 0;
    }
    
    .process-section .col-md-6,
    .process-section .col-lg-3 {
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .process-item {
        padding: 30px 20px;
        margin-bottom: 0;
    }
    
    .process-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .process-title {
        font-size: 18px;
        margin-bottom: 18px;
    }
    
    .process-list li {
        font-size: 13px;
        padding: 8px 0;
        padding-left: 22px;
    }
    
    .process-item:hover .process-list li {
        padding-left: 25px;
    }
    
    /* Rolling Text - Mobile */
    .roller {
        height: 2.5rem;
        line-height: 2.25rem;
        width: 100%;
        max-width: 280px;
    }
    
    .roller #rolltext {
        animation: slide-mob 5s infinite;
    }
    
    @keyframes slide-mob {
        0% { top: 0; }
        25% { top: -2.25rem; }
        50% { top: -4.5rem; }
        75% { top: -6.75rem; }
        100% { top: 0; }
    }
    
    /* Skills Section - Mobile */
    .skills-section {
        padding: 50px 0;
    }
    
    .skills-section .row {
        margin: 0;
    }
    
    .skills-section .col-lg-6 {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .skills-section .col-lg-6:last-child {
        margin-bottom: 0;
    }
    
    .skills-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .skills-content h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .skills-content .section-description {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .skill-item {
        margin-bottom: 25px;
    }
    
    .skill-label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .skill-percentage {
        font-size: 14px;
    }
    
    .skill-progress {
        height: 8px;
    }
    
    .skills-video-wrapper {
        min-height: 300px;
        border-radius: 12px;
    }
    
    .skills-video {
        min-height: 300px;
        border-radius: 12px;
    }
    
    /* FAQ Section - Mobile */
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-section .row {
        margin: 0;
    }
    
    .faq-section .col-lg-5,
    .faq-section .col-lg-7 {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .faq-section .col-lg-7 {
        margin-bottom: 0;
    }
    
    .faq-section .about-content h2 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }
    
    .faq-section .about-content .section-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .faq-accordion .card-header {
        padding: 20px;
    }
    
    .faq-accordion .card-title a {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .faq-accordion .card-body {
        padding: 0 20px 20px;
        font-size: 14px;
    }
    
    /* Footer - Mobile */
    .footer-texts-more-lighten .row {
        margin: 0;
    }
    
    .footer-texts-more-lighten .col-md-6,
    .footer-texts-more-lighten .col-lg-3,
    .footer-texts-more-lighten .col-lg-2,
    .footer-texts-more-lighten .col-lg-4 {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    /* Images - Mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Container - Mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Main - Mobile */
    .main {
        padding-top: 70px;
    }
    
    /* Page Header - Mobile */
    .page-header {
        padding: 80px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .container.pb-1 {
        padding-top: 30px;
        padding-bottom: 40px;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    /* Hero Section */
    .cyberguard-hero {
        min-height: 80vh;
        padding: 90px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-subtitle-container {
        min-height: 90px;
    }
    
    .btn-cyberguard {
        padding: 12px 25px;
        font-size: 13px;
        max-width: 260px;
    }
    
    /* Services */
    .service-card {
        min-width: calc(100vw - 60px); /* Full width minus container padding (30px) and wrapper padding (30px) */
        max-width: calc(100vw - 60px);
        width: calc(100vw - 60px);
        padding: 20px 16px; /* Reduced padding for smaller card */
        box-sizing: border-box;
    }
    
    .services-carousel-wrapper {
        padding: 0; /* Remove padding */
    }
    
    .services-carousel-container {
        padding: 10px 15px; /* Add padding here */
    }
    
    /* Hide navigation arrows on small mobile */
    .carousel-nav-btn {
        display: none !important;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* About Section */
    .about-section .about-content {
        padding: 20px 15px;
    }
    
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .about-content p {
        font-size: 14px;
    }
    
    /* Experience & Skills Videos */
    .experience-section .video-wrapper,
    .skills-video-wrapper {
        min-height: 250px;
    }
    
    .skills-video {
        min-height: 250px;
    }
    
    /* Process */
    .process-item {
        padding: 25px 18px;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .process-title {
        font-size: 16px;
    }
    
    .process-list li {
        font-size: 12px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 13px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Improve touch targets */
    .btn-cyberguard,
    .btn-nav-cta,
    .service-link,
    .carousel-nav-btn,
    .navbar-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .service-card:hover,
    .process-item:hover {
        transform: none;
    }
    
    /* Improve carousel touch scrolling */
    .services-carousel {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 50px;
    }
    
    .service-card {
        scroll-snap-align: start;
    }
    
    /* Remove tap highlight on links */
    a, button {
        -webkit-tap-highlight-color: rgba(200, 16, 46, 0.2);
    }
    
    /* Improve dropdown touch interaction */
    .nav-link,
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 767px) and (orientation: landscape) {
    .cyberguard-hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle-container {
        min-height: 60px;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .experience-section .video-wrapper,
    .skills-video-wrapper {
        min-height: 250px;
    }
    
    .navbar-menu {
        max-height: 80vh;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 767px) {
    /* Ensure proper spacing between sections */
    section {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Fix any potential overflow issues */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row > * {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure buttons don't overflow */
    .btn-cyberguard,
    .btn-nav-cta {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Fix carousel on very small screens */
    @media (max-width: 360px) {
        .service-card {
            min-width: calc(100vw - 60px); /* Full width minus container padding */
            max-width: calc(100vw - 60px);
            width: calc(100vw - 60px);
            padding: 18px 14px; /* Further reduced padding */
        }
        
        .services-carousel-wrapper {
            padding: 0 15px; /* Full width with minimal padding */
        }
        
        /* Hide navigation arrows on very small screens */
        .carousel-nav-btn {
            display: none !important;
        }
    }
}

/* Career Page - Feature Box Text Styling */
.feature-box.feature-box-style-2 .feature-box-info h4,
.feature-box.feature-box-style-2 .feature-box-info p,
.feature-box.feature-box-style-2 .feature-box-info {
    color: var(--text-white) !important;
}

/* Career Page - Apply Now Section Text Styling */
.career-apply-section,
.career-apply-section h4,
.career-apply-section p,
.career-apply-section a {
    color: var(--text-white) !important;
}
/* =========================================================
   AI ASSISTANT BUTTON
   ========================================================= */

.ai-assistant-button {
    position: fixed;
    right: 24px;
    bottom: 135px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #8B0A1F, #C8102E);
    box-shadow: 0 12px 30px rgba(200, 16, 46, 0.35), 0 0 0 0 rgba(200, 16, 46, 0.25);
    cursor: pointer;
    z-index: 10000;
    animation: chatButtonPulse 3s infinite;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-assistant-label {
    position: absolute;
    right: 58px;
    top: 50%;
    padding: 5px 10px;
    color: #ffffff;
    background: #8B0A1F;
    border: 1px solid rgba(200, 16, 46, 0.35);
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(200, 16, 46, 0.2);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    animation: askMeLabel 4s ease-in-out 1 forwards;
}

@keyframes askMeLabel {
    0%, 65%, 100% {
        opacity: 0;
        transform: translate(8px, -50%);
    }

    10%, 52% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.ai-assistant-button:hover {
    transform: scale(1.08);

    box-shadow:
        0 15px 35px rgba(0, 72, 190, 0.45);
}

@keyframes chatButtonPulse {

    0% {
        box-shadow:
            0 12px 30px rgba(0, 72, 190, 0.35),
            0 0 0 0 rgba(41, 122, 255, 0.35);
    }

    70% {
        box-shadow:
            0 12px 30px rgba(0, 72, 190, 0.35),
            0 0 0 12px rgba(41, 122, 255, 0);
    }

    100% {
        box-shadow:
            0 12px 30px rgba(0, 72, 190, 0.35),
            0 0 0 0 rgba(41, 122, 255, 0);
    }
}


/* =========================================================
   MOBILE ASSISTANT BUTTON
   ========================================================= */

@media (max-width: 600px) {

    .ai-assistant-button {
        width: 44px;
        height: 44px;

        right: 20px;
        bottom: 100px;

        font-size: 18px;
    }

    .ai-assistant-label {
        display: none;
    }
}


/* =========================================================
   CHATBOT VARIABLES
   ========================================================= */

:root {
    --bot-bg: #080d20;
    --bot-card: rgba(15, 23, 48, 0.96);
    --bot-card-light: rgba(25, 35, 65, 0.95);

    --bot-text: #f5f7ff;
    --bot-muted: #9da8c2;

    --bot-border: rgba(255, 255, 255, 0.10);

    --bot-primary: #1677ff;
    --bot-primary-dark: #0d5ed7;

    --bot-purple: #7357ff;
    --bot-cyan: #00cfff;

    --bot-user: linear-gradient(
        135deg,
        #0878f9 0%,
        #1765e9 55%,
        #6355f5 100%
    );

    --bot-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(22, 119, 255, 0.12);

    --bot-radius: 22px;
}


/* =========================================================
   CHAT SHELL
   ========================================================= */

.shell {
    position: fixed;

    right: 30px;
    bottom: 120px;

    width: 380px;
    height: 600px;

    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 150px);

    display: none;

    flex-direction: column;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(82, 85, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(0, 207, 255, 0.08),
            transparent 35%
        ),
        var(--bot-bg);

    border: 1px solid var(--bot-border);

    border-radius: var(--bot-radius);

    box-shadow: var(--bot-shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    z-index: 99999;

    transform-origin: bottom right;

    box-sizing: border-box;
}


/* =========================================================
   OPEN ANIMATION
   ========================================================= */

@keyframes chatbotOpen {

    from {
        opacity: 0;

        transform:
            translateY(18px)
            scale(0.94);

        filter: blur(4px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter: blur(0);
    }
}

.shell.show {
    display: flex !important;

    animation:
        chatbotOpen
        0.35s
        cubic-bezier(.16, 1, .3, 1)
        forwards;
}


/* =========================================================
   CLOSE ANIMATION
   ========================================================= */

.shell.closing {
    animation:
        chatbotClose
        0.22s
        ease
        forwards;
}

@keyframes chatbotClose {

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

    to {
        opacity: 0;

        transform:
            translateY(15px)
            scale(0.95);
    }
}


/* =========================================================
   HIDE SIDEBAR
   ========================================================= */

.shell aside {
    display: none !important;
}


/* =========================================================
   MAIN
   ========================================================= */

.shell main {
    display: flex;

    flex: 1;

    flex-direction: column;

    min-width: 0;
    min-height: 0;

    width: 100%;
}


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

.shell header {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 72px;

    padding: 15px 18px;

    flex-shrink: 0;

    background:
        linear-gradient(
            135deg,
            rgba(17, 29, 61, 0.98),
            rgba(10, 17, 37, 0.98)
        );

    border-bottom:
        1px solid var(--bot-border);

    z-index: 5;
}

.shell header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 207, 255, 0.65),
            rgba(115, 87, 255, 0.65),
            transparent
        );

    opacity: 0.8;
}


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

.shell header h1 {
    margin: 0;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: -0.2px;
}

.shell header p {
    margin: 3px 0 0;

    color: var(--bot-muted);

    font-size: 10px;
}


/* =========================================================
   PROFILE
   ========================================================= */

.shell .profile {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--bot-muted);

    font-size: 10px;
}


/* =========================================================
   AVATAR
   ========================================================= */

.shell .avatar {
    position: relative;

    display: grid;

    place-items: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border-radius: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #8B0A1F,
            #C8102E
        );

    font-size: 15px;

    font-weight: 800;

    box-shadow:
        0 6px 20px
        rgba(22, 119, 255, 0.35);

    animation:
        avatarPulse
        3s
        ease-in-out
        infinite;
}

.shell .avatar::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    right: -2px;
    bottom: -2px;

    border:
        2px solid
        #080d20;

    border-radius: 50%;

    background: #20e58a;

    box-shadow:
        0 0 8px
        rgba(32, 229, 138, 0.8);
}

@keyframes avatarPulse {

    0%,
    100% {
        box-shadow:
            0 6px 20px
            rgba(22, 119, 255, 0.30);
    }

    50% {
        box-shadow:
            0 6px 28px
            rgba(22, 119, 255, 0.55);
    }
}


/* =========================================================
   CONTENT AREA
   ========================================================= */

.shell .content {
    position: relative;

    flex: 1;

    min-height: 0;

    /*
       Slightly more top space so the first
       chat message does not touch the header.
    */
    padding: 18px 18px 10px;

    overflow-y: auto;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(32, 76, 160, 0.08),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #080d20 0%,
            #070b18 100%
        );
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

.shell .content::-webkit-scrollbar {
    width: 5px;
}

.shell .content::-webkit-scrollbar-track {
    background: transparent;
}

.shell .content::-webkit-scrollbar-thumb {
    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #247dff,
            #6855ff
        );
}


/* =========================================================
   WELCOME SECTION
   ========================================================= */

.shell .welcome {
    text-align: center;

    padding: 0 5px 0;
}


/* =========================================================
   SPARK ICON
   ========================================================= */

.shell .spark {
    position: relative;

    display: inline-grid;

    place-items: center;

    width: 50px;
    height: 50px;

    margin-bottom: 2px;

    border-radius: 16px;

    color: #ffffff;

    font-size: 22px;

    background:
        linear-gradient(
            135deg,
            #C8102E,
            #7355ff
        );

    box-shadow:
        0 10px 30px
        rgba(45, 92, 255, 0.35);

    animation:
        botFloat
        3s
        ease-in-out
        infinite;
}

.shell .spark::before {
    content: "";

    position: absolute;

    inset: -5px;

    border-radius: inherit;

    border:
        1px solid
        rgba(74, 130, 255, 0.25);

    animation:
        sparkRing
        2.5s
        ease-in-out
        infinite;
}


/* =========================================================
   SPARK ANIMATIONS
   ========================================================= */

@keyframes sparkRing {

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

    50% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}

@keyframes botFloat {

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

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


/* =========================================================
   MAIN HEADING
   ========================================================= */

.shell h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            19px,
            4vw,
            24px
        );

    font-weight: 750;

    line-height: 1.2;

    letter-spacing: -0.6px;
}


/* =========================================================
   WELCOME DESCRIPTION
   ========================================================= */

.shell .welcome p {
    max-width: 310px;

    margin: 5px auto 8px;

    color: var(--bot-muted);

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   SUGGESTIONS
   ========================================================= */

.shell .suggestions {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 7px;

    margin-bottom: 10px;
}

.shell .suggestion {
    position: relative;

    min-width: 0;

    padding: 12px;

    text-align: left;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.04);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

    cursor: pointer;
}

.shell .suggestion:hover {
    transform: translateY(-3px);

    border-color:
        rgba(55, 133, 255, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(26, 111, 255, 0.13),
            rgba(102, 75, 255, 0.10)
        );

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.22),
        0 0 15px
        rgba(22, 119, 255, 0.08);
}

.shell .suggestion b {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 650;
}

.shell .suggestion span {
    display: block;

    color: #8f9ab5;

    font-size: 9px;

    line-height: 1.4;
}


/* =========================================================
   CHAT SECTION
   ========================================================= */

/*
   THIS IS THE MAIN FIX.

   Adds space between the header/icon area
   and the actual conversation messages.
*/

.shell .chat {
    width: 100%;

    max-width: 100%;

    margin: 0 auto;

    /*
       Moves the chat messages downward.
    */
    padding-top: 22px;

    box-sizing: border-box;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.shell .message {
    display: flex;

    align-items: flex-end;

    gap: 8px;

    margin: 12px 0;

    animation:
        messageIn
        0.3s
        ease
        both;
}

.shell .message:first-child {
    margin-top: 0;
}

.shell .message.user {
    justify-content: flex-end;
}

@keyframes messageIn {

    from {
        opacity: 0;

        transform:
            translateY(7px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   CHAT BUBBLE
   ========================================================= */

.shell .bubble {
    max-width: 78%;

    padding: 10px 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius:
        15px 15px 15px 4px;

    color: #c6cee0;

    background:
        rgba(255, 255, 255, 0.065);

    font-size: 11px;

    line-height: 1.5;

    box-shadow:
        0 5px 15px
        rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(8px);
}

.shell .message:not(.user) .bubble {
    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.045)
        );
}

.shell .user .bubble {
    border-radius:
        15px 15px 4px 15px;

    border: none;

    color: #ffffff;

    background:
        var(--bot-user);

    box-shadow:
        0 7px 20px
        rgba(16, 99, 239, 0.25);
}


/* =========================================================
   TYPING INDICATOR
   ========================================================= */

.shell .typing {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    padding: 10px 13px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.06);
}

.shell .typing span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #8fa4d5;

    animation:
        typing
        1.2s
        infinite
        ease-in-out;
}

.shell .typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.shell .typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);

        opacity: 0.4;
    }

    30% {
        transform:
            translateY(-4px);

        opacity: 1;
    }
}


/* =========================================================
   INPUT
   ========================================================= */

.shell .input-wrap {
    display: flex;

    align-items: center;

    gap: 8px;

    width: calc(100% - 24px);

    margin: 8px auto 12px;

    padding: 6px 6px 6px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.065);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.22);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.shell .input-wrap:focus-within {
    border-color:
        rgba(38, 125, 255, 0.65);

    background:
        rgba(255, 255, 255, 0.085);

    box-shadow:
        0 0 0 3px
        rgba(25, 112, 255, 0.08),
        0 10px 30px
        rgba(0, 0, 0, 0.25);
}

.shell .input-wrap input {
    flex: 1;

    min-width: 0;

    padding: 9px 0;

    border: 0;

    outline: 0;

    color: #ffffff;

    background: transparent;

    font: inherit;

    font-size: 11px;
}

.shell .input-wrap input::placeholder {
    color: #77829d;

    transition:
        color 0.2s ease;
}

.shell .input-wrap input:focus::placeholder {
    color: #626e88;
}


/* =========================================================
   CHAT SEND BUTTON
   ========================================================= */

.shell button {
    display: grid;

    place-items: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border: 0;

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #C8102E,
            #E8364F
        );

    font-size: 15px;

    cursor: pointer;

    box-shadow:
        0 6px 18px
        rgba(37, 107, 255, 0.28);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.shell button:hover {
    transform:
        translateY(-1px)
        scale(1.04);

    filter: brightness(1.08);

    box-shadow:
        0 8px 22px
        rgba(37, 107, 255, 0.4);
}

.shell button:active {
    transform: scale(0.95);
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.shell .disclaimer {
    margin: 0 10px 10px;

    color: #68738d;

    text-align: center;

    font-size: 8px;

    line-height: 1.4;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .shell {
        right: 28px;

        bottom: 145px;

        width: 360px;

        height: 520px;
    }

    .shell .content {
        padding: 18px 20px 10px;
    }

    .shell .chat {
        padding-top: 22px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .shell {
        right: 18px;

        bottom: 130px;

        width:
            min(
                350px,
                calc(100vw - 36px)
            );

        height:
            min(
                500px,
                calc(100vh - 110px)
            );
    }

    .shell header {
        min-height: 68px;
    }

    .shell .content {
        padding: 16px 16px 10px;
    }

    .shell .chat {
        padding-top: 18px;
    }

    .shell .welcome p {
        max-width: 290px;

        margin-bottom: 8px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .shell {
        right: 10px;
        left: 10px;

        bottom: 125px;

        width: auto;

        height:
            min(
                670px,
                calc(100vh - 95px)
            );

        border-radius: 20px;
    }

    .shell header {
        min-height: 64px;

        padding: 12px 14px;
    }

    .shell header h1 {
        font-size: 14px;
    }

    .shell header p {
        font-size: 9px;
    }

    .shell .avatar {
        width: 34px;
        height: 34px;

        border-radius: 10px;

        font-size: 13px;
    }

    .shell .content {
        padding: 12px 13px 8px;
    }

    .shell .spark {
        width: 44px;
        height: 44px;

        border-radius: 14px;

        font-size: 19px;

        margin-bottom: 2px;
    }

    .shell h2 {
        font-size: 20px;
    }

    .shell .welcome p {
        max-width: 280px;

        margin:
            5px auto 8px;

        font-size: 10px;
    }

    .suggestions {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 6px;

        margin-bottom: 8px;
    }

    .shell .suggestion {
        padding: 10px;
    }

    .shell .suggestion b {
        font-size: 10px;
    }

    .shell .suggestion span {
        font-size: 8px;
    }

    /*
       Mobile chat spacing
    */
    .shell .chat {
        padding-top: 18px;
    }

    .shell .message {
        margin: 10px 0;
    }

    .shell .bubble {
        max-width: 84%;

        padding: 9px 11px;

        font-size: 10px;
    }

    .shell .input-wrap {
        width: calc(100% - 12px);

        margin-bottom: 9px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .shell {
        right: 7px;
        left: 7px;

        bottom: 72px;

        height:
            calc(100vh - 82px);

        border-radius: 18px;
    }

    .shell .content {
        padding: 10px 12px 8px;
    }

    .shell .chat {
        padding-top: 16px;
    }

    .shell .spark {
        margin-bottom: 2px;
    }

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

    .shell .suggestion:nth-child(3) {
        display: none;
    }

    .shell .welcome p {
        max-width: 250px;
    }

    .shell .bubble {
        max-width: 88%;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 330px) {

    .shell .suggestion:nth-child(2) {
        display: none;
    }

    .shell .welcome p {
        display: none;
    }

    .shell {
        bottom: 68px;
    }

    .shell .chat {
        padding-top: 14px;
    }
}
/* =========================================================
   AI CHATBOT — CLEANED & STABILIZED STYLES
   ========================================================= */

/* Prevent sizing/inline defaults from causing layout shifts */
.ai-assistant-button,
.shell,
.shell *,
.shell *::before,
.shell *::after {
    box-sizing: border-box;
}

.shell input,
.shell .input-wrap button {
    font-family: inherit;
}

.shell .input-wrap button {
    appearance: none;
    -webkit-appearance: none;
}

/* =========================================================
   AI ASSISTANT BUTTON
   ========================================================= */

.ai-assistant-button {
    position: fixed;
    right: 24px;
    bottom: 60px;

    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #C8102E,
        #C8102E
    );

    box-shadow:
        0 12px 30px rgba(0, 72, 190, 0.35),
        0 0 0 0 rgba(41, 122, 255, 0.4);

    cursor: pointer;

    z-index: 10000;

    animation: chatButtonPulse 3s infinite;

    text-decoration: none;

    font-size: 20px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ai-assistant-label {
    position: absolute;
    right: 58px;
    top: 50%;
    padding: 5px 10px;
    color: #ffffff;
    background: #111827;
    border: 1px solid rgba(105, 84, 255, 0.45);
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    animation: askMeLabel 4s ease-in-out 1 forwards;
}

@keyframes askMeLabel {
    0%, 65%, 100% {
        opacity: 0;
        transform: translate(8px, -50%);
    }

    10%, 52% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.ai-assistant-button:hover {
    transform: scale(1.08);

    box-shadow:
        0 15px 35px rgba(0, 72, 190, 0.45);
}

@keyframes chatButtonPulse {

    0% {
        box-shadow:
            0 12px 30px rgba(0, 72, 190, 0.35),
            0 0 0 0 rgba(41, 122, 255, 0.35);
    }

    70% {
        box-shadow:
            0 12px 30px rgba(0, 72, 190, 0.35),
            0 0 0 12px rgba(41, 122, 255, 0);
    }

    100% {
        box-shadow:
            0 12px 30px rgba(0, 72, 190, 0.35),
            0 0 0 0 rgba(41, 122, 255, 0);
    }
}

/* =========================================================
   MOBILE ASSISTANT BUTTON
   ========================================================= */

@media (max-width: 600px) {

    .ai-assistant-button {
        width: 44px;
        height: 44px;

        right: 20px;
        bottom: 100px;

        font-size: 18px;
    }

    .ai-assistant-label {
        display: none;
    }
}

/* =========================================================
   CHATBOT VARIABLES
   ========================================================= */

:root {
    --bot-bg: #080d20;
    --bot-card: rgba(15, 23, 48, 0.96);
    --bot-card-light: rgba(25, 35, 65, 0.95);

    --bot-text: #f5f7ff;
    --bot-muted: #9da8c2;

    --bot-border: rgba(255, 255, 255, 0.10);

    --bot-primary: #1677ff;
    --bot-primary-dark: #0d5ed7;

    --bot-purple: #7357ff;
    --bot-cyan: #00cfff;

    --bot-user: linear-gradient(
        135deg,
        #0878f9 0%,
        #1765e9 55%,
        #6355f5 100%
    );

    --bot-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(22, 119, 255, 0.12);

    --bot-radius: 22px;
}

/* =========================================================
   CHAT SHELL
   ========================================================= */

.shell {
    position: fixed;

    right: 30px;
    bottom: 120px;

    width: 380px;
    height: 600px;

    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 150px);

    display: none;

    flex-direction: column;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(82, 85, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(0, 207, 255, 0.08),
            transparent 35%
        ),
        var(--bot-bg);

    border: 1px solid var(--bot-border);

    border-radius: var(--bot-radius);

    box-shadow: var(--bot-shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    z-index: 99999;

    transform-origin: bottom right;

    box-sizing: border-box;
}

/* =========================================================
   OPEN ANIMATION
   ========================================================= */

@keyframes chatbotOpen {

    from {
        opacity: 0;

        transform:
            translateY(18px)
            scale(0.94);

        filter: blur(4px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter: blur(0);
    }
}

.shell.show {
    display: flex !important;

    animation:
        chatbotOpen
        0.35s
        cubic-bezier(.16, 1, .3, 1)
        forwards;
}

/* =========================================================
   CLOSE ANIMATION
   ========================================================= */

.shell.closing {
    animation:
        chatbotClose
        0.22s
        ease
        forwards;
}

@keyframes chatbotClose {

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

    to {
        opacity: 0;

        transform:
            translateY(15px)
            scale(0.95);
    }
}

/* =========================================================
   HIDE SIDEBAR
   ========================================================= */

.shell aside {
    display: none !important;
}

/* =========================================================
   MAIN
   ========================================================= */

.shell main {
    display: flex;

    flex: 1;

    flex-direction: column;

    min-width: 0;
    min-height: 0;

    width: 100%;
}

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

.shell header {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 72px;

    padding: 15px 18px;

    flex-shrink: 0;

    background:
        linear-gradient(
            135deg,
            rgba(17, 29, 61, 0.98),
            rgba(10, 17, 37, 0.98)
        );

    border-bottom:
        1px solid var(--bot-border);

    z-index: 5;
}

.shell header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 207, 255, 0.65),
            rgba(115, 87, 255, 0.65),
            transparent
        );

    opacity: 0.8;
}

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

.shell header h1 {
    margin: 0;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: -0.2px;
}

.shell header p {
    margin: 3px 0 0;

    color: var(--bot-muted);

    font-size: 10px;
}

/* =========================================================
   PROFILE
   ========================================================= */

.shell .profile {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--bot-muted);

    font-size: 10px;
}

/* =========================================================
   AVATAR
   ========================================================= */

.shell .avatar {
    position: relative;

    display: grid;

    place-items: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border-radius: 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #8B0A1F,
            #C8102E
        );

    font-size: 15px;

    font-weight: 800;

    box-shadow:
        0 6px 20px
        rgba(22, 119, 255, 0.35);

    animation:
        avatarPulse
        3s
        ease-in-out
        infinite;
}

.shell .avatar::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    right: -2px;
    bottom: -2px;

    border:
        2px solid
        #080d20;

    border-radius: 50%;

    background: #20e58a;

    box-shadow:
        0 0 8px
        rgba(32, 229, 138, 0.8);
}

@keyframes avatarPulse {

    0%,
    100% {
        box-shadow:
            0 6px 20px
            rgba(22, 119, 255, 0.30);
    }

    50% {
        box-shadow:
            0 6px 28px
            rgba(22, 119, 255, 0.55);
    }
}

/* =========================================================
   CONTENT AREA
   ========================================================= */

.shell .content {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 1;

    min-height: 0;

    /*
       The content area is the ONLY scrolling region.
       Extra bottom space prevents messages from being
       hidden behind the fixed/sticky composer.
    */
    padding: 18px 18px 92px;

    overflow-y: auto;

    overflow-x: hidden;

    overscroll-behavior: contain;
    scrollbar-gutter: stable;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(32, 76, 160, 0.08),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #080d20 0%,
            #070b18 100%
        );
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

.shell .content::-webkit-scrollbar {
    width: 5px;
}

.shell .content::-webkit-scrollbar-track {
    background: transparent;
}

.shell .content::-webkit-scrollbar-thumb {
    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            #247dff,
            #6855ff
        );
}

/* =========================================================
   WELCOME SECTION
   ========================================================= */

.shell .welcome {
    text-align: center;

    padding: 0 5px 0;
}

/* =========================================================
   SPARK ICON
   ========================================================= */

.shell .spark {
    position: relative;

    display: inline-grid;

    place-items: center;

    width: 50px;
    height: 50px;

    margin-bottom: 2px;

    border-radius: 16px;

    color: #ffffff;

    font-size: 22px;

    background:
        linear-gradient(
            135deg,
            #C8102E,
            #7355ff
        );

    box-shadow:
        0 10px 30px
        rgba(45, 92, 255, 0.35);

    animation:
        botFloat
        3s
        ease-in-out
        infinite;
}

.shell .spark::before {
    content: "";

    position: absolute;

    inset: -5px;

    border-radius: inherit;

    border:
        1px solid
        rgba(74, 130, 255, 0.25);

    animation:
        sparkRing
        2.5s
        ease-in-out
        infinite;
}

/* =========================================================
   SPARK ANIMATIONS
   ========================================================= */

@keyframes sparkRing {

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

    50% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}

@keyframes botFloat {

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

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

/* =========================================================
   MAIN HEADING
   ========================================================= */

.shell h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            19px,
            4vw,
            24px
        );

    font-weight: 750;

    line-height: 1.2;

    letter-spacing: -0.6px;
}

/* =========================================================
   WELCOME DESCRIPTION
   ========================================================= */

.shell .welcome p {
    max-width: 310px;

    margin: 5px auto 8px;

    color: var(--bot-muted);

    font-size: 11px;

    line-height: 1.5;
}

/* =========================================================
   SUGGESTIONS
   ========================================================= */

.shell .suggestions {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 7px;

    margin-bottom: 10px;
}

.shell .suggestion {
    position: relative;

    min-width: 0;

    padding: 12px;

    text-align: left;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.04);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

    cursor: pointer;
}

.shell .suggestion:hover {
    transform: translateY(-3px);

    border-color:
        rgba(55, 133, 255, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(26, 111, 255, 0.13),
            rgba(102, 75, 255, 0.10)
        );

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.22),
        0 0 15px
        rgba(22, 119, 255, 0.08);
}

.shell .suggestion b {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 11px;

    font-weight: 650;
}

.shell .suggestion span {
    display: block;

    color: #8f9ab5;

    font-size: 9px;

    line-height: 1.4;
}

/* =========================================================
   CHAT SECTION
   ========================================================= */

/*
   THIS IS THE MAIN FIX.

   Adds space between the header/icon area
   and the actual conversation messages.
*/

.shell .chat {
    width: 100%;

    max-width: 100%;

    margin: 0 auto;

    /*
       Moves the chat messages downward.
    */
    padding-top: 22px;

    box-sizing: border-box;
}

/* =========================================================
   MESSAGE
   ========================================================= */

.shell .message {
    display: flex;

    align-items: flex-end;

    gap: 8px;

    margin: 12px 0;

    animation:
        messageIn
        0.3s
        ease
        both;
}

.shell .message:first-child {
    margin-top: 0;
}

.shell .message.user {
    justify-content: flex-end;
}

@keyframes messageIn {

    from {
        opacity: 0;

        transform:
            translateY(7px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}

/* =========================================================
   CHAT BUBBLE
   ========================================================= */

.shell .bubble {
    max-width: 78%;

    padding: 10px 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius:
        15px 15px 15px 4px;

    color: #c6cee0;

    background:
        rgba(255, 255, 255, 0.065);

    font-size: 11px;

    line-height: 1.5;

    box-shadow:
        0 5px 15px
        rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(8px);
}

.shell .message:not(.user) .bubble {
    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.045)
        );
}

.shell .user .bubble {
    border-radius:
        15px 15px 4px 15px;

    border: none;

    color: #ffffff;

    background:
        var(--bot-user);

    box-shadow:
        0 7px 20px
        rgba(16, 99, 239, 0.25);
}

/* =========================================================
   TYPING INDICATOR
   ========================================================= */

.shell .typing {
    display: inline-flex;

    align-items: center;

    gap: 4px;

    padding: 10px 13px;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.06);
}

.shell .typing span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #8fa4d5;

    animation:
        typing
        1.2s
        infinite
        ease-in-out;
}

.shell .typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.shell .typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);

        opacity: 0.4;
    }

    30% {
        transform:
            translateY(-4px);

        opacity: 1;
    }
}

/* =========================================================
   INPUT
   ========================================================= */

.shell .input-wrap {
    position: sticky;
    bottom: 0;

    display: flex;

    align-items: center;

    gap: 8px;

    width: calc(100% - 24px);

    margin: 8px auto 0;

    padding: 6px 6px 6px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 15px;

    background:
        rgba(12, 18, 38, 0.96);

    box-shadow:
        0 -10px 24px
        rgba(7, 11, 24, 0.55),
        0 10px 30px
        rgba(0, 0, 0, 0.22);

    z-index: 20;
    isolation: isolate;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.shell .input-wrap:focus-within {
    border-color:
        rgba(38, 125, 255, 0.65);

    background:
        rgba(255, 255, 255, 0.085);

    box-shadow:
        0 0 0 3px
        rgba(25, 112, 255, 0.08),
        0 10px 30px
        rgba(0, 0, 0, 0.25);
}

.shell .input-wrap input {
    flex: 1;

    min-width: 0;

    padding: 9px 0;

    border: 0;

    outline: 0;

    color: #ffffff;

    background: transparent;

    font: inherit;

    font-size: 11px;
}

.shell .input-wrap input::placeholder {
    color: #77829d;

    transition:
        color 0.2s ease;
}

.shell .input-wrap input:focus::placeholder {
    color: #626e88;
}

/* =========================================================
   CHAT SEND BUTTON
   ========================================================= */

.shell .input-wrap button {
    display: grid;

    place-items: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border: 0;

    border-radius: 11px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #C8102E,
            #E8364F
        );

    font-size: 15px;

    cursor: pointer;

    box-shadow:
        0 6px 18px
        rgba(37, 107, 255, 0.28);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.shell .input-wrap button:hover {
    transform:
        translateY(-1px)
        scale(1.04);

    filter: brightness(1.08);

    box-shadow:
        0 8px 22px
        rgba(37, 107, 255, 0.4);
}

.shell .input-wrap button:active {
    transform: scale(0.95);
}

/* =========================================================
   DISCLAIMER
   ========================================================= */

.shell .disclaimer {
    position: sticky;
    bottom: 0;
    z-index: 19;

    margin: 0 10px 8px;

    color: #68738d;

    text-align: center;

    font-size: 8px;

    line-height: 1.4;
}

/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .shell {
        right: 28px;

        bottom: 145px;

        width: 360px;

        height: 520px;
    }

    .shell .content {
        padding: 18px 20px 10px;
    }

    .shell .chat {
        padding-top: 22px;
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .shell {
        right: 18px;

        bottom: 130px;

        width:
            min(
                350px,
                calc(100vw - 36px)
            );

        height:
            min(
                500px,
                calc(100vh - 110px)
            );
    }

    .shell header {
        min-height: 68px;
    }

    .shell .content {
        padding: 16px 16px 86px;
    }

    .shell .chat {
        padding-top: 18px;
    }

    .shell .welcome p {
        max-width: 290px;

        margin-bottom: 8px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .shell {
        right: 10px;
        left: 10px;

        bottom: 125px;

        width: auto;

        height:
            min(
                670px,
                calc(100vh - 95px)
            );

        border-radius: 20px;
    }

    .shell header {
        min-height: 64px;

        padding: 12px 14px;
    }

    .shell header h1 {
        font-size: 14px;
    }

    .shell header p {
        font-size: 9px;
    }

    .shell .avatar {
        width: 34px;
        height: 34px;

        border-radius: 10px;

        font-size: 13px;
    }

    .shell .content {
        padding: 12px 13px 82px;
    }

    .shell .spark {
        width: 44px;
        height: 44px;

        border-radius: 14px;

        font-size: 19px;

        margin-bottom: 2px;
    }

    .shell h2 {
        font-size: 20px;
    }

    .shell .welcome p {
        max-width: 280px;

        margin:
            5px auto 8px;

        font-size: 10px;
    }

    .suggestions {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 6px;

        margin-bottom: 8px;
    }

    .shell .suggestion {
        padding: 10px;
    }

    .shell .suggestion b {
        font-size: 10px;
    }

    .shell .suggestion span {
        font-size: 8px;
    }

    /*
       Mobile chat spacing
    */
    .shell .chat {
        padding-top: 18px;
    }

    .shell .message {
        margin: 10px 0;
    }

    .shell .bubble {
        max-width: 84%;

        padding: 9px 11px;

        font-size: 10px;
    }

    .shell .input-wrap {
        width: calc(100% - 12px);
        margin-bottom: 0;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .shell {
        right: 7px;
        left: 7px;

        bottom: 72px;

        height:
            calc(100vh - 82px);

        border-radius: 18px;
    }

    .shell .content {
        padding: 10px 12px 78px;
    }

    .shell .chat {
        padding-top: 16px;
    }

    .shell .spark {
        margin-bottom: 2px;
    }

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

    .shell .suggestion:nth-child(3) {
        display: none;
    }

    .shell .welcome p {
        max-width: 250px;
    }

    .shell .bubble {
        max-width: 88%;
    }
}

/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 330px) {

    .shell .suggestion:nth-child(2) {
        display: none;
    }

    .shell .welcome p {
        display: none;
    }

    .shell {
        bottom: 68px;
    }

    .shell .chat {
        padding-top: 14px;
    }
}

/* =========================================================
   FIXED / STABLE PROMPT COMPOSER
   ========================================================= */

/* Keep the prompt visually anchored while the conversation scrolls. */
.shell .input-wrap {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    flex-shrink: 0;
}

.shell .disclaimer {
    flex-shrink: 0;
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    .ai-assistant-button,
    .ai-assistant-label,
    .shell,
    .shell .avatar,
    .shell .spark,
    .shell .spark::before,
    .shell .message,
    .shell .typing span {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   FINAL CHATBOT FIX — DO NOT REMOVE
   ========================================================= */

/* The chatbot window itself never grows with messages. */
#chatbot-shell.shell,
.shell {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 80px !important;
    bottom: 100px !important;

    width: 400px !important;
    height: min(650px, calc(100dvh - 120px)) !important;

    max-width: calc(100vw - 48px) !important;
    max-height: calc(100dvh - 120px) !important;

    min-width: 0 !important;
    min-height: 0 !important;

    display: none !important;
    flex-direction: column !important;

    overflow: hidden !important;
    z-index: 99999 !important;

    box-sizing: border-box !important;
}

#chatbot-shell.shell.show,
.shell.show {
    display: flex !important;
}

/* Header is never part of the scrolling area. */
#chatbot-shell .shell-header,
#chatbot-shell header,
.shell header {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
}

/* Main gets all remaining height. */
#chatbot-shell main,
.shell main {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    width: 100% !important;
    height: auto !important;

    overflow: hidden !important;
}

/* =========================================================
   CONVERSATION — THIS IS THE ONLY SCROLLING AREA
   ========================================================= */

#chatbot-shell .content,
.shell .content {
    position: relative !important;

    display: block !important;

    flex: 1 1 auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    width: 100% !important;
    height: auto !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    /*
      Large bottom padding is intentional.
      It creates real scrollable space below the last message,
      so the fixed prompt can NEVER cover the newest response.
    */
    padding: 18px 18px 150px !important;

    box-sizing: border-box !important;

    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
    -webkit-overflow-scrolling: touch !important;

    scroll-behavior: smooth !important;
}

/* Never allow chat/message children to become another scroll box. */
#chatbot-shell .chat,
.shell .chat {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    overflow: visible !important;
}

/* Long assistant replies must wrap inside the chatbot. */
#chatbot-shell .message,
#chatbot-shell .bubble,
#chatbot-shell .typing,
.shell .message,
.shell .bubble,
.shell .typing {
    min-width: 0 !important;
    max-width: 100% !important;

    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

/* =========================================================
   PROMPT — HARD LOCK TO BOTTOM
   ========================================================= */

/*
   IMPORTANT:
   This intentionally overrides the old "position: sticky"
   rules found earlier in the CSS.

   Sticky was causing the prompt and messages to fight over
   the same scrolling area.
*/
#chatbot-shell .input-wrap,
.shell .input-wrap {
    position: absolute !important;

    top: auto !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 30px !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;

    flex: none !important;
    flex-shrink: 0 !important;

    z-index: 500 !important;

    box-sizing: border-box !important;

    /*
      Opaque background prevents chat messages from showing
      through the prompt area.
    */
    background:
        linear-gradient(
            180deg,
            rgba(8, 13, 32, 0.30) 0%,
            rgba(8, 13, 32, 0.97) 28%,
            rgba(8, 13, 32, 1) 100%
        ) !important;

    box-shadow:
        0 -18px 32px rgba(8, 13, 32, 0.95),
        0 10px 30px rgba(0, 0, 0, 0.24) !important;

    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Disclaimer is locked under the prompt. */
#chatbot-shell .disclaimer,
.shell .disclaimer {
    position: absolute !important;

    left: 12px !important;
    right: 12px !important;
    bottom: 7px !important;

    width: auto !important;
    margin: 0 !important;

    z-index: 501 !important;

    pointer-events: none !important;
}

/* Stable send button dimensions. */
#chatbot-shell .input-wrap button,
.shell .input-wrap button {
    flex: 0 0 38px !important;

    width: 38px !important;
    min-width: 38px !important;

    height: 38px !important;
    min-height: 38px !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {
    #chatbot-shell.shell,
    .shell {
        right: 18px !important;
        bottom: 78px !important;

        width: min(390px, calc(100vw - 36px)) !important;
        height: min(620px, calc(100dvh - 103px)) !important;

        max-width: calc(100vw - 36px) !important;
        max-height: calc(100dvh - 103px) !important;
    }

    #chatbot-shell .content,
    .shell .content {
        padding-bottom: 145px !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    #chatbot-shell.shell,
    .shell {
        left: 10px !important;
        right: 10px !important;
        bottom: 68px !important;

        width: auto !important;
        height: min(680px, calc(100dvh - 82px)) !important;

        max-width: none !important;
        max-height: calc(100dvh - 82px) !important;

        border-radius: 20px !important;
    }

    #chatbot-shell .content,
    .shell .content {
        padding: 12px 13px 145px !important;
    }

    #chatbot-shell .input-wrap,
    .shell .input-wrap {
        left: 9px !important;
        right: 9px !important;
        bottom: 28px !important;
    }

    #chatbot-shell .disclaimer,
    .shell .disclaimer {
        left: 8px !important;
        right: 8px !important;
        bottom: 6px !important;
    }
}

@media (max-width: 390px) {
    #chatbot-shell.shell,
    .shell {
        left: 7px !important;
        right: 7px !important;
        bottom: 56px !important;

        height: calc(100dvh - 66px) !important;
        max-height: calc(100dvh - 66px) !important;
    }

    #chatbot-shell .content,
    .shell .content {
        padding-left: 11px !important;
        padding-right: 11px !important;
        padding-bottom: 140px !important;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    #chatbot-shell .content,
    .shell .content {
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   DEFINITIVE FIX: PROMPT MUST NOT LIVE INSIDE THE SCROLLER
   ========================================================= */

/*
 * ROOT CAUSE:
 * .content was position: relative.
 * .input-wrap is inside .content.
 * Therefore an absolute input-wrap was positioned relative
 * to the scrolling .content and moved with the messages.
 *
 * FIX:
 * .content becomes the scrolling layer WITHOUT being a
 * positioning parent. .main remains the positioning parent.
 * The prompt is therefore locked to the chatbot window.
 */

/* The scrolling area must NOT be the positioning parent. */
#chatbot-shell .content,
.shell .content {
    position: static !important;

    flex: 1 1 auto !important;
    min-height: 0 !important;
    min-width: 0 !important;

    width: 100% !important;
    height: auto !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    box-sizing: border-box !important;

    /*
     * Space at bottom so the final message can scroll above
     * the fixed prompt.
     */
    padding: 18px 18px 150px !important;

    overscroll-behavior: contain !important;
    scrollbar-gutter: stable !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
}

/*
 * .main is the positioning parent.
 * The prompt can now stay at the same coordinates while
 * .content scrolls underneath it.
 */
#chatbot-shell main,
.shell main {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;

    flex: 1 1 auto !important;
    min-height: 0 !important;
    min-width: 0 !important;

    overflow: hidden !important;
}

/*
 * HARD LOCK.
 * Do NOT use sticky here.
 */
#chatbot-shell .input-wrap,
.shell .input-wrap {
    position: absolute !important;

    top: auto !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 30px !important;

    margin: 0 !important;

    width: auto !important;
    height: auto !important;

    z-index: 999 !important;

    flex: none !important;

    box-sizing: border-box !important;

    background:
        linear-gradient(
            180deg,
            rgba(8, 13, 32, 0.20) 0%,
            rgba(8, 13, 32, 0.97) 30%,
            rgba(8, 13, 32, 1) 100%
        ) !important;

    box-shadow:
        0 -20px 35px rgba(8, 13, 32, 0.96) !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Disclaimer is also anchored to the chatbot, NOT the scroller. */
#chatbot-shell .disclaimer,
.shell .disclaimer {
    position: absolute !important;

    left: 12px !important;
    right: 12px !important;
    bottom: 7px !important;

    margin: 0 !important;
    width: auto !important;

    z-index: 1000 !important;
    pointer-events: none !important;
}

/* Never allow a nested content rule to recreate the problem. */
#chatbot-shell .content .input-wrap,
.shell .content .input-wrap {
    position: absolute !important;
    top: auto !important;
    bottom: 30px !important;
}

/* Mobile */
@media (max-width: 600px) {
    #chatbot-shell .input-wrap,
    .shell .input-wrap {
        left: 9px !important;
        right: 9px !important;
        bottom: 28px !important;
    }

    #chatbot-shell .content,
    .shell .content {
        padding-bottom: 145px !important;
    }
}

/* =========================================================
   PREMIUM WHITE & RED THEME — GLOBAL OVERRIDES
   ========================================================= */

body.react-route-active {
    background: #F9FAFB !important;
}

.carousel-nav-btn {
    background: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    color: var(--primary-red) !important;
    box-shadow: var(--shadow-card) !important;
}

.carousel-nav-btn:hover {
    background: var(--primary-red-soft) !important;
    border-color: var(--primary-red) !important;
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.15) !important;
}

.services-section::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(200, 16, 46, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 16, 46, 0.06) 0%, transparent 50%) !important;
}

.trust-badges,
.process-section {
    background: var(--bg-section-alt) !important;
    border-color: var(--border-light) !important;
}

.badge-icon,
.process-icon {
    color: var(--text-on-primary) !important;
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.22) !important;
}

.badge-text {
    color: var(--text-light) !important;
}

.process-item {
    background: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-card) !important;
}

.process-item:hover {
    border-color: var(--border-red-subtle) !important;
    box-shadow: 0 16px 40px rgba(200, 16, 46, 0.1) !important;
}

.about-section .about-content {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-premium);
}

.about-content h2 {
    color: #111827 !important;
}

.about-content p {
    color: #4B5563 !important;
}

.about-section {
    background: #F9FAFB !important;
}

.experience-section {
    background: #FFFFFF !important;
}

.submenu {
    background: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

.submenu li a:hover,
.submenu li a.active {
    background: var(--primary-red-soft) !important;
    color: var(--primary-red) !important;
    border-left-color: var(--primary-red) !important;
}

.clients-marquee {
    background: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-card) !important;
}

.clients-marquee::before {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%) !important;
}

.clients-marquee::after {
    background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%) !important;
}

.faq-accordion .card {
    background: #FFFFFF !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-card) !important;
}

.faq-accordion .card:hover {
    border-color: var(--border-red-subtle) !important;
    box-shadow: 0 12px 32px rgba(200, 16, 46, 0.08) !important;
}

.faq-accordion .card-body {
    background: #FFFFFF !important;
}

.list-icons i,
.service-list li i {
    color: var(--primary-red) !important;
}

.social-icons a:hover {
    color: var(--primary-red) !important;
}

.btn-primary,
button[type="submit"].btn-primary {
    background: var(--gradient-primary) !important;
    border-color: var(--primary-red) !important;
    color: var(--text-on-primary) !important;
}

.ai-assistant-button,
.shell .input-wrap button,
.shell .avatar {
    background: linear-gradient(135deg, #8B0A1F, #C8102E) !important;
    box-shadow: 0 8px 24px rgba(200, 16, 46, 0.28) !important;
}

.shell .message.user .bubble {
    background: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
}

.shell .input-wrap:focus-within {
    border-color: rgba(200, 16, 46, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08) !important;
}

.word-rotator-words {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.cyberguard-hero .typewriter-text {
    background: none !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
    color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 991px) {
    .navbar-menu {
        background: #FFFFFF !important;
        border: 1px solid var(--border-light) !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08) !important;
    }
}
