/* ==================== Reset & Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00ff88;
    --light-green: #4ade80;
    --dark-green: #059669;
    --accent-cyan: #22d3ee;
    --bg-primary: #0a0e1a;
    --bg-secondary: #141824;
    --bg-card: #1a1f2e;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: rgba(0, 255, 136, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Particles Background ==================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: radial-gradient(ellipse at top, #141824 0%, #0a0e1a 100%);
}

#bg-canvas {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* ==================== Glow Effects ==================== */
.glow-text {
    color: var(--primary-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.glow-text-green {
    color: var(--primary-green);
}

.glow-icon {
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.glow-icon:hover {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.8));
    transform: translateY(-2px);
}

.glow-box {
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 16px;
}

.glow-box:hover {
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
}

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 140px 20px 80px;
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-text {
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -2px;
}

.name-text {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-green) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3.5vw, 1.9rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    line-height: 1.3;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

/* .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
} */

/* .btn:hover::before {
    width: 300px;
    height: 300px;
} */



.btn span {
    position: relative;
    z-index: 1;
}

.btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.btn-secondary:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    color: var(--text-secondary);
    background: rgba(26, 31, 46, 0.5);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon i {
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.social-icon:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px) rotate(360deg);
}

.social-icon:hover i {
    color: #000;
}

/* ==================== Hero Image ==================== */
.hero-image {
    position: relative;
    z-index: 10;
}

.profile-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 3px solid var(--primary-green);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.4);
    animation: morph 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 2px solid var(--primary-green);
    opacity: 0.3;
    animation: morph 8s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--primary-green);
    z-index: 10;
    transition: opacity 0.5s, visibility 0.5s;
}

.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.scroll-indicator p {
    font-size: 0.9rem;
    font-weight: 500;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.wheel {
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
    box-shadow: 0 0 8px var(--primary-green);
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 26px;
        opacity: 0;
    }
}

/* ==================== Section Titles ==================== */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ==================== About Section (OPTIMIZED & MOBILE-FIRST) ==================== */
.about {
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.about-content-redesigned {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-intro {
    background: rgba(26, 31, 46, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.about-intro:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.15);
    transform: translateY(-5px);
}

.intro-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.intro-text:last-child {
    margin-bottom: 0;
}

.intro-text strong {
    color: var(--primary-green);
    font-weight: 700;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.contact-card:hover {
    background: rgba(0, 255, 136, 0.08);
    border-color: var(--primary-green);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.25);
}

.card-icon-wrapper {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(34, 211, 238, 0.1));
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 14px;
    transition: all 0.4s ease;
}

.contact-card:hover .card-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-cyan));
    border-color: var(--primary-green);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
}

