/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #07110d;
    color: #e8f5ee;
    line-height: 1.6;
}

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

button,
input,
textarea {
    font-family: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {
    --bg: #07110d;
    --bg2: #0a1712;
    --card: #0d1d16;
    --border: #19372a;

    --green: #00ff88;
    --green-dark: #00c96a;

    --text: #e8f5ee;
    --muted: #8ba397;

    --blue: #57a6ff;
    --purple: #c084fc;
    --yellow: #facc15;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(7, 17, 13, 0.92);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);

    z-index: 1000;
}

.logo,
.footer-logo {
    font-family: "Space Grotesk", sans-serif;

    font-size: 25px;
    font-weight: 700;

    color: white;
}

.logo span,
.footer-logo span {
    color: var(--green);
}

.navbar nav {
    display: flex;
    gap: 32px;
}

.navbar nav a {
    color: var(--muted);

    font-size: 14px;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--green);
}

.menu-btn {
    display: none;

    border: none;

    background: none;

    color: var(--green);

    font-size: 24px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 60px;

    padding: 120px 8% 80px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(0, 255, 136, 0.08),
            transparent 30%
        );
}

.intro {
    color: var(--muted);

    font-family: monospace;

    font-size: 17px;

    margin-bottom: 15px;
}

.green {
    color: var(--green);
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(55px, 8vw, 100px);

    line-height: 1;

    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--green);
}

.hero h2 {
    color: #c4d6cd;

    font-size: clamp(18px, 2vw, 25px);

    font-weight: 500;

    margin-bottom: 25px;
}

.hero h2 span {
    color: var(--green);
}

.hero-description {
    max-width: 650px;

    color: var(--muted);

    font-size: 17px;

    margin-bottom: 35px;
}


/* BUTTONS */

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 6px;

    font-weight: 600;

    transition: 0.3s;

    cursor: pointer;
}

.btn.primary {
    background: var(--green);

    color: #001b0e;
}

.btn.primary:hover {
    background: #52ffad;

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.btn.secondary {
    border: 1px solid var(--green);

    color: var(--green);
}

.btn.secondary:hover {
    background: rgba(0, 255, 136, 0.08);

    transform: translateY(-3px);
}


/* =====================================
   PREMIUM SOCIAL MEDIA ANIMATION
===================================== */

.social-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
}

.social-links a {
    --mag-x: 0px;
    --mag-y: 0px;

    position: relative;
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #8ba397;
    font-size: 23px;

    background: rgba(13, 29, 22, 0.65);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 50%;

    backdrop-filter: blur(10px);

    transform: translate3d(
        var(--mag-x),
        var(--mag-y),
        0
    );

    transition:
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(.2, .8, .2, 1);
}

/* Glowing outer ring */
.social-links a::before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid var(--green);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.7);
    transition: 0.35s ease;
    pointer-events: none;
}

/* Floating tooltip */
.social-links a::after {
    content: attr(data-tooltip);

    position: absolute;
    bottom: 62px;
    left: 50%;

    transform: translate(-50%, 10px) scale(0.85);

    padding: 7px 12px;

    background: #0d1d16;
    color: var(--green);

    border: 1px solid var(--border);
    border-radius: 6px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
    pointer-events: none;
}

/* Hover animation */
.social-links a:hover,
.social-links a:focus-visible {
    color: var(--green);

    background: rgba(0, 255, 136, 0.12);
    border-color: var(--green);

    transform:
        translate3d(
            var(--mag-x),
            calc(var(--mag-y) - 7px),
            0
        )
        scale(1.18);

    box-shadow:
        0 0 12px rgba(0, 255, 136, 0.35),
        0 0 30px rgba(0, 255, 136, 0.15);
}

.social-links a:hover::before,
.social-links a:focus-visible::before {
    opacity: 0.65;
    transform: scale(1);
}

.social-links a:hover::after,
.social-links a:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}

/* Icon movement */
.social-links a i {
    transition: transform 0.35s ease;
}

.social-links a:hover i {
    transform: rotate(8deg) scale(1.08);
}

/* Keyboard focus */
.social-links a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 5px;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    .social-links {
        gap: 18px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 21px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .social-links a,
    .social-links a::before,
    .social-links a::after,
    .social-links a i {
        transition: none !important;
    }
}

/* =========================
   TERMINAL
========================= */

