/* ===== CSS Variables - GIS Theme ===== */
:root {
    /* Earth & Terrain Colors */
    --color-bg-primary: #0a1628;
    --color-bg-secondary: #122035;
    --color-bg-tertiary: #1a2d47;
    --color-text-primary: #e8f4f8;
    --color-text-secondary: #8fa8b8;
    --color-text-muted: #5a7a8a;
    /* GIS Accent Colors */
    --color-accent: #00d4aa;
    --color-accent-hover: #00b894;
    --color-water: #0077b6;
    --color-land: #2d6a4f;
    --color-terrain: #40916c;
    --color-elevation: #95d5b2;
    --color-marker: #ff6b6b;
    --color-route: #ffd93d;
    --color-satellite: #4cc9f0;
    --color-success: #40916c;
    --color-warning: #ffd93d;
    --color-error: #ff6b6b;
    --color-border: #1a3a5c;
    /* Coordinate Colors */
    --color-lat: #00d4aa;
    --color-lng: #4cc9f0;
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.3);
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-secondary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== GIS Themed Animated Background ===== */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1628 0%, #0d1f3c 30%, #0a2540 60%, #071a2e 100%);
    /* Hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Topographic Contour Lines */
.gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        /* Water/Ocean gradients */
        radial-gradient(ellipse 120% 60% at 90% 100%, rgba(0, 119, 182, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 10% 80%, rgba(0, 119, 182, 0.15) 0%, transparent 40%),
        /* Land/Terrain gradients */
        radial-gradient(ellipse 60% 50% at 30% 30%, rgba(45, 106, 79, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 70% 20%, rgba(64, 145, 108, 0.15) 0%, transparent 45%),
        /* Satellite blue glow */
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(76, 201, 240, 0.1) 0%, transparent 50%);
    animation: terrainShift 25s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}

@keyframes terrainShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(1%, 0.5%) scale(1.01);
    }
    50% {
        transform: translate(-0.5%, 1%) scale(1);
        opacity: 0.9;
    }
    75% {
        transform: translate(0.5%, -0.5%) scale(1.005);
    }
}

/* Floating Map Elements */
.floating-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: mapPulse 20s ease-in-out infinite;
    /* Hardware acceleration */
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Water body */
.orb-1 {
    width: 500px;
    height: 300px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: radial-gradient(ellipse, rgba(0, 119, 182, 0.4) 0%, rgba(76, 201, 240, 0.1) 50%, transparent 70%);
    bottom: 0;
    right: -10%;
    animation-delay: 0s;
    animation-duration: 30s;
}

/* Terrain/Land mass */
.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.35) 0%, rgba(64, 145, 108, 0.15) 40%, transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: -8s;
    animation-duration: 25s;
}

/* Satellite highlight */
.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, rgba(76, 201, 240, 0.1) 40%, transparent 70%);
    top: 40%;
    right: 15%;
    animation-delay: -12s;
    animation-duration: 22s;
}

/* Elevation glow */
.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(149, 213, 178, 0.25) 0%, rgba(64, 145, 108, 0.1) 40%, transparent 70%);
    bottom: 20%;
    left: 25%;
    animation-delay: -5s;
    animation-duration: 28s;
}

@keyframes mapPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, -10px) scale(1.05);
        opacity: 0.5;
    }
    50% {
        transform: translate(-15px, 15px) scale(0.95);
        opacity: 0.35;
    }
    75% {
        transform: translate(10px, 5px) scale(1.02);
        opacity: 0.45;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(15px, 10px) rotate(3deg);
    }
}

/* Coordinate Grid Pattern */
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        /* Major grid lines (like lat/long) */
        linear-gradient(rgba(0, 212, 170, 0.08) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.08) 2px, transparent 2px),
        /* Minor grid lines */
        linear-gradient(rgba(76, 201, 240, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 201, 240, 0.03) 1px, transparent 1px);
    background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
    mask-image: radial-gradient(ellipse 90% 70% at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at center, black 30%, transparent 70%);
}

/* Noise Texture */
.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Topographic Contour Lines */
.animated-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
}

