@import url("https://fonts.googleapis.com/css2?family=Secular+One&family=Source+Code+Pro:wght@400;600;700&family=Raleway:wght@300;500;800&display=swap");

:root {
    --neon-cyan: #00ffdd;
    --neon-blue: #00aaff;
    --dark-bg: #030014;
    --glass-bg: rgba(10, 10, 20, 0.65);
    --glass-border: rgba(0, 255, 221, 0.3);
    --text-white: #e0e0e0;
    --text-dim: #a0a0a0;
    --text-shadow: rgba(0, 255, 221, 0.4);
}

/* --- NEON SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
    box-shadow: 0 0 20px #fff;
}

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

html {
    height: 100%;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) var(--dark-bg);
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: "Source Code Pro", monospace;
    cursor: url("images/cursor/cyn.cur"), auto;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

::selection {
    background: var(--neon-cyan);
    color: #000;
}

a,
button,
.clickable {
    cursor: url("images/cursor/alsel.cur"), pointer;
}



canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    color: var(--neon-cyan);
    font-size: 36px;
    /* Reduced from 42px */
    font-weight: 700;
    /* Much subtler glow/shadow for headings */
    text-shadow: 0 0 1px var(--text-shadow);
    margin-bottom: 25px;
}

p {
    text-align: justify;
    font-family: "Source Code Pro", monospace;
    color: #d0d0d0;
    /* Slightly brighter for contrast */
    font-size: 16px;
    line-height: 1.7;
    /* Increased spacing */
}

.background-parallax {
    background: linear-gradient(rgba(3, 0, 20, 0.8), rgba(0, 0, 0, 0.616)),
        url("https://images.unsplash.com/photo-1568607689150-17e625c1586e");
    /* Cyberpunk city background updated */
    position: fixed;
    top: -25vh;
    left: -25%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 150vh;
    width: 150%;
    z-index: -1;
    /* Zoom Out Effect (Static) */
    animation: bgZoomOutStatic 2.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* Grid Overlay for tactical feel */
/* Grid Overlay for tactical feel */
.parallax-grid {
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    /* Minimalist Base: Barely visible texture */
    background-image: linear-gradient(rgba(0, 255, 221, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 221, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    z-index: -1;
    transform: translateX(0) translateY(0);
    animation: gridDrift 60s linear infinite;
}

/* Thicker Grid Layer (Revealed by Mouse) */
.parallax-grid.grid-thick {
    /* Minimalist Highlight: Clean, sharp lines, no bloom */
    background-image:
        linear-gradient(rgba(0, 255, 221, 0.5) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 255, 221, 0.5) 1.5px, transparent 1.5px);
    background-size: 56px 56px;
    /* Must match base grid */

    /* Spotlight Mask */
    mask-image: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);

    /* Clean Blend, No Glow */
    mix-blend-mode: screen;

    /* Ensure it overlays correctly */
    z-index: -1;
    opacity: 0.8;
}

@keyframes gridDrift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1022px 1022px;
    }
}

/* Animated Background Toggle State */
/* Animated Background Toggle State */
html.animated-bg {
    --neon-cyan: #e066ff;
    /* Lighter Purple */
    --neon-blue: #ff00ea;
    /* Pinkish Purple */
    --glass-border: rgba(224, 102, 255, 0.3);
    --text-shadow: rgba(224, 102, 255, 0.4);
}

