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

/* Background Video */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

body {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-image: none;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    background-color: rgba(10, 10, 20, 0.35);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e63946;
}

/* Red accent active indicator */
.nav-menu a:hover {
    color: #e63946;
    text-shadow: 0 0 12px rgba(230, 57, 70, 0.5);
}

/* Hero Section */
.hero {
    background-color: transparent;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px) brightness(1.1);
    -webkit-backdrop-filter: blur(20px) brightness(1.1);
    position: relative;
    z-index: 10;
    min-height: 100vh;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}


.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 20;
}

.hero-content {
    z-index: 30;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 0;
}

.hero-title {
    font-size: 160px;
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 6px;
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.7),
        0 0 80px rgba(180, 210, 255, 0.4);
    transition: transform 0.35s ease, text-shadow 0.35s ease;
    display: inline-block;
}

.hero-title:hover {
    transform: scale(1.06);
    text-shadow:
        0 0 40px rgba(255, 255, 255, 1.0),
        0 0 100px rgba(180, 210, 255, 0.8),
        0 0 160px rgba(150, 190, 255, 0.4);
}

.hero-subtitle {
    transition: text-shadow 0.35s ease;
}

.hero-subtitle:hover {
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 50px rgba(180, 210, 255, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.35s ease;
}

.hero-subtitle:hover {
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 50px rgba(180, 210, 255, 0.5);
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    color: #fff;
    line-height: 1.8;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero-description:hover {
    transform: scale(1.04);
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 14px 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.12s, border-color 0.3s, color 0.2s;
    backdrop-filter: blur(10px);
    font-family: 'Bebas Neue', monospace;
}

.cta-button:hover {
    background-color: #e63946;
    border-color: #e63946;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}

#canvas-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    pointer-events: none;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section.alt {
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
}

/* Bracketed section label — small monospace tag above h2 */
.section-label {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Section h2 — editorial, huge, bold */
.section h2 {
    font-size: 80px;
    font-weight: 900;
    margin-bottom: 50px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 0.9;
    display: block;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.section h2:hover {
    transform: skewX(-2deg) scale(1.01);
}

/* Scrolling GG marquee divider between sections */
.marquee-divider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.marquee-track span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Projects Section — full screen */
#projects {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#projects .container {
    width: 100%;
}

/* Projects List (single glass box) */
.projects-list {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;

    /* Glass styling moved up to container */
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    /* Align left */
    text-align: left;
}

.project-item {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: transparent;
    /* Remove background */
    padding: 0;
    /* Remove padding */
    border: none;
    /* Remove border */
    box-shadow: none;
    /* Remove shadow */
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.project-item:hover {
    color: #e63946;
    transform: translateX(10px);
    background: transparent;
    box-shadow: none;
    border-color: transparent;
}


/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.project-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    display: inline-block;
    transition: transform 0.3s ease;
}

.project-card h3:hover {
    transform: scale(1.06);
}

.project-card p {
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
}

/* About Section */
.about-text {
    font-size: 16px;
    max-width: 800px;
    line-height: 1.9;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
}

/* ── Shared video band — spans Projects + About Me ─────────────────────────── */
.video-band {
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* The looping video fills the entire band */
.band-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Dark + blur overlay on top of video, behind content */
.band-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Sections inside the band sit above the overlay */
.video-band .section {
    position: relative;
    z-index: 2;
    background-color: transparent !important;
    backdrop-filter: none !important;
}

/* About section — video background */
.about-section {
    padding-top: 240px;
    padding-bottom: 240px;
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
    backdrop-filter: none !important;
}

.about-bg-video {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.about-video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.video-band .container {
    position: relative;
    z-index: 2;
}


#skills {
    scroll-margin-top: 100px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    display: inline-block;
    transition: transform 0.3s ease;
}

.skill-card h3:hover {
    transform: scale(1.06);
}

.skill-card p {
    font-size: 14px;
    color: #fff;
}

/* Experience List */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
}

.experience-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 3px solid #e63946;
    border-radius: 8px;
    padding: 30px 36px;
    backdrop-filter: blur(15px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.experience-card:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.13);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 20px;
}

.exp-company {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.exp-role {
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
}

.exp-tag {
    font-size: 10px;
    letter-spacing: 3px;
    color: #e63946;
    border: 1px solid #e63946;
    padding: 4px 12px;
    border-radius: 2px;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

.exp-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

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

.contact-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #fff;
    line-height: 1.8;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #666;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 56px;
        text-shadow:
            0 0 4px rgba(255,255,255,0.25),
            0 0 6px rgba(180,210,255,0.08);
        margin-bottom: 6px;
    }
    .hero-content {
        gap: 2px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .hero-subtitle {
        font-size: 11px;
        line-height: 1.05;
    }
    .hero-description {
        font-size: 10px;
        margin-bottom: 4px;
    }
    header.hero {
        padding: 10px 0 4px 0;
        min-height: unset;
    }
    .section {
        padding: 18px 0;
    }
    .section-label {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 3px;
    }
    .section h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .project-item, .about-text, .exp-desc, .skill-card p, .contact-content p, .exp-role, .exp-company {
        font-size: 12px;
        margin-bottom: 2px;
    }
    .container {
        padding: 0 10px;
    }
    .about-section {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        margin-top: -4px;
    }
    .about-text {
        padding: 10px;
    }
    .experience-list, .skills-grid {
        gap: 6px;
    }
    .contact-info p {
        font-size: 11px;
    }
    footer {
        padding: 10px 0;
        font-size: 11px;
    }
    /* Center nav text inside brackets */
    .nav-menu li a {
        display: inline-block;
        text-align: center;
        padding: 0 4px;
        font-family: inherit;
    }
    .hero-content {
        gap: unset;
        padding-top: unset;
        padding-bottom: unset;
    }
    .hero-description {
        font-size: unset;
        margin-bottom: unset;
    }
    header.hero {
        padding: unset;
        min-height: 100vh;
    }

    .video-band {
        padding: unset;
    }
    .band-bg-video {
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
        max-height: unset;
    }
    .projects-list {
        margin-bottom: unset;
    }
    .section-label {
        font-size: unset;
        margin-bottom: unset;
    }
    .section h2 {
        font-size: 36px;
        margin-bottom: unset;
    }
    .project-item {
        font-size: unset;
        margin-bottom: unset;
    }

    .about-section {
        padding-top: 240px !important;
        padding-bottom: 240px !important;
        margin-top: unset;
    }
    .about-bg-video {
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
        max-height: unset;
    }
    .about-section .container {
        padding-top: unset;
        padding-bottom: unset;
    }
    .about-text {
        font-size: 16px;
        padding: 30px;
        margin-top: unset;
    }
    .nav-menu {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 9px;
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

    /* Ensure videos stack vertically and fill width */
    .video-band,
    .about-section {
        display: block !important;
    }
    .video-band .section {
        padding: 12px 0 8px 0;
    }
    .band-bg-video,
    .about-bg-video {
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
        position: static !important;
        transform: none !important;
        margin: 0 auto;
        display: block;
    }
    /* Center nav text inside brackets */
    .nav-menu li a {
        display: inline-block;
        text-align: left;
        padding: 0 4px;
        font-family: inherit;
    }
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
}

.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

/* Copy Email glow flash */
@keyframes btnGlowFlash {
    0% {
        box-shadow: 0 0 0px rgba(255, 255, 255, 0);
        background-color: rgba(255, 255, 255, 0.2);
    }

    30% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.9), 0 0 80px rgba(180, 210, 255, 0.6);
        background-color: rgba(255, 255, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 0px rgba(255, 255, 255, 0);
        background-color: rgba(255, 255, 255, 0.2);
    }
}

.btn-flash {
    animation: btnGlowFlash 1.8s ease-out forwards;
}

/* Hero entrance animation */
.hero-anim-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.hero-anim-in {
    animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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