/* ==========================================================================
   CSS Variables & Configuration
   ========================================================================== */
   :root {
    /* Color Palette - Dark Cinematic Theme */
    --bg-main: #0a0e17;
    --bg-darker: #05070a;
    --bg-card: rgba(16, 24, 39, 0.6);
    --bg-glass: rgba(16, 24, 39, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-secondary: #0ea5e9;
    
    --border-color: rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --section-pad: 100px;
    --container-w: 1200px;
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: var(--font-primary);
    background-color: transparent;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
@media (pointer: fine) {
    .cursor-glow {
        position: fixed;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 0;
        opacity: 0.3;
        transition: opacity var(--trans-smooth);
        will-change: transform;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.bg-darker {
    background-color: rgba(5, 7, 10, 0.4);
    backdrop-filter: blur(10px);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.section-header.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    margin-top: 1rem;
    border-radius: 2px;
}

.section-line.center {
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--trans-smooth);
    cursor: pointer;
    font-family: var(--font-primary);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(5, 7, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader-text {
    font-size: 3rem;
    letter-spacing: 0.5rem;
    background: linear-gradient(to right, #3b82f6, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseGlow 2s infinite;
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
}

.loader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--accent-primary);
    animation: progressFill 1.5s ease forwards;
}

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

@keyframes pulseGlow {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 10px var(--accent-glow)); }
    50% { opacity: 0.5; filter: drop-shadow(0 0 2px transparent); }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all var(--trans-smooth);
}

#navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

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

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--trans-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--trans-smooth);
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--trans-smooth);
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.global-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.global-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.global-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 7, 10, 0.7) 0%, rgba(5, 7, 10, 0.9) 100%);
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-greeting {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border: 1px solid var(--border-color);
    transition: all var(--trans-smooth);
}

.social-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    transition: opacity var(--trans-fast);
}

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

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: white;
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
}

.about-image {
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: grayscale(20%);
    transition: all var(--trans-smooth);
}

.about-image-wrapper:hover .about-image {
    filter: grayscale(0%);
}

.about-image-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: 1;
    border-radius: 30px;
    opacity: 0.5;
}

.about-text {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.traits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.trait-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform var(--trans-smooth), border-color var(--trans-fast);
}

.trait-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.trait-card h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.5rem;
}

.trait-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Profile Section
   ========================================================================== */
.profile-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--trans-smooth);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--trans-smooth);
}

.profile-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
}

.profile-card:hover::before {
    transform: scaleY(1);
}

.profile-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-value {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================================================
   Football Section
   ========================================================================== */
.football-section {
    position: relative;
    overflow: hidden;
}

.football-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(5, 7, 10, 0.4) 70%);
    z-index: 0;
}

.football-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.football-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--trans-smooth);
    backdrop-filter: blur(10px);
}

.football-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.fc-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-primary);
    transition: all var(--trans-smooth);
}

.football-card:hover .fc-icon {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

/* ==========================================================================
   Timeline / Leadership
   ========================================================================== */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

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

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

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-main);
    border: 4px solid var(--accent-primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: all var(--trans-fast);
}

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

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--bg-card);
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform var(--trans-smooth);
}

.timeline-item:hover .timeline-content {
    transform: scale(1.02);
    border-color: rgba(255,255,255,0.1);
}

.timeline-container.small::after {
    left: 20px;
}
.timeline-container.small .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 50px;
    padding-right: 0;
}
.timeline-container.small .timeline-dot {
    left: 11px;
}

/* ==========================================================================
   Travel Section
   ========================================================================== */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.travel-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

.travel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.travel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 1;
    transform: translateY(20px);
    transition: transform var(--trans-smooth);
}

.travel-card:hover .travel-img {
    transform: scale(1.1);
}

.travel-card:hover .travel-overlay {
    transform: translateY(0);
}

.travel-location {
    font-size: 1.5rem;
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.travel-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity var(--trans-smooth);
    transition-delay: 0.1s;
}

.travel-card:hover .travel-desc {
    opacity: 1;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--trans-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--trans-fast);
}

.gallery-icon {
    color: white;
    transform: scale(0.5);
    transition: transform var(--trans-spring);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--trans-fast);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    transition: color var(--trans-fast);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: var(--accent-primary);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Resume / Experience / Skills
   ========================================================================== */
.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
}

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

.exp-title {
    font-size: 1.25rem;
    color: white;
}

.exp-company {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.exp-duties {
    padding-left: 1.5rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.exp-duties li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.edu-card {
    padding: 1.5rem;
}

.edu-year {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.edu-score {
    display: block;
    margin-top: 0.5rem;
    color: white;
    font-weight: 500;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: white;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    transition: all var(--trans-fast);
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.skill-tags.alt .skill-tag {
    background: rgba(14, 165, 233, 0.05);
}
.skill-tags.alt .skill-tag:hover {
    border-color: var(--accent-secondary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-card h4 {
    margin-bottom: 0.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.info-card a {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color var(--trans-fast);
}

.info-card a:hover {
    color: var(--accent-primary);
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--trans-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-muted);
    transition: all var(--trans-fast);
    pointer-events: none;
}

/* Float label effect */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.75rem;
    background: var(--bg-card);
    padding: 0 0.4rem;
    color: var(--accent-primary);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: transparent;
}

/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
    background: rgba(5, 7, 10, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(to right, #fff, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Reveal Classes (Intersection Observer)
   ========================================================================== */
.scroll-reveal,
.scroll-reveal-up,
.scroll-reveal-left,
.scroll-reveal-right {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.scroll-reveal { transform: scale(0.95); }
.scroll-reveal-up { transform: translateY(40px); }
.scroll-reveal-left { transform: translateX(-40px); }
.scroll-reveal-right { transform: translateX(40px); }

.is-revealed {
    opacity: 1;
    visibility: visible;
    transform: translate(0) scale(1);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Hero initial reveals */
.reveal-text, .reveal-fade-up {
    opacity: 0;
}

.reveal-text.loaded {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-fade-up.loaded {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid, .resume-grid, .skills-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .masonry-gallery {
        column-count: 2;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    .timeline-container::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-dot, .timeline-dot {
        left: 11px;
    }
    
    .cursor-glow {
        display: none; /* Disable custom cursor on mobile */
    }
}

@media (max-width: 480px) {
    .masonry-gallery {
        column-count: 1;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