/* Override Gradient Text for "Haseeb" in Animated Mode */
html.animated-bg .reveal-text {
    background: linear-gradient(to right, #ffffff, #ff00ea);
    -webkit-background-clip: text;
    background-clip: text;
}

html.animated-bg .background-parallax {
    background: linear-gradient(rgba(20, 0, 20, 0.6), rgba(0, 0, 0, 0.5)),
        url("https://mir-s3-cdn-cf.behance.net/project_modules/fs/9bc27292880429.5e569ff84e4d0.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* Zoom Out Effect */
    animation: bgZoomOut 2.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* Grid Theme Override for Animated Mode (Purple) */
/* Grid Theme Override for Animated Mode (Purple) */
html.animated-bg .parallax-grid {
    background-image:
        linear-gradient(rgba(224, 102, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(224, 102, 255, 0.08) 1px, transparent 1px);
}

html.animated-bg .parallax-grid.grid-thick {
    background-image:
        linear-gradient(rgba(224, 102, 255, 0.5) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(224, 102, 255, 0.5) 1.5px, transparent 1.5px);
}

@keyframes bgZoomOut {
    0% {
        scale: 1.4;
        filter: blur(10px);
    }

    100% {
        scale: 1;
        filter: blur(0px);
    }
}

@keyframes bgZoomOutStatic {
    0% {
        scale: 1.4;
        filter: blur(10px);
    }

    100% {
        scale: 1;
        filter: blur(0px);
    }
}

/* Background Toggle Button (Fixed Top Right) */
.bg-toggle-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    background: rgba(3, 0, 20, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    /* Above navbar (z-index 100) */
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 15px rgba(0, 255, 221, 0.3);
    cursor: pointer;
}

/* Override active state */
html.animated-bg .bg-toggle-btn {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.bg-toggle-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 255, 221, 0.1);
}

.bg-toggle-btn:active {
    transform: scale(0.95);
}

/* Specific styling for SVG icons */
.bg-icon {
    width: 24px;
    height: 24px;
    color: var(--neon-cyan);
    transition: all 0.3s ease;
}

.bg-toggle-btn:hover .bg-icon {
    transform: rotate(15deg);
    color: #fff;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.bg-toggle-btn .icon-animated {
    display: none;
}

/* Toggle Logic */
body.animated-bg .bg-toggle-btn {
    border-color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

body.animated-bg .bg-toggle-btn .icon-static {
    display: none;
}

body.animated-bg .bg-toggle-btn .icon-animated {
    display: block;
    color: #ff6b6b;
    animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px #ff6b6b);
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px #ff6b6b);
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px #ff6b6b);
    }
}

/* --- CINEMATIC OVERLAY (Grain + Vignette) --- */
#cinematic-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.4;
    /* Lighter overlay */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.19), rgba(0, 0, 0, 0.29)),
        radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.6) 100%);
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

/* --- GLITCH TRANSITION (PREMIUM) --- */
#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    display: none;
    /* Premium Blurring Effect */
    backdrop-filter: blur(0px);
    background: rgba(255, 255, 255, 0);
}

html.glitching #transition-overlay {
    display: block;
    animation: cinematicFlash 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

html.glitching body {
    /* Apply warp to body when html is glitching */
    animation: cinematicWarp 1.2s cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes cinematicFlash {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    40% {
        opacity: 1;
        background: rgba(20, 0, 30, 0.4);
        /* Dark cinematic tint */
        backdrop-filter: blur(20px);
        /* Deep blur */
    }

    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

@keyframes cinematicWarp {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.05);
        /* Gentle zoom in */
        filter: brightness(1.2) saturate(1.2);
        /* Slight bloom */
    }

    100% {
        transform: scale(1);
        filter: brightness(1) saturate(1);
    }
}


/* --- NAVIGATION --- */
.nav-cont {
    transition: background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    background-color: transparent;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: none;
    border-bottom: 1px solid transparent;
}

.nav-cont.scrolled {
    background-color: rgba(3, 0, 20, 0.85);
    /* Darker BG for readability */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 255, 221, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 12px 20px;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

nav ul {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 35px;
    display: inline-block;
    position: relative;
}

nav a {
    font-family: "Source Code Pro", monospace;
    font-size: 24px;
    /* Restored larger size */
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 5px 0;
    display: block;
}

nav a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 221, 0.5);
}

/* Classic sliding underline effect */
nav ul li::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--neon-cyan);
    transform-origin: bottom right;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px var(--neon-cyan);
}

