/* ==========================================
   CSS RESET & THEME VARIABLES
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme 1: Cyan (Default) */
body.theme-cyan {
    --bg-primary: #050816;
    --neon-blue: #00D9FF;
    --neon-blue-glow: rgba(0, 217, 255, 0.4);
    --neon-blue-light: rgba(0, 217, 255, 0.1);
}

/* Theme 2: Purple Synthwave */
body.theme-purple {
    --bg-primary: #0a0518;
    --neon-blue: #a855f7;
    --neon-blue-glow: rgba(168, 85, 247, 0.4);
    --neon-blue-light: rgba(168, 85, 247, 0.1);
}

/* Theme 3: Emerald Cyberpunk */
body.theme-green {
    --bg-primary: #03140e;
    --neon-blue: #10b981;
    --neon-blue-glow: rgba(16, 185, 129, 0.4);
    --neon-blue-light: rgba(16, 185, 129, 0.1);
}

/* Theme 4: Luxury Gold */
body.theme-gold {
    --bg-primary: #120d03;
    --neon-blue: #f59e0b;
    --neon-blue-glow: rgba(245, 158, 11, 0.4);
    --neon-blue-light: rgba(245, 158, 11, 0.1);
}

:root {
    --white: #FFFFFF;
    --gray-text: #94A3B8;
    --glass-bg: rgba(15, 23, 42, 0.68);
    --glass-border: rgba(0, 217, 255, 0.2);
    --glass-border-hover: rgba(0, 217, 255, 0.6);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    cursor: none;
    transition: background-color 0.5s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Scroll Progress Bar */
.scroll-progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0077ff, var(--neon-blue));
    width: 0%;
    z-index: 10001;
    box-shadow: 0 0 10px var(--neon-blue);
    transition: width 0.1s linear;
}

/* ==========================================
   LOADING SCREEN
   ========================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    font-size: 3rem;
    color: var(--neon-blue);
    animation: float 2s ease-in-out infinite, glow 1.5s ease-in-out infinite alternate;
}

.loader-content h2 {
    font-family: var(--font-heading);
    letter-spacing: 4px;
    font-size: 1.5rem;
    color: var(--white);
}

.neon-progress-bar {
    width: 250px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
    transition: width 0.1s linear;
}

.loading-percentage {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--neon-blue);
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 10px var(--neon-blue);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,217,255,0.08) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
}

/* ==========================================
   ANIMATED BACKGROUND
   ========================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(0, 217, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: floatBlob 15s ease-in-out infinite alternate;
}

.blob-1 { width: 450px; height: 450px; background: var(--neon-blue); top: -10%; left: -10%; }
.blob-2 { width: 500px; height: 500px; background: #0077ff; bottom: -15%; right: -10%; animation-delay: -5s; }
.blob-3 { width: 350px; height: 350px; background: #00ffcc; top: 40%; left: 60%; animation-delay: -10s; }

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================
   GLASSMORPHISM & UTILITIES
   ========================================== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px 0 rgba(0, 217, 255, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 30%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--neon-blue-glow);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -50px) scale(1.1); }
    100% { transform: translate(-30px, 30px) scale(0.95); }
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 5px var(--neon-blue)); }
    100% { filter: drop-shadow(0 0 20px var(--neon-blue)); }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Conic Border Glow Effect */
.conic-glow {
    position: relative;
    overflow: hidden;
}
.conic-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--neon-blue), transparent 30%);
    animation: rotateConic 6s linear infinite;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}
@keyframes rotateConic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   NAVIGATION & HEADER DOCK
   ========================================== */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-text);
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.theme-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.theme-btn.active, .theme-btn:hover {
    transform: scale(1.2);
    border-color: var(--white);
    box-shadow: 0 0 8px var(--white);
}

/* Language Switcher Button */
.lang-switcher-btn {
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lang-switcher-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 10px var(--neon-blue);
}

.live-clock {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--neon-blue);
    background: var(--neon-blue-light);
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    padding: 8px;
    border-radius: 10px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 8, 22, 0.98);
    backdrop-filter: blur(25px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mob-link {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    transition: var(--transition);
}

.mob-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
}

/* Floating Social Bar */
.floating-social-bar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.f-social-btn {
    width: 42px;
    height: 42px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.f-social-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue);
    transform: scale(1.1);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #0099ff 0%, var(--neon-blue) 100%);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-blue-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--neon-blue), 0 0 50px var(--neon-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.8);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION & WORK BADGE
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 30px 80px;
    position: relative;
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

/* Live Work Status Badge */
.status-work-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
    border-color: var(--neon-blue);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    border-radius: 20px;
    color: var(--neon-blue);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.typing-container {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--gray-text);
}

.typed-text {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue-glow);
}

.typing-cursor {
    animation: blink 0.8s infinite;
    color: var(--neon-blue);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Profile Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-frame-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.glowing-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), transparent, #0077ff);
    animation: spin 8s linear infinite;
    filter: blur(5px);
}

.glowing-ring-inner {
    position: absolute;
    width: 94%;
    height: 94%;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue), inset 0 0 30px var(--neon-blue);
}

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

.profile-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 3px solid rgba(0, 217, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.4);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.profile-frame-wrapper:hover .profile-img {
    transform: scale(1.08);
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
section {
    padding: 100px 30px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--neon-blue-light);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--neon-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--neon-blue);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--neon-blue);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    padding: 50px;
    border-radius: 24px;
}