.terminal {
    background: #030806;

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);

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

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

.terminal-header {
    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border-bottom: 1px solid #14261e;

    color: #788b82;

    font-family: monospace;
}

.dots {
    position: absolute;

    left: 15px;

    display: flex;

    gap: 6px;
}

.dots span {
    width: 11px;

    height: 11px;

    border-radius: 50%;

    background: #526158;
}

.terminal-body {
    padding: 28px;

    font-family: "Courier New", monospace;

    font-size: 14px;

    min-height: 320px;
}

.terminal-body p {
    margin-bottom: 15px;
}

.terminal-output {
    color: #c3d4ca;

    margin-left: 10px;
}

.blue {
    color: var(--blue);
}

.cursor {
    color: var(--green);

    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 110px 8%;
}

.dark-section {
    background: var(--bg2);

    border-top: 1px solid rgba(255, 255, 255, 0.02);

    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.section-title {
    margin-bottom: 55px;
}

.section-title p {
    color: var(--green);

    font-family: monospace;

    font-size: 14px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(35px, 5vw, 55px);
}


/* =========================
   ABOUT
========================= */

.about-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.about-text p {
    color: var(--muted);

    margin-bottom: 20px;

    font-size: 16px;
}

.about-text strong {
    color: #d8e7df;
}

.about-card {
    background: #030806;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 30px;

    font-family: monospace;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.code-line {
    margin: 10px 0;

    color: #d5e5dc;
}

.indent {
    padding-left: 30px;
}

.purple {
    color: var(--purple);
}

.yellow {
    color: var(--yellow);
}

.green-text {
    color: var(--green);
}
/* =====================================================
   EDUCATION
===================================================== */

.education-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =====================================================
   EDUCATION CARD
===================================================== */

.education-card {

    width: 100%;

    box-sizing: border-box;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 25px 25px;

    /* SAME BACKGROUND AS YOUR WEBSITE */
    background: var(--card);

    /* SAME BORDER AS YOUR WEBSITE */
    border: 1px solid var(--border);

    border-radius: 8px;

    transition: 0.3s ease;
}


/* Hover Effect */

.education-card:hover {

    border-color: var(--green);

    transform: translateY(-3px);

}


/* =====================================================
   LEFT SIDE
===================================================== */

.education-left {

    display: flex;

    align-items: center;

    gap: 20px;

}


/* Graduation Icon */

.education-icon {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--green);

    font-size: 22px;

}


/* =====================================================
   EDUCATION TEXT
===================================================== */

.education-info h3 {

    margin: 0 0 6px;

    color: var(--text);

    font-size: 19px;

    font-weight: 700;

}


.education-info h4 {

    margin: 0;

    color: var(--muted);

    font-size: 16px;

    font-weight: 400;

}


/* =====================================================
   RIGHT SIDE
===================================================== */

.education-right {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    margin-left: 30px;

    white-space: nowrap;

}


/* Year */

.education-right .date {

    color: var(--green);

    font-size: 15px;

    font-weight: 600;

}


/* CGPA / Percentage */

.education-right .cgpa {

    margin-top: 7px;

    color: var(--muted);

    font-size: 14px;

}


/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 750px) {

    .education-card {

        padding: 20px;

    }

    .education-left {

        gap: 12px;

    }

    .education-info h3 {

        font-size: 16px;

    }

    .education-info h4 {

        font-size: 13px;

    }

    .education-right {

        margin-left: 15px;

    }

    .education-right .date {

        font-size: 13px;

    }

    .education-right .cgpa {

        font-size: 12px;

    }

}


@media (max-width: 550px) {

    .education-card {

        align-items: flex-start;

    }

    .education-left {

        align-items: flex-start;

    }

    .education-icon {

        width: 30px;

        font-size: 18px;

    }

    .education-info h3 {

        font-size: 15px;

    }

    .education-info h4 {

        font-size: 12px;

        line-height: 1.5;

    }

    .education-right {

        margin-left: 10px;

    }

    .education-right .date {

        font-size: 12px;

    }

    .education-right .cgpa {

        font-size: 11px;

    }

}
/* =========================
   SKILLS
========================= */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* =========================
   SKILL CARD
========================= */

.skill-card {

    width: 100%;

    box-sizing: border-box;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 25px;

    transition: 0.3s ease;
}


