/* Variables */
:root {
    --primary-color: #0078d4;
    --secondary-color: #00bcf2;
    --accent-color: #40e0d0;
    --success-color: #107c41;
    --warning-color: #ff8c00;
    --error-color: #d13438;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white-color: #ffffff;
    --text-primary: #323130;
    --text-secondary: #605e5c;
    --text-light: #8a8886;
    --border-color: #edebe9;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 16px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #0078d4 0%, #00bcf2 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition-fast: all 0.15s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ===== LOGO STYLING ===== */
.navbar-brand .logo {
    height: 40px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* ===== FOOTER STYLING ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Remove any bottom spacing */
body {
    margin-bottom: 0;
    padding-bottom: 0;
}

html {
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 120, 212, 0.5), transparent);
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0078d4, #00bcf2);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0078d4, #00bcf2);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item i {
    color: #0078d4;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.partner-badges-section {
    margin-top: 2rem;
}

.partner-badges-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
}

.partner-badge {
    height: 80px;
    width: auto;
    min-width: 120px;
    opacity: 0.8;
    transition: all 0.4s ease;
    filter: grayscale(100%) brightness(0.9);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    object-fit: contain;
}

.partner-badge:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.3);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: #0078d4;
}

/* ===== SOCIAL MEDIA LINKS ===== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00bcf2, #0078d4);
    transition: left 0.3s ease;
    z-index: 1;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 212, 0.4);
}

.social-link:hover::before {
    left: 0;
}

/* ===== REMOVE WHITE SPACE ===== */
/* Remove any potential white space from containers and sections */
.container-fluid,
.container {
    margin-bottom: 0;
    padding-bottom: 0;
}

.row {
    margin-bottom: 0;
}

.col,
.col-*,
[class*="col-"] {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure footer is the last element */
.footer {
    margin-bottom: 0 !important;
    padding-bottom: 2rem !important;
}

/* Remove any spacing from the last section */
section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Override Bootstrap utilities that might add spacing */
.pb-5:last-child,
.pb-5:last-of-type {
    padding-bottom: 0 !important;
}

.mb-5:last-child,
.mb-5:last-of-type {
    margin-bottom: 0 !important;
}

/* Ensure no white space after footer */
.footer + * {
    display: none;
}

/* Comprehensive white space removal */
*:last-child {
    margin-bottom: 0;
}

/* Remove any potential spacing from all sections */
section {
    margin-bottom: 0;
}

section:not(:last-child) {
    margin-bottom: 0;
}

/* Override any Bootstrap spacing */
.py-5:last-child,
.py-5:last-of-type {
    padding-bottom: 0 !important;
}

/* Fixed navbar spacing - prevent content from being hidden under navbar */
main,
.main-content,
#main-content {
    margin-top: 70px !important; /* Account for fixed navbar height */
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Home page - reset the main content margin for hero section */
.page-home main,
.page-home .main-content,
.page-home #main-content {
    margin-top: 0 !important; /* No top margin for home page */
}

/* Specific page header sections that need extra spacing */
.page-header,
.service-hero {
    margin-top: 0 !important; /* Reset margin since main already has it */
    padding-top: 6rem !important; /* Extra padding for better visual spacing */
}

/* Home page hero section - starts right below navbar */
.hero-section {
    margin-top: 0 !important; 
    padding-top: 1.5rem !important; /* Very minimal padding, almost touching navbar */
}

/* Ensure the main content doesn't add any bottom spacing */
#main-content {
    padding-bottom: 0 !important;
}

