/* ========================================
   PREMIUM PORTFOLIO - DEEP LUXURY THEME
   Award-Winning Design System
   ======================================== */

/* ========================================
   CSS VARIABLES - DEEP LUXURY PALETTE
   ======================================== */
:root {
    /* Deep Luxury Colors */
    --void-black: #050505;
    --charcoal: #0a0a0a;
    --surface-dark: #111111;
    --surface-elevated: #1a1a1a;

    /* Accent Colors - Subtle Luxury */
    --champagne-gold: #d4af37;
    --brushed-silver: #c0c0c0;
    --electric-blue: #4a9eff;
    --glass-blue: rgba(74, 158, 255, 0.1);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a8a8a8;
    --text-tertiary: #6a6a6a;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(74, 158, 255, 0.15);

    /* Spacing */
    --section-padding: clamp(5%, 12vw, 10%);
    --container-padding: clamp(3%, 5vw, 8%);

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   LIGHT MODE SYSTEM (AUTOMATIC + MANUAL)
   ======================================== */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --void-black: #ffffff;
        --charcoal: #fcfcfc;
        --surface-dark: #f5f5f7;
        --surface-elevated: #efefef;
        --text-primary: #1a1a1a;
        --text-secondary: #555555;
        --text-tertiary: #888888;
        --glass-bg: rgba(0, 0, 0, 0.05);
        --glass-border: rgba(0, 0, 0, 0.1);
        --glass-glow: rgba(74, 158, 255, 0.2);
    }
}

[data-theme="light"] {
    --void-black: #ffffff;
    --charcoal: #fcfcfc;
    --surface-dark: #f5f5f7;
    --surface-elevated: #efefef;
    --text-primary: #1a1a1a;
    --text-secondary: #444444; /* Darker for light mode sustainability */
    --text-tertiary: #666666;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-glow: rgba(74, 158, 255, 0.1);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--void-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   NOISE TEXTURE OVERLAY
   ======================================== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3; /* Subtle noise */
    mix-blend-mode: overlay;
}

[data-theme="light"] .noise-overlay {
    opacity: 0.15; /* Even softer for light mode */
}

/* ========================================
   3D CANVAS BACKGROUND
   ======================================== */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ========================================
   PRELOADER - CINEMATIC
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--void-black);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-line {
    width: 200px;
    height: 2px;
    background: var(--surface-elevated);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.preloader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--electric-blue), var(--champagne-gold));
    animation: preloaderProgress 2s ease-out forwards;
}

@keyframes preloaderProgress {
    to {
        width: 100%;
    }
}

.preloader-counter {
    font-family: var(--font-primary);
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ========================================
   NAVIGATION - MINIMAL & ELEGANT
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2% 0;
    z-index: 1000;
    transition: all 0.4s var(--transition-smooth);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: var(--surface-dark);
    border: 1px solid var(--glass-border);
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Circle looks more premium for toggles */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
    background: var(--glass-glow);
    border-color: var(--electric-blue);
    box-shadow: 0 8px 15px rgba(74, 158, 255, 0.2);
}

.theme-toggle i {
    font-size: 20px;
    position: absolute;
    transition: all 0.5s var(--transition-bounce);
}

.light-icon {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
    color: #ff9f43;
}

.dark-icon {
    color: #ffd700;
}

[data-theme="light"] .dark-icon {
    transform: scale(0) rotate(180deg);
    opacity: 0;
}

[data-theme="light"] .light-icon {
    transform: scale(1) rotate(0);
    opacity: 1;
}

[data-theme="light"] .theme-toggle {
    background: #fff;
    border-color: #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-dot {
    color: var(--electric-blue);
    font-size: 24px;
}

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

.nav-link {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--electric-blue);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
}

/* ========================================
   SCROLL PROGRESS
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--champagne-gold));
    z-index: 10001;
    transition: width 0.1s linear;
}

/* ========================================
   HERO SECTION - CINEMATIC
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--section-padding) 0;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.hero-content {
    max-width: 1200px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5% 1.5%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    margin-bottom: 2.5%;
    backdrop-filter: blur(10px);
}

.hero-label-icon {
    color: var(--electric-blue);
    font-size: 10px;
}

.hero-label-text {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--electric-blue), var(--champagne-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 4%;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS - PREMIUM STYLE
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2% 3%;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 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 ease, height 0.6s ease;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-blue), var(--champagne-gold));
    color: var(--void-black);
    box-shadow: 0 10px 40px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(74, 158, 255, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--electric-blue);
    box-shadow: 0 10px 40px rgba(74, 158, 255, 0.2);
}

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

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 18px;
    transition: transform 0.3s var(--transition-smooth);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: var(--container-padding);
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-indicator-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--electric-blue), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

.scroll-indicator-text {
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-tertiary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* ========================================
   SECTION STYLES
   ======================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-label {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--electric-blue);
    display: block;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ========================================
   WORKS SECTION - GLASSMORPHISM CARDS
   ======================================== */