.card-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon-wrapper i {
    color: #000;
    transform: scale(1.15);
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

/* Mobile Optimization - Tablets */
@media (max-width: 768px) {
    .about {
        padding: 60px 15px;
    }
    
    .about-content-redesigned {
        gap: 2rem;
    }
    
    .about-intro {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .intro-text {
        font-size: 1rem;
        line-height: 1.8;
        text-align: left;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.8rem;
    }
    
    .card-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .card-icon-wrapper i {
        font-size: 1.8rem;
    }
}

/* Mobile Optimization - Phones */
@media (max-width: 480px) {
    .about {
        padding: 50px 12px;
    }
    
    .about-intro {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .intro-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }
    
    .contact-cards-grid {
        gap: 1.2rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .card-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .card-icon-wrapper i {
        font-size: 1.6rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .card-text {
        font-size: 0.9rem;
        word-break: break-word;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .about-intro {
        padding: 1.2rem;
    }
    
    .intro-text {
        font-size: 0.9rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .card-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .card-icon-wrapper i {
        font-size: 1.4rem;
    }
}

/* ==================== Skills Section ==================== */
.skills {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-category {
    padding: 2.5rem;
    text-align: center;
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5));
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.languages {
    text-align: center;
    margin-top: 4rem;
}

.languages h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.language-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.language-badge {
    background: var(--primary-green);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
    transition: all 0.3s;
}

.language-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.6);
}

/* ==================== Projects Section ==================== */
.projects {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: 16px 16px 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.9), rgba(34, 211, 238, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay i {
    font-size: 3rem;
    color: white;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-info p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 600;
}

.project-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.project-link:hover {
    gap: 1rem;
}

/* ==================== Experience Section ==================== */
.experience {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6), 0 0 0 10px var(--bg-primary);
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    max-width: calc(50% - 30px);
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-date {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== Contact Section ==================== */
.contact {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    padding: 2rem;
    text-align: center;
}

.info-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.info-item h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-item p {
    color: var(--text-secondary);
}

.contact-form {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ==================== Floating Code Icons at Bottom ==================== */
.floating-icons {
    display: none; /* Hides the bottom bar as requested */
}

.code-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 31, 46, 0.4);
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2), 0 0 30px rgba(0, 255, 136, 0.1);
    animation: floatIconSubtle 4s ease-in-out infinite;
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    opacity: 0.7;
}

.code-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: pulseSubtle 3s ease-in-out infinite;
}

.code-icon::after {
    content: attr(data-lang);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(0, 255, 136, 0.6);
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

.code-icon:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
}

.code-icon:hover::after {
    opacity: 1;
}

.code-icon i {
    font-size: 1.5rem;
    color: var(--primary-green);
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.4));
    animation: iconGlowSubtle 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.code-icon:nth-child(1) { animation-delay: 0s; }
.code-icon:nth-child(2) { animation-delay: 0.3s; }
.code-icon:nth-child(3) { animation-delay: 0.6s; }
.code-icon:nth-child(4) { animation-delay: 0.9s; }
.code-icon:nth-child(5) { animation-delay: 1.2s; }
.code-icon:nth-child(6) { animation-delay: 1.5s; }
.code-icon:nth-child(7) { animation-delay: 1.8s; }

.code-icon:nth-child(1) i {
    color: #e34c26;
    filter: drop-shadow(0 0 6px rgba(227, 76, 38, 0.3));
}

.code-icon:nth-child(1) {
    border-color: rgba(227, 76, 38, 0.3);
    box-shadow: 0 0 15px rgba(227, 76, 38, 0.2), 0 0 30px rgba(227, 76, 38, 0.1);
}

.code-icon:nth-child(2) i {
    color: #264de4;
    filter: drop-shadow(0 0 6px rgba(38, 77, 228, 0.3));
}

.code-icon:nth-child(2) {
    border-color: rgba(38, 77, 228, 0.3);
    box-shadow: 0 0 15px rgba(38, 77, 228, 0.2), 0 0 30px rgba(38, 77, 228, 0.1);
}

.code-icon:nth-child(3) i {
    color: #f0db4f;
    filter: drop-shadow(0 0 6px rgba(240, 219, 79, 0.3));
}

.code-icon:nth-child(3) {
    border-color: rgba(240, 219, 79, 0.3);
    box-shadow: 0 0 15px rgba(240, 219, 79, 0.2), 0 0 30px rgba(240, 219, 79, 0.1);
}

.code-icon:nth-child(4) i {
    color: #4B8BBE;
    filter: drop-shadow(0 0 6px rgba(75, 139, 190, 0.3));
}

.code-icon:nth-child(4) {
    border-color: rgba(75, 139, 190, 0.3);
    box-shadow: 0 0 15px rgba(75, 139, 190, 0.2), 0 0 30px rgba(75, 139, 190, 0.1);
}

.code-icon:nth-child(5) i {
    color: #8892BF;
    filter: drop-shadow(0 0 6px rgba(136, 146, 191, 0.3));
}

.code-icon:nth-child(5) {
    border-color: rgba(136, 146, 191, 0.3);
    box-shadow: 0 0 15px rgba(136, 146, 191, 0.2), 0 0 30px rgba(136, 146, 191, 0.1);
}

.code-icon:nth-child(6) i {
    color: #68a063;
    filter: drop-shadow(0 0 6px rgba(104, 160, 99, 0.3));
}

.code-icon:nth-child(6) {
    border-color: rgba(104, 160, 99, 0.3);
    box-shadow: 0 0 15px rgba(104, 160, 99, 0.2), 0 0 30px rgba(104, 160, 99, 0.1);
}

.code-icon:nth-child(7) i {
    color: #61dafb;
    filter: drop-shadow(0 0 6px rgba(97, 218, 251, 0.3));
}

.code-icon:nth-child(7) {
    border-color: rgba(97, 218, 251, 0.3);
    box-shadow: 0 0 15px rgba(97, 218, 251, 0.2), 0 0 30px rgba(97, 218, 251, 0.1);
}

@keyframes floatIconSubtle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(3deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

@keyframes pulseSubtle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

@keyframes iconGlowSubtle {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 5px currentColor);
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 8px currentColor);
    }
}