nav ul li:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-title {
    font-size: 8rem;
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reveal-text {
    display: block;
    background: linear-gradient(to right, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(100px);
    animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    white-space: nowrap;
    /* Prevent jitter line wrapping */
}

.reveal-text:nth-child(2) {
    color: var(--neon-cyan);
    background: none;
    text-shadow: 0 0 20px var(--text-shadow);
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-family: "Source Code Pro", monospace;
    font-size: 1.2rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out 0.8s forwards;
}

.typewriter-container {
    margin-top: 1rem;
    font-family: "Source Code Pro", monospace;
    font-size: 1.5rem;
    color: var(--neon-cyan);
    min-height: 1.5em;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

#typed-text {
    text-shadow: 0 0 10px rgba(0, 255, 221, 0.3);
}

.cursor {
    display: inline-block;
    color: var(--text-white);
    animation: blink 1s step-end infinite;
    font-weight: 200;
    margin-left: 2px;
}

/* Animations */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --- SITE-WIDE ANIMATIONS --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Stagger Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

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

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--neon-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.arrow-scroll span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-dim);
    border-right: 2px solid var(--text-dim);
    transform: rotate(45deg);
    margin: -5px;
    animation: arrow 2s infinite;
}

.arrow-scroll span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow-scroll span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* --- CARDS & CONTAINERS --- */
.card-cont {
    max-width: 1100px;
    margin: 40px auto;
    /* Darker, cleaner background */
    background: rgba(9, 13, 31, 0.251);
    /* Subtle border */
    border: 1px solid rgba(0, 255, 221, 0);
    border-radius: 48px;
    backdrop-filter: blur(24px);
    /* Softer shadow */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.582);
    padding: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-cont.show {
    opacity: 1;
    transform: translateY(0);
}

/* Remove borders from all cards within card-cont */
.card-cont .skill-card,
.card-cont .project-card,
.card-cont .cert-card,
.card-cont .edu-card,
.card-cont .leader-card,
.card-cont .timeline-content,
.card-cont .contact-card {
    border: none;
    background-color: #0000002a;
}

.card h1 {
    border-bottom: 2px solid var(--neon-cyan);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 40px;
    width: 100%;
}

/* --- BANNER (Intro) --- */
/* --- BANNER (Intro) --- */
.banner {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px;
}

.banner img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.banner img:hover {
    transform: scale(1.05) rotate(3deg);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
    filter: brightness(1.1);
}

.banner-txt {
    flex: 1;
}

.banner-txt h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--neon-cyan);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
    letter-spacing: -1px;
    text-transform: none;
    border: none;
}

.banner-txt p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.banner-txt p:last-of-type {
    margin-bottom: 30px;
}

/* Enhancing Social Icons in Banner */
.banner-txt .socials {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.banner-txt .socials a img {
    width: 40px;
    height: 40px;
    filter: invert(0.6);
    transition: all 0.3s ease;
}

.banner-txt .socials a:hover img {
    filter: invert(1) drop-shadow(0 0 8px var(--neon-cyan)) drop-shadow(0 0 15px var(--neon-cyan));
    transform: scale(1.2) translateY(-3px);
}

@media (max-width: 900px) {
    .banner {
        flex-direction: column;
        text-align: center;
    }

    .banner img {
        width: 200px;
        height: 200px;
    }

    .banner-txt .socials {
        justify-content: center;
    }
}


/* --- EXPERIENCE ITEMS --- */
.exp-cont {
    display: flex;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.exp-cont::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--neon-cyan);
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-cont:hover {
    transform: translateX(10px) translateY(-5px);
    background: rgba(0, 255, 221, 0.05);
    /* subtle cyan tint */
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 221, 0.1);
    /* glow */
}

.exp-cont:hover::before {
    opacity: 1;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.exp-cont img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    background: #000000;
    padding: 5px;
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-cont:hover img {
    border-color: var(--neon-cyan);
    transform: scale(1.1) rotate(5deg);
}

.exp {
    flex: 1;
}

.exp h3 {
    color: var(--neon-cyan);
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.exp h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-weight: 500;
    font-size: 1.1rem;
}

/* --- SKILLS GRID --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.skill-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--neon-cyan);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 20, 40, 0.6);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 221, 0.05);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 8px rgba(0, 255, 221, 0.3));
}

.skill-card h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--neon-cyan);
    letter-spacing: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tags span {
    font-family: "Source Code Pro", monospace;
    font-size: 0.9rem;
    color: #cecece;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tags span:hover {
    color: #000;
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 221, 0.6);
    font-weight: 600;
    transform: scale(1.05);
}



/* --- CERTIFICATIONS GRID --- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 20, 40, 0.6);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 221, 0.05);
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cert-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #000;
    border-radius: 50%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.cert-card:hover .cert-logo {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--neon-cyan);
}

.cert-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    font-weight: 700;
}

.cert-info h4 {
    margin: 5px 0;
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 500;
}

.cert-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: "Source Code Pro", monospace;
}

.cert-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.verify-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: transparent;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-family: "Source Code Pro", monospace;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.verify-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 221, 0.4);
    transform: scale(1.05);
}





/* --- EXPERIENCE TIMELINE --- */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 0;
}