/* Hover */

.skill-card:hover {

    transform: translateY(-4px);

    border-color: var(--green);

}


/* =========================
   SKILL ICON
========================= */

.skill-card > i {

    color: var(--green);

    font-size: 25px;

    margin-bottom: 18px;

}


/* =========================
   SKILL TITLE
========================= */

.skill-card h3 {

    margin: 0 0 18px;

    color: var(--text);

    font-size: 19px;

    font-weight: 700;

}


/* =========================
   SKILL TAGS
========================= */

.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}


.skill-tags span {

    padding: 6px 10px;

    background: #10251b;

    border: 1px solid #1c4030;

    color: #a7bdb1;

    border-radius: 4px;

    font-size: 12px;

    transition: 0.3s ease;
}


/* Tag Hover */

.skill-tags span:hover {

    color: var(--green);

    border-color: var(--green);

    background: rgba(0, 255, 136, 0.05);

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .skills-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 550px) {

    .skills-grid {

        grid-template-columns: 1fr;

    }

    .skill-card {

        padding: 22px;

    }

    .skill-card h3 {

        font-size: 17px;

    }

}
/* =========================
   PROJECTS
========================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.project-card {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 30px;

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-7px);

    border-color: var(--green);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.project-top {
    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;
}

.folder {
    color: var(--green);

    font-size: 32px;
}

.project-link {
    color: var(--muted);

    margin-left: 15px;

    transition: 0.3s;
}

.project-link:hover {
    color: var(--green);
}

.project-card h3 {
    font-size: 24px;

    margin-bottom: 15px;
}

.project-card > p {
    color: var(--muted);

    margin-bottom: 15px;
}

.role {
    font-size: 14px;
}

.role strong {
    color: #dcebe3;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.project-event {
    color: var(--green);

    font-family: monospace;

    font-size: 12px;

    margin-top: 20px;
}


/* =========================
   EXPERIENCE
========================= */

.experience-container {
    max-width: 950px;

    margin: auto;
}

.experience-card {
    display: grid;

    grid-template-columns: 65px 1fr;

    gap: 25px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 28px;

    margin-bottom: 20px;

    transition: 0.3s;
}

.experience-card:hover {
    border-color: var(--green);
}

.experience-icon {
    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(0, 255, 136, 0.08);

    border: 1px solid var(--border);

    border-radius: 8px;

    color: var(--green);

    font-size: 22px;
}

.experience-card h3 {
    margin-bottom: 5px;
}

.experience-card h4 {
    color: var(--green);

    font-weight: 500;

    margin-bottom: 12px;
}

.experience-card p {
    color: var(--muted);
}


/* =========================
   ACHIEVEMENTS
========================= */

.achievement-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.achievement-card {
    text-align: center;

    background: var(--card);

    border: 1px solid var(--border);

    padding: 35px 20px;

    border-radius: 8px;

    transition: 0.3s;
}

.achievement-card:hover {
    border-color: var(--green);

    transform: translateY(-5px);
}

.achievement-card i {
    color: var(--green);

    font-size: 30px;

    margin-bottom: 20px;
}

.achievement-card h3 {
    margin-bottom: 8px;
}

.achievement-card p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   CYBER SECURITY
========================= */

.cyber-section {
    background:
        radial-gradient(
            circle at center,
            rgba(0, 255, 136, 0.07),
            transparent 45%
        );
}

.cyber-content {
    max-width: 1000px;

    margin: auto;

    text-align: center;
}

.cyber-content > p {
    color: var(--muted);

    max-width: 750px;

    margin: -25px auto 45px;
}

.cyber-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.cyber-grid div {
    padding: 25px 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: var(--card);
}

.cyber-grid i {
    color: var(--green);

    font-size: 25px;

    margin-bottom: 12px;
}

.cyber-grid h3 {
    font-size: 15px;
}

.career-goal {
    margin-top: 40px;

    padding: 25px;

    border: 1px solid var(--green);

    border-radius: 8px;
}

.career-goal span {
    color: var(--green);

    font-family: monospace;

    font-size: 13px;
}

.career-goal h3 {
    margin-top: 10px;

    font-size: 21px;
}

.career-goal i {
    color: var(--green);

    margin: 0 10px;
}


/* =========================
   CONTACT
========================= */

.contact-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    max-width: 1100px;

    margin: auto;
}

