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

:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #d946ef;
    --accent: #f59e0b;
    --bg-dark: #0f172a;
    --surface: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Background Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    animation: orbFloat 20s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 50px);
    }
}

#front {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../images/hero_bg.png') no-repeat center;
    background-size: cover;
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Hind Siliguri', 'Outfit', sans-serif;
    display: flex;
    align-items: center;
}

#front::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

#front .container {
    position: relative;
    z-index: 1;
}

/* Left Section - Hero */
#frontleft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.logo-wrapper {
    background: rgba(255, 255, 255, 0.08);
    /* Lighter glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 35px;
    border-radius: 24px;
    display: inline-block;
    margin-bottom: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

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

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

.logo-wrapper img {
    max-width: 320px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.35));
    /* Stronger glow to pop from dark BG */
    transition: transform 0.3s ease;
}

.logo-wrapper:hover img {
    transform: scale(1.03);
}

.intro-content {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.intro-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.business-rules {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.business-rules li {
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: var(--glass);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.business-rules li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.business-rules li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.8rem;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn-premium {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: white;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    color: white;
}

/* Right Section - Grid */
#frontright {
    padding-left: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    animation: fadeInRight 1s ease-out 0.4s backwards;
}

.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 180px;
    text-decoration: none !important;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px -10px var(--primary-glow);
}

.service-card img.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover img.card-bg {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-icon-small {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.service-card h3 {
    margin: 0;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Premium Footer Design */
#footer-section {
    background: #020617;
    /* Solid deep background for clarity */
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 0;
    color: #cbd5e1;
    /* Brighter muted text */
    position: relative;
    overflow: hidden;
}

#footer-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    opacity: 0.1;
    z-index: 0;
}

.footer-column {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4)) brightness(1.2);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.5)) brightness(1.3);
}

.footer-column h4 {
    color: #ffffff;
    /* Pure white for headings */
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

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

.footer-links li a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    font-weight: 500;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.social-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
    color: white;
}

.sub-footer {
    background: #020617;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid var(--glass-border);
}

.sub-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    #frontleft {
        padding-right: 0;
        text-align: center;
        align-items: center;
        margin-bottom: 60px;
    }

    .intro-content h1 {
        font-size: 2.5rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .logo-wrapper img {
        max-width: 240px;
    }

    .intro-content h1 {
        font-size: 2rem;
    }
}