/* Vertical Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 28px;
    /* Start at first dot (padding + dot center) */
    bottom: 28px;
    /* End at last dot - matches top offset since last item has no margin-bottom */
    left: 20px;
    /* Adjust for mobile/desktop */
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 50px;
}

/* Dot on the line */
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    left: 12px;
    top: 0;
    background: var(--dark-bg);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 221, 0.5);
}

.timeline-item:hover .timeline-dot {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 221, 0.8);
    transform: scale(1.2);
}

.timeline-date {
    display: inline-block;
    color: var(--neon-cyan);
    font-family: "Source Code Pro", monospace;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.timeline-content:hover {
    transform: translateX(10px);
    background: rgba(15, 20, 40, 0.6);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.timeline-header img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.timeline-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-white);
}

.timeline-header h4 {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: normal;
}

.timeline-content p,
.timeline-content ul {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.timeline-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.timeline-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.timeline-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
}





/* --- PROJECTS GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 20, 40, 0.7);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 221, 0.05);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--neon-cyan);
}

.project-year {
    font-family: "Source Code Pro", monospace;
    font-size: 0.85rem;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.project-card h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 500;
}

.project-card p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.project-tech span {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    background: rgba(0, 255, 221, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 221, 0.1);
    font-family: "Source Code Pro", monospace;
    transition: all 0.3s ease;
}

.project-card:hover .project-tech span {
    background: rgba(0, 255, 221, 0.1);
    border-color: rgba(0, 255, 221, 0.3);
}

.project-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.action-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 221, 0.3);
}

.action-btn img {
    width: 20px;
    height: 20px;
    filter: invert(1);
    transition: filter 0.3s ease;
}

.action-btn:hover img {
    filter: invert(0);
}

.action-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
}

.action-btn.disabled:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}





/* --- LEADERSHIP GRID --- */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.leader-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.leader-card.full-width {
    grid-column: 1 / -1;
}

.leader-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 20, 40, 0.7);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.leader-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.leader-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.leader-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--neon-cyan);
}

.leader-header h4 {
    margin: 5px 0 0 0;
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 500;
}

.leader-date {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: "Source Code Pro", monospace;
}

.leader-body ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.leader-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

.leader-body ul li::before {
    content: "➢";
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    top: 3px;
}

.leader-body p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.leader-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.stat-box {
    background: rgba(0, 255, 221, 0.05);
    border: 1px solid rgba(0, 255, 221, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--neon-cyan);
    font-family: "Source Code Pro", monospace;
}

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




/* --- EDUCATION GRID --- */
.education-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.edu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.edu-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 20, 40, 0.7);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.edu-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.edu-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 5px;
}

.edu-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-white);
}

.edu-header h4 {
    margin: 5px 0 0 0;
    font-size: 1rem;
    color: var(--neon-cyan);
    font-weight: 500;
}

.edu-date {
    display: inline-block;
    background: rgba(0, 255, 221, 0.05);
    color: var(--neon-cyan);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: "Source Code Pro", monospace;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 221, 0.1);
}

.edu-body p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-pills span {
    font-size: 0.8rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.edu-card:hover .course-pills span {
    border-color: rgba(0, 255, 221, 0.2);
    color: var(--text-white);
}




/* --- FOOTER AREA --- */
.footer-area {
    margin-top: 50px;
    padding-bottom: 30px;
}

/* CTA Section */
/* CTA Section */
/* CTA Section */
.cta-section {
    max-width: 850px;
    margin: 0 auto 50px;
    position: relative;
    background: rgba(5, 5, 10, 0.6);
    border: 1px solid rgba(0, 255, 221, 0.15);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

/* Ambient Glow Animation */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 221, 0.08) 0%, transparent 60%);
    animation: rotateGlow 10s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-section:hover {
    border-color: rgba(0, 255, 221, 0.4);
    box-shadow: 0 0 60px rgba(0, 255, 221, 0.15);
    transform: translateY(-5px);
}

