/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --clr-bg-main: #F6F8FC;
    --clr-bg-card: #FFFFFF;
    --clr-bg-glass: rgba(15, 23, 42, 0.04);
    --clr-text-main: #101828;
    --clr-text-muted: #5E6B7E;
    
    --clr-primary: #1457D9;
    --clr-secondary: #0E7490;
    --clr-accent: #B45309;
    
    --gradient-primary: var(--clr-primary);
    --gradient-glow: var(--clr-primary);
    --clr-bg-header: rgba(255, 255, 255, 0.94);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-glow: 0 18px 40px rgba(20, 87, 217, 0.18);
    --shadow-card: 0 20px 55px rgba(15, 23, 42, 0.10);
    --border-glass: 1px solid rgba(15, 23, 42, 0.10);
    --radius-md: 8px;
    --radius-lg: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme {
    --clr-bg-main: #F6F8FC;
    --clr-bg-card: #FFFFFF;
    --clr-bg-glass: rgba(15, 23, 42, 0.04);
    --clr-text-main: #101828;
    --clr-text-muted: #5E6B7E;
    --clr-primary: #1457D9;
    --clr-secondary: #0E7490;
    --clr-accent: #B45309;
    --clr-bg-header: rgba(255, 255, 255, 0.94);
    --shadow-card: 0 20px 55px rgba(15, 23, 42, 0.10);
    --shadow-glow: 0 18px 40px rgba(20, 87, 217, 0.18);
    --border-glass: 1px solid rgba(15, 23, 42, 0.10);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg-main);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    color: var(--clr-primary);
}

.highlight {
    color: var(--clr-accent);
}

.subtitle {
    display: inline-block;
    color: var(--clr-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.text-center { text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--clr-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(20, 87, 217, 0.18);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--clr-primary);
    background-size: 300% 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
    animation: glow-move 2s linear infinite;
}

.btn-outline {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: var(--clr-text-main);
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    background: #F0F5FF;
    color: var(--clr-primary);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

.btn-block {
    width: 100%;
}

@keyframes glow-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
}

.site-header.scrolled {
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 68px;
    gap: 22px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--clr-text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
}

.theme-toggle:hover {
    background: var(--clr-bg-glass);
    color: var(--clr-accent);
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--clr-text-muted);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--clr-secondary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%; left: 0;
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--clr-text-muted);
}

.dropdown-menu a:hover {
    color: var(--clr-text-main);
    background: var(--clr-bg-glass);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    display: none;
}

.shape-2 {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    border: 1px solid rgba(20, 87, 217, 0.16);
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-text-main);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

.stars {
    color: var(--clr-accent);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* Glass Visual */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-card);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.glass-header {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.chart-bar {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 200px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.bar {
    flex: 1;
    background: var(--clr-primary);
    border-radius: 6px 6px 0 0;
    animation: grow-up 1.5s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

.b1 { height: 40%; animation-delay: 0.5s; }
.b2 { height: 60%; animation-delay: 0.6s; }
.b3 { height: 50%; animation-delay: 0.7s; }
.b4 { height: 85%; animation-delay: 0.8s; }
.b5 { height: 100%; animation-delay: 0.9s; }

.floating-badge {
    position: absolute;
    background: var(--clr-bg-card);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    border: var(--border-glass);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    animation: float 4s infinite ease-in-out;
}

.fb-1 { top: -20px; right: -30px; color: #27C93F; }
.fb-2 { bottom: 20px; left: -40px; color: var(--clr-accent); animation-delay: -2s; }

/* ==========================================================================
   Trust Marquee
   ========================================================================== */
.trust-marquee {
    padding: 40px 0;
    background: #FFFFFF;
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
    overflow: hidden;
}

.trust-title {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-bg-main), transparent);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--clr-bg-main), transparent);
}

.marquee-track {
    display: inline-block;
    animation: scroll-marquee 30s linear infinite;
}

.brand {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(16, 24, 40, 0.36);
    margin: 0 40px;
    text-transform: uppercase;
    transition: var(--transition);
}

.brand:hover {
    color: var(--clr-text-main);
}

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--clr-primary);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--clr-secondary);
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(20, 87, 217, 0.08);
    width: 70px; height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--clr-primary);
    color: #fff;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--clr-text-muted);
    margin-bottom: 25px;
}

