/* ============================================================
   🎨 ULTRA-MODERN PREMIUM THEME v2.0
   Professional 3D Digital Design
   Glassmorphism + Soft Neon + 3D Depth
============================================================ */

:root {
    /* PREMIUM COLORS */
    --dark-bg: #0A1E3F;
    --darker-bg: #050D1F;
    --light-bg: #f0f4f8;
    
    /* NEON ACCENTS */
    --cyan: #00D4FF;
    --cyan-light: #00E5FF;
    --cyan-dark: #00B8D4;
    --purple: #B64EFF;
    --orange: #FF6B35;
    --orange-light: #FF8C5A;
    
    /* TEXT */
    --text-light: #F0F4F8;
    --text-muted: #B0B8C8;
    --text-dark: #0A1E3F;
    
    /* GLASS EFFECT */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-strong: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.15);
    
    /* SHADOWS & GLOWS */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-cyan-strong: 0 0 40px rgba(0, 212, 255, 0.5);
    --glow-purple: 0 0 20px rgba(182, 78, 255, 0.3);
    --glow-orange: 0 0 20px rgba(255, 107, 53, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================
   🌌 BACKGROUND & GLOBAL
============================================================ */

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0D2551 50%, #0A1E3F 100%);
    background-attachment: fixed;
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(182, 78, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" result="noise" /></filter></defs><rect width="1200" height="800" fill="rgba(0,0,0,0)" filter="url(%23noise)" opacity="0.02" /></svg>');
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   🔷 MODERN NAVBAR
============================================================ */

.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 1rem 2rem !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar:hover {
    background: var(--glass-bg-strong) !important;
    border-bottom-color: var(--cyan) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    box-shadow: var(--glow-cyan);
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-cyan-strong);
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0.5rem;
    padding: 0.75rem 1.25rem !important;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--cyan) !important;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--cyan) !important;
    background: rgba(0, 212, 255, 0.15);
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.2);
}

/* LANGUAGE SWITCHER */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.lang-btn {
    padding: 0.5rem 0.9rem;
    background: var(--glass-bg);
    border: 1px solid var(--cyan);
    border-radius: 8px;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.lang-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    color: var(--dark-bg);
    border-color: var(--orange);
}

@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 1rem !important;
    }

    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================================================
   ⭐ HERO SECTION - ULTRA PREMIUM
============================================================ */

.resume-section#about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(182, 78, 255, 0.03) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.resume-section#about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    filter: blur(40px);
}

.resume-section#about::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(182, 78, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    filter: blur(40px);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(40px) translateX(20px); }
}

.resume-section-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 4rem 2rem;
}

.resume-section#about h1 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    animation: slideDown 0.8s ease-out;
    letter-spacing: -2px;
}

.resume-section#about h1 .text-primary {
    color: var(--orange);
    -webkit-text-fill-color: var(--orange);
}

.resume-section#about .subheading {
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: slideDown 0.8s ease-out 0.1s both;
}

.resume-section#about .about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem;
    animation: slideDown 0.8s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   📱 SOCIAL ICONS - PREMIUM
============================================================ */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    animation: slideDown 0.8s ease-out 0.3s both;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: var(--glass-bg-strong);
    border: 2px solid var(--cyan);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
    transition: left 0.6s ease;
    z-index: -1;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    color: var(--dark-bg);
    transform: translateY(-12px) scale(1.2);
    box-shadow: 0 15px 50px var(--glow-cyan-strong);
    border-color: var(--orange);
}

.social-icon:hover::before {
    left: 100%;
}

/* ============================================================
   🎯 ACTION BUTTONS
============================================================ */

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    animation: slideDown 0.8s ease-out 0.4s both;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    color: var(--dark-bg);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.5);
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:active {
    transform: translateY(-3px);
}

/* ============================================================
   🏢 GLASS CARD COMPONENT
============================================================ */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    background: var(--glass-bg-strong);
    border-color: var(--cyan);
    box-shadow: 0 0 50px var(--glow-cyan), inset 0 0 50px rgba(0, 212, 255, 0.05);
    transform: translateY(-10px);
}

.glass-card.timeline-item {
    position: relative;
    margin-left: 3.5rem;
    padding-left: 3rem;
}

.glass-card.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.75rem;
    top: 2.5rem;
    width: 25px;
    height: 25px;
    background: var(--dark-bg);
    border: 3px solid var(--cyan);
    border-radius: 50%;
    box-shadow: var(--glow-cyan), 0 0 30px var(--glow-cyan), inset 0 0 10px rgba(0, 212, 255, 0.3);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--glow-cyan), 0 0 30px var(--glow-cyan), inset 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: var(--glow-cyan-strong), 0 0 50px var(--glow-cyan), inset 0 0 20px rgba(0, 212, 255, 0.5); }
}