.about-text-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.about-text-content p {
    color: var(--gray-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255,255,255,0.02);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--neon-blue);
    background: var(--neon-blue-light);
    padding: 12px;
    border-radius: 10px;
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.highlight-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ==========================================
   STATISTICS SECTION
   ========================================== */
.stats-section {
    padding: 0 30px;
    margin-top: -40px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--neon-blue);
    margin-bottom: 5px;
}

.stat-box h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 20px var(--neon-blue-glow);
}

.stat-box p {
    color: var(--gray-text);
    font-weight: 500;
    font-size: 1rem;
}

/* ==========================================
   SKILLS SECTION (With Outsourcing Styling)
   ========================================== */
.skills-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.skill-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-card.highlighted-skill {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue-light);
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.skill-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.skill-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0077ff, var(--neon-blue));
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-blue);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-percentage {
    align-self: flex-end;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--neon-blue);
    font-weight: 600;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue-glow);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.service-card p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================
   PROJECTS SECTION & POP-UP MODAL
   ========================================== */
.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img-wrap {
    height: 200px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.project-overlay-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--neon-blue-glow) 0%, transparent 70%);
    opacity: 0.5;
}

.project-placeholder-icon {
    font-size: 3.5rem;
    color: var(--neon-blue);
    z-index: 2;
    text-shadow: 0 0 25px var(--neon-blue);
    animation: float 3s ease-in-out infinite;
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.project-category {
    font-size: 0.85rem;
    color: var(--neon-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.project-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Modal Popup Window */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    max-width: 650px;
    width: 90%;
    padding: 40px;
    z-index: 2;
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--gray-text);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--neon-blue);
}

.modal-icon-header {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.modal-body h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 5px 0 15px;
}

.modal-body p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tag {
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-blue), transparent);
    box-shadow: 0 0 10px var(--neon-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--neon-blue);
}

.timeline-content {
    padding: 30px;
}

.timeline-tag {
    font-size: 0.85rem;
    color: var(--neon-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 8px 0 12px;
}

.timeline-content p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 50px;
    position: relative;
}

.testimonial-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.testimonial-slide.active {
    display: flex;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.1rem;
    display: flex;
    gap: 5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.8;
    max-width: 700px;
}

.testimonial-author h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--neon-blue);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-btn {
    width: 45px;
    height: 45px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* ==========================================
   CONTACT SECTION (With Phone Dialer Styling)
   ========================================== */
.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.contact-info p {
    color: var(--gray-text);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.02);
    padding: 15px 20px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.2rem;
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

.contact-item span {
    font-size: 0.8rem;
    color: var(--gray-text);
    display: block;
    margin-bottom: 3px;
}

.copy-action-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-item a.phone-link {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue-glow);
}

.contact-item a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.btn-copy {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-copy:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 10px var(--neon-blue);
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
    transform: translateY(-2px);
}

.contact-form-wrapper {
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--gray-text);
    pointer-events: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 15px;
    font-size: 0.75rem;
    background: var(--bg-primary);
    padding: 0 8px;
    color: var(--neon-blue);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 50px 30px 30px;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-animated-logo {
    width: 50px;
    height: 50px;
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.5rem;
    box-shadow: 0 0 20px var(--neon-blue);
    animation: float 3s ease-in-out infinite;
}

.footer-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

.footer-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin: 5px 0;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue);
}

.footer-glowing-separator {
    width: 100%;
    max-width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    box-shadow: 0 0 15px var(--neon-blue);
    margin: 15px 0 5px;
}

.footer-copyright {
    color: var(--gray-text);
    font-size: 0.85rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--neon-blue-light);
    border: 1px solid var(--neon-blue);
    border-radius: 50%;
    color: var(--neon-blue);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 0 15px var(--neon-blue-glow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 25px var(--neon-blue);
    transform: translateY(-5px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media(max-width: 1440px) {
    .nav-container, .hero-container, .stats-container, .skills-grid, .services-grid, .projects-grid, .contact-grid, .footer-container {
        max-width: 1080px;
    }
}

@media(max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
        padding-top: 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-description {
        margin: 0 auto 35px;
    }
    .hero-badge, .status-work-badge {
        margin: 0 auto 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .floating-social-bar {
        display: none;
    }
}

@media(max-width: 768px) {
    html {
        font-size: 15px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .stats-container {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .profile-frame-wrapper {
        width: 280px;
        height: 280px;
    }
    .profile-image-container {
        width: 240px;
        height: 240px;
    }
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    .about-highlights {
        grid-template-columns: 1fr;
    }
    .services-grid, .projects-grid, .skills-grid {
        grid-template-columns: 1fr;
    }
    .header {
        top: 10px;
        padding: 0 10px;
    }
    .nav-container {
        padding: 8px 16px;
    }
    .theme-switcher {
        display: none;
    }
}

@media(max-width: 425px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .typing-container {
        font-size: 1.2rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .about-card, .contact-info, .contact-form-wrapper, .testimonials-container, .modal-content {
        padding: 25px;
    }
}

/* Star Rating Picker Styling */
.star-rating-picker {
    display: flex;
    gap: 8px;
    font-size: 1.4rem;
    cursor: pointer;
}

.star-rating-picker .star-btn {
    color: #4a5568;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating-picker .star-btn.active {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.star-rating-picker .star-btn:hover {
    transform: scale(1.2);
}