@charset "UTF-8";

:root {
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --bg-dark: #0a0a0f;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: #050508;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

.animation-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0a0a0f 100%);
    overflow: hidden;
}

#three-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar-minimal {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

.nav-top-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-top-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
    animation: brandPulse 3s infinite ease-in-out;
}

@keyframes brandPulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.02);
        filter: brightness(1.3);
        text-shadow: 0 0 25px rgba(0, 242, 254, 1);
    }
}

.flag-ticker {
    flex: 1;
    margin: 0 4rem;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 40px;
    opacity: 0.9;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.header-flag {
    width: 36px;
    height: 24px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: tickerMove 50s linear infinite;
    transition: transform 0.3s ease;
}

.header-flag:hover {
    transform: scale(1.4) translateY(-5px);
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
    border-color: var(--primary-color);
}

@keyframes tickerMove {
    from {
        transform: translateX(50px);
    }

    to {
        transform: translateX(-5000px);
    }
}

.main-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.tagline-sub {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 400;
    margin-top: 5px;
    text-transform: uppercase;
}

.brand span {
    color: var(--primary-color);
}

.btn-login {
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-login:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.hero-text-container {
    position: absolute;
    top: 55%;
    left: 4rem;
    transform: translateY(-50%);
    max-width: 800px;
    z-index: 100;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.glitch-text {
    font-size: 6rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.8), 0 0 40px rgba(0, 242, 254, 0.4);
    opacity: 1;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Flag Animations */
#flags-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.flag {
    position: absolute;
    width: 60px;
    height: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0);
    will-change: transform, opacity;
}

.big-block-flag {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.3);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform, opacity, left, top;
}

.highlight-india {
    border-color: #FF9933 !important;
    animation: pulseIndia 2s infinite alternate;
}

@keyframes pulseIndia {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 153, 51, 0.6));
    }

    to {
        filter: drop-shadow(0 0 50px rgba(255, 153, 51, 1));
    }
}

/* Country Lists Organisation (Stage 2) */
.country-list {
    position: absolute;
    top: 0;
    width: 220px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 60px 0.8rem 0.8rem;
    z-index: 5;
    opacity: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
}

.country-list::-webkit-scrollbar {
    display: none;
}

.side-left {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 15, 0.9), transparent);
}

.side-right {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 15, 0.9), transparent);
}

.side-right .flag-item-container {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 3px solid var(--primary-color);
    border-radius: 10px 0 0 10px;
    text-align: right;
}

.side-right .flag-item-container:hover {
    transform: translateX(-5px);
    border-right-width: 8px;
}

.flag-item-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    pointer-events: auto;
    flex-shrink: 0;
}

.flag-item-container:hover {
    background: rgba(0, 242, 254, 0.1);
    border-left-width: 8px;
    transform: translateX(5px);
}

.mini-flag {
    width: 28px;
    height: 18px;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.country-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* India Highlight */
.country-india {
    background: rgba(255, 153, 51, 0.2) !important;
    /* Saffron tint */
    border-left-color: #FF9933 !important;
    border-right-color: #FF9933 !important;
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.4);
    transform: scale(1.05);
}

.country-india .country-name {
    color: #FF9933;
    font-weight: 800;
}

/* Professional Page Content */
.section-wrapper {
    padding: 100px 0;
    background: var(--bg-dark);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.text-block {
    flex: 1.2;
}

.text-block h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.text-block p {
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.95;
}

/* Statistics Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-card h4 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.stat-card p {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.image-block {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.image-block:hover img {
    transform: scale(1.08);
}

.cta-section {
    background: linear-gradient(45deg, #1a1a2e, #0a0a0f);
    padding: 120px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

/* Final Reveal - Fixed full-screen overlay popup, hidden by default */
.final-reveal-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(5, 5, 8, 0.97) 0%, rgba(10, 10, 15, 0.97) 100%);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.big-logo-reveal {
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.5));
}

.reveal-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin: 0.5rem 0 1rem 0;
    opacity: 0.9;
}

.reveal-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 242, 254, 1);
    opacity: 0;
    transform: translateY(30px);
    text-transform: uppercase;
    margin: 0;
}

.footer-minimal {
    display: none !important;
}

/* Login Page Styles */
.login-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, #1a1a2e, #0a0a0f);
}

.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-card h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 242, 254, 0.25);
    color: #fff;
}

/* Features */
.features-section {
    background: #0a0a0f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card {
    padding: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

/* --- COMPREHENSIVE MOBILE RESPONSIVENESS --- */

/* Tablet & Smaller Laptops */
@media (max-width: 1024px) {
    .glitch-text {
        font-size: 4.5rem;
    }

    .hero-text-container {
        left: 2rem;
        max-width: 500px;
    }

    .country-list {
        width: 250px;
    }
}

/* Mobile Devices (Phones) */
@media (max-width: 768px) {

    /* Header Ticker */
    .navbar-minimal {
        padding: 1rem;
    }

    .flag-ticker {
        margin: 0 1rem;
        gap: 20px;
    }

    .header-flag {
        width: 28px;
        height: 18px;
    }

    /* Hero & Brand Text */
    .hero-text-container {
        left: 50% !important;
        top: 35% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        padding: 0 1.5rem;
        text-align: center;
        max-width: 100%;
    }

    .glitch-text {
        font-size: 3rem;
        text-align: center;
    }

    .subtitle {
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Country Sidebars - Hide on mobile */
    .country-list {
        display: none !important;
    }

    /* Three.js Globe - Allow it to be smaller */
    #three-container canvas {
        touch-action: none;
    }

    /* Page Content Sections */
    .section-wrapper {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .content-row,
    .content-row.reverse {
        flex-direction: column !important;
        gap: 30px;
    }

    .text-block {
        order: 2;
    }

    .image-block {
        order: 1;
        width: 100%;
    }

    .image-block img {
        height: auto;
        max-height: 300px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Final Reveal */
    .big-logo-reveal {
        max-width: 200px;
    }

    .reveal-tagline {
        font-size: 1.5rem;
        padding: 0 1rem;
        text-align: center;
    }
}

/* Very Small Devices */
@media (max-width: 480px) {
    .glitch-text {
        font-size: 2.4rem;
    }
}