.contact-info > p {
    color: var(--muted);

    max-width: 500px;

    margin-bottom: 35px;
}

.contact-details > div {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;
}

.contact-details i {
    color: var(--green);

    font-size: 20px;

    width: 25px;
}

.contact-details span {
    color: var(--muted);

    font-size: 12px;
}

.contact-details p {
    color: #d6e5dd;

    font-size: 14px;
}


/* FORM */

.contact-form {
    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 8px;

    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: #c6d6ce;

    font-size: 13px;

    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    background: #07110d;

    border: 1px solid var(--border);

    color: white;

    padding: 13px;

    border-radius: 5px;

    outline: none;

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);

    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.05);
}


/* =========================
   FOOTER
========================= */

footer {
    text-align: center;

    padding: 50px 20px;

    border-top: 1px solid var(--border);

    background: #030806;
}

footer p {
    color: var(--muted);

    margin: 12px 0 20px;
}

.footer-social {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin-bottom: 20px;
}

.footer-social a {
    color: var(--muted);

    font-size: 20px;
}

.footer-social a:hover {
    color: var(--green);
}

footer small {
    color: #53675d;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

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

    .terminal {
        max-width: 700px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cyber-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 750px) {

    .navbar {
        padding: 0 5%;
    }

    .menu-btn {
        display: block;
    }

    .navbar nav {
        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        gap: 0;

        background: #07110d;

        border-bottom: 1px solid var(--border);
    }

    .navbar nav.active {
        display: flex;
    }

    .navbar nav a {
        padding: 15px 7%;

        border-bottom: 1px solid var(--border);
    }

    .hero {
        padding: 120px 6% 70px;
    }

    .section {
        padding: 80px 6%;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

}


@media (max-width: 550px) {

    .hero h1 {
        font-size: 55px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .skills-grid,
    .achievement-grid,
    .cyber-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        grid-template-columns: 1fr;
    }

    .terminal-body {
        padding: 20px;

        font-size: 12px;
    }

    .about-card {
        font-size: 12px;

        padding: 20px;
    }

}

/* Clickable contact links */
.contact-details a {
    color: inherit;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* =====================================
   CYBERSECURITY PORTFOLIO ANIMATIONS
===================================== */

/* Hero background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-content,
.photo-terminal-body {
    position: relative;
    z-index: 2;
}

/* Matrix canvas */
#matrixCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.16;
    pointer-events: none;
    z-index: 1;
}

/* Hero entrance animation */
.hero-content {
    animation: heroEntrance 1s ease both;
}

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile photo floating effect */
.profile-photo {
    animation: profileFloat 5s ease-in-out infinite,
               profileGlow 3s ease-in-out infinite alternate;
}

@keyframes profileFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes profileGlow {
    from {
        filter: drop-shadow(0 0 8px rgba(0,255,136,0.15));
    }
    to {
        filter: drop-shadow(0 0 24px rgba(0,255,136,0.4));
    }
}

/* Typing cursor */
#typed-role::after {
    content: "|";
    color: var(--green);
    animation: blink 0.7s infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Card entrance */
.skill-card,
.project-card,
.education-card,
.experience-card,
.achievement-card {
    transition: transform 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.skill-card:hover,
.project-card:hover,
.education-card:hover,
.experience-card:hover,
.achievement-card:hover {
    box-shadow: 0 12px 35px rgba(0,255,136,0.09);
}

/* Navbar animation */
.navbar {
    animation: navbarEntrance 0.8s ease both;
}

@keyframes navbarEntrance {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================
   PREMIUM INTERACTIVE EFFECTS
========================================= */

:root {
    --neon: #00ff88;
    --neon-soft: rgba(0,255,136,0.15);
}

/* PRELOADER */

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #030806;
    display: grid;
    place-items: center;
    transition: opacity .7s ease, visibility .7s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    width: min(300px, 80%);
    text-align: center;
}

.loader-logo {
    font: 700 30px "Space Grotesk";
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.loader-logo span {
    color: var(--neon);
}

.loader-line {
    height: 3px;
    background: #19372a;
    overflow: hidden;
}

.loader-line span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--neon);
    transform-origin: left;
    animation: loadProgress 1.8s ease forwards;
}

#loader-text {
    font: 11px monospace;
    color: var(--neon);
    margin-top: 15px;
    letter-spacing: 2px;
}

@keyframes loadProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* SCROLL PROGRESS */

#scroll-progress {
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--neon);
    box-shadow: 0 0 12px var(--neon);
}

