/* ================================================
   APPLE-INSPIRED PORTFOLIO - GLASSMORPHISM DESIGN
   ================================================ */

:root {
    /* Primary Colors */
    --primary: #0a0e27;
    --secondary: #1a1f3a;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-bright: #0ea5e9;
    
    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Accents */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Glassmorphism */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-standard: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-slow: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Mode */
body.light-mode {
    --primary: #ffffff;
    --secondary: #f8f9fa;
    --accent: #0ea5e9;
    --accent-light: #0284c7;
    --accent-bright: #0ea5e9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --glass-bg: rgba(248, 249, 250, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    letter-spacing: 0.3px;
    transition: background 0.5s ease;
}

/* ================================================
   SCROLLBAR STYLING
   ================================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 6px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
    width: 14px;
}

/* ================================================
   BACKGROUND ELEMENTS & ANIMATIONS
   ================================================ */

.bg-gradient-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--primary),
        var(--secondary),
        var(--primary)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-blur-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent);
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    bottom: 100px;
    left: -200px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3), transparent);
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    right: 50px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }
    75% {
        transform: translate(50px, 20px) scale(1.05);
    }
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ================================================
   LOADING SCREEN
   ================================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loading-sphere {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

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

.loading-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 2px;
}

/* ================================================
   CUSTOM CURSOR
   ================================================ */

.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: screen;
}

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

.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* ================================================
   NAVIGATION BAR
   ================================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.8);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: var(--glass-shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all var(--transition-standard);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
    transition: all var(--transition-standard);
}

.nav-logo:hover .nav-logo-img {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: var(--accent-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    animation: badgePulse 2s ease-in-out infinite;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-standard);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width var(--transition-standard);
}

.nav-link:hover {
    color: var(--accent-light);
}

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

.nav-link.active {
    color: var(--accent);
}

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

.theme-toggle {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-standard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.theme-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(20deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.nav-hamburger span {
    width: 100%;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition-standard);
    border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.2s ease-out;
}

/* ================================================
   GLASSMORPHISM UTILITY
   ================================================ */

.glass-morphism {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-standard);
}

.glass-morphism:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ================================================
   TYPOGRAPHY & UTILITIES
   ================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 3s ease infinite;
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-standard);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: slideInDown 0.6s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 0.8s ease-out 0.1s both;
}

.text-line {
    display: inline-block;
    animation: titleReveal 1s ease-out 0.2s both;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 1rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-visual {
    animation: floatIn 1s ease-out 0.3s both;
}

.profile-card {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
    transition: all var(--transition-standard);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.3);
}

.profile-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.4), transparent);
    animation: glow 3s ease-in-out infinite;
    pointer-events: none;
}

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

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

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

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

.hero-scroll {
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    margin: 0 auto;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

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

/* ================================================
   SECTIONS
   ================================================ */

section {
    padding: 6rem 2rem;
    margin: 0 auto;
}

section.about,
section.skills,
section.experience,
section.projects,
section.testimonials,
section.contact {
    animation: sectionFadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes sectionFadeIn {
    to {
        opacity: 1;
    }
}

/* ================================================
   ABOUT SECTION
   ================================================ */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.05));
    opacity: 0;
    transition: opacity var(--transition-standard);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
    transition: all var(--transition-standard);
}

.about-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================================
   SKILLS SECTION
   ================================================ */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-card {
    padding: 2rem;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-light);
}

.skill-percentage {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
}

.skill-bar {
    width: 100%;;
    height: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    width: 0;
    transition: width 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-card.in-view .skill-progress {
    width: var(--progress) !important;
    animation: animateSkill 2s ease-out forwards;
}

@keyframes animateSkill {
    from { width: 0 !important; }
    to { width: var(--progress) !important; }
}

.skill-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

/* ================================================
   EXPERIENCE SECTION
   ================================================ */

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 50%, transparent 100%);
}

.timeline-item {
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    cursor: pointer;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    transition: all var(--transition-standard);
}

.timeline-item:hover::before {
    width: 20px;
    height: 20px;
    left: -48px;
    top: 28px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--glass-shadow);
}

.timeline-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-light);
    margin: 0 0 0.5rem 0;
}