.works-section {
    background: linear-gradient(180deg, var(--void-black) 0%, var(--charcoal) 100%);
}

.works-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.work-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.5s var(--transition-smooth);
    position: relative;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--glass-glow), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.work-card:hover::before {
    opacity: 1;
}

.work-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(74, 158, 255, 0.1);
}

.work-card-image {
    height: 300px;
    background: linear-gradient(135deg, var(--surface-dark), var(--surface-elevated));
    position: relative;
    overflow: hidden;
}

.work-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(212, 175, 55, 0.1));
    opacity: 0.5;
}

.work-card-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--font-primary);
    font-size: 80px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.work-card-content {
    padding: 3%;
}

.work-card-header {
    margin-bottom: 20px;
}

.work-card-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.work-card-category {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--electric-blue);
    text-transform: uppercase;
}

.work-card-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.work-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tech-tag {
    padding: 0.4% 1.2%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.work-card-footer {
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s var(--transition-smooth);
}

.work-link:hover {
    color: var(--electric-blue);
}

.work-link-arrow {
    font-size: 18px;
    transition: transform 0.3s var(--transition-smooth);
}

.work-link:hover .work-link-arrow {
    transform: translateX(5px);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
/* ========================================
   CONTACT SECTION - PREMIUM
   ======================================== */
.contact-section {
    background: var(--void-black);
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5%;
    margin-top: 4%;
    align-items: start;
    padding: 0 2%;
}

/* Contact Info (Left) */
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5% 1.2%;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 50px;
    margin-bottom: 2%;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.status-text {
    font-size: 13px;
    font-weight: 600;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.text-highlight {
    color: var(--electric-blue);
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5%;
    margin-bottom: 3%;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
}

.contact-card-item:hover {
    transform: translateY(-5px);
    border-color: var(--electric-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .contact-card-item:hover {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--electric-blue);
    transition: all 0.3s ease;
}

.contact-card-item:hover .contact-icon-box {
    background: var(--electric-blue);
    color: #fff;
}

.contact-text-group {
    display: flex;
    flex-direction: column;
}

.contact-label-small {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-value-large {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.social-heading {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5%;
}

.social-links-large {
    display: flex;
    gap: 15px;
}

.social-btn-large {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    color: var(--text-primary);
    font-size: 22px;
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-btn-large:hover {
    color: var(--void-black);
    transform: translateY(-8px) scale(1.1);
    border-color: var(--electric-blue);
}

.social-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--electric-blue), var(--champagne-gold));
    transition: all 0.4s var(--transition-smooth);
    z-index: -1;
}

.social-btn-large:hover::before {
    left: 0;
}

/* Contact Form (Right) */
.contact-form-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 40px;
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.contact-form-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.05) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

[data-theme="light"] .contact-form-premium {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2.5%;
    color: var(--text-primary);
}

.contact-form-premium {
    display: flex;
    flex-direction: column;
    gap: 2%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
}

.form-group-premium {
    position: relative;
}

.form-group-premium input,
.form-group-premium textarea {
    width: 100%;
    padding: 18px 20px 18px 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-family: var(--font-secondary);
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
}

.form-group-premium textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 22px;
}

.form-group-premium input:focus,
.form-group-premium textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.1);
}

.form-group-premium label {
    position: absolute;
    top: 18px;
    left: 50px;
    font-size: 15px;
    color: var(--text-tertiary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group-premium textarea+label {
    top: 20px;
}

.form-group-premium input:focus+label,
.form-group-premium input:not(:placeholder-shown)+label,
.form-group-premium textarea:focus+label,
.form-group-premium textarea:not(:placeholder-shown)+label {
    transform: translateY(-28px) translateX(-35px);
    font-size: 12px;
    color: var(--electric-blue);
    font-weight: 600;
}

.input-icon-box {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.form-input-premium:focus + .input-icon-box {
    color: var(--electric-blue);
}

.input-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 16px;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.textarea-icon {
    top: 24px;
}

.form-group-premium input:focus~.input-icon,
.form-group-premium textarea:focus~.input-icon {
    color: var(--electric-blue);
}

.btn-lg {
    padding: 1.2% 2.5%;
    font-size: 16px;
    margin-top: 1%;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.5);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 4% 0;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
/* ========================================
   ABOUT SECTION - SPLIT LAYOUT
   ======================================== */
.about-section {
    background: var(--void-black);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 5%;
    margin-top: 4%;
    align-items: start;
    padding: 0 2%;
}

/* Profile Card (Left) */
.profile-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3% 2.5%;
    text-align: center;
    position: sticky;
    top: 100px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s var(--transition-smooth);
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 158, 255, 0.3);
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
}

.profile-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--electric-blue), transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
    animation: pulse 3s infinite;
}