/* CUSTOM CURSOR */

.custom-cursor,
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10002;
    border-radius: 50%;
    opacity: 0;
}

.custom-cursor {
    width: 7px;
    height: 7px;
    background: var(--neon);
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid var(--neon);
    transition: width .2s, height .2s, border-color .2s;
}

body.cursor-ready .custom-cursor,
body.cursor-ready .cursor-follower {
    opacity: 1;
}

/* INTERACTIVE SPOTLIGHT CARDS */

.skill-card,
.project-card,
.achievement-card,
.experience-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color .3s, box-shadow .3s;
}

.skill-card::before,
.project-card::before,
.achievement-card::before,
.experience-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0,255,136,.12),
        transparent 65%
    );
    transition: opacity .3s;
}

.skill-card:hover::before,
.project-card:hover::before,
.achievement-card:hover::before,
.experience-card:hover::before {
    opacity: 1;
}

/* MAGNETIC BUTTON */

.hero-buttons .btn,
.intern-apply {
    transition: transform .25s ease, box-shadow .3s;
    will-change: transform;
}

/* ACTIVE NAV LINK */

.navbar nav a.active {
    color: var(--neon);
    position: relative;
}

.navbar nav a.active::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
}

/* REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

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

/* SECTION IMAGE / PHOTO GLOW */

.profile-photo {
    transition: filter .4s ease;
}

.photo-terminal-body:hover .profile-photo {
    filter: drop-shadow(0 0 28px rgba(0,255,136,.4));
}

/* ACCESSIBILITY */

@media (hover: none), (max-width: 750px) {
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* Social media hover animation */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 8px;
    border-radius: 50%;
    color: #8ab4a5;
    font-size: 25px;
    transition: all 0.35s ease;
    position: relative;
}

/* Pop-out effect */
.social-links a:hover {
    color: #00ff88;
    transform: translateY(-10px) scale(1.3);
    background: rgba(0, 255, 136, 0.12);
    box-shadow:
        0 0 12px rgba(0, 255, 136, 0.5),
        0 0 25px rgba(0, 255, 136, 0.25);
}

/* Smooth icon animation */
.social-links a i {
    transition: transform 0.35s ease;
}

.social-links a:hover i {
    transform: rotate(8deg);
}

/* Keyboard accessibility */
.social-links a:focus-visible {
    outline: 2px solid #00ff88;
    outline-offset: 5px;
}

/* ==========================================
   NAV VATS — GLOBAL HOLOGRAPHIC THEME
========================================== */

:root {
    --bg: #050b0a;
    --bg2: #081310;
    --card: rgba(12, 29, 24, 0.78);
    --border: rgba(0, 255, 170, 0.17);

    --green: #00ffad;
    --green-dark: #00c98a;
    --cyan: #00d9ff;
    --purple: #a78bfa;

    --text: #eafff6;
    --muted: #91aaa0;

    --holo-shadow: 0 0 35px rgba(0, 255, 173, 0.10);
}

/* Main background */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background:
        radial-gradient(ellipse at 15% 15%, rgba(0,255,173,.09), transparent 32%),
        radial-gradient(ellipse at 85% 45%, rgba(0,217,255,.06), transparent 30%),
        #050b0a;

    color: var(--text);
    overflow-x: hidden;
}

/* Subtle digital grid */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(0,255,173,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,173,.035) 1px, transparent 1px);

    background-size: 55px 55px;

    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

/* Ambient light following the cursor */
#holo-light {
    position: fixed;
    width: 380px;
    height: 380px;
    left: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(0,255,173,.075),
        rgba(0,217,255,.025) 45%,
        transparent 70%
    );

    transform: translate(-50%, -50%);
    will-change: transform;
}

/* Navbar */
.navbar {
    background: rgba(5, 13, 11, .76);
    border-bottom: 1px solid rgba(0,255,173,.15);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 8px 35px rgba(0,0,0,.2);
}

.navbar nav a {
    position: relative;
    transition: color .3s ease;
}

.navbar nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--cyan));
    box-shadow: 0 0 12px var(--green);
    transition: width .3s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: var(--green);
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
    width: 100%;
}