.line {
    position: absolute;
    height: 2px;
    width: 100%;
    animation: contourFlow 12s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Horizontal contour lines like elevation */
.line:nth-child(1) { top: 15%; background: linear-gradient(90deg, transparent 0%, #00d4aa 20%, #40916c 50%, #00d4aa 80%, transparent 100%); animation-delay: 0s; }
.line:nth-child(2) { top: 35%; background: linear-gradient(90deg, transparent 0%, #4cc9f0 25%, #0077b6 50%, #4cc9f0 75%, transparent 100%); animation-delay: -3s; }
.line:nth-child(3) { top: 55%; background: linear-gradient(90deg, transparent 0%, #95d5b2 30%, #2d6a4f 50%, #95d5b2 70%, transparent 100%); animation-delay: -6s; }
.line:nth-child(4) { top: 75%; background: linear-gradient(90deg, transparent 0%, #00d4aa 15%, #40916c 50%, #00d4aa 85%, transparent 100%); animation-delay: -9s; }
.line:nth-child(5) { top: 90%; background: linear-gradient(90deg, transparent 0%, #0077b6 20%, #4cc9f0 50%, #0077b6 80%, transparent 100%); animation-delay: -2s; }

@keyframes contourFlow {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8) translateX(-10%);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1) translateX(0);
    }
}

/* Map Markers/Waypoints */
.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: markerPulse 3s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Different marker types */
.particle:nth-child(1) { top: 15%; left: 20%; background: #ff6b6b; box-shadow: 0 0 15px #ff6b6b, 0 0 30px rgba(255, 107, 107, 0.5); animation-delay: 0s; }
.particle:nth-child(2) { top: 25%; left: 80%; background: #00d4aa; box-shadow: 0 0 15px #00d4aa, 0 0 30px rgba(0, 212, 170, 0.5); animation-delay: -0.5s; }
.particle:nth-child(3) { top: 45%; left: 15%; background: #4cc9f0; box-shadow: 0 0 15px #4cc9f0, 0 0 30px rgba(76, 201, 240, 0.5); animation-delay: -1s; }
.particle:nth-child(4) { top: 65%; left: 70%; background: #ffd93d; box-shadow: 0 0 15px #ffd93d, 0 0 30px rgba(255, 217, 61, 0.5); animation-delay: -1.5s; }
.particle:nth-child(5) { top: 75%; left: 35%; background: #40916c; box-shadow: 0 0 15px #40916c, 0 0 30px rgba(64, 145, 108, 0.5); animation-delay: -2s; }
.particle:nth-child(6) { top: 85%; left: 85%; background: #0077b6; box-shadow: 0 0 15px #0077b6, 0 0 30px rgba(0, 119, 182, 0.5); animation-delay: -2.5s; }
.particle:nth-child(7) { top: 35%; left: 55%; background: #ff6b6b; box-shadow: 0 0 15px #ff6b6b, 0 0 30px rgba(255, 107, 107, 0.5); animation-delay: -1s; }
.particle:nth-child(8) { top: 55%; left: 45%; background: #00d4aa; box-shadow: 0 0 15px #00d4aa, 0 0 30px rgba(0, 212, 170, 0.5); animation-delay: -0.5s; }

@keyframes markerPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 15px currentColor, 0 0 30px currentColor;
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 25px currentColor, 0 0 50px currentColor;
    }
}

/* Vignette Effect */
.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(15, 23, 42, 0.8) 100%);
    pointer-events: none;
}

/* ===== GIS Components ===== */

/* Earth Globe Container */
.earth-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
}

.earth {
    position: absolute;
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.earth-glow {
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, rgba(76, 201, 240, 0.1) 40%, transparent 70%);
    animation: earthGlow 4s ease-in-out infinite;
}

@keyframes earthGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.earth-sphere {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a2540 0%, #0d3052 30%, #0077b6 60%, #0a1628 100%);
    overflow: hidden;
    animation: earthRotate 60s linear infinite;
    box-shadow:
        inset -30px -30px 60px rgba(0, 0, 0, 0.6),
        inset 10px 10px 40px rgba(76, 201, 240, 0.2),
        0 0 60px rgba(0, 119, 182, 0.3);
    will-change: transform;
    transform: translateZ(0);
}

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

/* Continents */
.continent {
    position: absolute;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 50%, #95d5b2 100%);
    border-radius: 40% 60% 50% 70% / 50% 40% 60% 50%;
    opacity: 0.7;
}

.continent-1 {
    width: 80px;
    height: 60px;
    top: 30%;
    left: 20%;
    transform: rotate(-15deg);
}

.continent-2 {
    width: 50px;
    height: 70px;
    top: 45%;
    right: 25%;
    border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%;
    transform: rotate(20deg);
}

.continent-3 {
    width: 40px;
    height: 30px;
    bottom: 25%;
    left: 40%;
    border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%;
}

/* Earth Grid Lines */
.earth-grid {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
}

.latitude, .longitude {
    position: absolute;
    border: 1px solid rgba(0, 212, 170, 0.15);
}

.latitude {
    width: 100%;
    height: 0;
    border-radius: 50%;
}

.lat-1 { top: 25%; border-width: 1px; }
.lat-2 { top: 50%; border-width: 1.5px; border-color: rgba(0, 212, 170, 0.25); }
.lat-3 { top: 75%; border-width: 1px; }

.longitude {
    width: 0;
    height: 100%;
    left: 50%;
}

.lng-1 { transform: translateX(-50%) rotate(0deg); }
.lng-2 { transform: translateX(-50%) rotate(60deg); }
.lng-3 { transform: translateX(-50%) rotate(-60deg); }

/* Satellite Orbits */
.satellite-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(76, 201, 240, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.orbit-1 {
    width: 320px;
    height: 320px;
    animation: orbitRotate 20s linear infinite;
    transform: translate(-50%, -50%) rotateX(60deg) rotateY(20deg);
}

.orbit-2 {
    width: 360px;
    height: 360px;
    animation: orbitRotate 30s linear infinite reverse;
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(-30deg);
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateZ(360deg); }
}

.satellite {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4cc9f0;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px #4cc9f0, 0 0 30px rgba(76, 201, 240, 0.5);
}

.orbit-2 .satellite {
    background: #00d4aa;
    box-shadow: 0 0 15px #00d4aa, 0 0 30px rgba(0, 212, 170, 0.5);
}

/* Compass Rose */
.compass-rose {
    position: absolute;
    left: 3%;
    bottom: 8%;
    width: 70px;
    height: 70px;
    pointer-events: none;
    opacity: 0.25;
    animation: compassPulse 6s ease-in-out infinite;
}

@keyframes compassPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.02); }
}

.compass-svg {
    width: 100%;
    height: 100%;
    animation: compassRotate 120s linear infinite;
}

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

/* Coordinate Labels */
.coord-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.coord {
    position: absolute;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.7rem;
    color: rgba(0, 212, 170, 0.4);
    letter-spacing: 0.05em;
    animation: coordFade 8s ease-in-out infinite;
}

.coord-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.coord-2 {
    top: 30%;
    right: 12%;
    color: rgba(76, 201, 240, 0.4);
    animation-delay: -2s;
}

.coord-3 {
    bottom: 25%;
    left: 15%;
    color: rgba(64, 145, 108, 0.4);
    animation-delay: -4s;
}

.coord-4 {
    bottom: 15%;
    right: 8%;
    animation-delay: -6s;
}

@keyframes coordFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Map Pins */
.map-pins {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.map-pin {
    position: absolute;
    width: 30px;
    height: 30px;
    animation: pinBounce 2s ease-in-out infinite;
}

.map-pin svg {
    width: 100%;
    height: 100%;
}

.pin-1 {
    top: 20%;
    left: 25%;
    color: #ff6b6b;
    filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.6));
    animation-delay: 0s;
}

.pin-2 {
    top: 60%;
    left: 75%;
    color: #00d4aa;
    filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.6));
    animation-delay: -0.5s;
}

.pin-3 {
    bottom: 30%;
    left: 45%;
    color: #ffd93d;
    filter: drop-shadow(0 0 8px rgba(255, 217, 61, 0.6));
    animation-delay: -1s;
}

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

/* Responsive adjustments for GIS components */
@media (max-width: 1200px) {
    .earth-container {
        width: 300px;
        height: 300px;
        right: 2%;
    }
    .earth {
        width: 180px;
        height: 180px;
    }
    .orbit-1 { width: 240px; height: 240px; }
    .orbit-2 { width: 280px; height: 280px; }
}

/* Tablet/iPad optimizations */
@media (max-width: 1024px) {
    .orb {
        filter: blur(60px);
        opacity: 0.3;
    }

    .gradient-mesh {
        animation-duration: 40s;
    }

    .earth-container {
        width: 250px;
        height: 250px;
        opacity: 0.6;
    }

    .earth {
        width: 150px;
        height: 150px;
    }

    .earth-sphere {
        animation-duration: 90s;
    }

    .particle {
        animation-duration: 5s;
    }

    .map-pin {
        opacity: 0.4;
    }

    .coord {
        opacity: 0.25;
    }
}

@media (max-width: 768px) {
    /* Optimized animations for mobile - lighter but still visible */
    .gradient-mesh {
        animation: terrainShift 40s ease-in-out infinite;
    }

    .orb {
        filter: blur(50px);
        animation: mapPulse 30s ease-in-out infinite;
        opacity: 0.2;
    }

    .animated-lines {
        opacity: 0.1;
    }

    .line {
        animation: contourFlow 20s ease-in-out infinite;
    }

    .particles {
        opacity: 0.6;
    }

    .particle {
        animation: markerPulse 5s ease-in-out infinite;
    }

    /* Hide some particles on mobile */
    .particle:nth-child(n+5) {
        display: none;
    }

    .earth-container {
        width: 150px;
        height: 150px;
        right: -5%;
        top: 15%;
        opacity: 0.4;
    }

    .earth {
        width: 100px;
        height: 100px;
    }

    .earth-sphere {
        animation: earthRotate 90s linear infinite;
        box-shadow:
            inset -15px -15px 30px rgba(0, 0, 0, 0.5),
            0 0 30px rgba(0, 119, 182, 0.2);
    }

    .earth-glow {
        opacity: 0.4;
        animation: earthGlow 6s ease-in-out infinite;
    }

    .satellite-orbit {
        opacity: 0.4;
    }

    .orbit-1 {
        width: 180px;
        height: 180px;
        animation: orbitRotate 30s linear infinite;
    }

    .orbit-2 {
        display: none;
    }

    .compass-rose {
        width: 50px;
        height: 50px;
        left: 2%;
        bottom: 3%;
        opacity: 0.2;
        animation: compassPulse 8s ease-in-out infinite;
    }

    .compass-svg {
        animation: compassRotate 180s linear infinite;
    }

    .coord-labels {
        opacity: 0.5;
    }

    .coord {
        font-size: 0.6rem;
        animation: coordFade 12s ease-in-out infinite;
    }

    /* Hide some coords on mobile */
    .coord-3, .coord-4 {
        display: none;
    }

    .map-pins {
        opacity: 0.5;
    }

    .map-pin {
        width: 20px;
        height: 20px;
        animation: pinBounce 3s ease-in-out infinite;
    }

    /* Hide one pin on mobile */
    .pin-3 {
        display: none;
    }

    /* Reduce backdrop blur on mobile */
    .navbar.scrolled {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .about,
    .skills {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* Small phones - lighter effects but still animated */
@media (max-width: 480px) {
    .orb {
        filter: blur(40px);
        opacity: 0.15;
        animation: mapPulse 40s ease-in-out infinite;
    }

    /* Show only 2 orbs */
    .orb-3, .orb-4 {
        display: none;
    }

    .earth-container {
        width: 120px;
        height: 120px;
        right: -15%;
        top: 10%;
        opacity: 0.3;
    }

    .earth {
        width: 80px;
        height: 80px;
    }

    .earth-sphere {
        animation: earthRotate 120s linear infinite;
    }

    .earth-glow, .earth-grid {
        display: none;
    }

    .satellite-orbit {
        display: none;
    }

    .compass-rose {
        width: 35px;
        height: 35px;
        opacity: 0.15;
    }

    .grid-pattern {
        opacity: 0.3;
    }

    .animated-lines {
        opacity: 0.08;
    }

    /* Show only 2 particles */
    .particle:nth-child(n+3) {
        display: none;
    }

    .coord-labels {
        display: none;
    }

    .map-pins {
        display: none;
    }

    .about,
    .skills,
    .project-card,
    .skills-category {
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gradient-mesh,
    .orb,
    .line,
    .particle,
    .earth-sphere,
    .satellite-orbit,
    .compass-svg,
    .map-pin {
        animation: none !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4aa 0%, #4cc9f0 50%, #0077b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 50%, #0077b6 100%);
    color: var(--color-text-primary);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: scanLine 3s ease-in-out infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
}

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

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4aa, #4cc9f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4aa, #4cc9f0);
    transition: width var(--transition-base);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-base);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    background: transparent;
}

.hero-bg-grid {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-greeting {
    font-size: 1.125rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.hero-name {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4aa 30%, #4cc9f0 60%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: geoGlow 6s ease-in-out infinite;
}

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

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    background: linear-gradient(90deg, #4cc9f0, #00d4aa, #40916c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.about-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
}

.highlight-item:hover {
    transform: translateX(10px);
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4aa 0%, #0077b6 100%);
    border-radius: 10px;
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.3);
}

.highlight-item:nth-child(2) .highlight-icon {
    background: linear-gradient(135deg, #4cc9f0 0%, #0077b6 100%);
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.3);
}

.highlight-item:nth-child(3) .highlight-icon {
    background: linear-gradient(135deg, #40916c 0%, #2d6a4f 100%);
    box-shadow: 0 4px 15px rgba(64, 145, 108, 0.3);
}

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

.highlight-text p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

.about-education h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.education-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 12px;
    border-left: 4px solid #00d4aa;
}

.education-item:nth-child(2) {
    border-left-color: #4cc9f0;
}

.education-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.15);
    border-radius: 10px;
    color: #00d4aa;
}

.education-item:nth-child(2) .education-icon {
    background: rgba(76, 201, 240, 0.15);
    color: #4cc9f0;
}

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

.education-text p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ===== Projects Section ===== */
.projects {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

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

.project-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-base);
    border: 1px solid rgba(51, 65, 85, 0.5);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4aa, #4cc9f0, #0077b6);
    opacity: 0;
    transition: opacity var(--transition-base);
}

/* GIS-themed project card variations */
.project-card:nth-child(1)::before { background: linear-gradient(90deg, #00d4aa, #40916c); }
.project-card:nth-child(2)::before { background: linear-gradient(90deg, #4cc9f0, #0077b6); }
.project-card:nth-child(3)::before { background: linear-gradient(90deg, #ff6b6b, #ffd93d); }
.project-card:nth-child(4)::before { background: linear-gradient(90deg, #40916c, #95d5b2); }
.project-card:nth-child(5)::before { background: linear-gradient(90deg, #0077b6, #00d4aa); }
.project-card:nth-child(6)::before { background: linear-gradient(90deg, #ffd93d, #ff6b6b); }

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.2);
    border-color: rgba(0, 212, 170, 0.5);
}

.project-card:nth-child(2):hover { border-color: rgba(76, 201, 240, 0.5); box-shadow: 0 20px 40px rgba(76, 201, 240, 0.2); }
.project-card:nth-child(3):hover { border-color: rgba(255, 107, 107, 0.5); box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2); }
.project-card:nth-child(4):hover { border-color: rgba(64, 145, 108, 0.5); box-shadow: 0 20px 40px rgba(64, 145, 108, 0.2); }
.project-card:nth-child(5):hover { border-color: rgba(0, 119, 182, 0.5); box-shadow: 0 20px 40px rgba(0, 119, 182, 0.2); }
.project-card:nth-child(6):hover { border-color: rgba(255, 217, 61, 0.5); box-shadow: 0 20px 40px rgba(255, 217, 61, 0.2); }

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

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

.project-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 12px;
    color: #00d4aa;
}

/* GIS-themed project icons */
.project-card:nth-child(1) .project-icon { background: rgba(0, 212, 170, 0.15); color: #00d4aa; }
.project-card:nth-child(2) .project-icon { background: rgba(76, 201, 240, 0.15); color: #4cc9f0; }
.project-card:nth-child(3) .project-icon { background: rgba(255, 107, 107, 0.15); color: #ff6b6b; }
.project-card:nth-child(4) .project-icon { background: rgba(64, 145, 108, 0.15); color: #40916c; }
.project-card:nth-child(5) .project-icon { background: rgba(0, 119, 182, 0.15); color: #0077b6; }
.project-card:nth-child(6) .project-icon { background: rgba(255, 217, 61, 0.15); color: #ffd93d; }

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00d4aa;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 20px;
}

/* GIS-themed project categories */
.project-card:nth-child(1) .project-category { background: rgba(0, 212, 170, 0.15); color: #00d4aa; }
.project-card:nth-child(2) .project-category { background: rgba(76, 201, 240, 0.15); color: #4cc9f0; }
.project-card:nth-child(3) .project-category { background: rgba(255, 107, 107, 0.15); color: #ff6b6b; }
.project-card:nth-child(4) .project-category { background: rgba(64, 145, 108, 0.15); color: #40916c; }
.project-card:nth-child(5) .project-category { background: rgba(0, 119, 182, 0.15); color: #0077b6; }
.project-card:nth-child(6) .project-category { background: rgba(255, 217, 61, 0.15); color: #ffd93d; }

.project-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    background: var(--color-bg-tertiary);
    border-radius: 6px;
    color: var(--color-text-secondary);
}

/* ===== Skills Section ===== */
.skills {
    padding: 6rem 0;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

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

.skills-category {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 16px;
    padding: 2rem;
}

.category-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00d4aa, #4cc9f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* GIS-themed category titles */
.skills-category:nth-child(1) .category-title { background: linear-gradient(135deg, #00d4aa, #40916c); -webkit-background-clip: text; background-clip: text; }
.skills-category:nth-child(2) .category-title { background: linear-gradient(135deg, #4cc9f0, #0077b6); -webkit-background-clip: text; background-clip: text; }
.skills-category:nth-child(3) .category-title { background: linear-gradient(135deg, #ffd93d, #ff6b6b); -webkit-background-clip: text; background-clip: text; }
.skills-category:nth-child(4) .category-title { background: linear-gradient(135deg, #40916c, #95d5b2); -webkit-background-clip: text; background-clip: text; }

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

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-size: 0.9375rem;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: var(--color-bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    width: var(--progress);
    background: linear-gradient(90deg, #00d4aa 0%, #4cc9f0 50%, #0077b6 100%);
    border-radius: 4px;
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: skillShine 2s ease-in-out infinite;
}

@keyframes skillShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* GIS-themed skill bar variations per category */
.skills-category:nth-child(1) .skill-progress { background: linear-gradient(90deg, #00d4aa, #40916c, #2d6a4f); }
.skills-category:nth-child(2) .skill-progress { background: linear-gradient(90deg, #4cc9f0, #0077b6, #023e8a); }
.skills-category:nth-child(3) .skill-progress { background: linear-gradient(90deg, #ffd93d, #ff6b6b, #e63946); }
.skills-category:nth-child(4) .skill-progress { background: linear-gradient(90deg, #40916c, #95d5b2, #b7e4c7); }

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

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

.contact-text {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all var(--transition-base);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.contact-method:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15), rgba(76, 201, 240, 0.15));
    border-radius: 10px;
    color: #00d4aa;
}

/* GIS-themed contact icons */
.contact-method:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(64, 145, 108, 0.1));
    color: #00d4aa;
}
.contact-method:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.2), rgba(0, 119, 182, 0.1));
    color: #4cc9f0;
}
.contact-method:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.2), rgba(255, 107, 107, 0.1));
    color: #ffd93d;
}

.contact-details {
    text-align: left;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

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

/* ===== Footer ===== */
.footer {
    padding: 3rem 0;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    position: relative;
}

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

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4aa, #4cc9f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-primary);
    border-radius: 10px;
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    background: linear-gradient(135deg, #00d4aa, #4cc9f0);
    color: var(--color-text-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.4);
}

/* GIS-themed footer link variations */
.footer-links a:nth-child(1):hover { background: linear-gradient(135deg, #00d4aa, #40916c); box-shadow: 0 5px 15px rgba(0, 212, 170, 0.4); }
.footer-links a:nth-child(2):hover { background: linear-gradient(135deg, #4cc9f0, #0077b6); box-shadow: 0 5px 15px rgba(76, 201, 240, 0.4); }
.footer-links a:nth-child(3):hover { background: linear-gradient(135deg, #ffd93d, #ff6b6b); box-shadow: 0 5px 15px rgba(255, 217, 61, 0.4); }

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition-base);
    }

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

    .nav-link {
        font-size: 1.25rem;
    }

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

    .hero {
        padding: 5rem 1rem 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

    .skills-content {
        grid-template-columns: 1fr;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .skills-category {
        padding: 1.5rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        text-align: center;
    }
}

/* ===== Selection Style ===== */
::selection {
    background: var(--color-accent);
    color: var(--color-text-primary);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00d4aa, #4cc9f0);
}