.service-link {
    color: var(--clr-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card:hover .service-link {
    color: var(--clr-secondary);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-choose-section {
    padding: 100px 0;
    background: var(--clr-bg-card);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-content > p {
    color: var(--clr-text-muted);
    margin-bottom: 40px;
}

.benefit-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-list i {
    font-size: 1.5rem;
    color: var(--clr-accent);
    margin-top: 5px;
}

.benefit-list strong {
    font-size: 1.2rem;
    color: var(--clr-text-main);
    display: block;
    margin-bottom: 5px;
}

.benefit-list p {
    color: var(--clr-text-muted);
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: rgba(255,255,255,0.03);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
    gap: 2px;
    min-height: 4.5rem; /* Stable vertical dimension matching font-size */
    margin-bottom: 5px;
}

.stat-box h3 {
    font-size: 3.5rem;
    color: var(--clr-secondary);
    margin: 0;
    line-height: 1;
    display: inline-block;
}

.stat-box .stat-suffix {
    font-size: 2rem;
    color: var(--clr-secondary);
    font-weight: 700;
    line-height: 1;
    display: inline-block;
}

.stat-box p {
    color: var(--clr-text-main);
    font-weight: 500;
    margin-top: 10px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--clr-bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(255, 107, 107, 0.2);
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.client-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.client-info span {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   CTA Section (Audit Form)
   ========================================================================== */
.cta-section {
    padding: 50px 0 100px;
}

.cta-card {
    background-color: #101828;
    background-image:
        linear-gradient(135deg, #101828 0%, #183B8D 62%, #1457D9 100%);
    border-radius: 8px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 62%, transparent 100%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.82);
}

.audit-form {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.input-group {
    margin-bottom: 20px;
}

.audit-form input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #F8FAFC;
    color: var(--clr-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
}

.audit-form input:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(20, 87, 217, 0.10);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #FFFFFF;
    padding: 80px 0 20px;
    border-top: var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--clr-text-muted);
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    background: var(--clr-primary);
    color: #fff;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-secondary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #fff;
}

.btn-icon {
    padding: 12px 20px;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes grow-up {
    to { transform: scaleY(1); }
}

/* Reveal classes for JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .why-grid, .cta-card {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Simple mobile menu activation via JS */
    .nav-active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--clr-bg-card);
        padding: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-active .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 20px;
        transform: none;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .cta-card {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Premium Interactive Upgrade Additions
   ========================================================================== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 4px;
    background: var(--clr-primary);
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
    transition: width 0.05s linear;
}

/* Mouse Glow Card */
.glow-card {
    position: relative;
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.glow-card::before {
    display: none; /* Radial glow gradient removed */
}

.glow-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Dynamic Services Section */
.services-tabs-container {
    margin-top: 50px;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tab-btn {
    background: var(--clr-bg-glass);
    border: var(--border-glass);
    color: var(--clr-text-muted);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--clr-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    opacity: 1;
    transform: translateY(0);
}

.tab-info h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.tab-info p {
    color: var(--clr-text-muted);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.features-list {
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.features-list i {
    color: #27C93F;
    font-size: 1.2rem;
}

.tab-metric-box {
    background: rgba(138, 43, 226, 0.03);
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: var(--radius-md);
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(138, 43, 226, 0.05);
}

.metric-value {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 5px;
}

.metric-label {
    color: var(--clr-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ROI Calculator Section */
.roi-section {
    padding: 100px 0;
    background: var(--clr-bg-main);
}

.roi-calculator {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    padding: 50px;
    border-radius: var(--radius-lg);
    background: rgba(21, 21, 29, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
    margin-top: 50px;
}

.slider-group {
    margin-bottom: 35px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.05rem;
}

.slider-value {
    color: var(--clr-secondary);
    background: rgba(255, 107, 107, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
}

.slider-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--clr-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
    transition: transform 0.1s ease;
}

.slider-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.roi-outputs {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.roi-output-card {
    background: var(--clr-bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.roi-output-card.secondary {
    background: rgba(252, 163, 17, 0.04);
    border-color: rgba(252, 163, 17, 0.15);
}

.output-label {
    display: block;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.output-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.output-desc {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
}

/* Roadmap Process Section */
.roadmap-section {
    padding: 100px 0;
}

.roadmap-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 60px;
    position: relative;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 40px; left: 10%; right: 10%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.roadmap-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--clr-bg-card);
    border: 3px solid rgba(255, 255, 255, 0.08);
    color: var(--clr-text-main);
    font-size: 1.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.roadmap-step:hover .step-number {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.roadmap-step.active .step-number {
    background: var(--clr-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.industry-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-md);
}

.industry-icon {
    font-size: 2.8rem;
    color: var(--clr-secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--clr-primary);
}

.industry-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 850px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.faq-question i {
    font-size: 1rem;
    color: var(--clr-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.1);
}

.faq-item.active .faq-question {
    color: var(--clr-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 24px;
}

/* ==========================================================================
   Responsive Updates for New Sections
   ========================================================================== */
@media (max-width: 992px) {
    .tab-content.active, .roi-calculator {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .roadmap-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .roadmap-container::before {
        display: none;
    }
    
    .roi-calculator {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .output-value {
        font-size: 2.8rem;
    }
    
    .why-stats {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .stat-box {
        padding: 25px 15px !important;
    }
}

/* ==========================================================================
   Advanced Visual Upgrades & Sub-Services Styles
   ========================================================================== */

/* Custom Fluid Mouse Glowing Trailer */
.custom-mouse-trailer {
    width: 12px;
    height: 12px;
    border: 2px solid var(--clr-secondary);
    background: transparent;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    opacity: 0.8;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.custom-mouse-trailer.trailer-hover {
    width: 40px;
    height: 40px;
    border-color: var(--clr-accent);
    background: transparent;
    opacity: 0.6;
}

/* Dynamic Word Rotator */
.dynamic-word-rotator {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Particle Canvas */
#particle-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Service Page Styles */
.service-hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    background: var(--clr-bg-main);
}

.service-hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.service-content-section {
    padding: 80px 0;
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-details-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.service-details-content p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Pricing Layout */
.pricing-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--clr-primary);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.pricing-card.popular::after {
    content: 'Recommended';
    position: absolute;
    top: 20px; right: 20px;
    background: var(--clr-primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.pricing-features {
    margin: 40px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--clr-text-muted);
}

.pricing-features i {
    color: #27C93F;
}

/* Portfolio & Contact Custom Styles */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-img {
    height: 240px;
    background: rgba(138, 43, 226, 0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
}

.portfolio-info {
    padding: 30px;
}

.portfolio-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.portfolio-metric {
    display: flex;
    flex-direction: column;
}

.portfolio-metric span:first-child {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--clr-accent);
}

.portfolio-metric span:last-child {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.8rem;
    }
    
    .service-details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   Wow-Factor Visual Effects Upgrades (Phase 6)
   ========================================================================== */

/* Spark Particles */
.spark-particle {
    position: fixed;
    pointer-events: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    animation: spark-fade 0.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes spark-fade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0);
    }
}

/* Hacker Scramble */
.hacker-scramble {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    position: relative;
    cursor: default;
}

/* Magnetic Button Transition Setup */
.btn-magnetic, .magnetic {
    display: inline-block;
    will-change: transform;
    transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   Trust & Conversion Boost Section Styles
   ========================================================================== */

/* 1. What's Different Toggle Comparison Section */
.whats-different-section {
    padding: 100px 0;
    background: var(--clr-bg-main);
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
}
.comparison-table {
    max-width: 1000px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.comparison-row {
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    gap: 30px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px 30px;
    transition: var(--transition);
}
.comparison-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(138, 43, 226, 0.2);
    transform: translateY(-2px);
}
.comparison-dimension {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: var(--clr-secondary);
    padding: 10px 20px;
    border-radius: 50px;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.1);
}
.comparison-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}
.comparison-cell.nexusmark {
    color: #fff;
}
.comparison-cell.typical {
    color: var(--clr-text-muted);
}
/* Custom Toggles */
.comp-toggle {
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
}
.comp-toggle.active {
    background: #27C93F;
    box-shadow: 0 0 15px rgba(39, 201, 63, 0.5);
}
.comp-toggle.inactive {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.4);
}
.comp-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: var(--transition);
}
.comp-toggle.active::after {
    left: calc(100% - 21px);
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.18);
}
.comp-toggle.inactive::after {
    left: 3px;
    background: var(--clr-secondary);
    box-shadow: 0 0 8px var(--clr-secondary);
}
.comp-toggle-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* 2. Growth Packages Section */
.growth-packages-section {
    padding: 100px 0;
    background: var(--clr-bg-main);
}
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}
.package-card {
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
    border-color: rgba(138, 43, 226, 0.3);
}
.package-card.most-popular {
    border: 2px solid #2563EB;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
}
.package-card.most-popular:hover {
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
}
.popular-badge {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563EB;
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}
.package-header {
    margin-bottom: 30px;
    text-align: left;
}
.package-header h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
}
.package-price {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}
.package-price span {
    font-size: 1rem;
    color: var(--clr-text-muted);
    margin-left: 5px;
    font-weight: 500;
}
.package-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.package-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}
.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--clr-text-main);
}
.package-features i {
    color: #27C93F;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.package-action {
    margin-top: auto;
}

/* 3. Is Bridging Square Right For You Section */
.qualification-section {
    padding: 100px 0;
    background: var(--clr-bg-main);
}
.qualification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}
.qualification-card {
    background: var(--clr-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    transition: var(--transition);
    position: relative;
}
.qualification-card.not-for {
    border-color: rgba(255, 107, 107, 0.15);
    box-shadow: inset 0 0 30px rgba(255, 107, 107, 0.02);
}
.qualification-card.not-for:hover {
    border-color: rgba(255, 107, 107, 0.4);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.1);
}
.qualification-card.is-for {
    border-color: rgba(39, 201, 63, 0.15);
    box-shadow: inset 0 0 30px rgba(39, 201, 63, 0.02);
}
.qualification-card.is-for:hover {
    border-color: rgba(39, 201, 63, 0.4);
    box-shadow: 0 10px 30px rgba(39, 201, 63, 0.1);
}
.qualification-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.qualification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
}
.not-for .qualification-icon {
    background: rgba(255, 107, 107, 0.1);
    color: var(--clr-secondary);
    border: 1px solid rgba(255, 107, 107, 0.3);
}
.is-for .qualification-icon {
    background: rgba(39, 201, 63, 0.1);
    color: #27C93F;
    border: 1px solid rgba(39, 201, 63, 0.3);
}
.qualification-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0;
}
.not-for h3 { color: var(--clr-secondary); }
.is-for h3 { color: #27C93F; }
.qualification-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.qualification-item {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--clr-text-main);
}

/* 4. Why Settle for Average Us vs Them Section */
.us-vs-them-section {
    padding: 100px 0;
    background: var(--clr-bg-main);
}
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
    border-radius: var(--radius-lg);
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
}
.comparison-grid-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: rgba(21, 21, 29, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.comparison-grid-table th, 
.comparison-grid-table td {
    padding: 22px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.05rem;
}
.comparison-grid-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    background: rgba(20, 87, 217, 0.08);
    color: #fff;
}
/* Highlight Us Column */
.col-highlight {
    background: rgba(37, 99, 235, 0.08) !important;
    border-left: 2px solid #2563EB;
    border-right: 2px solid #2563EB;
    font-weight: 700 !important;
    color: #fff !important;
}
.col-highlight-header {
    background: rgba(37, 99, 235, 0.15) !important;
    border-left: 2px solid #2563EB;
    border-right: 2px solid #2563EB;
    border-top: 2px solid #2563EB;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}
.comparison-grid-table tr:last-child .col-highlight {
    border-bottom: 2px solid #2563EB;
}
.feature-col {
    color: #fff;
    font-weight: 600;
    width: 25%;
}
.them-col {
    color: var(--clr-text-muted);
    width: 35%;
}
.us-badge-mini {
    background: #2563EB;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* 5. 4-Step Process Section */
.roadmap-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}
.roadmap-grid-4::before {
    content: '';
    position: absolute;
    top: 40px; left: 12%; right: 12%;
    height: 4px;
    background: var(--clr-primary);
    z-index: 1;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}
.roadmap-step-4 {
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(21, 21, 29, 0.5);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px 25px;
    transition: var(--transition);
}
.roadmap-step-4:hover {
    transform: translateY(-8px);
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.15);
    background: rgba(21, 21, 29, 0.8);
}
.step-number-4 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--clr-primary);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-glow);
    border: 3px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.roadmap-step-4:hover .step-number-4 {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.8);
}
.step-title-4 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
}
.step-desc-4 {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Responsive Overrides
   ========================================================================== */
@media (max-width: 992px) {
    .package-grid, .qualification-grid {
        grid-template-columns: 1fr;
    }
    .roadmap-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    .roadmap-grid-4::before {
        display: none;
    }
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    .comparison-dimension {
        display: inline-block;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .roadmap-grid-4 {
        grid-template-columns: 1fr;
    }
    .comparison-grid-table th, 
    .comparison-grid-table td {
        padding: 15px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Case Studies Details & Daily Updates Additions
   ========================================================================== */

/* Case Study Details page styling */
.case-study-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    background: var(--clr-bg-main);
    border-bottom: var(--border-glass);
}
.hero-top-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.client-label {
    font-weight: 700;
    color: var(--clr-secondary);
    letter-spacing: 1px;
}
.case-study-hero h1 {
    font-size: 3.2rem;
    max-width: 900px;
    margin: 0 auto 15px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
}

.case-study-content {
    padding: 60px 0;
}
.case-study-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
.case-study-layout > *,
.case-study-main-stack,
.case-study-sidebar-stack,
.content-block {
    min-width: 0;
}
.case-study-main-stack,
.case-study-sidebar-stack {
    display: grid;
    gap: 30px;
}
.case-study-sidebar-stack {
    gap: 24px;
}
.content-block {
    padding: 40px;
    border-radius: 8px;
    background: #FFFFFF;
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
}
.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}
.block-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--clr-text-main);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.comparison-table th, .comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.comparison-table th {
    font-weight: 700;
    background: #F8FAFC;
    color: var(--clr-text-main);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.col-before {
    color: #B42318;
}
.col-after {
    color: #067647;
}
.badge-status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}
.badge-red {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}
.badge-green {
    background: rgba(6, 118, 71, 0.10);
    border: 1px solid rgba(6, 118, 71, 0.20);
    color: #067647;
}
.percentage-gain {
    font-weight: 700;
    color: #067647;
}

/* Roadmap Markdown Formatting */
.roadmap-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--clr-text-main);
}
.roadmap-body h3 {
    font-size: 1.4rem;
    color: var(--clr-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}
.roadmap-body h4 {
    font-size: 1.15rem;
    color: var(--clr-secondary);
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Sidebar Widgets */
.sidebar-widget {
    padding: 35px;
    border-radius: 14px;
    background: #FFFFFF;
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
}
.widget-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 15px;
}
.sidebar-kpis {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.kpi-score-card {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}
.kpi-score-card:hover {
    background: #FFFFFF;
    border-color: rgba(20, 87, 217, 0.24);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transform: scale(1.03);
}
.kpi-score-card .kpi-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 5px;
}
.kpi-score-card .kpi-label {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}
.verdict-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-text-main);
    display: block;
    margin-bottom: 8px;
}
.verdict-text {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
}

/* Header Meta & Grid */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.client-name-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-secondary);
}
body.light-theme .client-name-badge {
    color: #E11D48;
}
.service-category-badge {
    font-size: 0.75rem;
    background: var(--clr-bg-glass);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--clr-text-main);
    border: var(--border-glass);
}
.challenge-summary {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ==========================================================================
   Daily Updates Live Terminal Sync & Timeline
   ========================================================================== */

/* Neon Shell Terminal Widget */
.terminal-window {
    background: #FFFFFF;
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
}
.terminal-window:hover {
    border-color: rgba(20, 87, 217, 0.22);
    box-shadow: var(--shadow-card);
}
.terminal-header {
    background: #F8FAFC;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}
.terminal-buttons {
    display: flex;
    gap: 8px;
}
.btn-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }
.terminal-title {
    font-size: 0.85rem;
    font-family: 'Courier New', Courier, monospace;
    color: var(--clr-text-muted);
    font-weight: 700;
}
.terminal-badge {
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    border: 1px solid rgba(20, 87, 217, 0.18);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.terminal-screen {
    padding: 25px;
    height: 320px;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    background: #FFFFFF;
    transition: background-color 0.15s ease;
}
.text-dim { color: #667085; }
.text-green { color: #1457D9; }
.text-cyan { color: var(--clr-secondary); }
.text-yellow { color: #A16207; }
.text-red { color: #D92D20; }

.terminal-output {
    margin-top: 15px;
    margin-bottom: 15px;
}
.terminal-log-line {
    margin-bottom: 6px;
    word-break: break-all;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 8px;
}
.terminal-prompt {
    color: var(--clr-primary);
}
.terminal-current-cmd {
    color: var(--clr-text-main);
}
.terminal-caret {
    display: inline-block;
    width: 8px; height: 16px;
    background: var(--clr-primary);
    animation: blink-caret 1s infinite steps(2, start);
}
@keyframes blink-caret {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.terminal-status {
    display: flex;
    align-items: center;
}
.status-indicator-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.dot-pulse-green {
    background: var(--clr-primary);
    box-shadow: 0 0 10px rgba(20, 87, 217, 0.28);
}
.dot-pulse-yellow {
    background: var(--clr-accent);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.28);
    animation: pulse-yellow-anim 1s infinite alternate;
}
.dot-pulse-red {
    background: #ff5f56;
    box-shadow: 0 0 10px #ff5f56;
}
@keyframes pulse-yellow-anim {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 1; }
}

/* Timeline grid & cards */
.timeline-wrapper {
    position: relative;
    padding-left: 30px;
}
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 8px;
    width: 2px;
    background: rgba(15, 23, 42, 0.10);
}
.timeline-date-group {
    position: relative;
}
.timeline-group-header {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    left: -30px;
    display: flex;
    align-items: center;
    background: var(--clr-bg-main);
    padding: 5px 10px;
    width: fit-content;
}
.group-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    display: inline-block;
    border: 4px solid var(--clr-bg-main);
    margin-right: 15px;
}
.group-dot.dot-green {
    background: var(--clr-primary);
    box-shadow: 0 0 10px rgba(20, 87, 217, 0.28);
}
.group-dot.dot-cyan {
    background: var(--clr-secondary);
    box-shadow: 0 0 10px rgba(8, 145, 178, 0.24);
}
.group-dot.dot-purple {
    background: var(--clr-accent);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.24);
}
.group-count-badge {
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
}

.timeline-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.timeline-card {
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--clr-bg-card);
    border: var(--border-glass);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.timeline-card:hover {
    border-color: var(--clr-primary);
    transform: translateY(-5px);
}
.timeline-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: var(--border-glass);
}
.timeline-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.timeline-card:hover .timeline-card-image img {
    transform: scale(1.05);
}
.timeline-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.badge-accent {
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    border: 1px solid rgba(20, 87, 217, 0.18);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.timeline-card-time {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}
.timeline-card-title {
    font-size: 1.25rem;
    color: var(--clr-text-main);
    margin-bottom: 10px;
}
.timeline-card-desc {
    color: #344054;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}
.updates-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    align-items: start;
}
.tab-btn-sm {
    background: #FFFFFF;
    border: var(--border-glass);
    color: var(--clr-text-muted);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.tab-btn-sm:hover, .tab-btn-sm.active {
    background: var(--clr-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(20, 87, 217, 0.18);
}

/* Home News Ticker Badge */
.live-ticker-badge {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgba(20, 87, 217, 0.14);
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--clr-text-main);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition);
    width: fit-content;
}
.live-ticker-badge:hover {
    background: #F0F5FF;
    border-color: rgba(20, 87, 217, 0.24);
    box-shadow: 0 14px 34px rgba(20, 87, 217, 0.12);
    transform: translateY(-2px);
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--clr-primary);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px rgba(20, 87, 217, 0.48);
    animation: simple-pulse 1.2s infinite alternate;
}
@keyframes simple-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 1; }
}
.ticker-label {
    color: var(--clr-primary);
    font-weight: 700;
    margin-right: 8px;
    text-transform: uppercase;
    font-size: 0.75rem;
}
.ticker-content {
    color: var(--clr-text-muted);
}

