@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Clean Dark Anti-Gravity Palette */
    --bg-deep: #0a0a0f;
    /* Deep Black */
    --bg-navy: #12121a;
    /* Dark Navy */
    --bg-surface: #1a1a28;
    /* Matte Surface */

    --neon-cyan: #e0e0e5;
    /* Soft White (no glow) */
    --neon-blue: #c0c0cc;
    /* Light Gray */
    --hologram: rgba(255, 255, 255, 0.05);

    --text-main: #ffffff;
    --text-dim: #9a9aaa;

    --grid-line: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    --shadow-glow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --beam-glow: 0 0 0 transparent;

    --font-heading: 'Orbitron', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Compatibility Aliases (to support existing classes) */
    --accent-green: var(--neon-cyan);
    --accent-blue: var(--neon-blue);
    --accent-purple: #a855f7;
    --accent-orange: #ff9900;
    --bg-color: var(--bg-deep);
    --card-bg: var(--bg-surface);
    --text-primary: var(--text-main);
    --text-secondary: var(--text-dim);
    --text-tertiary: var(--text-dim);
    --bg-primary: var(--bg-deep);
    --bg-secondary: var(--bg-navy);
    --bg-tertiary: var(--bg-surface);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-base: var(--transition-smooth);
    --transition: var(--transition-smooth);
    --spacing-xs: 0.5rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-2xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    /* Sci-Fi Grid Background */
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        radial-gradient(circle at 50% 0%, #001533 0%, var(--bg-deep) 60%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-position: center 0;
    background-attachment: fixed;
}




/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-green), var(--accent-blue));
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Orbitron', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-green) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.2));
    font-weight: 800;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(26, 26, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0.5;
    transition: var(--transition-base);
}

.card::after {
    display: none;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: #00f3ff;
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.15);
    /* Blue Shadow */
}

.card:hover::before {
    opacity: 1;
    width: 4px;
    background: #00f3ff;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
    z-index: 2;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: var(--spacing-md);
    position: relative;
    font-weight: 700;
}

h2::before {
    display: none;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.8;
}



a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Global Button Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: rgba(0, 243, 255, 0.15);
    /* Blue tint */
    color: #fff;
    border-color: #00f3ff;
    /* Bright Cyan Border */
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    /* Blue Glow */
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: var(--spacing-md) 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.navbar:hover {
    background: rgba(18, 18, 26, 0.9);
    border-bottom-color: var(--glass-border-hover);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: none;
    transition: var(--transition-base);
}

.logo:hover {
    transform: translateY(-1px);
    text-shadow: none;
}

/* Clean Round Profile Container */
.nav-profile-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-base);
}

.nav-profile-container::before {
    display: none;
}

.nav-profile-container:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transform: scale(2.2);
    transform-origin: center 15%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-profile-container:hover .nav-profile-img {
    transform: scale(2.35);
}

/* Boxed Navigation Links */
.nav-links {
    display: flex;
    gap: 0.8rem;
    /* Space between boxes */
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    /* Slight background */
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    /* Rounded corners */
    transition: var(--transition-base);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    /* Clean look */
}

/* Remove underline effect */
.nav-link::before,
.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    border-color: #00f3ff;
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px) scale(1.03);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.nav-link:active {
    transform: translateY(0) scale(0.98);
}


/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* HERO SECTION - ANTI-GRAVITY STYLE */
.hero {
    position: relative;
    padding-top: 10rem;
    text-align: center;
    perspective: 1000px;
}

/* Levitating 3D Container */
.profile-container {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
    animation: floating 6s ease-in-out infinite;
}

/* Minimal Ring */
.profile-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spin 10s linear infinite;
    box-shadow: none;
    z-index: 1;
}

.profile-container::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: spin-reverse 15s linear infinite;
    z-index: 1;
}

/* Clean Profile Image */
.profile-img {
    width: clamp(220px, 30vw, 300px);
    height: clamp(220px, 30vw, 300px);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    filter: contrast(1.05) brightness(1.05);
}

/* Subtle Light */
.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 500px;
    background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.02), transparent);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
    animation: none;
}

/* Typography Effects */
h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Thin Effect */
h1 .thin {
    font-weight: 200;
    color: var(--text-main);
    opacity: 0.9;
    text-shadow: none;
}

/* Bold Effect */
h1 .flicker {
    font-weight: 800;
    color: var(--text-main);
    text-shadow: none;
    animation: none;
}

h3 {
    font-family: var(--font-tech);
    color: var(--text-dim);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h3::after {
    content: '';
    display: block;
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 10px auto 0;
    box-shadow: none;
}

/* Sci-Fi Animations */
@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes beam-pulse {

    0%,
    100% {
        opacity: 0.3;
        height: 400px;
    }

    50% {
        opacity: 0.6;
        height: 550px;
    }
}

@keyframes border-pulse {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.2);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.4);
    }
}

@keyframes flicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        opacity: 1;
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px var(--neon-cyan),
            0 0 40px var(--neon-cyan);
    }

    20%,
    24%,
    55% {
        opacity: 0.8;
        text-shadow: none;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

option {
    background-color: #fff;
    color: #000;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.case-id-display {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-green);
    font-size: 1.2rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px dashed var(--accent-green);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* Responsive */
/* Mobile Navigation */
.menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--accent-green);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition-base);
}

.menu-btn:hover {
    color: var(--accent-blue);
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-xl);
        transition: var(--transition-slow);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: var(--spacing-sm) 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-2xl) 0;
    }

    .hero {
        padding-top: 6rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: var(--spacing-sm) 4%;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-profile-container {
        width: 42px;
        height: 42px;
    }

    .card {
        padding: var(--spacing-md);
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.5rem;
    }
}

/* --- FOOTER & SOCIALS --- */
footer {
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    margin-top: 4rem;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-icon {
    font-size: 2.5rem; /* Larger icons as requested */
    color: var(--text-dim);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #00f3ff;
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.4));
}

footer p {
    font-size: 0.9rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    font-family: var(--font-tech);
    text-transform: uppercase;
}

/* --- MOBILE OPTIMIZATIONS --- */
@media (max-width: 768px) {
    .container {
        width: 100%;
        overflow-x: hidden;
    }
    
    .social-icon {
        font-size: 2.2rem;
        gap: 2rem;
    }
    
    .footer-socials {
        gap: 1.5rem;
    }
}