/* Section backgrounds */
.section,
.hero {
    position: relative;
    isolation: isolate;
}

.section {
    background: transparent;
}

.dark-section {
    background: rgba(8, 19, 16, .52);
    border-top: 1px solid rgba(0,255,173,.07);
    border-bottom: 1px solid rgba(0,255,173,.07);
}

/* Section headings */
.section-title h2 {
    background: linear-gradient(
        100deg,
        #ffffff 10%,
        #a4ffe0 55%,
        #00d9ff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title p {
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero heading */
.hero h1 span {
    background: linear-gradient(110deg, #00ffad, #00d9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(0,255,173,.15));
}

.hero h2 span {
    color: var(--cyan);
}

.hero-description {
    line-height: 1.9;
}

/* Hero profile image */
.photo-terminal-body {
    position: relative;
    isolation: isolate;
}

.photo-terminal-body::before {
    content: "";
    position: absolute;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: -1;

    background: radial-gradient(
        circle,
        rgba(0,255,173,.17),
        rgba(0,217,255,.06) 45%,
        transparent 70%
    );

    animation: holoPulse 4s ease-in-out infinite;
}

.profile-photo {
    filter:
        drop-shadow(0 0 14px rgba(0,255,173,.2))
        drop-shadow(0 0 35px rgba(0,217,255,.09));

    animation: profileFloat 5s ease-in-out infinite;
}

@keyframes holoPulse {
    0%, 100% {
        transform: scale(.92);
        opacity: .65;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes profileFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* All major cards */
.about-card,
.education-card,
.skill-card,
.project-card,
.experience-card,
.achievement-card,
.cyber-card,
.contact-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: var(--holo-shadow);

    transition:
        border-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

/* Moving holographic reflection */
.about-card::before,
.education-card::before,
.skill-card::before,
.project-card::before,
.experience-card::before,
.achievement-card::before,
.cyber-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0,255,173,.13),
        rgba(0,217,255,.045) 28%,
        transparent 65%
    );

    opacity: 0;
    transition: opacity .3s ease;
}

.about-card:hover::before,
.education-card:hover::before,
.skill-card:hover::before,
.project-card:hover::before,
.experience-card:hover::before,
.achievement-card:hover::before,
.cyber-card:hover::before,
.contact-card:hover::before {
    opacity: 1;
}

/* Card hover */
.education-card:hover,
.skill-card:hover,
.project-card:hover,
.experience-card:hover,
.achievement-card:hover,
.cyber-card:hover,
.contact-card:hover,
.about-card:hover {
    border-color: rgba(0,255,173,.55);

    box-shadow:
        0 15px 45px rgba(0,0,0,.25),
        0 0 25px rgba(0,255,173,.09);
}

/* Skill tags */
.skill-tags span {
    background: rgba(0,255,173,.055);
    border: 1px solid rgba(0,255,173,.16);
    border-radius: 6px;
    transition: .3s ease;
}

.skill-tags span:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    background: rgba(0,217,255,.09);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0,217,255,.12);
}

/* Buttons */
.btn {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    transition: .3s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -120%;
    width: 70%;
    height: 300%;
    transform: rotate(30deg);

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.22),
        transparent
    );

    transition: left .65s ease;
    pointer-events: none;
}

.btn:hover::before {
    left: 150%;
}

.btn.primary {
    background: linear-gradient(110deg, #00ffad, #00d9a0);
    box-shadow: 0 0 20px rgba(0,255,173,.13);
}

.btn.primary:hover {
    box-shadow: 0 0 28px rgba(0,255,173,.3);
}

.btn.secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 22px rgba(0,217,255,.12);
}

/* Social links inherit the same theme */
.social-links a {
    transition: .3s ease;
}

.social-links a:hover {
    color: var(--cyan);
    filter: drop-shadow(0 0 9px var(--cyan));
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.2,.7,.2,1);
}

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

/* Footer divider */
footer {
    border-top: 1px solid rgba(0,255,173,.18);
    background: rgba(3,10,8,.75);
}

/* Mobile and accessibility */
@media (max-width: 900px) {
    #holo-light {
        display: none;
    }

    .hero {
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 80px 6%;
    }

    .hero {
        padding: 110px 6% 60px;
    }

    .profile-photo {
        animation: none;
    }

    .navbar nav a::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
    