@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap');

/* Container to make the navbar float */
.navbar-wrapper {
    z-index: 1100;
}

/* The Floating Capsule (Pill) Design */
.glass-nav {
    background: rgba(15, 23, 42, 0.75) !important;
    /* Matches original dark slate */
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    /* Essential for the "Pill" shape */
    padding: 8px 28px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Nav Links Styling */
.nav-link {
    color: #94a3b8 !important;
    /* Soft Slate color */
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 12px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    /* White on hover/active */
}

/* The Glowing Blue Button */
.shadow-blue-glow {
    background-color: #3b82f6;
    border: none;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transition: 0.3s;
}

.shadow-blue-glow:hover {
    background-color: #2563eb;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.7);
    transform: translateY(-1px);
}

/* Dark mode toggle icon hover */
.theme-toggle:hover {
    color: #ffffff !important;
}

/* Dropdown Menu Style */
.dropdown-menu {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 15px !important;
    padding: 10px;
}

.dropdown-item {
    color: #94a3b8;
    border-radius: 8px;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

/* --- HERO SECTION STYLES --- */
.main-hero-wrapper {
    height: 100vh;
    background-color: #030712;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Atmosphere */
.glow-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.15;
}

.top-left {
    top: -10%;
    left: -10%;
    background: #3b82f6;
}

.bottom-right {
    bottom: -10%;
    right: -10%;
    background: #8b5cf6;
}

/* Navbar Glassmorphism */
.navbar-container {
    top: 20px;
    z-index: 1000;
}

.glass-nav {
    max-width: 1100px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 10px 25px;
}

.logo-box {
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 5px;
}

.nav-link {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* Typography */
.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.9;
    letter-spacing: -3px;
    color: #fff;
}

.text-gradient-hero {
    background: linear-gradient(180deg, #FFFFFF 30%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 650px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #94a3b8;
}

/* Badge */
.next-gen-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Buttons */
.shadow-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-lg {
    font-size: 1rem;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Mouse Scroll Animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #3b82f6;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

:root {
    --bg-deep: #020617;
    --accent-blue: #3b82f6;
    --glass-white: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-gray: #94a3b8;
}

body {
    background-color: var(--bg-deep);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* --- Custom Navbar --- */
.navbar-container {
    margin-top: 25px;
    padding: 0 15px;
}

.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 8px 30px;
}

.nav-link {
    color: var(--text-gray) !important;
    font-size: 0.9rem;
    margin: 0 12px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #fff !important;
}

/* --- Hero Section --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.text-gradient-blue {
    background: linear-gradient(180deg, #fff 30%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.next-gen-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* --- Sectors of Activity (The Blue Semi-Circle) --- */
.sectors-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.blue-glow-sphere {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 75%);
    border-radius: 50%;
    z-index: -1;
}

/* --- Cards Architecture --- */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 50px;
    height: 100%;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateY(-10px);
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
}

/* --- Tree Diagram (Ecosystem) --- */
.tree-line {
    width: 2px;
    height: 50px;
    background: var(--accent-blue);
    margin: 0 auto;
}

.tree-horizontal {
    height: 2px;
    background: var(--accent-blue);
    width: 80%;
    margin: 0 auto;
}

/* --- Stats --- */
.stat-box h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0;
}

.stat-box p {
    color: var(--text-gray);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Float Buttons */
.float-btn {
    position: fixed;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    color: white;
}

.whatsapp {
    left: 30px;
    background: #25d366;
}

.chat {
    right: 30px;
    background: #6366f1;
}

/* Specific Styles for Divisions */
.ls-2 {
    letter-spacing: 2px;
}

/* Visual Box (Left Side with Icon) */
.division-visual-box {
    height: 100%;
    min-height: 350px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.academy-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.products-gradient {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

/* Glowing Floating Icon */
.floating-icon-wrapper {
    position: relative;
    z-index: 2;
}

.icon-main {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

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

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

/* Content Card (Right Side) */
.division-content-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 30px;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Division Badge Styles */
.badge-division {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    width: fit-content;
}

.academy-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.products-badge {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 8px;
}

/* Links */
.learn-more {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.academy-link {
    color: #3b82f6;
}

.products-link {
    color: #a855f7;
}

.learn-more:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

/* Color Variants for New Sections */
.services-bg {
    background: radial-gradient(circle at center, #0d3b45 0%, #020617 100%);
}

.publications-bg {
    background: radial-gradient(circle at center, #064e3b 0%, #020617 100%);
}

.careers-bg {
    background: radial-gradient(circle at center, #431407 0%, #020617 100%);
}

/* Glowing Icon Colors */
.teal-glow {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    box-shadow: 0 0 50px rgba(45, 212, 191, 0.4);
}

.emerald-glow {
    background: linear-gradient(135deg, #34d399, #059669);
    box-shadow: 0 0 50px rgba(52, 211, 153, 0.4);
}

.orange-glow {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    box-shadow: 0 0 50px rgba(251, 146, 60, 0.4);
}

/* Tag Styles */
.services-tag {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    border-color: rgba(45, 212, 191, 0.3);
}

.publications-tag {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.3);
}

.careers-tag {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.3);
}

/* Link Colors */
.btn-link-custom.teal {
    color: #2dd4bf;
}

.btn-link-custom.emerald {
    color: #34d399;
}

.btn-link-custom.orange {
    color: #fb923c;
}

/* Fix Alignment and Card Consistency */
.division-row {
    display: flex;
    align-items: center;
    /* Vertical center alignment */
    margin-bottom: 120px;
    /* Precise spacing between sections */
}

.division-visual,
.division-info {
    height: 400px;
    /* Fixed height for perfect symmetry */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers text vertically */
}

/* Color Palette Extensions */
.services-gradient {
    background: linear-gradient(135deg, #062c33 0%, #020617 100%);
}

.publications-gradient {
    background: linear-gradient(135deg, #064e3b 0%, #020617 100%);
}

.careers-gradient {
    background: linear-gradient(135deg, #431407 0%, #020617 100%);
}

/* Icon & Glow Colors */
.services-glow {
    background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
    box-shadow: 0 0 50px rgba(45, 212, 191, 0.4);
}

.publications-glow {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%);
    box-shadow: 0 0 50px rgba(52, 211, 153, 0.4);
}

.careers-glow {
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
    box-shadow: 0 0 50px rgba(251, 146, 60, 0.4);
}

/* Badge & Link Colors */
.services-badge {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.publications-badge {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.careers-badge {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.services-link {
    color: #2dd4bf;
}

.publications-link {
    color: #34d399;
}

.careers-link {
    color: #fb923c;
}

.division-info {
    padding-left: 50px;
    padding-right: 50px;
}

/* Reverse row padding adjustment */
.flex-lg-row-reverse .division-info {
    padding-left: 0;
    padding-right: 50px;
}

/* TIMELINE LAYOUT */
.timeline-container {
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #a855f7, #2dd4bf);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    display: flex;
}

.timeline-item.left {
    padding-right: 60px;
    justify-content: flex-end;
    text-align: right;
}

.timeline-item.right {
    padding-left: 60px;
    left: 50%;
    text-align: left;
}

/* YEAR BACKGROUND TEXT (The large "2022" behind cards) */
.year-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.left .year-marker {
    right: -150px;
}

.right .year-marker {
    left: -150px;
}

/* CARDS */
.timeline-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
    z-index: 2;
    position: relative;
}

/* SPECIFIC THEME COLORS */
.inception-card {
    border-left: 4px solid #3b82f6;
}

.foundation-card {
    border-left: 4px solid #fbbf24;
}

.pivot-card {
    border-left: 4px solid #a855f7;
}

.global-card {
    border-left: 4px solid #2dd4bf;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.card-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

/* DOTS ON THE LINE */
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #020617;
    border: 4px solid white;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
}

.left .timeline-dot {
    right: -10px;
}

.right .timeline-dot {
    left: -10px;
}

/* GLOWING ANIMATION FOR DOTS */
.blue-dot {
    border-color: #3b82f6;
    box-shadow: 0 0 15px #3b82f6;
}

.gold-dot {
    border-color: #fbbf24;
    box-shadow: 0 0 15px #fbbf24;
}

.purple-dot {
    border-color: #a855f7;
    box-shadow: 0 0 15px #a855f7;
}

.teal-dot {
    border-color: #2dd4bf;
    box-shadow: 0 0 15px #2dd4bf;
}

/* HOVER EFFECT */
.timeline-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-dot {
        left: 10px !important;
    }

    .year-marker {
        font-size: 4rem;
        left: 40px !important;
    }
}


/* CEO SECTION SPECIFIC STYLES */
.ceo-bg-glow {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.ceo-image-wrapper {
    position: relative;
    padding: 20px;
}

.ceo-gradient-border {
    padding: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), transparent, rgba(168, 85, 247, 0.5));
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.ceo-img {
    border-radius: 30px;
    filter: grayscale(20%);
    transition: 0.5s ease;
    background: #0f172a;
}

.ceo-image-wrapper:hover .ceo-img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Experience Badge */
.exp-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Quote Card */
.quote-card {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #3b82f6;
    padding: 25px;
    border-radius: 0 20px 20px 0;
}

/* Social Links */
.social-link {
    color: #94a3b8;
    font-size: 1.4rem;
    margin-right: 15px;
    transition: 0.3s;
}

.social-link:hover {
    color: #3b82f6;
    transform: translateY(-3px);
}

.v-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.text-gradient-blue {
    background: linear-gradient(to right, #fff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CONTACT SECTION STYLES */
.glass-form-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 30px;
}

.custom-input input,
.custom-input textarea,
.custom-input select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 12px !important;
}

.custom-input label {
    color: #94a3b8 !important;
}

.custom-input input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3) !important;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-sm-box {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.2rem;
}

/* FOOTER STYLES */
.bg-black-footer {
    background-color: #010409;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icon:hover {
    background: #3b82f6;
    transform: translateY(-5px);
}

.newsletter-input .form-control {
    border-radius: 50px 0 0 50px !important;
}

.newsletter-input .btn {
    border-radius: 0 50px 50px 0 !important;
}

/* Running Text Container */
.running-text-wrapper {
    background-color: #020617;
    /* Deep dark background */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* The marquee container */
.marquee-container {
    display: flex;
    width: 100%;
}

/* The actual moving content */
.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    animation: scroll-text 30s linear infinite;
    /* Adjust speed here */
}

/* Silver Letter Styling */
.division-name {
    font-size: clamp(2rem, 5vw, 4rem);
    /* Responsive size */
    font-weight: 800;
    color: #E2E8F0;
    /* Light Silver / Slate 200 */
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 0 40px;
    font-family: 'Inter', sans-serif;
    /* Soft silver glow */
    text-shadow: 0 0 20px rgba(226, 232, 240, 0.2);
    opacity: 0.9;
    transition: 0.3s;
}

.division-name:hover {
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 0 30px rgba(226, 232, 240, 0.5);
}

.separator {
    font-size: 2rem;
    color: #3b82f6;
    /* Blue separator like the logo */
    font-weight: 900;
}

/* Animation Logic */
@keyframes scroll-text {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Masking effect to fade text at edges */
.running-text-wrapper::before,
.running-text-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.running-text-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #020617, transparent);
}

.running-text-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #020617, transparent);
}

/* Sector Card Architecture */
.sector-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    cursor: default;
}

.sector-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Icon Box Themes */
.sector-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: 0.4s ease;
}

/* Color Palette Matching Screenshots */
.blue-theme {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.purple-theme {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.teal-theme {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
}

.orange-theme {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.emerald-theme {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
}

.red-theme {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Active Glow on Hover */
.sector-card:hover .blue-theme {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.sector-card:hover .purple-theme {
    background: #a855f7;
    color: #fff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.sector-card:hover .teal-theme {
    background: #2dd4bf;
    color: #fff;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
}

.sector-card:hover .orange-theme {
    background: #fb923c;
    color: #fff;
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.5);
}

.sector-card:hover .emerald-theme {
    background: #34d399;
    color: #fff;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.5);
}

.sector-card:hover .red-theme {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.flow-wrapper {
    position: relative;
    padding-top: 50px;
}

/* The SVG Lines */
.flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Hub Node Styling */
.hub-node {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    padding: 2px;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    z-index: 2;
    position: relative;
}

.hub-inner {
    background: #020617;
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

/* Branch Card Styling */
.branch-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.branch-card p {
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Theme Glows */
.blue-glow:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
}

.purple-glow:hover {
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
}

.teal-glow:hover {
    border-color: #2dd4bf;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
    transform: translateY(-5px);
}

.green-glow:hover {
    border-color: #34d399;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.3);
    transform: translateY(-5px);
}

.orange-glow:hover {
    border-color: #fb923c;
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.3);
    transform: translateY(-5px);
}

/* Custom Grid for 5 Columns */
@media (min-width: 992px) {
    .col-lg-2-custom {
        width: 20%;
        flex: 0 0 20%;
    }
}

.stat-box {
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    /* Responsive sizing */
    font-weight: 800;
    color: #E2E8F0;
    /* Light Silver */
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    /* PREVENTS "1+" TRUNCATION */
    letter-spacing: -1px;
    background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #3b82f6;
    /* Wisecrew Blue */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Optional: Add a subtle glow behind the numbers */
.stat-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: #3b82f6;
    filter: blur(40px);
    opacity: 0;
    z-index: -1;
    transition: 0.3s;
}

.stat-box:hover::after {
    opacity: 0.15;
}

.mega-menu {
    width: 100%;
    background: rgba(12, 18, 40, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 15px;
}

.mega-item {
    display: flex;
    gap: 15px;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mega-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.mega-item h6 {
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.mega-item p {
    margin: 4px 0 0;
    color: #9aa4c7;
    font-size: 14px;
}

.mega-item .icon {
    font-size: 24px;
}