/* ============================================================
   📊 SKILL BARS - ANIMATED
============================================================ */

.skill-bar {
    margin-bottom: 2rem;
    animation: slideInUp 0.6s ease-out backwards;
}

.skill-bar:nth-child(1) { animation-delay: 0.1s; }
.skill-bar:nth-child(2) { animation-delay: 0.2s; }
.skill-bar:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.skill-bar-name {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.05rem;
}

.skill-bar-percent {
    font-size: 0.9rem;
    color: var(--cyan);
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.skill-bar-container {
    position: relative;
    height: 10px;
    background: var(--glass-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
    border-radius: 10px;
    box-shadow: 0 0 25px var(--glow-cyan);
    animation: fillWidth 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    width: 0;
}

@keyframes fillWidth {
    to { width: var(--width); }
}

/* ============================================================
   🏆 BADGE CARDS
============================================================ */

.badge-card {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    margin: 1rem;
    transition: all 0.4s ease;
    cursor: pointer;
}

.badge-card:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(182, 78, 255, 0.1));
    border-color: var(--cyan);
    transform: translateY(-6px);
    box-shadow: 0 0 30px var(--glow-cyan);
}

.badge-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    border-radius: 50%;
    color: var(--dark-bg);
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 0 20px var(--glow-cyan);
}

.badge-text {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.05rem;
}

/* ============================================================
   🌐 SECTION HEADERS
============================================================ */

.resume-section {
    position: relative;
    padding: 6rem 0;
    z-index: 1;
}

.resume-section:nth-child(odd) {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, transparent 100%);
}

.resume-section:nth-child(even) {
    background: linear-gradient(135deg, rgba(182, 78, 255, 0.02) 0%, transparent 100%);
}

.resume-section h2 {
    font-family: 'Saira Extra Condensed', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cyan), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: 1px;
}

.resume-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
    border-radius: 2px;
    box-shadow: 0 0 20px var(--glow-cyan);
}

/* ============================================================
   📧 FORM ELEMENTS
============================================================ */

.form-control {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-light) !important;
    border-radius: 12px !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

.form-control:focus {
    background: var(--glass-bg-strong) !important;
    border-color: var(--cyan) !important;
    box-shadow: 0 0 30px var(--glow-cyan) !important;
    color: var(--text-light) !important;
    transform: translateY(-2px);
}

.form-label {
    color: var(--text-light) !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ============================================================
   ⚙️ UTILITIES
============================================================ */

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    margin: 4rem 0;
    opacity: 0.6;
}

.text-primary {
    color: var(--orange) !important;
}

a {
    color: var(--cyan);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--orange);
}

/* ============================================================
   📱 RESPONSIVE DESIGN
============================================================ */

@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }

    .resume-section {
        padding: 4rem 0;
    }

    .resume-section h2 {
        font-size: 2.2rem;
    }

    .resume-section-content {
        padding: 2rem 1.5rem;
    }

    .glass-card {
        padding: 1.75rem;
    }

    .glass-card.timeline-item {
        margin-left: 2.5rem;
        padding-left: 2rem;
    }

    .glass-card.timeline-item::before {
        left: -2rem;
        width: 20px;
        height: 20px;
    }

    .btn-modern {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }

    .badge-card {
        padding: 1.25rem 1.5rem;
        margin: 0.75rem;
    }

    .action-buttons {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .resume-section#about {
        min-height: auto;
        padding-top: 100px;
    }

    .resume-section#about h1 {
        font-size: 2.2rem;
    }

    .resume-section#about .subheading {
        font-size: 1.3rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .btn-modern {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .badge-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .resume-section#about h1 {
        font-size: 1.8rem;
    }

    .resume-section h2 {
        font-size: 1.6rem;
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .glass-card {
        padding: 1.25rem;
    }
}

/* ============================================================
   ✨ ANIMATION UTILITIES
============================================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   🌙 DARK MODE
============================================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --text-light: #F0F4F8;
        --text-muted: #B0B8C8;
    }
}

/* ============================================================
   ✨ PRINT STYLES
============================================================ */

@media print {
    .navbar,
    .language-switcher,
    .social-icons,
    .action-buttons,
    hr {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .glass-card {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .resume-section h2 {
        color: black;
        -webkit-text-fill-color: unset;
    }

    .resume-section#about h1 {
        color: black;
        -webkit-text-fill-color: unset;
    }
}