/* ===== DARK MODE TOGGLE ===== */
.theme-toggle {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(0, 120, 212, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 12px 35px rgba(0, 120, 212, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.2);
}

.theme-toggle i {
    font-size: 1.4rem;
    color: white;
    transition: all 0.3s ease;
}

.theme-toggle .light-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .dark-icon {
    position: absolute;
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle .light-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="dark"] .theme-toggle .dark-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .theme-toggle {
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .theme-toggle i {
        font-size: 1.2rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .partner-badges-title {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .partner-badges {
    justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .partner-badge {
        height: 70px;
        min-width: 100px;
        padding: 10px;
    }
    
    .footer-legal {
    justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        font-size: 0.9rem !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.8rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .btn-lg {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    .service-title,
    .industry-title {
        font-size: 1.1rem !important;
    }
    
    .service-description,
    .industry-subtitle {
        font-size: 0.9rem !important;
    }
    
    .news-title {
        font-size: 1.1rem !important;
    }
    
    .news-excerpt {
        font-size: 0.85rem !important;
    }
    
    .footer-title {
        font-size: 1.1rem !important;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
    }
    
    .contact-item {
        font-size: 0.9rem !important;
    }
    
    .copyright {
        font-size: 0.8rem !important;
    }
    
    .footer-legal a {
        font-size: 0.8rem !important;
    }
    
    /* Mobile navigation adjustments */
    .navbar {
        padding: 0.5rem 0 !important;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar-toggler {
        border: none !important;
        padding: 0.25rem 0.5rem !important;
        font-size: 1.2rem !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none !important;
    }
    
    .navbar-collapse {
        margin-top: 1rem !important;
    }
    
    .navbar-nav {
        text-align: center !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.1rem !important;
        padding: 1rem 1.5rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none !important;
    }
    
    .dropdown-menu {
        border: none !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        border-radius: 0 !important;
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
    
    .dropdown-item {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        color: #333 !important;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(0, 120, 212, 0.1) !important;
        color: #0078d4 !important;
    }
    
    .language-selector {
        margin-top: 1rem !important;
        text-align: center !important;
    }
    
    .language-selector .btn {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    /* Dark mode mobile dropdown support */
    [data-theme="dark"] .dropdown-menu {
        background: #2a2a2a !important;
    }
    
    [data-theme="dark"] .dropdown-item {
        color: #e0e0e0 !important;
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    [data-theme="dark"] .dropdown-item:hover,
    [data-theme="dark"] .dropdown-item:focus {
        background-color: rgba(0, 188, 242, 0.2) !important;
        color: #00bcf2 !important;
    }
    
    /* Mobile theme toggle styling */
    .theme-toggle-mobile {
        transition: all 0.3s ease !important;
    }
    
    .theme-toggle-mobile:hover {
        background-color: rgba(0, 120, 212, 0.1) !important;
        color: #0078d4 !important;
    }
    
    .theme-toggle-mobile .theme-icon-dark,
    .theme-toggle-mobile .theme-icon-light {
        transition: all 0.3s ease !important;
    }
    
    /* Dark mode mobile theme toggle */
    [data-theme="dark"] .theme-toggle-mobile:hover {
        background-color: rgba(0, 188, 242, 0.2) !important;
        color: #00bcf2 !important;
    }
    
    /* Mobile spacing adjustments for fixed navbar */
    main,
    .main-content,
    #main-content {
        margin-top: 60px !important; /* Smaller top margin on mobile */
    }
    
    /* Home page - reset mobile margin too */
    .page-home main,
    .page-home .main-content,
    .page-home #main-content {
        margin-top: 0 !important; /* No top margin for home page on mobile */
    }
    
    .page-header,
    .service-hero {
        padding-top: 4rem !important; /* Reduced padding on mobile */
    }
    
    .hero-section {
        padding-top: 2rem !important; /* Slightly lower positioning on mobile */
        margin-top: 1rem !important;
    }
    
    /* Mobile card adjustments */
    .premium-card {
        margin-bottom: 1.5rem !important;
        padding: 1.5rem !important;
    }
    
    .card-glow {
        display: none !important;
    }
    
    /* Mobile button optimization */
    .btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        min-height: 48px !important; /* Touch-friendly minimum */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .btn-lg {
        padding: 1rem 2rem !important;
        font-size: 1.1rem !important;
        min-height: 52px !important;
    }
    
    .btn-sm {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
    }
    
    /* Mobile hero actions */
    .hero-actions {
        flex-direction: column !important;
        gap: 1.2rem !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-actions .btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 !important;
    }
    
    /* Mobile spacing adjustments */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    /* Mobile grid adjustments */
    .col-lg-4,
    .col-lg-6 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Mobile image adjustments */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .service-icon img,
    .industry-icon img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .news-image {
        height: 200px !important;
        object-fit: cover !important;
    }
    
    .hero-image,
    .feature-image {
        margin-top: 2rem !important;
        text-align: center !important;
    }
    
    .partner-badge {
        height: 60px !important;
        width: auto !important;
        max-width: 120px !important;
    }
    
    /* Mobile video adjustments */
    .video-container {
        position: relative !important;
        padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .video-container iframe,
    .video-container video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Mobile button adjustments */
.cta-button {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    /* Mobile form adjustments */
    .form-control,
    .form-select,
    .form-control:focus,
    .form-select:focus {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 1rem !important;
        min-height: 48px !important;
        border-radius: 8px !important;
        border: 2px solid #e0e0e0 !important;
    }
    
    .form-control:focus,
    .form-select:focus {
        border-color: #0078d4 !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 120, 212, 0.25) !important;
    }
    
    .form-label {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .form-group,
    .mb-3 {
        margin-bottom: 1.5rem !important;
    }
    
    /* Mobile textarea */
    textarea.form-control {
        min-height: 120px !important;
        resize: vertical !important;
    }
    
    /* Mobile checkbox and radio */
    .form-check {
        padding-left: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .form-check-input {
        width: 1.25rem !important;
        height: 1.25rem !important;
        margin-left: -2rem !important;
    }
    
    .form-check-label {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    /* Mobile modal adjustments */
    .modal-dialog {
        margin: 1rem !important;
    }
    
    .modal-title {
        font-size: 1.2rem !important;
    }
    
    /* Mobile table adjustments */
    .table {
        font-size: 0.9rem !important;
    }
    
        .table th,
    .table td {
        padding: 0.5rem !important;
    }
    
    /* Additional mobile optimizations */
    /* Mobile section spacing */
    section {
        padding: 2rem 0 !important;
    }
    
    /* Mobile text alignment */
    .text-lg-start,
    .text-lg-end {
        text-align: center !important;
    }
    
    /* Mobile overflow prevention */
    body {
        overflow-x: hidden !important;
    }
    
    .container,
    .container-fluid {
        overflow-x: hidden !important;
    }
    
    /* Mobile-specific display utilities */
    .d-mobile-none {
        display: none !important;
    }
    
    .d-mobile-block {
        display: block !important;
    }
    
    .d-mobile-flex {
        display: flex !important;
    }
    
    /* Mobile card and content optimization */
    .card {
        border-radius: 12px !important;
        margin-bottom: 1.5rem !important;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    /* Mobile list optimization */
    .list-group-item {
        padding: 1rem !important;
        border: none !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }
    
    .list-group-item:last-child {
        border-bottom: none !important;
    }
}

@media (max-width: 576px) {
    .theme-toggle {
        right: 15px;
        bottom: 20px;
        top: auto;
        transform: none;
        width: 45px;
        height: 45px;
    }
    
    .theme-toggle:hover {
        transform: scale(1.1);
    }
    
    .theme-toggle i {
        font-size: 1.1rem;
    }
}

/* Base Styles */
body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white-color);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0078d4 0%, #00bcf2 50%, #40e0d0 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    background: rgba(0, 120, 212, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.partner-badge {
    width: 24px;
    height: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.text-gradient {
    background: linear-gradient(135deg, #00bcf2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    margin-bottom: 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
}

.hero-actions .btn {
    min-width: 180px;
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/* SUPER SIMPLE ORBIT ANIMATION */
.simple-orbit {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.orbit-ring {
    position: relative;
    width: 100%;
    height: 100%;
    /* NO animation on parent - animate each item individually */
}

.orbit-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    margin-left: -60px;
    margin-top: -60px;
    transform-origin: 60px 60px;
}

/* Each item animates individually with counter-rotation built in */
.orbit-item[data-angle="0"] { 
    animation: orbit0 20s linear infinite;
}
.orbit-item[data-angle="51"] { 
    animation: orbit51 20s linear infinite;
}
.orbit-item[data-angle="102"] { 
    animation: orbit102 20s linear infinite;
}
.orbit-item[data-angle="154"] { 
    animation: orbit154 20s linear infinite;
}
.orbit-item[data-angle="205"] { 
    animation: orbit205 20s linear infinite;
}
.orbit-item[data-angle="257"] { 
    animation: orbit257 20s linear infinite;
}
.orbit-item[data-angle="308"] { 
    animation: orbit308 20s linear infinite;
}

.bubble-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.bubble-bg:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.3);
}

.bubble-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.bubble-content i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.bubble-content span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.center-logo img {
    width: 120px !important;
    height: auto !important;
    max-width: 80% !important;
    max-height: 80% !important;
    object-fit: contain !important;
}

/* Individual orbit animations - each keeps text upright */
@keyframes orbit0 {
    from { transform: rotate(0deg) translateY(-200px) rotate(0deg); }
    to { transform: rotate(360deg) translateY(-200px) rotate(-360deg); }
}

@keyframes orbit51 {
    from { transform: rotate(51deg) translateY(-200px) rotate(-51deg); }
    to { transform: rotate(411deg) translateY(-200px) rotate(-411deg); }
}

@keyframes orbit102 {
    from { transform: rotate(102deg) translateY(-200px) rotate(-102deg); }
    to { transform: rotate(462deg) translateY(-200px) rotate(-462deg); }
}

@keyframes orbit154 {
    from { transform: rotate(154deg) translateY(-200px) rotate(-154deg); }
    to { transform: rotate(514deg) translateY(-200px) rotate(-514deg); }
}

@keyframes orbit205 {
    from { transform: rotate(205deg) translateY(-200px) rotate(-205deg); }
    to { transform: rotate(565deg) translateY(-200px) rotate(-565deg); }
}

@keyframes orbit257 {
    from { transform: rotate(257deg) translateY(-200px) rotate(-257deg); }
    to { transform: rotate(617deg) translateY(-200px) rotate(-617deg); }
}

@keyframes orbit308 {
    from { transform: rotate(308deg) translateY(-200px) rotate(-308deg); }
    to { transform: rotate(668deg) translateY(-200px) rotate(-668deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .simple-orbit {
        width: 400px;
        height: 400px;
    }
    
    .hero-actions {
        gap: 1.2rem !important;
        justify-content: center !important;
    }
    
    .hero-actions .btn {
        min-width: 160px !important;
    }
    
    .orbit-item {
        width: 100px;
        height: 100px;
        margin-left: -50px;
        margin-top: -50px;
        transform-origin: 50px 50px;
    }
    
    /* Override animations with smaller radius */
    .orbit-item[data-angle="0"] { animation: orbit0_md 20s linear infinite; }
    .orbit-item[data-angle="51"] { animation: orbit51_md 20s linear infinite; }
    .orbit-item[data-angle="102"] { animation: orbit102_md 20s linear infinite; }
    .orbit-item[data-angle="154"] { animation: orbit154_md 20s linear infinite; }
    .orbit-item[data-angle="205"] { animation: orbit205_md 20s linear infinite; }
    .orbit-item[data-angle="257"] { animation: orbit257_md 20s linear infinite; }
    .orbit-item[data-angle="308"] { animation: orbit308_md 20s linear infinite; }
    
    .bubble-content i {
        font-size: 1.5rem;
    }
    
    .bubble-content span {
    font-size: 0.8rem;
    }
    
    .center-logo {
    width: 120px;
    height: 120px;
    }
    
    .center-logo img {
        width: 65px;
    }
}

/* Medium screen animations */
@keyframes orbit0_md {
    from { transform: rotate(0deg) translateY(-160px) rotate(0deg); }
    to { transform: rotate(360deg) translateY(-160px) rotate(-360deg); }
}
@keyframes orbit51_md {
    from { transform: rotate(51deg) translateY(-160px) rotate(-51deg); }
    to { transform: rotate(411deg) translateY(-160px) rotate(-411deg); }
}
@keyframes orbit102_md {
    from { transform: rotate(102deg) translateY(-160px) rotate(-102deg); }
    to { transform: rotate(462deg) translateY(-160px) rotate(-462deg); }
}
@keyframes orbit154_md {
    from { transform: rotate(154deg) translateY(-160px) rotate(-154deg); }
    to { transform: rotate(514deg) translateY(-160px) rotate(-514deg); }
}
@keyframes orbit205_md {
    from { transform: rotate(205deg) translateY(-160px) rotate(-205deg); }
    to { transform: rotate(565deg) translateY(-160px) rotate(-565deg); }
}
@keyframes orbit257_md {
    from { transform: rotate(257deg) translateY(-160px) rotate(-257deg); }
    to { transform: rotate(617deg) translateY(-160px) rotate(-617deg); }
}
@keyframes orbit308_md {
    from { transform: rotate(308deg) translateY(-160px) rotate(-308deg); }
    to { transform: rotate(668deg) translateY(-160px) rotate(-668deg); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        gap: 1.1rem !important;
        justify-content: center !important;
        margin-bottom: 2.5rem !important;
    }
    
    .hero-actions .btn {
        min-width: 150px !important;
        padding: 0.875rem 1.5rem !important;
    }
    
    .simple-orbit {
        width: 350px;
        height: 350px;
    }
    
    .orbit-item {
        width: 90px;
        height: 90px;
        margin-left: -45px;
        margin-top: -45px;
        transform-origin: 45px 45px;
    }
    
    /* Override animations with smaller radius */
    .orbit-item[data-angle="0"] { animation: orbit0_sm 20s linear infinite; }
    .orbit-item[data-angle="51"] { animation: orbit51_sm 20s linear infinite; }
    .orbit-item[data-angle="102"] { animation: orbit102_sm 20s linear infinite; }
    .orbit-item[data-angle="154"] { animation: orbit154_sm 20s linear infinite; }
    .orbit-item[data-angle="205"] { animation: orbit205_sm 20s linear infinite; }
    .orbit-item[data-angle="257"] { animation: orbit257_sm 20s linear infinite; }
    .orbit-item[data-angle="308"] { animation: orbit308_sm 20s linear infinite; }
    
    .bubble-content i {
        font-size: 1.2rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .bubble-content span {
        font-size: 0.7rem !important;
        line-height: 1 !important;
        padding: 0 0.2rem !important;
        max-width: 85% !important;
        word-break: break-word !important;
    }
    
    .center-logo {
        width: 100px;
        height: 100px;
    }
    
    .center-logo img {
        width: 55px;
    }
}

/* Small screen animations */
@keyframes orbit0_sm {
    from { transform: rotate(0deg) translateY(-140px) rotate(0deg); }
    to { transform: rotate(360deg) translateY(-140px) rotate(-360deg); }
}
@keyframes orbit51_sm {
    from { transform: rotate(51deg) translateY(-140px) rotate(-51deg); }
    to { transform: rotate(411deg) translateY(-140px) rotate(-411deg); }
}
@keyframes orbit102_sm {
    from { transform: rotate(102deg) translateY(-140px) rotate(-102deg); }
    to { transform: rotate(462deg) translateY(-140px) rotate(-462deg); }
}
@keyframes orbit154_sm {
    from { transform: rotate(154deg) translateY(-140px) rotate(-154deg); }
    to { transform: rotate(514deg) translateY(-140px) rotate(-514deg); }
}
@keyframes orbit205_sm {
    from { transform: rotate(205deg) translateY(-140px) rotate(-205deg); }
    to { transform: rotate(565deg) translateY(-140px) rotate(-565deg); }
}
@keyframes orbit257_sm {
    from { transform: rotate(257deg) translateY(-140px) rotate(-257deg); }
    to { transform: rotate(617deg) translateY(-140px) rotate(-617deg); }
}
@keyframes orbit308_sm {
    from { transform: rotate(308deg) translateY(-140px) rotate(-308deg); }
    to { transform: rotate(668deg) translateY(-140px) rotate(-668deg); }
}

@media (max-width: 576px) {
    /* Mobile hero section optimization */
    .hero-section .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .hero-content {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-title {
        font-size: 1.9rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Mobile circular animation */
    .simple-orbit {
        width: 300px !important;
        height: 300px !important;
        margin: 1.5rem auto !important;
    }
    
    .orbit-item {
        width: 80px !important;
        height: 80px !important;
        margin-left: -40px !important;
        margin-top: -40px !important;
        transform-origin: 40px 40px !important;
    }
    
    /* Override animations with smaller radius and slower speed */
    .orbit-item[data-angle="0"] { animation: orbit0_xs 25s linear infinite; }
    .orbit-item[data-angle="51"] { animation: orbit51_xs 25s linear infinite; }
    .orbit-item[data-angle="102"] { animation: orbit102_xs 25s linear infinite; }
    .orbit-item[data-angle="154"] { animation: orbit154_xs 25s linear infinite; }
    .orbit-item[data-angle="205"] { animation: orbit205_xs 25s linear infinite; }
    .orbit-item[data-angle="257"] { animation: orbit257_xs 25s linear infinite; }
    .orbit-item[data-angle="308"] { animation: orbit308_xs 25s linear infinite; }
    
    .bubble-content i {
        font-size: 1rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .bubble-content span {
        font-size: 0.6rem !important;
        line-height: 0.9 !important;
        padding: 0 0.15rem !important;
        word-break: break-word !important;
        max-width: 90% !important;
        text-align: center !important;
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .center-logo {
        width: 80px;
        height: 80px;
    }
    
    .center-logo img {
        width: 45px;
    }
    
    /* Mobile stats optimization */
    .hero-stats {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
        padding: 0 0.5rem !important;
    }
    
    .stat-item {
        text-align: center !important;
        min-width: auto !important;
        padding: 1rem 0.5rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .stat-number {
        font-size: 2.2rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
        opacity: 0.9 !important;
        line-height: 1.2 !important;
    }
    
    /* Mobile hero badge */
    .hero-badge {
        justify-content: center !important;
        margin-bottom: 1.5rem !important;
        flex-wrap: wrap !important;
    }
    
    .hero-badge img {
        height: 35px !important;
        margin-right: 0.5rem !important;
    }
    
    .hero-badge span {
        font-size: 0.9rem !important;
    }
}

/* Extra small mobile devices (320px - 480px) */
@media (max-width: 480px) {
    .simple-orbit {
        width: 280px !important;
        height: 280px !important;
    }
    
    .orbit-item {
        width: 70px !important;
        height: 70px !important;
        margin-left: -35px !important;
        margin-top: -35px !important;
        transform-origin: 35px 35px !important;
    }
    
    .bubble-content i {
        font-size: 0.9rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .bubble-content span {
        font-size: 0.55rem !important;
        line-height: 0.85 !important;
        padding: 0 0.1rem !important;
        max-width: 95% !important;
    }
    
    .center-logo {
        width: 90px !important;
        height: 90px !important;
    }
    
    .center-logo img {
        width: 70px !important;
        max-width: 75% !important;
        max-height: 75% !important;
    }
    
    /* Override animations for very small screens */
    .orbit-item[data-angle="0"] { animation: orbit0_xxs 25s linear infinite; }
    .orbit-item[data-angle="51"] { animation: orbit51_xxs 25s linear infinite; }
    .orbit-item[data-angle="102"] { animation: orbit102_xxs 25s linear infinite; }
    .orbit-item[data-angle="154"] { animation: orbit154_xxs 25s linear infinite; }
    .orbit-item[data-angle="205"] { animation: orbit205_xxs 25s linear infinite; }
    .orbit-item[data-angle="257"] { animation: orbit257_xxs 25s linear infinite; }
    .orbit-item[data-angle="308"] { animation: orbit308_xxs 25s linear infinite; }
}

/* Extra small screen animations */
@keyframes orbit0_xs {
    from { transform: rotate(0deg) translateY(-110px) rotate(0deg); }
    to { transform: rotate(360deg) translateY(-110px) rotate(-360deg); }
}
@keyframes orbit51_xs {
    from { transform: rotate(51deg) translateY(-110px) rotate(-51deg); }
    to { transform: rotate(411deg) translateY(-110px) rotate(-411deg); }
}
@keyframes orbit102_xs {
    from { transform: rotate(102deg) translateY(-110px) rotate(-102deg); }
    to { transform: rotate(462deg) translateY(-110px) rotate(-462deg); }
}
@keyframes orbit154_xs {
    from { transform: rotate(154deg) translateY(-110px) rotate(-154deg); }
    to { transform: rotate(514deg) translateY(-110px) rotate(-514deg); }
}
@keyframes orbit205_xs {
    from { transform: rotate(205deg) translateY(-110px) rotate(-205deg); }
    to { transform: rotate(565deg) translateY(-110px) rotate(-565deg); }
}
@keyframes orbit257_xs {
    from { transform: rotate(257deg) translateY(-110px) rotate(-257deg); }
    to { transform: rotate(617deg) translateY(-110px) rotate(-617deg); }
}
@keyframes orbit308_xs {
    from { transform: rotate(308deg) translateY(-110px) rotate(-308deg); }
    to { transform: rotate(668deg) translateY(-110px) rotate(-668deg); }
}

/* Very small screen animations (320px - 480px) */
@keyframes orbit0_xxs {
    from { transform: rotate(0deg) translateY(-100px) rotate(0deg); }
    to { transform: rotate(360deg) translateY(-100px) rotate(-360deg); }
}
@keyframes orbit51_xxs {
    from { transform: rotate(51deg) translateY(-100px) rotate(-51deg); }
    to { transform: rotate(411deg) translateY(-100px) rotate(-411deg); }
}
@keyframes orbit102_xxs {
    from { transform: rotate(102deg) translateY(-100px) rotate(-102deg); }
    to { transform: rotate(462deg) translateY(-100px) rotate(-462deg); }
}
@keyframes orbit154_xxs {
    from { transform: rotate(154deg) translateY(-100px) rotate(-154deg); }
    to { transform: rotate(514deg) translateY(-100px) rotate(-514deg); }
}
@keyframes orbit205_xxs {
    from { transform: rotate(205deg) translateY(-100px) rotate(-205deg); }
    to { transform: rotate(565deg) translateY(-100px) rotate(-565deg); }
}
@keyframes orbit257_xxs {
    from { transform: rotate(257deg) translateY(-100px) rotate(-257deg); }
    to { transform: rotate(617deg) translateY(-100px) rotate(-617deg); }
}
@keyframes orbit308_xxs {
    from { transform: rotate(308deg) translateY(-100px) rotate(-308deg); }
    to { transform: rotate(668deg) translateY(-100px) rotate(-668deg); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: white;
    text-decoration: none;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    text-decoration: none;
    }
    
    .btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
        text-align: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 auto 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .orbit-item,
    .scroll-dot {
        animation: none !important;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: white; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.py-5 { padding: 3rem 0; }

/* Container and Grid */
.container {
        width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.align-items-center { align-items: center; }
.min-vh-100 { min-height: 100vh; }

@media (max-width: 991.98px) {
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .container { 
        padding-right: 15px !important; 
        padding-left: 15px !important; 
        max-width: 100% !important;
    }
    .row { 
        margin-right: -15px !important; 
        margin-left: -15px !important; 
    }
    .col-lg-6, .col-lg-4, .col-lg-3, .col-lg-8, .col-lg-12,
    .col-md-6, .col-md-4, .col-md-3, .col-md-8, .col-md-12,
    .col-4, .col-6, .col-12 { 
        padding-right: 15px !important; 
        padding-left: 15px !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Full width on mobile for all columns */
    .col-lg-6, .col-lg-4, .col-lg-3, .col-lg-8,
    .col-md-6, .col-md-4, .col-md-3, .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Multi-level Dropdown Menu Styles - Pure CSS Solution */
.dropdown-submenu {
    position: relative !important;
}

.dropdown-submenu .submenu {
    position: absolute !important;
    top: -1px !important;
    left: calc(100% - 1px) !important;
    margin: 0 !important;
    min-width: 250px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e9ecef !important;
    background: white !important;
    z-index: 1050 !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: all 0.2s ease !important;
}

/* Main hover trigger */
.dropdown-submenu:hover .submenu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Keep submenu visible when hovering over it */
.dropdown-submenu .submenu:hover {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Create invisible bridge to prevent gap issues */
.dropdown-submenu::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 2px;
    height: 100%;
    background: transparent;
    z-index: 1049;
}

/* Parent item styling on hover */
.dropdown-submenu:hover > .dropdown-item {
    background-color: #f8f9fa !important;
    color: #0078d4 !important;
}

/* Ensure submenu stays visible when moving mouse from parent to submenu */
.dropdown-submenu:hover::after {
    display: block;
}





.submenu .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.submenu .dropdown-item:last-child {
    border-bottom: none;
}

.submenu .dropdown-item:hover {
    background-color: #0078d4;
    color: white;
    padding-left: 25px;
}



.dropdown-menu {
    min-width: 280px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.dropdown-item {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0078d4;
    padding-left: 25px;
}



.dropdown-divider {
    margin: 8px 0;
    border-top-color: #e9ecef;
}

/* Dark mode support for dropdown */
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .submenu {
    background: #2d3748;
    border-color: #4a5568;
}

[data-theme="dark"] .dropdown-item {
    color: #e2e8f0;
    border-bottom-color: #4a5568;
}

[data-theme="dark"] .dropdown-item:hover {
    background-color: #4a5568;
    color: #4fc3f7;
}

[data-theme="dark"] .dropdown-submenu:hover > .dropdown-item {
    background-color: #4a5568;
    color: #4fc3f7;
}

[data-theme="dark"] .dropdown-divider {
    border-top-color: #4a5568;
}



/* Ensure dropdown works on all pages - Multiple selectors for maximum compatibility */
.navbar .dropdown-submenu:hover .submenu,
nav .dropdown-submenu:hover .submenu,
#mainNavbar .dropdown-submenu:hover .submenu,
.navbar-nav .dropdown-submenu:hover .submenu,
.navbar .dropdown-submenu .submenu:hover,
nav .dropdown-submenu .submenu:hover,
#mainNavbar .dropdown-submenu .submenu:hover,
.navbar-nav .dropdown-submenu .submenu:hover {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar .dropdown-submenu .submenu,
nav .dropdown-submenu .submenu,
#mainNavbar .dropdown-submenu .submenu,
.navbar-nav .dropdown-submenu .submenu {
    position: absolute !important;
    z-index: 1050 !important;
    top: -1px !important;
    left: calc(100% - 1px) !important;
}

/* Mobile dropdown adjustments */
@media (max-width: 991px) {
    .dropdown-submenu .submenu {
        position: static !important;
        display: block !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        margin-left: 20px !important;
        margin-top: 5px !important;
        left: auto !important;
        top: auto !important;
    }
    
    .navbar .dropdown-submenu:hover .submenu,
    nav .dropdown-submenu:hover .submenu,
    #mainNavbar .dropdown-submenu:hover .submenu,
    .navbar-nav .dropdown-submenu:hover .submenu {
        position: static !important;
        left: auto !important;
        top: auto !important;
    }
    

    
    .submenu .dropdown-item {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .submenu .dropdown-item:hover {
        padding-left: 20px;
    }
}
