/* =======================================
   1. GLOBAL VARIABLES & RESET
   ======================================= */
:root {
    /* Colors */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 25, 0.6);
    --text-primary: #f0f0f5;
    --text-secondary: #9aa0a6;
    
    /* Neon Accents */
    --accent-1: #00f0ff;
    --accent-2: #ff003c;
    --accent-3: #7000ff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    --gradient-text: linear-gradient(to right, var(--accent-1), #ffffff);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing & Layout */
    --nav-height: 80px;
    --container-width: 1200px;
    
    /* Glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Hide default cursor to use custom cursor */
    cursor: none;
}

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

/* Base Link & Button Styles */
a {
    text-decoration: none;
    color: var(--text-primary);
    cursor: none;
}

button {
    cursor: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title span {
    color: var(--accent-1);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px var(--accent-1);
    border-radius: 2px;
}

/* =======================================
   2. CUSTOM CURSOR & SCROLL
   ======================================= */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-1);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor-hover .cursor-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-2);
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 0, 60, 0.5);
    background-color: rgba(255, 0, 60, 0.1);
}

/* Scroll Progress indicator */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 10000;
}

.scroll-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    box-shadow: 0 0 10px var(--accent-1);
}

/* =======================================
   3. NAVIGATION
   ======================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

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

.logo span {
    color: var(--accent-1);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

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

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-1);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-1);
}

.nav-links a:hover {
    color: var(--accent-1);
}

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

.menu-btn {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

/* =======================================
   4. HERO SECTION
   ======================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    animation: floatGlow 10s infinite alternate ease-in-out;
}

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

.background-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 240, 255, 0.4);
    bottom: 10%;
    right: 5%;
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-1);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Glitch Text Effect */
.glitch-text {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-2);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-1);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(61px, 9999px, 52px, 0); }
    5% { clip: rect(33px, 9999px, 14px, 0); }
    10% { clip: rect(12px, 9999px, 59px, 0); }
    15% { clip: rect(98px, 9999px, 20px, 0); }
    20% { clip: rect(44px, 9999px, 45px, 0); }
    25% { clip: rect(78px, 9999px, 7px, 0); }
    30% { clip: rect(8px, 9999px, 63px, 0); }
    35% { clip: rect(48px, 9999px, 19px, 0); }
    40% { clip: rect(72px, 9999px, 2px, 0); }
    45% { clip: rect(51px, 9999px, 92px, 0); }
    50% { clip: rect(33px, 9999px, 81px, 0); }
    55% { clip: rect(49px, 9999px, 35px, 0); }
    60% { clip: rect(6px, 9999px, 16px, 0); }
    65% { clip: rect(27px, 9999px, 77px, 0); }
    70% { clip: rect(84px, 9999px, 91px, 0); }
    75% { clip: rect(100px, 9999px, 10px, 0); }
    80% { clip: rect(24px, 9999px, 74px, 0); }
    85% { clip: rect(68px, 9999px, 27px, 0); }
    90% { clip: rect(17px, 9999px, 97px, 0); }
    95% { clip: rect(65px, 9999px, 5px, 0); }
    100% { clip: rect(3px, 9999px, 42px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(29px, 9999px, 83px, 0); }
    5% { clip: rect(65px, 9999px, 11px, 0); }
    10% { clip: rect(45px, 9999px, 99px, 0); }
    15% { clip: rect(3px, 9999px, 53px, 0); }
    20% { clip: rect(81px, 9999px, 34px, 0); }
    25% { clip: rect(9px, 9999px, 78px, 0); }
    30% { clip: rect(55px, 9999px, 42px, 0); }
    35% { clip: rect(72px, 9999px, 2px, 0); }
    40% { clip: rect(17px, 9999px, 64px, 0); }
    45% { clip: rect(93px, 9999px, 89px, 0); }
    50% { clip: rect(38px, 9999px, 21px, 0); }
    55% { clip: rect(6px, 9999px, 48px, 0); }
    60% { clip: rect(77px, 9999px, 19px, 0); }
    65% { clip: rect(24px, 9999px, 61px, 0); }
    70% { clip: rect(51px, 9999px, 96px, 0); }
    75% { clip: rect(33px, 9999px, 7px, 0); }
    80% { clip: rect(99px, 9999px, 32px, 0); }
    85% { clip: rect(12px, 9999px, 85px, 0); }
    90% { clip: rect(87px, 9999px, 56px, 0); }
    95% { clip: rect(41px, 9999px, 14px, 0); }
    100% { clip: rect(58px, 9999px, 93px, 0); }
}