.timeline-date {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.timeline-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ================================================
   PROJECTS SECTION
   ================================================ */

.project-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    border-radius: 24px;
    overflow: hidden;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 400px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-showcase:hover .project-image img {
    transform: scale(1.08);
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-showcase:hover .project-image-overlay {
    opacity: 1;
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent-light);
}

.project-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-features {
    list-style: none;
    margin-bottom: 2rem;
}

.project-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    line-height: 1.6;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ================================================
   TESTIMONIALS SECTION
   ================================================ */

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

.testimonial-card {
    padding: 2rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-standard);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.testimonial-stars {
    margin-bottom: 1rem;
    color: var(--warning);
    font-size: 0.9rem;
}

.testimonial-card p:first-of-type {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--accent-light);
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-content {
    padding: 3rem;
    border-radius: 24px;
}

.contact-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-info {
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-standard);
}

.contact-item a:hover {
    color: var(--accent-light);
}

.contact-social {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-social h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row {
    display: contents;
}

.form-group {
    grid-column: auto;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-standard);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 150px;
}

.form-feedback {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
    animation: slideInUp 0.3s ease-out;
}

.form-feedback.show {
    display: block;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn.full-width {
    width: 100%;
    grid-column: 1 / -1;
}

.form-group {
    grid-column: auto;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-standard);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 150px;
}

.form-feedback {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
    animation: slideInUp 0.3s ease-out;
}

.form-feedback.show {
    display: block;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.contact-form button {
    grid-column: 1 / -1;
}

.flash-messages {
    margin-top: 2rem;
    animation: slideInUp 0.3s ease-out;
}

.flash-messages p {
    padding: 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: rgba(10, 14, 39, 0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

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

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition-standard);
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent);
    transform: translateY(-5px) scale(1.15);
}

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

body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.8);
}

body.light-mode .nav-link::after {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

body.light-mode .card,
body.light-mode .glass-morphism {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* ================================================
   RESPONSIVE DESIGN - TABLET (768px and below)
   ================================================ */

@media (max-width: 768px) {
    /* Navigation */
    .nav-hamburger {
        display: flex !important;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--glass-bg);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease-out;
        z-index: 1000;
    }
    
    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(59, 130, 246, 0.05);
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Hero Section */
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-profile {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    /* Sections */
    section {
        padding: 3rem 1.5rem;
    }
    
    .section-content {
        max-width: 100%;
    }
    
    /* Skills Grid */
    .skills-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card,
    .project-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content,
    .contact-info {
        padding: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        grid-column: auto !important;
    }
    
    .form-group.full-width {
        grid-column: auto !important;
    }
    
    /* Section Title */
    h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    /* Timeline */
    .experience-timeline {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        width: 12px;
        height: 12px;
        left: -40px;
        top: 25px;
    }
}

/* ================================================
   DUAL BADGES - HERO SECTION
   ================================================ */

.dual-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tech-badge,
.pilot-badge,
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: badgePulse 2.5s ease-in-out infinite;
}

.tech-badge {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.pilot-badge {
    background: rgba(251, 146, 60, 0.15);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #fb923c;
    animation-delay: 0.5s;
}

.app-badge {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    animation-delay: 1s;
}

.pilot-badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(251, 146, 60, 0.9);
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: slideInRight 0.8s ease-out 0.5s both;
}

.pilot-badge-overlay i {
    animation: rotation 3s linear infinite;
}

.skybound-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.9);
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: slideInLeft 0.8s ease-out 0.7s both;
}

.skybound-badge i {
    animation: pulse 2s ease-in-out infinite;
}

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

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

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================================================
   ABOUT SECTION - ENHANCEMENTS
   ================================================ */

.about-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* ================================================
   SKILLS SECTION IMPROVEMENTS
   ================================================ */

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.skills-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skills-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.skills-category-title i {
    color: var(--accent-light);
    font-size: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.skill-card {
    padding: 1.5rem;
    border-radius: 15px;
    transition: all var(--transition-standard);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

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

.skill-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.skill-level {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-light);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    width: 0%;
    animation: none;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-card.in-view .skill-progress {
    width: var(--progress, 0%);
}

.skill-tech {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ================================================
   EXPERIENCE SECTION IMPROVEMENTS
   ================================================ */

.experience-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.experience-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.experience-category {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.experience-category i {
    color: var(--accent-light);
    font-size: 1.5rem;
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    transition: all var(--transition-standard);
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-top: 0.5rem;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-light);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item:not(:last-child) .timeline-marker::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, var(--accent), rgba(59, 130, 246, 0.2));
}

.timeline-content {
    padding-top: 0.5rem;
}

.timeline-header {
    margin-bottom: 0.75rem;
}

.timeline-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.timeline-period {
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 600;
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0.5rem 0 0.75rem 0;
}

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

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 500;
}

/* ================================================
   AVIATION & TECH SECTION
   ================================================ */

.aviation-tech {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(251, 146, 60, 0.05) 100%);
    padding: 5rem 2rem;
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.connection-card {
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-standard);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.connection-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
}