.cta-content {
    background: transparent;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    background: linear-gradient(135deg, #fff 30%, var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(0, 255, 221, 0.2);
}

.cta-content p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-weight: 300;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--neon-cyan);
    color: #000;
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 25px rgba(0, 255, 221, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: 0.5s;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 221, 0.7);
    color: #000;
    background: #fff;
}

.cta-btn:hover::after {
    left: 100%;
}

/* Contact Card */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-card .title {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.contact-card .subtitle {
    color: var(--text-dim);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

/* Fallback for gap if needed */
.form-row .input-group:first-child {
    margin-right: 10px;
}

.form-row .input-group:last-child {
    margin-left: 10px;
}

.form-row .input-group {
    flex: 1;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--neon-cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 221, 0.1);
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-dim);
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--neon-cyan);
    background: var(--dark-bg);
    padding: 0 5px;
}

.submit-btn {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--neon-cyan);
    color: #000;
}

/* Footer Socials */
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 20px;
}

.f-social-icon img {
    width: 25px;
    filter: invert(0.6);
    transition: all 0.3s ease;
}

.f-social-icon:hover img {
    filter: invert(1);
    transform: scale(1.2) rotate(5deg);
}

.copyright {
    color: var(--text-dim);
    font-size: 0.85rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

.socials {
    margin-top: 20px;
}

.socials a img {
    width: 48px;
    height: 48px;
    /* Enforce square aspect ratio */
    margin-right: 20px;
    filter: invert(1) brightness(2);
    mix-blend-mode: screen;
    /* Knocks out black background from inversion */
    background: transparent;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    object-fit: contain;
    /* Prevent stretching */
    background-color: #00000000;
}

.socials a img:hover {
    filter: drop-shadow(0 0 8px var(--neon-cyan));
    transform: scale(1.2);
}


/* --- BUTTONS --- */
.resume-button,
.submit-btn {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    padding: 12px 30px;
    font-family: "Source Code Pro", monospace;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: url("images/cursor/alsel.cur"), pointer;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 10px rgba(0, 255, 221, 0.2) inset;
    text-decoration: none;
    display: inline-block;
}

.resume-button:hover,
.submit-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: scale(1.05);
}


/* --- FORM LAYOUT & GRID --- */
.row {
    margin: -20px 0;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

.col {
    padding: 0 20px;
    float: left;
    box-sizing: border-box;
}

.col.x-50 {
    width: 50%;
}

.col.x-100 {
    width: 100%;
}

@media (max-width: 768px) {
    .col.x-50 {
        width: 100%;
    }
}

/* --- CONTACT FORM --- */
.contact-form .form-field {
    position: relative;
    margin: 32px 0;
}

.input-text {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: block;
    width: 100%;
    height: 36px;
    font-family: "Source Code Pro", monospace;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 0;
}

.input-text:focus {
    border-bottom-color: var(--neon-cyan);
    outline: none;
    box-shadow: 0 10px 10px -10px rgba(0, 255, 221, 0.2);
}

.label {
    position: absolute;
    left: 0;
    bottom: 11px;
    font-family: "Source Code Pro", monospace;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: var(--text-dim);
    cursor: text;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
    pointer-events: none;
}

.input-text:focus+.label,
.input-text.not-empty+.label {
    transform: translateY(-24px);
    color: var(--neon-cyan);
    font-size: 14px;
}

.submit-btn {
    margin-top: 20px;
    width: 100%;
    background: rgba(0, 255, 221, 0.1);
}


/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .banner,
    .exp-cont {
        flex-direction: column;
        text-align: center;
    }

    .exp-cont::before {
        width: 100%;
        height: 3px;
    }

    .nav-cont {
        top: auto;
        bottom: 20px;
        /* Floating bottom nav for mobile */
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .card-cont {
        padding: 20px;
        margin: 20px 10px;
    }
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    color: var(--text-dim);
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

/* --- SCROLL TO TOP --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--glass-bg);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 24px;
    cursor: pointer;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 10px rgba(0, 255, 221, 0.2);
}

.scroll-to-top:hover {
    background-color: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 255, 221, 0.6);
    transform: translateY(-5px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 221, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(0, 255, 221, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 221, 0.4);
    }
}

@keyframes load {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

/* ========================================
   CIALDINI PERSUASION ELEMENTS
   ======================================== */

/* --- SCARCITY: Availability Badge --- */
.availability-badge,
.scarcity-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.4);
    border-radius: 50px;
    font-family: "Source Code Pro", monospace;
    font-size: 0.9rem;
    color: #00ff64;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #00ff64;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
    box-shadow: 0 0 10px #00ff64;
}