.profile-image-real {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(74, 158, 255, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-image-real {
    transform: scale(1.05);
    border-color: var(--electric-blue);
}

.profile-name {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.profile-role {
    font-size: 14px;
    color: var(--electric-blue);
    font-weight: 500;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

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

.social-btn:hover {
    background: var(--electric-blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.3);
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

/* Bio Content (Right) */
.about-bio {
    padding-top: 20px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5% 1.2%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    margin-bottom: 2%;
}

.badge-icon {
    font-size: 16px;
    color: var(--champagne-gold);
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--champagne-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-headline {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 2.5%;
    line-height: 1.2;
}

.about-text-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2%;
}

.about-text-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Enhanced Stats */
.about-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5%;
    margin-top: 3%;
}

.stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5%; /* Increased padding */
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--electric-blue);
    transform: translateY(-3px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--electric-blue);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-section {
    background: var(--void-black);
}

.skills-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.proficiency-section {
    margin-bottom: 80px;
}

.proficiency-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.proficiency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.proficiency-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.proficiency-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proficiency-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.proficiency-percent {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--electric-blue);
}

.proficiency-bar {
    height: 6px;
    background: var(--surface-elevated);
    border-radius: 10px;
    overflow: hidden;
}

.proficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--electric-blue), var(--champagne-gold));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tech-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3%;
    backdrop-filter: blur(20px);
    transition: all 0.3s var(--transition-smooth);
}

.tech-category:hover {
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-category-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-icon {
    color: var(--electric-blue);
    font-size: 14px;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-item {
    padding: 0.8% 1.5%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s var(--transition-smooth);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--electric-blue);
    transform: translateX(5px);
}

.tech-name {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   ENHANCED TECH STACK - PREMIUM BADGES
   ======================================== */
.tech-stack-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .tech-stack-grid-enhanced {
        grid-template-columns: 1fr;
    }
}

.tech-category-enhanced {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3%;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--transition-smooth);
}

.tech-category-enhanced:hover {
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.tech-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.tech-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    color: var(--electric-blue);
}

.tech-category-header h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.tech-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
}

.tech-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 1.5% 1.2%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tech-badge-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 32px;
    /* Increased for icons */
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s var(--transition-smooth);
}

.tech-badge:hover .tech-badge-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Removed span styling as we are using icons now */

.tech-badge-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s var(--transition-smooth);
}

.tech-badge:hover .tech-badge-name {
    color: var(--text-primary);
}

/* Tech Badge Animations */
@keyframes techBadgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.tech-badge {
    animation: techBadgeFloat 3s ease-in-out infinite;
}

.tech-badge:nth-child(1) {
    animation-delay: 0s;
}

.tech-badge:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-badge:nth-child(3) {
    animation-delay: 0.4s;
}

.tech-badge:nth-child(4) {
    animation-delay: 0.6s;
}

.tech-badge:nth-child(5) {
    animation-delay: 0.8s;
}

.tech-badge:nth-child(6) {
    animation-delay: 1s;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-section {
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--void-black) 100%);
}

.projects-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 250px;
    margin-top: 100px;
}

.project-showcase-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    margin-bottom: 250px;
    align-items: center; /* Vertical Center */
}

.project-showcase-item:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
    direction: rtl;
    align-items: center; /* Vertical Center */
    /* Trick to reverse grid order visually */
}

.project-showcase-item:nth-child(even) .project-details {
    direction: ltr;
    /* Reset text direction */
}


.project-image {
    height: 280px;
    background: linear-gradient(135deg, var(--surface-dark), var(--surface-elevated));
    position: relative;
    overflow: hidden;
}

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
    transition: opacity 0.5s var(--transition-smooth);
}

[data-theme="light"] .project-visual-overlay {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 50%, rgba(255,255,255,0.2) 100%);
}