.connection-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    font-size: 1.8rem;
    color: white;
}

.connection-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.connection-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.connection-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    width: 100%;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-light);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ================================================
   LIGHT MODE FIXES
   ================================================ */

body.light-mode .skill-card,
body.light-mode .timeline-item {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .skill-card:hover,
body.light-mode .timeline-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .connection-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .connection-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
    border-color: #3b82f6 !important;
}

body.light-mode .skill-header h4,
body.light-mode .timeline-header h3,
body.light-mode .connection-card h3 {
    color: #1f2937 !important;
}

body.light-mode .timeline-description,
body.light-mode .skill-tech,
body.light-mode .connection-card p {
    color: #4b5563 !important;
}

body.light-mode .tag {
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
    color: #2563eb !important;
}

body.light-mode .about-section-title {
    color: #1f2937 !important;
}

/* ================================================
   RESPONSIVE DESIGN - TABLET (768px and below)
   ================================================ */

@media (max-width: 768px) {
    .skills-wrapper,
    .experience-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dual-badges {
        gap: 0.75rem;
    }

    .tech-badge,
    .pilot-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .connection-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        gap: 1rem;
    }

    .skill-card {
        padding: 1rem;
    }

    .timeline-item {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .timeline-header h3 {
        font-size: 1rem;
    }

    .connection-card {
        padding: 1.5rem;
    }

    .connection-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ================================================
   RESPONSIVE DESIGN - MOBILE (480px and below)
   ================================================ */

@media (max-width: 480px) {
    /* Global */
    html {
        scroll-behavior: smooth;
    }
    
    /* Navigation */
    nav {
        padding: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .nav-logo-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 6rem 1rem 4rem;
        min-height: unset;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-profile {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 1rem;
    }
    
    .section-content {
        max-width: 100%;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    /* Skills */
    .skills-grid {
        gap: 1rem;
    }
    
    .skill-card {
        padding: 1rem;
    }
    
    .skill-card h3 {
        font-size: 1rem;
    }
    
    .skill-label {
        font-size: 0.85rem;
    }
    
    /* Experience */
    .experience-timeline {
        padding-left: 2rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-item::before {
        left: -12px;
    }
    
    .timeline-item h3 {
        font-size: 1rem;
    }
    
    .timeline-date {
        font-size: 0.85rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Projects */
    .projects-grid {
        gap: 1rem;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .project-tech {
        gap: 0.5rem;
    }
    
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .stars {
        margin-bottom: 0.75rem;
    }
    
    .stars i {
        font-size: 0.9rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .testimonial-author h4 {
        font-size: 0.95rem;
    }
    
    .testimonial-author p {
        font-size: 0.8rem;
    }
    
    /* Contact */
    .contact-wrapper {
        gap: 1rem;
    }
    
    .contact-content,
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-content h3,
    .contact-info h3 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        gap: 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-item h4 {
        font-size: 0.95rem;
    }
    
    .contact-item p,
    .contact-item a {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn.large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 1rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 1rem;
    }
}

/* ================================================
   TECHNOLOGY STACK SECTION
   ================================================ */

.tech-stack {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(96, 165, 250, 0.02) 100%);
    padding: 6rem 2rem;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stack-category {
    padding: 2rem;
    border-radius: 16px;
    transition: all var(--transition-standard);
    display: flex;
    flex-direction: column;
}

.stack-category:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
    border-color: var(--accent);
}

.stack-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stack-header i {
    font-size: 1.8rem;
    color: var(--accent-light);
}

.stack-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stack-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 600;
    transition: all var(--transition-standard);
}

.stack-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(96, 165, 250, 0.15));
    border-color: var(--accent);
    transform: scale(1.05);
}

/* ================================================
   PROFESSIONAL STACK SECTION
   ================================================ */

.professional-stack {
    padding: 6rem 2rem;
}

.professional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.professional-card {
    padding: 2rem;
    border-radius: 16px;
    transition: all var(--transition-standard);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.professional-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
    border-color: rgba(59, 130, 246, 0.3);
}

.prof-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.professional-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.prof-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.prof-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

.prof-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    transition: all var(--transition-standard);
}

.prof-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent);
}

