@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f4f8;
    color: #333333;
    overflow-x: hidden;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-dark {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.glass-nav {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Glow Effects */
.text-glow {
    text-shadow: 0 0 20px rgba(0, 164, 228, 0.5);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 164, 228, 0.4);
    border-color: rgba(0, 164, 228, 0.5);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 164, 228, 0.3);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 164, 228, 0.7);
    transform: translateY(-2px);
}

/* Theme Colors configuration for non-Tailwind elements */
.text-brand-sbicyan { color: #d4af37; }
.text-brand-sbiblue { color: #b59129; }
.bg-white { background-color: #050505; }

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #050505;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-out;
}

.loader-shield {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    margin-bottom: 2rem;
}

.loader-ring {
    position: absolute;
    inset: -10px;
    border: 2px dashed #d4af37;
    border-radius: 50%;
    animation: spin 4s linear infinite;
}

.loader-ring-inner {
    position: absolute;
    inset: 0px;
    border: 2px dotted #b59129;
    border-radius: 50%;
    animation: spinReverse 3s linear infinite;
}

/* Particles absolute container */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Scrolling Track (Trusted Clients) */
.scroll-container {
    mask-image: linear-gradient(to right, transparent 0, black 128px, black calc(100% - 128px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 128px, black calc(100% - 128px), transparent 100%);
}

.scroll-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
}

.scroll-track:hover {
    animation-play-state: paused;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #b59129;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Keyframes */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes pulse { 50% { transform: scale(1.1); } }
@keyframes scrollLeft { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

.bg-gradient-sbi-overlay {
    background: linear-gradient(to right, rgba(0, 75, 141, 0.9), rgba(0, 164, 228, 0.7));
}
#preloader {
    background-color: #ffffff;
}
.loader-ring {
    border-top: 2px solid #004b8d;
    border-right: 2px solid #004b8d;
}
.loader-ring-inner {
    border: 2px dotted #00a4e4;
}
