/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Tokens (HSL) */
    --color-bg-deep: hsl(240, 30%, 2%);       /* Darkest space background */
    --color-bg-base: hsl(240, 25%, 4%);       /* Standard section background */
    --color-bg-card: hsla(240, 20%, 7%, 0.45); /* Glass card background */
    --color-border: hsla(0, 0%, 100%, 0.06);   /* Standard subtle glass border */
    
    /* Neon Accent Colors */
    --accent-purple: hsl(270, 95%, 65%);
    --accent-purple-glow: hsla(270, 95%, 65%, 0.3);
    --accent-blue: hsl(210, 100%, 55%);
    --accent-blue-glow: hsla(210, 100%, 55%, 0.3);
    --accent-cyan: hsl(190, 100%, 50%);
    --accent-cyan-glow: hsla(190, 100%, 50%, 0.35);
    --accent-pink: hsl(325, 95%, 55%);
    --accent-pink-glow: hsla(325, 95%, 55%, 0.3);
    
    /* Text Colors */
    --text-primary: hsl(220, 15%, 90%);
    --text-secondary: hsl(220, 10%, 65%);
    --text-muted: hsl(220, 10%, 45%);
    --text-glow-shadow: 0 0 10px hsla(190, 100%, 50%, 0.5);
    
    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-alt: 'Inter', sans-serif;
    
    /* Layout Constants */
    --container-max-width: 1200px;
    --section-padding: 8rem 2rem;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) var(--color-bg-deep);
}

body {
    background-color: var(--color-bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Customized Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-cyan));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-pink);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

li {
    list-style: none;
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-padding);
    position: relative;
    z-index: 5;
}

/* Ambient Glow & Matrix Grids */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    top: 15%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
}

.glow-2 {
    top: 55%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    pointer-events: none;
    z-index: 1;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: hsla(270, 95%, 65%, 0.25);
    box-shadow: 0 20px 40px -15px rgba(138, 43, 226, 0.25);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.6);
}

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

.btn-glass {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.03);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
    transform: translateY(-3px);
}

.btn-submit {
    width: 100%;
}

.btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* Badge Layout */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.01);
}

.badge-glow {
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 242, 254, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
    }
}

/* ==========================================================================
   NAVIGATION STYLE
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(2, 2, 5, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
    transition: all 0.4s ease;
}

.glass-nav.scrolled {
    height: 70px;
    background: rgba(2, 2, 5, 0.9);
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-cyan);
    transition: color 0.3s ease;
}

.logo:hover .logo-accent {
    color: var(--accent-pink);
    text-shadow: 0 0 8px var(--accent-pink-glow);
}

.nav-links {
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--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(to right, var(--accent-purple), var(--accent-cyan));
    transition: width 0.3s ease;
}

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

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

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

.btn-nav {
    padding: 0.6rem 1.4rem;
    font-size: 0.75rem;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==========================================================================
   HERO SECTION STYLE
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #020205; /* Matches video canvas background */
}

/* Background video */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Keeps the avatar on the right in framing */
}

/* Seamless video overlays */
.video-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(2, 2, 5, 0.95) 0%,      /* Matches background color on left side */
        rgba(2, 2, 5, 0.8) 30%,
        rgba(2, 2, 5, 0.3) 55%,
        rgba(2, 2, 5, 0) 75%,
        rgba(2, 2, 5, 0.2) 100%
    );
    z-index: 2;
}

.video-overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(2, 2, 5, 0.6) 0%,
        transparent 15%,
        transparent 80%,
        rgba(2, 2, 5, 1) 100%        /* Solid block fade down to next section */
    );
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Gives content weight to left, keeps right free */
    align-items: center;
    width: 100%;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.text-glow {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--text-glow-shadow);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
}

.hero-avatar-space {
    height: 100%;
    width: 100%;
    pointer-events: none; /* Ensures clicking on the right reaches background/scrollers if needed */
}

/* Floating mouse scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 4;
    cursor: pointer;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollScroll 1.8s infinite;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

@keyframes scrollScroll {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Floating volume toggle button */
.btn-volume-toggle {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 10, 20, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-volume-toggle:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
    transform: scale(1.08);
}