/* ================================================
   LIGHT MODE - TECH & PROFESSIONAL STACKS
   ================================================ */

body.light-mode .stack-category,
body.light-mode .professional-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .stack-category:hover,
body.light-mode .professional-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: #3b82f6 !important;
}

body.light-mode .stack-category h3,
body.light-mode .professional-card h3 {
    color: #1f2937 !important;
}

body.light-mode .prof-description {
    color: #4b5563 !important;
}

body.light-mode .stack-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.04)) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    color: #2563eb !important;
}

body.light-mode .stack-tag:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.1)) !important;
}

body.light-mode .prof-tag {
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
    color: #2563eb !important;
}

body.light-mode .prof-tag:hover {
    background: rgba(59, 130, 246, 0.15) !important;
}

/* ================================================
   RESPONSIVE - TECH & PROFESSIONAL STACKS (768px)
   ================================================ */

@media (max-width: 768px) {
    .tech-stack,
    .professional-stack {
        padding: 3rem 1.5rem;
    }

    .stack-grid,
    .professional-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stack-category,
    .professional-card {
        padding: 1.5rem;
    }

    .stack-header i {
        font-size: 1.5rem;
    }

    .stack-header h3 {
        font-size: 1rem;
    }

    .stack-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .prof-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* ================================================
   RESPONSIVE - TECH & PROFESSIONAL STACKS (480px)
   ================================================ */

@media (max-width: 480px) {
    .tech-stack,
    .professional-stack {
        padding: 2rem 1rem;
    }

    .stack-grid,
    .professional-grid {
        gap: 1rem;
    }

    .stack-category,
    .professional-card {
        padding: 1rem;
    }

    .stack-header {
        margin-bottom: 1rem;
    }

    .stack-header i {
        font-size: 1.3rem;
    }

    .stack-header h3 {
        font-size: 0.95rem;
    }

    .stack-items {
        gap: 0.5rem;
    }

    .stack-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .professional-card h3 {
        font-size: 1rem;
    }

    .prof-description {
        font-size: 0.85rem;
    }

    .prof-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .prof-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ================================================
   PROFESSIONAL SKILLS HIGHLIGHTS
   ================================================ */

.skills-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    animation: slideInUp 0.8s ease-out;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all var(--transition-standard);
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.highlight-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ================================================
   PROJECT METRICS & BADGES
   ================================================ */

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

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: slideInRight 0.6s ease-out 0.3s both;
}

.featured-badge {
    background: linear-gradient(135deg, #fb923c, #f97316);
    border: 1px solid rgba(251, 146, 60, 0.5);
}

.mobile-badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.devops-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.analytics-badge {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border: 1px solid rgba(6, 182, 212, 0.5);
}

.security-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.06);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    animation: slideInDown 0.6s ease-out 0.2s both;
}

.metric {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.3);
    transition: all var(--transition-standard);
}

.metric:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-light);
    display: block;
    margin-bottom: 0.35rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================
   LIGHT MODE - HIGHLIGHTS & METRICS
   ================================================ */

body.light-mode .skills-highlights {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-color: rgba(59, 130, 246, 0.1);
}

body.light-mode .highlight-item {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(59, 130, 246, 0.1);
}

body.light-mode .highlight-item:hover {
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

body.light-mode .project-metrics {
    background: rgba(59, 130, 246, 0.03);
    border-color: rgba(59, 130, 246, 0.08);
}

body.light-mode .metric {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

body.light-mode .metric:hover {
    background: rgba(59, 130, 246, 0.08);
}

body.light-mode .metric-label {
    color: #64748b;
}

/* ================================================
   RESPONSIVE - HIGHLIGHTS & METRICS (768px)
   ================================================ */

@media (max-width: 768px) {
    .skills-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .project-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .metric {
        padding: 0.75rem;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
    
    .project-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

/* ================================================
   RESPONSIVE - HIGHLIGHTS & METRICS (480px)
   ================================================ */

@media (max-width: 480px) {
    .skills-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .highlight-item {
        padding: 0.75rem;
    }
    
    .highlight-number {
        font-size: 1.75rem;
    }
    
    .highlight-label {
        font-size: 0.85rem;
    }
    
    .project-metrics {
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .metric {
        padding: 0.6rem;
    }
    
    .metric-value {
        font-size: 1rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
    
    .project-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */

[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
}

[data-scroll].in-view {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