/* ==================== Background Floating Tech Icons ==================== */
.tech-bg-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.tech-icon-float {
    position: absolute;
    opacity: 0.1; /* I made them a little more transparent so they are less distracting */
    animation: floatAcrossScreen 30s ease-in-out infinite;
    will-change: transform;
    /* This overrides the inline font-size to make them all smaller */
    font-size: 1.5rem !important; 
}

.tech-icon-float:nth-child(1) { 
    color: rgba(227, 76, 38, 0.18);
    animation-duration: 25s;
}
.tech-icon-float:nth-child(2) { 
    color: rgba(38, 77, 228, 0.18);
    animation-duration: 30s;
    animation-delay: 2s;
}
.tech-icon-float:nth-child(3) { 
    color: rgba(240, 219, 79, 0.18);
    animation-duration: 28s;
    animation-delay: 4s;
}
.tech-icon-float:nth-child(4) { 
    color: rgba(75, 139, 190, 0.18);
    animation-duration: 32s;
    animation-delay: 6s;
}
.tech-icon-float:nth-child(5) { 
    color: rgba(97, 218, 251, 0.18);
    animation-duration: 27s;
    animation-delay: 8s;
}
.tech-icon-float:nth-child(6) { 
    color: rgba(104, 160, 99, 0.18);
    animation-duration: 29s;
    animation-delay: 3s;
}
.tech-icon-float:nth-child(7) { 
    color: rgba(136, 146, 191, 0.18);
    animation-duration: 31s;
    animation-delay: 5s;
}
.tech-icon-float:nth-child(8) { 
    color: rgba(0, 255, 136, 0.15);
    animation-duration: 26s;
    animation-delay: 7s;
}
.tech-icon-float:nth-child(9) { 
    color: rgba(0, 255, 136, 0.15);
    animation-duration: 33s;
    animation-delay: 1s;
}
.tech-icon-float:nth-child(10) { 
    color: rgba(0, 255, 136, 0.15);
    animation-duration: 29s;
    animation-delay: 9s;
}
.tech-icon-float:nth-child(11) { 
    color: rgba(255, 255, 255, 0.12);
    animation-duration: 35s;
    animation-delay: 2s;
}
.tech-icon-float:nth-child(12) { 
    color: rgba(0, 255, 136, 0.15);
    animation-duration: 28s;
    animation-delay: 4s;
}
.tech-icon-float:nth-child(13) { 
    color: rgba(255, 100, 100, 0.14);
    animation-duration: 30s;
    animation-delay: 6s;
}
.tech-icon-float:nth-child(14) { 
    color: rgba(100, 200, 255, 0.14);
    animation-duration: 27s;
    animation-delay: 8s;
}
.tech-icon-float:nth-child(15) { 
    color: rgba(200, 100, 255, 0.14);
    animation-duration: 32s;
    animation-delay: 3s;
}