.btn-volume-toggle i {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .btn-volume-toggle {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 5;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   ABOUT SECTION STYLE
   ========================================================================== */
.about-section {
    background-color: var(--color-bg-base);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-highlight {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-paragraph {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    padding: 1.5rem 1rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.about-card-wrapper {
    position: relative;
}

.about-glass-card {
    padding: 3rem;
    background: hsla(240, 20%, 7%, 0.6);
}

.card-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-accent {
    color: var(--accent-purple);
    width: 28px;
    height: 28px;
}

.about-glass-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-glass-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.philosophy-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.philosophy-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.list-icon {
    color: var(--accent-cyan);
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   SERVICES SECTION STYLE
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-deep);
}

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

.service-card {
    padding: 3rem 2.5rem;
}

.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
}

.service-icon-box i {
    width: 24px;
    height: 24px;
}

.bg-purple-glow {
    background: linear-gradient(135deg, var(--accent-purple), #da70d6);
    box-shadow: 0 0 20px var(--accent-purple-glow);
}

.bg-blue-glow {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    box-shadow: 0 0 20px var(--accent-blue-glow);
}

.bg-cyan-glow {
    background: linear-gradient(135deg, var(--accent-cyan), #00ffff);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.bg-pink-glow {
    background: linear-gradient(135deg, var(--accent-pink), #ff1493);
    box-shadow: 0 0 20px var(--accent-pink-glow);
}

.bg-orange-glow {
    background: linear-gradient(135deg, hsl(35, 100%, 55%), hsl(15, 100%, 55%));
    box-shadow: 0 0 20px rgba(255, 120, 0, 0.35);
}

.bg-green-glow {
    background: linear-gradient(135deg, hsl(140, 100%, 45%), hsl(160, 100%, 40%));
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.25);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   PROJECTS SECTION STYLE
   ========================================================================== */
.projects-section {
    background-color: var(--color-bg-base);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--text-secondary);
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-primary);
    color: var(--color-bg-deep);
    border-color: var(--text-primary);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-media {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.project-media-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.p-gradient-1 { background: linear-gradient(135deg, #1f1035, #4b0082); }
.p-gradient-2 { background: linear-gradient(135deg, #09203f, #537895); }
.p-gradient-3 { background: linear-gradient(135deg, #2b1055, #7597de); }
.p-gradient-4 { background: linear-gradient(135deg, #0f2027, #2c5364); }
.p-gradient-5 { background: linear-gradient(135deg, #1d0a21, #4a154b); }
.p-gradient-6 { background: linear-gradient(135deg, #370617, #6a040f); }
.p-gradient-7 { background: linear-gradient(135deg, #1d3557, #457b9d); }
.p-gradient-8 { background: linear-gradient(135deg, #ffb703, #fb8500); }

.proj-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(2, 2, 5, 0.75);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(4px);
    padding: 0.35rem 0.8rem;
    font-size: 0.65rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    color: var(--accent-cyan);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    color: white;
}

.project-card:hover .project-media-placeholder {
    transform: scale(1.05);
}

.project-card:hover .icon-circle {
    opacity: 1;
    transform: scale(1);
    background: var(--accent-cyan);
}

.project-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.proj-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.proj-link i {
    width: 14px;
    height: 14px;
}

.proj-link:hover {
    color: var(--accent-purple);
}

/* ==========================================================================
   SKILLS SECTION STYLE
   ========================================================================== */
.skills-section {
    background-color: var(--color-bg-deep);
}

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

.skills-category-card {
    padding: 2.5rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.category-title i {
    width: 20px;
    height: 20px;
}

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

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

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.skill-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 10px;
    width: 0; /* Dynamic loading in script */
    transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.fill-purple { background: linear-gradient(to right, var(--accent-purple), #da70d6); }
.fill-blue { background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan)); }
.fill-cyan { background: linear-gradient(to right, var(--accent-cyan), #00ffff); }

/* ==========================================================================
   TESTIMONIALS SECTION STYLE
   ========================================================================== */
.testimonials-section {
    background-color: var(--color-bg-base);
}

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

.testimonial-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star-filled {
    width: 16px;
    height: 16px;
    color: hsl(35, 100%, 55%);
    fill: hsl(35, 100%, 55%);
}

.testi-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.client-meta {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.client-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ==========================================================================
   CONTACT SECTION STYLE
   ========================================================================== */
.contact-section {
    background-color: var(--color-bg-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.contact-info-desc {
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-size: 1.05rem;
}

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

.contact-method-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.method-icon i {
    width: 20px;
    height: 20px;
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.method-value {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
}

.method-value:hover {
    color: var(--accent-cyan);
}

.glass-form {
    padding: 3rem;
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

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

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: rgba(2, 2, 5, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple-glow);
}

.form-group textarea {
    resize: none;
}

.form-status-message {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s;
}

.form-status-message.success {
    color: #00ff66;
    padding: 0.5rem;
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid rgba(0, 255, 102, 0.25);
}

.form-status-message.error {
    color: #ff3333;
    padding: 0.5rem;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.25);
}

/* ==========================================================================
   FOOTER STYLE
   ========================================================================== */
.main-footer {
    background-color: var(--color-bg-deep);
    padding: 3rem 2rem;
    border-top: 1px solid var(--color-border);
    position: relative;
    z-index: 5;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.icon-inline {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
/* Entrance Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.1, 1, 0.1, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-slide-up-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    animation-delay: 0.2s;
}

.animate-slide-up-delayed-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    animation-delay: 0.4s;
}

.animate-slide-up-delayed-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    animation-delay: 0.6s;
}

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

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Trigger Reveals (applied via JS observer) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES & RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 6rem 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid, .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 110;
    }
    
    /* Navigation drawer for mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(2, 2, 5, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 105;
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .btn-nav {
        display: none; /* Hide top bar button, let it be in mobile nav if needed */
    }
    
    /* Hero section formatting for mobile readability over video */
    .hero-container {
        grid-template-columns: 1fr;
        height: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 3rem 2rem;
        background: rgba(2, 2, 5, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
        margin: 2rem 0;
        text-align: center;
    }
    
    .hero-cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-avatar-space {
        display: none;
    }
    
    /* Grid stack settings */
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-text-content {
        order: 2;
    }
    
    .about-card-wrapper {
        order: 1;
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-cta-group .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .glass-form {
        padding: 1.5rem;
    }
}