.project-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--font-primary);
    font-size: 80px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    /* Boosted visibility */
    line-height: 1;
    z-index: 1;
}

.project-content {
    padding: 3%;
}

/* Project Visual */
.project-visual {
    position: relative;
    height: 450px;
    border-radius: 24px;
    padding: 0.8%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    transition: transform 0.5s var(--transition-smooth);
}

.project-visual-inner {
    width: 100%;
    height: 100%;
    background: var(--surface-dark);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.project-image-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Center horizontally and vertically within box */
    transition: transform 0.5s var(--transition-smooth);
}

.project-showcase-item:hover .project-image-real {
    transform: scale(1.05);
}

.project-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(74, 158, 255, 0.15), transparent 70%);
    opacity: 0.6;
}

.project-visual-content {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s var(--transition-smooth);
}

.project-icon-large {
    font-size: 50px;
    color: var(--electric-blue);
    filter: drop-shadow(0 0 15px rgba(74, 158, 255, 0.4));
}

.project-showcase-item:hover .project-visual {
    transform: scale(1.02);
}

.project-showcase-item:hover .project-visual-content {
    transform: scale(1.1) rotate(-5deg);
}

/* Project Details */
.project-details {
    position: relative;
}

.project-number-large {
    font-family: var(--font-primary);
    font-size: 160px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
    /* Boosted visibility for large backdrop numbers */
    line-height: 0.8;
    position: absolute;
    top: -90px;
    left: -50px;
    z-index: -1;
    letter-spacing: -8px;
}

.project-title-large {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary), var(--text-tertiary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 600;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme="light"] .project-meta {
    color: #2563eb; /* Deeper blue for contrast on white */
}

.project-separator {
    color: var(--glass-border);
}

.project-desc-large {
    font-size: 18px;
    line-height: 1.8;
    /* Increased line-height for better readability */
    color: var(--text-secondary);
    margin-bottom: 40px;
    /* More space below */
    max-width: 90%;
}

.project-impact-box {
    background: rgba(74, 158, 255, 0.05);
    border-left: 3px solid var(--electric-blue);
    padding: 1.5%;
    border-radius: 0 12px 12px 0;
    margin-bottom: 2%;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.project-impact-box i {
    font-size: 20px;
    color: var(--electric-blue);
    margin-top: 3px;
}

.project-impact-box span {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tech-pill {
    padding: 0.5% 1.2%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tech-pill i {
    color: var(--electric-blue);
}

.tech-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--electric-blue);
    color: #fff;
    transform: translateY(-2px);
}

.project-actions {
    display: flex;
    gap: 20px;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 14px;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   ACHIEVEMENTS SECTION
   ======================================== */
/* ========================================
   ACHIEVEMENTS SECTION - TIMELINE
   ======================================== */
.achievements-section {
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 20px;
}

/* Central Line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--electric-blue), var(--champagne-gold), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--electric-blue);
}

.timeline-item {
    padding: 0.8% 3%;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2.5%;
}

/* Left and Right positioning */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Timeline Dot */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--void-black);
    border: 3px solid var(--electric-blue);
    border-radius: 50%;
    position: absolute;
    top: 24px;
    right: -11px;
    z-index: 10;
    box-shadow: 0 0 10px var(--electric-blue);
    transition: all 0.3s var(--transition-smooth);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -11px;
}

.timeline-item:hover .timeline-dot {
    background: var(--electric-blue);
    box-shadow: 0 0 20px var(--electric-blue);
    transform: scale(1.2);
}

/* Date Label */
.timeline-date {
    position: absolute;
    top: 24px;
    right: -100px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 18px;
    color: var(--electric-blue);
    width: 80px;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -100px;
    text-align: right;
}

/* Content Card */
.timeline-content {
    padding: 2.5%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Icon */
.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--electric-blue);
    margin-bottom: 20px;
    margin-left: auto;
    /* For right aligned */
}

.timeline-item:nth-child(even) .timeline-icon {
    margin-left: 0;
    /* For left aligned */
}

.timeline-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.timeline-description strong {
    color: var(--champagne-gold);
}

.timeline-tag {
    display: inline-block;
    padding: 0.4% 1%;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--electric-blue);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ========================================
   CONTACT SECTION - PREMIUM REDESIGN
   ======================================== */
.contact-section {
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

/* Background Glow for Depth */
.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

/* Status Badge - Pulsing */
.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    margin-bottom: 30px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: statusPulse 2s ease-out infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

.status-text {
    font-size: 14px;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.5px;
}

.contact-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 90%;
}