.role {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 2.5rem;
}

.cursor-blink {
    color: var(--accent-1);
    animation: blink 1s infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Base Buttons */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: transparent;
    color: var(--bg-dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: opacity 0.3s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    color: #fff;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Magnetic Effect Container */
.magnetic {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.3s;
}

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

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

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

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

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

/* =======================================
   5. GLASS CARD BASE
   ======================================= */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

/* =======================================
   6. ABOUT SECTION
   ======================================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(20,20,25,0.8), rgba(0,240,255,0.1));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.img-placeholder i {
    opacity: 0.5;
    transition: all 0.5s;
}

.img-placeholder:hover i {
    opacity: 1;
    color: var(--accent-1);
    transform: scale(1.1);
    text-shadow: 0 0 20px var(--accent-1);
}

.img-border {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 2px solid transparent;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 40px;
    z-index: 1;
    opacity: 0.5;
    transition: all 0.5s;
}

.image-wrapper:hover .img-border {
    transform: rotate(5deg);
    opacity: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--accent-1);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =======================================
   7. ANIMATIONS & REVEALS
   ======================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal.fade-left {
    transform: translateX(-50px);
}

.reveal.fade-right {
    transform: translateX(50px);
}

.reveal.fade-left.active,
.reveal.fade-right.active {
    transform: translateX(0);
}

/* =======================================
   8. RESPONSIVE DESIGN
   ======================================= */
@media (max-width: 992px) {
    .glitch-text { font-size: 4.5rem; }
    .about-content { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .glitch-text { font-size: 3.5rem; }
    .role { font-size: 1.5rem; }
    .stats { grid-template-columns: 1fr; gap: 1rem; }
}

/* =======================================
   9. SKILLS SECTION
   ======================================= */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    color: var(--accent-1);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.skill-info span:last-child {
    color: var(--accent-1);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0; /* Animated via JS */
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-1);
    transition: width 1.5s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.tech-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-icon:hover {
    color: var(--accent-1);
    border-color: var(--accent-1);
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* =======================================
   10. PROJECTS SECTION
   ======================================= */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-1);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
    transform-style: preserve-3d;
}

.project-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-placeholder {
    border-radius: 0;
    font-size: 5rem;
    background: linear-gradient(45deg, rgba(20,20,25,0.8), rgba(255,0,60,0.1));
}

.project-card:nth-child(even) .project-placeholder {
    background: linear-gradient(45deg, rgba(20,20,25,0.8), rgba(112,0,255,0.1));
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-link {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-img:hover .project-overlay {
    opacity: 1;
}

.project-img:hover .project-placeholder i {
    transform: scale(1.2);
}

.project-img:hover .project-link {
    transform: scale(1);
}

.project-info {
    padding: 2rem;
    transform: translateZ(30px);
}

.project-tag {
    font-size: 0.8rem;
    color: var(--accent-1);
    background: rgba(0, 240, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

.project-tech span {
    font-size: 0.8rem;
    color: #fff;
    opacity: 0.7;
}

/* =======================================
   11. EXPERIENCE TIMELINE
   ======================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 3px solid var(--accent-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-1);
    z-index: 2;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-1);
    transform: scale(1.3);
}

.timeline-content {
    padding: 2rem;
}

.timeline-date {
    display: inline-block;
    color: var(--accent-1);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.2rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =======================================
   12. CONTACT SECTION
   ======================================= */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-1);
    margin-right: 1.5rem;
    border: 1px solid var(--glass-border);
}

.contact-method {
    display: flex;
    align-items: center;
}

.method-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-method p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 !important;
}

.contact-form {
    padding: 3rem;
}

.input-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.input-field {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

.textarea-field {
    resize: none;
}

.input-label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--glass-border);
}

.input-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.input-field:focus ~ .input-label,
.input-field:valid ~ .input-label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--accent-1);
}

.input-field:focus ~ .input-line::after,
.input-field:valid ~ .input-line::after {
    width: 100%;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* =======================================
   13. FOOTER
   ======================================= */
.footer {
    background: rgba(10, 10, 15, 0.9);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-1);
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    transform: translateY(-5px);
}

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

.back-to-top {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.back-to-top:hover {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-1);
}

/* Add media queries for new sections */
@media (max-width: 992px) {
    .skills-grid { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; gap: 2rem; }
}
