/* CRITICAL GLOBAL OVERRIDES - FORCE DARK THEME */
body,
html,
.elementor-widget-container,
.elementor-section,
.elementor-column {
    background-color: #020617 !important;
    color: #FFFFFF !important;
}

/* Remove all default Elementor white backgrounds */
.elementor-element {
    background-color: transparent !important;
}

/* Ensure sections have dark background */
.elementor-section.elementor-section-boxed>.elementor-container {
    background-color: transparent !important;
}

/* Fix text colors */
.elementor-heading-title,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
    color: #FFFFFF !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
    color: #94A3B8 !important;
    font-family: 'Inter', sans-serif !important;
}

/* PREMIUM GLASSMORPHISM CARDS */
.glass-card,
.elementor-widget.glass-card {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.glass-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(0, 217, 255, 0.5) !important;
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.5) !important;
}

/* GRADIENT TEXT */
.text-gradient,
.elementor-heading-title.text-gradient {
    background: linear-gradient(135deg, #00D9FF 0%, #0EA5E9 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* GLOWING BUTTONS */
.btn-glow,
a.btn-glow,
.elementor-button.btn-glow {
    background: linear-gradient(135deg, #00D9FF 0%, #0EA5E9 100%) !important;
    color: #000000 !important;
    font-weight: 600 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    padding: 14px 32px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.3) !important;
}

.btn-glow:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.8) !important;
    color: #000000 !important;
}

/* SECONDARY BUTTON */
.btn-secondary,
a.btn-secondary {
    background: transparent !important;
    color: #00D9FF !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    border-radius: 12px !important;
    border: 2px solid #00D9FF !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover {
    background: #00D9FF !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
}

/* HERO SECTION STYLING */
.nusri-hero {
    min-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 4rem 1.5rem !important;
    position: relative !important;
    background: #020617 !important;
}

/* PROJECT GRID */
.nusri-project-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
}

.nusri-project-grid .glass-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* PROJECT TECH BADGES */
.project-tech span {
    display: inline-block !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    background: rgba(0, 217, 255, 0.15) !important;
    color: #00D9FF !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 217, 255, 0.3) !important;
    margin: 4px !important;
    transition: all 0.2s ease !important;
}

.project-tech span:hover {
    background: #00D9FF !important;
    color: #000000 !important;
    transform: scale(1.05) !important;
}

/* SERVICES GRID */
.nusri-services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}

.nusri-services-grid .glass-card {
    text-align: center !important;
}

.nusri-services-grid .glass-card i {
    font-size: 3rem !important;
    color: #00D9FF !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

.nusri-services-grid .glass-card:hover i {
    color: #FF6B35 !important;
    transform: scale(1.1) rotate(5deg) !important;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* HERO WIDGET DEFAULT STYLES */
.nusri-hero-greeting {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nusri-hero-name {
    margin-bottom: 1.5rem;
}

.nusri-hero-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.nusri-hero-description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.nusri-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

.nusri-btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    border: 2px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .nusri-project-grid,
    .nusri-services-grid {
        grid-template-columns: 1fr !important;
    }

    .nusri-hero {
        min-height: 60vh !important;
        padding: 3rem 1rem !important;
    }
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 10px !important;
}

::-webkit-scrollbar-track {
    background: #0F172A !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00D9FF 0%, #0EA5E9 100%) !important;
    border-radius: 5px !important;
}