/* Contact Cards (Email, Location) */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-card-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--electric-blue);
    background: rgba(74, 158, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--electric-blue);
    transition: all 0.4s ease;
}

.contact-card-item:hover .contact-icon-box {
    background: var(--electric-blue);
    color: white;
}

.contact-label-small {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value-large {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Social Links - Glass Effect */
.social-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links-large {
    display: flex;
    gap: 20px;
}

.social-btn-large {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 26px;
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-btn-large:hover {
    transform: translateY(-10px);
    color: var(--electric-blue);
    border-color: var(--electric-blue);
}

/* ========================================
   CONTACT CTA (EMAIL DIRECT)
   ======================================== */
.contact-cta-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    backdrop-filter: blur(30px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, white, var(--text-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-action-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-main-btn {
    text-decoration: none;
    height: 70px;
    font-size: 18px;
}

.cta-secondary-actions {
    display: flex;
    gap: 15px;
}

.btn-glass-secondary {
    flex: 1;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s var(--transition-smooth);
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--electric-blue);
    transform: translateY(-3px);
}

.cta-footer-note {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.cta-footer-note i {
    color: var(--electric-blue);
}

[data-theme="light"] .cta-title {
    background: linear-gradient(135deg, #1a1a1a, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   FOOTER - ENHANCED
   ======================================== */
.footer-quote {
    font-family: var(--font-primary);
    font-size: 18px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--text-primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor.hover .cursor-outline {
    width: 60px;
    height: 60px;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-card {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .tech-stack-grid {
        grid-template-columns: 1fr;
    }

    .projects-showcase {
        gap: 80px;
    }

    .project-showcase-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-showcase-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .project-visual {
        height: 350px;
    }

    .project-number-large {
        font-size: 80px;
        top: -40px;
    }

    .project-title-large {
        font-size: 32px;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}


@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s var(--transition-smooth);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-cta {
        flex-direction: column !important;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    .btn {
        width: 100% !important;
        justify-content: center;
        padding: 16px 24px;
        font-size: 13px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-stats-enhanced {
        grid-template-columns: 1fr;
    }

    .about-grid {
        padding: 0;
        gap: 40px;
    }

    .proficiency-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .projects-showcase {
        gap: 60px;
        margin-top: 60px;
    }

    .project-visual {
        height: 280px;
    }

    .project-number-large {
        font-size: 60px;
        top: -30px;
    }

    .project-title-large {
        font-size: 28px;
    }

    /* Timeline Responsive */
    .timeline-container {
        padding: 0;
        margin-top: 40px;
    }

    .timeline-container::after {
        left: 19px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 11px;
    }

    .timeline-dot {
        left: 11px;
        width: 18px;
        height: 18px;
    }

    .timeline-date {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        width: 100%;
        margin-bottom: 10px;
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: 0;
        text-align: left;
    }

    .timeline-icon {
        margin-left: 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

    .works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .work-card-content {
        padding: 24px;
    }

    .cursor {
        display: none;
    }

    .cta-secondary-actions {
        flex-direction: column;
    }

    .cta-title {
        font-size: 32px;
    }

    .contact-intro {
        max-width: 100%;
    }

    .contact-card-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    .hero-title {
        font-size: 32px !important;
        margin-bottom: 24px;
        line-height: 1.1;
    }

    .section-title {
        font-size: 36px;
    }

    .about-headline {
        font-size: 26px;
    }

    .about-grid {
        gap: 40px;
    }

    .stat-number {
        font-size: 32px;
    }

    .project-visual {
        height: 220px;
    }

    .project-number-large {
        font-size: 40px;
        top: -20px;
    }

    .work-card-image {
        height: 200px;
    }

    .cta-title {
        font-size: 28px;
    }

    .contact-intro {
        font-size: 16px;
    }

    .contact-card-item {
        gap: 15px;
    }

    .contact-icon-box {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-value-large {
        font-size: 15px;
    }

    .social-btn-large {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

/* ========================================
   THANK YOU MODAL
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition-smooth);
}

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

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4% 3.5%;
    max-width: 500px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(20px);
    transform: scale(0.8) translateY(30px);
    transition: all 0.5s var(--transition-bounce);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(74, 158, 255, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--electric-blue), var(--champagne-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--void-black);
    animation: modalIconPulse 2s ease-in-out infinite;
}

@keyframes modalIconPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(74, 158, 255, 0.7);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(74, 158, 255, 0);
    }
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--electric-blue), var(--champagne-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-message {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.modal-content .btn {
    margin-top: 10px;
}