@keyframes pulse-green {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* --- AUTHORITY: Credentials Bar --- */
.authority-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.auth-badge {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    font-family: "Source Code Pro", monospace;
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.auth-badge:hover {
    background: rgba(0, 255, 221, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
}

/* --- LIKING: Passion Statement --- */
.passion-statement {
    font-size: 1.1rem;
    color: var(--neon-cyan);
    border-left: 3px solid var(--neon-cyan);
    padding-left: 20px;
    margin: 20px 0;
    background: rgba(0, 255, 221, 0.05);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
}

.passion-statement em {
    font-style: normal;
}

.interests {
    color: var(--text-dim);
    font-style: italic;
}

/* --- RECIPROCITY: Free Resource CTA --- */
.reciprocity-cta {
    margin-top: 25px;
}

.free-resource-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, rgba(0, 255, 221, 0.15), rgba(0, 170, 255, 0.15));
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
    color: var(--neon-cyan);
    font-family: "Source Code Pro", monospace;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.free-resource-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 221, 0.2), transparent);
    transition: left 0.5s ease;
}

.free-resource-btn:hover::before {
    left: 100%;
}

.free-resource-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 255, 221, 0.5);
    transform: translateY(-3px);
}

.free-resource-btn .icon {
    font-size: 1.2rem;
}

/* --- SOCIAL PROOF: Impact Stats --- */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #0000002a;
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-family: "Raleway", sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--neon-cyan);
    display: inline;
}

.stat-suffix {
    font-family: "Raleway", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-cyan);
}

.stat-desc {
    display: block;
    font-family: "Source Code Pro", monospace;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 10px;
}

/* --- SOCIAL PROOF: Testimonials --- */
.testimonials-section {
    margin: 50px 0;
}

.testimonials-section h2 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 30px;
    text-transform: none;
    letter-spacing: 0;
}

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

.testimonial-card {
    background: #0000002a;
    border: none;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 255, 221, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 221, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
}

.author-title {
    font-family: "Source Code Pro", monospace;
    font-size: 0.85rem;
    color: var(--neon-cyan);
}

/* --- SOCIAL PROOF: Trust Badges --- */
.trust-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-label {
    font-family: "Source Code Pro", monospace;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    filter: grayscale(50%);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.trust-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- COMMITMENT: Newsletter Signup --- */
.newsletter-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 221, 0.05), rgba(0, 170, 255, 0.05));
    border: 1px solid rgba(0, 255, 221, 0.2);
    border-radius: 25px;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 10px;
    text-transform: none;
}

.newsletter-content p {
    color: var(--text-dim);
    margin-bottom: 25px;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    color: var(--text-white);
    font-family: "Source Code Pro", monospace;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 221, 0.2);
}

.newsletter-btn {
    padding: 15px 35px;
    background: var(--neon-cyan);
    border: none;
    border-radius: 30px;
    color: #000;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 255, 221, 0.5);
    transform: translateY(-2px);
}

.newsletter-note {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* --- SCARCITY: Enhanced CTA --- */
.cta-subtext {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn.primary {
    background: var(--neon-cyan);
    color: #000;
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.cta-btn.secondary:hover {
    background: var(--neon-cyan);
    color: #000;
}

.availability-note {
    font-family: "Source Code Pro", monospace;
    font-size: 0.9rem;
    color: #00ff64;
    margin-bottom: 25px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .authority-badges {
        gap: 10px;
    }

    .auth-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .trust-logos {
        gap: 25px;
    }

    .trust-badge {
        width: 60px;
        height: 60px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }
}