/* ==========================================================================
   Cyberpunk / Futuristic Gaming Theme Variables
   ========================================================================== */
:root {
    --bg-color: #050816;
    --primary: #00E5FF;    /* Neon Cyan */
    --secondary: #7B61FF;  /* Neon Purple */
    --accent: #FF3CAC;     /* Neon Pink */
    --text-color: #FFFFFF;
    --text-muted: #8F9BBA;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Ambient Glow Background */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 10% 10%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(123, 97, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 60, 172, 0.05) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--primary) !important; }
.text-purple { color: var(--secondary) !important; }
.text-pink { color: var(--accent) !important; }
.text-muted-cyber { color: var(--text-muted); }

/* Section Header Structure */
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 10px auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Glassmorphism Card System */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Custom Buttons */
.btn-cyber {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cyber:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 60, 172, 0.5);
}

.btn-cyber-outline {
    background: transparent;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 28px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cyber-outline:hover {
    background: rgba(0, 229, 255, 0.1);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transform: translateY(-3px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.custom-navbar {
    background: rgba(5, 8, 22, 0.6);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;

}

.brand-neon {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
}

.custom-toggler {
    border: 1px solid var(--primary);
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 229, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    max-width: 650px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.8s infinite;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   2. Team Section
   ========================================================================== */
.team-card {
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg);
    transition: 0.75s;
}

.team-card:hover .card-shine {
    left: 150%;
}

.card-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
}

.card-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary);
    transition: transform 0.4s ease;
}

.team-card:hover .card-avatar {
    transform: scale(1.05);
}

.avatar-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.team-card:hover .avatar-glow {
    opacity: 0.8;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.member-role {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.member-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.info-pill {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.tech-tag {
    font-size: 0.7rem;
    background: rgba(123, 97, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}

.contribution-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    border-left: 2px solid var(--accent);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 12px var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   3. Project Information Section
   ========================================================================== */
.status-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 255, 136, 0.1);
    color: #00FF88;
    border: 1px solid #00FF88;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-box i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.feature-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.meta-label {
    color: var(--text-muted);
}

.meta-value {
    font-weight: 600;
}

.border-bottom-cyber {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.system-status-box {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    font-size: 0.85rem;
}

/* ==========================================================================
   4. Technologies Used Section
   ========================================================================== */
.tech-badge {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-badge i {
    font-size: 1.4rem;
}

.tech-badge:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    transform: translateY(-5px);
}

/* ==========================================================================
   5. Statistics Section
   ========================================================================== */
.counter-card {
    transition: transform 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-5px);
}

.counter-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ==========================================================================
   6. Contact Section
   ========================================================================== */
.contact-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-btn {
    min-width: 180px;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.custom-footer {
    background: rgba(5, 8, 22, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.version-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-back-top {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-back-top:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 12px var(--primary);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .counter-number {
        font-size: 1.8rem;
    }
}