/* Responsive updates */
@media (max-width: 992px) {
    .case-study-layout {
        grid-template-columns: 1fr;
    }
    .updates-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .case-study-hero h1 {
        font-size: 2.2rem;
    }
    .terminal-screen {
        height: 260px;
    }
    .timeline-group-header {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Auto-Update Checker Switch & Toast Notifications
   ========================================================================== */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}
.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: .3s;
    border-radius: 34px;
}
.slider-toggle:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--clr-text-muted);
    transition: .3s;
    border-radius: 50%;
}
input:checked + .slider-toggle {
    background-color: rgba(20, 87, 217, 0.12);
    border-color: rgba(20, 87, 217, 0.30);
}
input:checked + .slider-toggle:before {
    transform: translateX(22px);
    background-color: var(--clr-primary);
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.intel-toast-notification {
    background: rgba(21, 21, 29, 0.95);
    border: 1px solid var(--clr-primary);
    border-left: 4px solid var(--clr-primary);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: translateX(120%);
    animation: toast-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.intel-toast-notification.success {
    border-color: var(--clr-primary);
    border-left-color: var(--clr-primary);
}
.intel-toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.intel-toast-badge {
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    border: 1px solid rgba(20, 87, 217, 0.18);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.intel-toast-time {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}
.intel-toast-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-text-main);
}
.intel-toast-desc {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

@keyframes toast-slide-in {
    to { transform: translateX(0); }
}
@keyframes toast-slide-out {
    to { transform: translateX(120%); }
}

/* ==========================================================================
   Premium Portfolio Card and Case Study Layouts
   ========================================================================== */
.portfolio-card.grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: #FFFFFF;
    border: var(--border-glass);
    border-radius: 18px;
    overflow: hidden;
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.portfolio-card.grid-layout:hover {
    transform: translateY(-5px);
    border-color: var(--clr-primary);
}
.portfolio-card.grid-layout .portfolio-img {
    height: 100%;
    min-height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: var(--border-glass);
}
.portfolio-card.grid-layout .portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.portfolio-card.grid-layout:hover .portfolio-img img {
    transform: scale(1.03);
}
.portfolio-card.grid-layout .portfolio-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.case-study-showcase-section {
    padding: 100px 0;
    background: #F6F8FC;
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
    position: relative;
}
.case-study-showcase-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-align: center;
}
.case-study-showcase-section .section-desc {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 50px;
    text-align: center;
}

@media (max-width: 992px) {
    .portfolio-card.grid-layout {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 25px;
    }
    .portfolio-card.grid-layout .portfolio-img {
        min-height: 220px;
    }
}

/* Relative Date Badges for Updates Feed */
.date-badge-today {
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    border: 1px solid rgba(20, 87, 217, 0.18);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}
.date-badge-yesterday {
    background: rgba(8, 145, 178, 0.08);
    color: var(--clr-secondary);
    border: 1px solid rgba(8, 145, 178, 0.18);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}
.date-badge-earlier {
    background: rgba(161, 161, 170, 0.1);
    color: var(--clr-text-muted);
    border: 1px solid rgba(161, 161, 170, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* ==========================================================================
   Bridging Square Reference-Inspired Redesign
   ========================================================================== */
.bs-topbar {
    border-bottom: 1px solid rgba(255,255,255,0.10);
    background: #101828;
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
}
.bs-topbar .container {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.bs-topbar i {
    color: var(--clr-accent);
    margin-right: 8px;
}
.bs-topbar-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    white-space: nowrap;
    flex-wrap: wrap;
}
.bs-topbar-contact a {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.82);
    font-size: 0.8rem;
}
.bs-topbar-contact a:hover {
    color: #FFFFFF;
}
.logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #101828;
    background-image: url('../images/bs-logo.png');
    background-repeat: no-repeat;
    background-size: 390% auto;
    background-position: center 36%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: transparent;
    font-size: 0;
    margin-right: 10px;
    box-shadow: var(--shadow-glow);
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}
.main-nav {
    flex: 1;
    min-width: 0;
}
.header-actions .btn {
    white-space: nowrap;
    padding-left: 22px;
    padding-right: 22px;
}
.footer-logo-full-link {
    display: inline-block;
    margin-bottom: 18px;
}
.footer-logo-full {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    padding: 16px 18px;
    border-radius: 8px;
    background: #05070D;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}
.mega-dropdown {
    position: static;
}
.mega-menu {
    left: 50%;
    transform: translate(-50%, 12px);
    width: min(1120px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(16, 24, 40, 0.16);
}
.mega-dropdown:hover .mega-menu {
    transform: translate(-50%, 0);
}
.mega-col {
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 16px;
}
.mega-col h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--clr-text-main);
}
.mega-col h4 i {
    color: var(--clr-primary);
    margin-right: 8px;
}
.mega-col a {
    padding: 7px 0;
    font-size: 0.86rem;
    color: #475467;
}
.mega-cta {
    grid-column: span 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(90deg, rgba(20, 87, 217, 0.08), rgba(245, 158, 11, 0.10));
    border: 1px solid rgba(20, 87, 217, 0.14);
    border-radius: 8px;
    padding: 16px;
}
.mega-cta strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}
.mega-cta span {
    color: var(--clr-text-muted);
    flex: 1;
}
.bs-home-hero,
.bs-page-hero {
    position: relative;
    overflow: hidden;
    padding: 168px 0 92px;
    background:
        linear-gradient(135deg, rgba(20, 87, 217, 0.09), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.15), transparent 24%),
        linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 100%);
}
.bs-home-hero::after,
.bs-page-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 87, 217, 0.26), transparent);
}
.bs-page-hero.case-study-hero {
    padding: 168px 0 92px;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(20, 87, 217, 0.09), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.15), transparent 24%),
        linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 100%);
    border-bottom: 0;
}
.bs-page-hero.case-study-hero h1 {
    max-width: 100%;
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 4.2vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: 0;
}
.bs-page-hero .hero-top-info {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.bs-hero-grid,
.bs-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 56px;
    align-items: center;
}
.bs-hero-copy {
    position: relative;
    z-index: 2;
}
.bs-hero-copy .hero-title,
.bs-page-hero .hero-title {
    font-size: clamp(2.2rem, 4.2vw, 4.25rem);
    letter-spacing: 0;
    line-height: 1.02;
}
.bs-hero-copy .hero-subtitle,
.bs-page-hero .hero-subtitle {
    max-width: 680px;
}
.bs-hero-stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.bs-hero-stats div {
    border: var(--border-glass);
    background: #FFFFFF;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}
.bs-hero-stats strong {
    display: block;
    font-size: 1.8rem;
    color: var(--clr-primary);
    font-family: var(--font-heading);
}
.bs-hero-stats span {
    color: var(--clr-text-muted);
    font-size: 0.86rem;
}
.bs-hero-visual {
    position: relative;
    min-height: 520px;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #FFFFFF;
    box-shadow: 0 28px 75px rgba(15, 23, 42, 0.14);
}
.bs-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.96;
}
.bs-page-visual {
    position: relative;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #FFFFFF;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}
.bs-page-visual img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}
.bs-visual-overlay {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
}
.bs-visual-label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    font-weight: 800;
    font-size: 0.76rem;
    text-transform: uppercase;
}
.bs-visual-overlay strong {
    display: block;
    color: var(--clr-text-main);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.25;
}
.bs-visual-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    min-width: 0;
}
.bs-visual-stat-row span {
    padding: 10px;
    border-radius: 8px;
    background: #F8FAFC;
    color: var(--clr-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}
.bs-visual-stat-row b {
    display: block;
    color: var(--clr-primary);
    font-size: 1.05rem;
    font-family: var(--font-heading);
}
.bs-floating-metric {
    position: absolute;
    background: #FFFFFF;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    animation: bs-float 4.8s ease-in-out infinite;
}
.bs-floating-metric span {
    display: block;
    color: var(--clr-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
}
.bs-floating-metric strong {
    color: var(--clr-primary);
    font-size: 1.45rem;
    font-family: var(--font-heading);
}
.metric-one { top: 40px; left: -20px; }
.metric-two { right: -18px; top: 44%; animation-delay: -1.2s; }
.metric-three { left: 32px; bottom: 28px; animation-delay: -2.2s; }
@keyframes bs-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.bs-proof-strip {
    padding: 28px 0;
    background: #FFFFFF;
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
}
.bs-proof-strip p {
    color: var(--clr-text-muted);
    text-align: center;
    margin-bottom: 18px;
    font-size: 0.9rem;
}
.bs-logo-row {
    display: flex;
    gap: 14px;
    overflow: hidden;
    justify-content: center;
    flex-wrap: wrap;
}
.bs-logo-row span {
    color: #344054;
    border: var(--border-glass);
    background: #F8FAFC;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
}
.bs-platform-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.bs-platform-row span {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 8px;
    background: #FFFFFF;
    color: #344054;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.bs-platform-row i {
    color: var(--clr-primary);
}
.bs-section {
    padding: 100px 0;
}
.bs-section-alt {
    background: #FFFFFF;
    border-top: var(--border-glass);
    border-bottom: var(--border-glass);
}
.bs-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.bs-category-card,
.bs-category-panel,
.bs-team-card,
.bs-process-card,
.bs-outcome-card,
.bs-case-card {
    border: var(--border-glass);
    background: #FFFFFF;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}
.bs-category-card {
    padding: 28px;
    min-height: 250px;
}
.bs-category-card:hover,
.bs-case-card:hover,
.bs-process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 87, 217, 0.30);
    box-shadow: var(--shadow-glow);
}
.bs-icon-tile {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    font-size: 1.35rem;
    margin-bottom: 18px;
}
.bs-category-card h3 {
    font-size: 1.35rem;
}
.bs-category-card p {
    color: var(--clr-text-muted);
    margin-bottom: 18px;
}
.bs-category-card span {
    color: var(--clr-secondary);
    font-weight: 700;
}
.bs-two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 46px;
    align-items: center;
}
.bs-lead {
    color: var(--clr-text-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}
.bs-command-panel {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}
.bs-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: #F8FAFC;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.bs-panel-header span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff5f56;
}
.bs-panel-header span:nth-child(2) { background: #ffbd2e; }
.bs-panel-header span:nth-child(3) { background: #27c93f; }
.bs-panel-header strong {
    margin-left: auto;
    color: #475467;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}
.bs-panel-body {
    padding: 24px;
    font-family: 'Courier New', monospace;
    color: var(--clr-text-main);
}
.bs-panel-body p {
    margin-bottom: 12px;
}
.bs-featured-services {
    margin-top: 48px;
}
.bs-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.bs-process-card {
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.bs-process-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    right: -45px;
    top: -45px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.08);
}
.bs-process-card span {
    color: var(--clr-accent);
    font-weight: 900;
    font-family: var(--font-heading);
}
.bs-process-card p,
.bs-team-card p {
    color: var(--clr-text-muted);
}
.bs-industry-cloud,
.bs-mini-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.bs-industry-cloud span,
.bs-mini-cloud span {
    padding: 10px 14px;
    border-radius: 999px;
    border: var(--border-glass);
    background: #FFFFFF;
    color: var(--clr-text-main);
    font-weight: 700;
    font-size: 0.9rem;
}
.bs-case-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}
.bs-case-card {
    overflow: hidden;
}
.bs-case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.bs-case-card div {
    padding: 24px;
}
.bs-case-card span {
    color: var(--clr-secondary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.bs-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.bs-testimonial-card {
    border: var(--border-glass);
    background: #FFFFFF;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}
.bs-review-stars {
    display: flex;
    gap: 4px;
    color: var(--clr-accent);
    margin-bottom: 18px;
}
.bs-testimonial-card p {
    color: #344054;
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 22px;
}
.bs-review-author {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 16px;
}
.bs-review-author strong,
.bs-review-author span {
    display: block;
}
.bs-review-author strong {
    color: var(--clr-text-main);
}
.bs-review-author span {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-top: 2px;
}
.bs-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}
.bs-team-card {
    padding: 28px;
    text-align: center;
}
.bs-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: #07110f;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 18px;
}
.bs-category-stack {
    display: grid;
    gap: 28px;
}
.bs-category-panel {
    padding: 28px;
}
.bs-category-media {
    margin-bottom: 22px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #F8FAFC;
}
.bs-category-media img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: var(--transition);
}
.bs-category-panel:hover .bs-category-media img {
    transform: scale(1.03);
}
.bs-category-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 22px;
}
.bs-category-heading p {
    color: var(--clr-text-muted);
}
.bs-service-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
}
.bs-service-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #F8FAFC;
    color: var(--clr-text-main);
}
.bs-service-chip:hover {
    background: #EAF1FF;
    color: var(--clr-primary);
}
.service-detail-hero {
    min-height: auto;
}
.bs-service-orbit {
    min-height: 440px;
    position: relative;
    border-radius: 8px;
    border: var(--border-glass);
    background:
        radial-gradient(circle, rgba(20, 87, 217, 0.12), transparent 54%),
        #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bs-service-orbit::before {
    content: '';
    position: absolute;
    width: 72%;
    aspect-ratio: 1;
    border: 1px dashed rgba(255,255,255,0.16);
    border-radius: 50%;
    animation: bs-spin 22s linear infinite;
}
.bs-orbit-core {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(20,87,217,0.22);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
}
.bs-orbit-core i {
    color: var(--clr-primary);
    font-size: 2rem;
    margin-bottom: 12px;
}
.bs-orbit-core span {
    color: var(--clr-text-muted);
    font-size: 0.82rem;
}
.bs-orbit-card {
    position: absolute;
    padding: 12px 16px;
    border-radius: 999px;
    background: #F8FAFC;
    border: var(--border-glass);
    font-weight: 800;
}
.card-a { top: 50px; left: 50%; transform: translateX(-50%); }
.card-b { right: 44px; top: 50%; }
.card-c { bottom: 54px; left: 50%; transform: translateX(-50%); }
.card-d { left: 44px; top: 50%; }
@keyframes bs-spin {
    to { transform: rotate(360deg); }
}
.bs-outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.bs-outcome-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--clr-text-main);
    min-width: 0;
}
.bs-outcome-card i {
    color: var(--clr-primary);
}
.bs-outcome-card span {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}
.contact-quick-grid .bs-outcome-card {
    padding: 14px;
    gap: 10px;
}
.contact-quick-grid .bs-outcome-card span {
    font-size: 0.94rem;
}
.contact-office-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}
.contact-office-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border: var(--border-glass);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.contact-office-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
}
.contact-office-card span {
    display: block;
    color: var(--clr-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.contact-office-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.contact-office-card p {
    color: var(--clr-text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}
.contact-office-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-office-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--clr-text-main);
    font-size: 0.88rem;
    font-weight: 700;
}
.contact-office-actions a:hover {
    color: var(--clr-primary);
    border-color: rgba(20, 87, 217, 0.22);
}
.blog-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
    border: var(--border-glass);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}
