body {
    font-family: 'Inter', sans-serif;
    background-color: #000000; /* Pure black background */
    color: #F9FAFB;
}

/* Floating Navbar Style */
.floating-nav {
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    color: #D1D5DB;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1E40AF; /* Deep Blue Accent */
    transition: width 0.3s ease;
}

.nav-link:hover::after, 
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #FFFFFF;
    font-weight: 600;
}

#particles-js {
    width: 100%;
    height: 100%;
    background-color: #000000;
}

/* Corrected Typing Animation Style */
#typing-effect.typing {
    border-right: .15em solid #1E40AF;
    animation: blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #1E40AF; }
}

.font-slimmer {
    font-weight: 500;
}

/* Glass effect for TEXT cards */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(30, 64, 175, 0.6); /* Default border is deep blue */
    border-radius: 2rem; 
    transition: all 0.3s ease;
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Hover border is subtle grey */
    transform: translateY(-5px);
}

/* Glass effect for IMAGE cards */
.image-glass-effect {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Default border is subtle grey */
    border-radius: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-glass-effect img {
    transition: transform 0.4s ease;
}

.image-glass-effect:hover img {
    transform: scale(1.05);
}

.secondary-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.section-title-hover {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.section-title-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1E40AF;
    transition: width 0.3s ease;
}

.section-title-hover:hover::after {
    width: 60%;
}

.scroller {
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller-inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll 30s linear infinite;
}

.scroller-inner {
    display: flex;
    gap: 2rem;
}

.scroller-inner span {
    font-size: 1.8rem;
    font-weight: 900;
    color: #6B7280;
    transition: color 0.3s ease;
}

.scroller-inner span:hover {
    color: #FFFFFF;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 1rem));
    }
}