@keyframes floatAcrossScreen {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(150px, -100px) rotate(72deg) scale(1.15);
    }
    40% {
        transform: translate(-80px, 150px) rotate(144deg) scale(0.85);
    }
    60% {
        transform: translate(120px, -50px) rotate(216deg) scale(1.1);
    }
    80% {
        transform: translate(-100px, 100px) rotate(288deg) scale(0.95);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.tech-icon-float:nth-child(odd) {
    animation-name: floatAcrossScreenAlt;
}

@keyframes floatAcrossScreenAlt {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(-120px, 120px) rotate(-72deg) scale(0.9);
    }
    40% {
        transform: translate(100px, -150px) rotate(-144deg) scale(1.2);
    }
    60% {
        transform: translate(-150px, 80px) rotate(-216deg) scale(0.85);
    }
    80% {
        transform: translate(80px, -100px) rotate(-288deg) scale(1.05);
    }
    100% {
        transform: translate(0, 0) rotate(-360deg) scale(1);
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .profile-image-wrapper {
        max-width: 350px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
    }
    
    .timeline-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        text-align: center;
        letter-spacing: -1px;
    }
    
    .profile-image-wrapper {
        max-width: 280px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    
    .about-text-full {
        padding: 2rem;
    }
    
    .about-text-full p {
        font-size: 1rem;
        text-align: left;
    }
    
    .about-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-card {
        padding: 1.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-icons {
        height: 60px;
        padding: 0 1rem;
        bottom: 10px;
    }
    
    .code-icon {
        width: 40px;
        height: 40px;
    }
    
    .code-icon i {
        font-size: 1.2rem;
    }
    
    .code-icon::after {
        display: none;
    }
    
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .profile-image-wrapper {
        max-width: 250px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }
    
    .about-text-full {
        padding: 1.5rem;
    }
    
    .about-text-full p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .detail-card {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .detail-card i {
        font-size: 1.5rem;
    }
    
    .detail-card h4 {
        font-size: 0.9rem;
    }
    
    .detail-card span {
        font-size: 0.85rem;
    }
    
    .contact-form,
    .project-info {
        padding: 1.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .floating-icons {
        justify-content: space-between;
        height: 50px;
        padding: 0 0.5rem;
    }
    
    .code-icon {
        width: 35px;
        height: 35px;
    }
    
    .code-icon i {
        font-size: 1rem;
    }
}

/* ==================== Project Detail Page ==================== */
/* ADD THIS NEW CODE TO THE END OF YOUR STYLE.CSS FILE */

.project-detail {
    padding: 140px 20px 80px; /* Adds spacing at the top and bottom */
    position: relative;
    z-index: 2;
}

.project-detail .container {
    max-width: 900px; /* Stops content from being too wide */
    margin: 0 auto;
}

.project-header {
    text-align: center;
    margin-bottom: 3rem;
}

.project-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.project-meta .tag {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 600;
    margin: 0 0.25rem;
}

/* Spacing for all the boxes */
.project-content .glow-box {
    margin-bottom: 2rem;
    padding: 2rem;
}

/* Makes the banner image look good */
.project-banner {
    padding: 0 !important; /* Remove padding from image box */
    overflow: hidden; /* Keep rounded corners */
}

.project-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.project-features ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.project-features li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.project-tech .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.project-tech .tech-stack .tag {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* This makes your YouTube video responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Use the same button style from index.html */
.project-links .btn {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.project-links .glow-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.project-links .btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

/* ==================== Timeline Link Style ==================== */
.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan); /* Using your accent color */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem; /* Adds space above the link */
    transition: all 0.3s ease;
}

.timeline-link:hover {
    color: var(--primary-green); /* Glows green on hover */
    gap: 0.7rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.timeline-link i {
    font-size: 1.1rem;
}