.blog-feature-image {
    display: block;
    min-height: 420px;
    overflow: hidden;
}
.blog-feature-image img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transition: var(--transition);
}
.blog-feature-card:hover .blog-feature-image img {
    transform: scale(1.03);
}
.blog-feature-copy {
    padding: 34px 34px 34px 0;
}
.blog-feature-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
}
.blog-feature-copy p {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}
.blog-filter-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}
.blog-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: var(--border-glass);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 87, 217, 0.26);
    box-shadow: var(--shadow-glow);
}
.blog-card-image {
    display: block;
    height: 210px;
    overflow: hidden;
    border-bottom: var(--border-glass);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}
.blog-card-body h3 {
    font-size: 1.28rem;
    line-height: 1.22;
}
.blog-card-body p {
    flex: 1;
    color: var(--clr-text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}
.blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.blog-meta-row span {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    font-size: 0.76rem;
    font-weight: 800;
}
.blog-detail-hero .hero-buttons .btn {
    gap: 8px;
}
.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.blog-detail-meta span {
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(20, 87, 217, 0.08);
    color: var(--clr-primary);
    font-size: 0.82rem;
    font-weight: 800;
}
.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}
.blog-article {
    padding: 44px;
    border: var(--border-glass);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.blog-article-lead {
    color: #344054;
    font-size: 1.18rem;
    line-height: 1.8;
    padding-bottom: 26px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.blog-article-section {
    margin-bottom: 34px;
}
.blog-article-section h2,
.blog-takeaway-box h2 {
    font-size: 1.75rem;
    margin-bottom: 14px;
}
.blog-article-section p {
    color: var(--clr-text-muted);
    font-size: 1.06rem;
    line-height: 1.85;
}
.blog-takeaway-box {
    padding: 26px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.blog-takeaway-box ul {
    display: grid;
    gap: 12px;
}
.blog-takeaway-box li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #344054;
    line-height: 1.6;
}
.blog-takeaway-box i {
    color: var(--clr-primary);
    margin-top: 4px;
}
.blog-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 124px;
}
.blog-related-list {
    display: grid;
    gap: 14px;
}
.blog-related-list a {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.blog-related-list img {
    width: 86px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    grid-row: span 2;
}
.blog-related-list span {
    color: var(--clr-primary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.blog-related-list strong {
    color: var(--clr-text-main);
    line-height: 1.3;
}
@media (max-width: 1120px) {
    .nav-links {
        gap: 16px;
    }
    .nav-link {
        font-size: 0.94rem;
    }
    .header-actions .btn {
        padding-left: 16px;
        padding-right: 16px;
    }
    .mega-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mega-cta {
        grid-column: span 2;
    }
    .bs-hero-grid,
    .bs-page-hero-grid,
    .bs-two-col {
        grid-template-columns: 1fr;
    }
    .blog-feature-card,
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-feature-copy {
        padding: 0 30px 30px;
    }
    .blog-home-grid {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    }
    .blog-sidebar {
        position: static;
    }
}
@media (max-width: 992px) {
    .bs-hero-visual,
    .bs-service-orbit,
    .bs-page-visual {
        min-height: 360px;
    }
    .bs-hero-visual img,
    .bs-page-visual img {
        min-height: 330px;
    }
}
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bs-topbar {
        display: none;
    }
    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        grid-template-columns: 1fr;
        max-height: 65vh;
        overflow-y: auto;
    }
    .mega-dropdown:hover .mega-menu {
        transform: none;
    }
    .mega-cta {
        grid-column: span 1;
        align-items: flex-start;
        flex-direction: column;
    }
    .bs-home-hero,
    .bs-page-hero {
        padding-top: 112px;
        padding-bottom: 64px;
    }
    .bs-page-hero.case-study-hero {
        padding-top: 112px;
        padding-bottom: 64px;
    }
    .bs-page-hero.case-study-hero h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.08;
        overflow-wrap: break-word;
    }
    .bs-hero-copy,
    .bs-page-hero-grid > *,
    .bs-two-col > * {
        min-width: 0;
    }
    .bs-hero-grid,
    .bs-page-hero-grid,
    .bs-two-col {
        gap: 34px;
    }
    .bs-hero-copy .hero-title,
    .bs-page-hero .hero-title,
    .hero-title {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.08;
        overflow-wrap: break-word;
        letter-spacing: 0;
    }
    .hero-subtitle,
    .bs-hero-copy .hero-subtitle,
    .bs-page-hero .hero-subtitle {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.65;
        overflow-wrap: break-word;
    }
    .live-ticker-badge {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        align-items: flex-start;
    }
    .ticker-content {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 34px;
    }
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 18px;
        text-align: center;
        white-space: normal;
    }
    .bs-hero-stats {
        grid-template-columns: 1fr;
    }
    .bs-floating-metric {
        position: static;
        display: inline-block;
        margin: 8px;
    }
    .bs-hero-visual {
        min-height: auto;
        width: 100%;
        padding: 10px;
        overflow: hidden;
    }
    .bs-hero-visual img {
        min-height: 240px;
    }
    .bs-page-visual {
        min-height: auto;
    }
    .bs-page-visual img {
        display: block;
        height: 260px;
        min-height: 260px;
    }
    .bs-visual-overlay {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: -58px 12px 12px;
        padding: 14px;
    }
    .bs-visual-stat-row {
        grid-template-columns: 1fr;
    }
    .bs-category-media img {
        height: 170px;
    }
    .content-block,
    .sidebar-widget {
        padding: 24px;
        border-radius: 8px;
    }
    .case-study-content {
        padding: 42px 0;
    }
    .comparison-table {
        min-width: 0;
        table-layout: fixed;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 0.78rem;
        overflow-wrap: anywhere;
    }
    .timeline-wrapper {
        padding-left: 18px;
    }
    .timeline-wrapper::before {
        left: 6px;
    }
    .timeline-group-header {
        left: -18px;
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .timeline-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .timeline-card-header {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }
    .blog-feature-image,
    .blog-feature-image img {
        min-height: 260px;
    }
    .blog-card-image {
        height: 190px;
    }
    .blog-card-body,
    .blog-article {
        padding: 24px;
    }
    .blog-article-lead {
        font-size: 1.05rem;
    }
    .blog-detail-layout {
        gap: 24px;
    }
    .bs-logo-row {
        justify-content: flex-start;
    }
    .bs-logo-row span {
        max-width: 100%;
        white-space: normal;
    }
    .bs-platform-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bs-platform-row span {
        min-height: 52px;
        font-size: 0.9rem;
    }
    .footer-top-panel {
        grid-template-columns: 1fr !important;
        padding: 24px !important;
        gap: 24px !important;
    }
    .footer-logo-full {
        width: 240px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        font-size: 1.5rem;
    }
    .logo-mark {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    .mobile-menu-toggle {
        font-size: 1.35rem;
    }
}


