/* =========================================================
   GLOBAL SETTINGS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b1120;
    color: #e5e7eb;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 6%;

    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    position: relative;

    font-size: 24px;
    font-weight: 700;

    color: #38bdf8;

    letter-spacing: 1px;

    cursor: default;

    transition:
        transform 0.3s ease,
        text-shadow 0.3s ease;
}


.logo:hover {
    transform: translateY(-2px);

    text-shadow:
        0 0 15px rgba(56, 189, 248, 0.5);
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.navbar nav {
    display: flex;
    align-items: center;

    gap: 24px;
}


.navbar nav a {
    position: relative;

    color: #cbd5e1;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    padding: 5px 0;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* Underline */

.navbar nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #38bdf8;

    transition:
        width 0.3s ease;
}


.navbar nav a:hover {
    color: #38bdf8;

    transform: translateY(-2px);
}


.navbar nav a:hover::after {
    width: 100%;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 120px 6% 80px;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(56, 189, 248, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(99, 102, 241, 0.12),
            transparent 30%
        );
}

.hero-content {
    max-width: 900px;
}

.intro {
    color: #38bdf8;
    font-size: 20px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: clamp(25px, 4vw, 40px);
    color: #38bdf8;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 650px;
    margin: auto;
    color: #94a3b8;
    font-size: 18px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-btn {
    background: #38bdf8;
    color: #07111f;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.secondary-btn {
    border: 1px solid #38bdf8;
    color: #38bdf8;
}

.secondary-btn:hover {
    background: #38bdf8;
    color: #07111f;
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.social-links a {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;

    text-decoration: none;

    border: 1px solid rgba(148, 163, 184, 0.15);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.02);

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.social-links svg {
    width: 21px;
    height: 21px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-links a:hover {
    color: #38bdf8;

    border-color: rgba(56, 189, 248, 0.5);

    background: rgba(56, 189, 248, 0.08);

    transform: translateY(-5px) scale(1.05);
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    width: min(1120px, 90%);
    margin: auto;
    padding: 100px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-heading span {
    color: #38bdf8;
    font-weight: 700;
    font-size: 14px;
}

.section-heading h2 {
    font-size: 35px;
}

.section p {
    color: #94a3b8;
    margin-bottom: 20px;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.skill-card {
    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.03);

    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.4);
}

.skill-card h3 {
    margin-bottom: 20px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-list span,
.project-tech span {
    padding: 7px 12px;

    border-radius: 20px;

    background: rgba(56, 189, 248, 0.1);

    color: #7dd3fc;

    font-size: 13px;
}


/* =========================================================
   PROJECTS SECTION
========================================================= */

.projects-section {
    padding-top: 90px;
}

.projects-intro {
    max-width: 650px;
    color: #94a3b8;
    margin-bottom: 45px;
}


/* =========================================================
   PROJECT CONTAINER
========================================================= */

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.project-card {
    width: 100%;

    display: grid;

    /*
       IMAGE       INFORMATION
       360px       remaining space
    */
    grid-template-columns: 360px minmax(0, 1fr);

    gap: 35px;

    padding: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.018)
        );

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 20px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   PROJECT HOVER
========================================================= */

.project-card:hover {
    transform: translateY(-5px);

    border-color: rgba(56, 189, 248, 0.45);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   REVERSE PROJECTS
========================================================= */

/*
   Project 2 and Project 4
   have the image on the RIGHT.
*/

.project-reverse {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.project-reverse .project-image-wrapper {
    grid-column: 2;
    grid-row: 1;
}

.project-reverse .project-info {
    grid-column: 1;
    grid-row: 1;
}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.project-image-wrapper {
    width: 100%;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #070d1a;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 14px;

    padding: 10px;

    overflow: hidden;
}


/*
   IMPORTANT:
   The image is NOT allowed to become huge.
*/

.project-card img {
    width: 100%;
    height: 198px;

    object-fit: contain;

    object-position: center;

    border-radius: 8px;

    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.02);
}


/* =========================================================
   PROJECT INFORMATION
========================================================= */

.project-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 5px 5px 5px 0;
}

.project-reverse .project-info {
    padding-left: 5px;
    padding-right: 5px;
}


/* =========================================================
   PROJECT NUMBER
========================================================= */

.project-number {
    display: block;

    color: #38bdf8;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 4px;
}


/* =========================================================
   PROJECT CATEGORY
========================================================= */

.project-category {
    display: inline-block;

    width: fit-content;

    color: #7dd3fc;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

    margin-bottom: 8px;
}


/* =========================================================
   PROJECT TITLE
========================================================= */

.project-card h3 {
    font-size: 24px;

    color: #f8fafc;

    line-height: 1.25;

    margin-bottom: 10px;
}


/* =========================================================
   PROJECT DESCRIPTION
========================================================= */

.project-card p {
    font-size: 14px;

    color: #94a3b8;

    line-height: 1.65;

    margin-bottom: 14px;

    max-width: 620px;
}


/* =========================================================
   PROJECT HIGHLIGHTS
========================================================= */

.project-highlights {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 8px;

    margin: 3px 0 15px;

    padding: 0;

    list-style: none;
}

.project-highlights span {
    display: flex;

    flex-direction: column;

    gap: 2px;

    color: #cbd5e1;

    font-size: 11px;

    line-height: 1.35;

    padding-left: 10px;

    border-left: 2px solid rgba(56, 189, 248, 0.45);
}

.project-highlights strong {
    color: #7dd3fc;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   PROJECT TECHNOLOGIES
========================================================= */

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin: 2px 0 16px;
}

.project-tech span {
    font-size: 11px;

    padding: 5px 10px;
}


/* =========================================================
   PROJECT LINK
========================================================= */

.project-link {
    color: #38bdf8;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    display: inline-flex;

    align-items: center;

    gap: 5px;

    width: fit-content;

    transition: 0.3s ease;
}

.project-link:hover {
    color: #7dd3fc;

    transform: translateX(4px);
}




/* =========================
   RESUME
========================= */

.resume-section {
    padding-top: 100px;
    padding-bottom: 120px;
}

.resume-card {
    max-width: 1050px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 70px;

    padding: 55px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(56, 189, 248, 0.08),
            transparent 35%
        ),
        rgba(255, 255, 255, 0.025);

    overflow: hidden;
}


/* =========================
   LEFT CONTENT
========================= */

.resume-content {
    max-width: 500px;
}

.resume-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #38bdf8;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.resume-content h3 {
    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.1;

    margin-bottom: 20px;

    color: #f8fafc;
}

.resume-content p {
    max-width: 470px;

    color: #94a3b8;

    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 25px;
}


/* =========================
   RESUME HIGHLIGHTS
========================= */

.resume-highlights {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 30px;
}

.resume-highlights span {
    padding: 7px 13px;

    border-radius: 20px;

    background: rgba(56, 189, 248, 0.08);

    border: 1px solid rgba(56, 189, 248, 0.12);

    color: #7dd3fc;

    font-size: 12px;
}


/* =========================
   RESUME BUTTONS
========================= */

.resume-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.resume-buttons .btn {
    font-size: 14px;

    padding: 11px 19px;

    border-radius: 7px;
}


/* =========================
   RESUME PREVIEW
========================= */

.resume-preview {
    display: flex;

    justify-content: center;
    align-items: center;

    perspective: 1000px;
}


/* =========================
   PAPER
========================= */

.resume-paper {
    width: 320px;
    min-height: 400px;

    padding: 28px;

    background: #f8fafc;

    color: #111827;

    border-radius: 5px;

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.35);

    transform: rotate(2deg);

    transition: transform 0.35s ease;
}

.resume-paper:hover {
    transform: rotate(0deg) translateY(-5px);
}


/* =========================
   PAPER HEADER
========================= */

.resume-top {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;
}

.resume-name {
    font-size: 18px;

    font-weight: 800;

    letter-spacing: 0.5px;
}

.resume-role {
    margin-top: 5px;

    font-size: 8px;

    color: #64748b;

    letter-spacing: 1.5px;
}

.resume-number {
    font-size: 10px;

    color: #64748b;
}


/* =========================
   DIVIDER
========================= */

.resume-divider {
    width: 100%;

    height: 2px;

    margin: 22px 0;

    background: #111827;
}


/* =========================
   PREVIEW GRID
========================= */

.resume-preview-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px 15px;
}

.resume-preview-grid div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.resume-preview-grid span {
    font-size: 9px;

    color: #38bdf8;

    font-weight: 700;
}

.resume-preview-grid strong {
    font-size: 11px;

    color: #111827;
}


/* =========================
   PAPER LINES
========================= */

.resume-lines {
    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-top: 30px;
}

.resume-lines i {
    display: block;

    width: 100%;

    height: 5px;

    border-radius: 10px;

    background: #e2e8f0;
}

.resume-lines i.short {
    width: 65%;
}


/* =========================
   PAPER FOOTER
========================= */

.resume-paper-footer {
    margin-top: 35px;

    padding-top: 12px;

    border-top: 1px solid #e2e8f0;

    font-size: 8px;

    color: #94a3b8;

    letter-spacing: 1px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .resume-card {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 35px;
    }

    .resume-content {
        max-width: 100%;
    }

    .resume-preview {
        order: 2;
    }

    .resume-paper {
        width: 280px;
        min-height: 350px;
    }
}


@media (max-width: 600px) {

    .resume-card {
        padding: 25px;

        margin-top: 35px;
    }

    .resume-content h3 {
        font-size: 32px;
    }

    .resume-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .resume-paper {
        width: 250px;
        min-height: 320px;
    }
}
/* =========================
   ABOUT SECTION
========================= */

.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

/* MAIN CONTENT */

.about-main {
    max-width: 720px;
}

.about-label {
    color: #38bdf8 !important;
    font-size: 12px !important;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px !important;
}

.about-main h3 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    margin-bottom: 22px;
    color: #f8fafc;
}

.about-main h4 {
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.3;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 30px;
}

.about-main h4 span {
    color: #38bdf8;
}

.about-text {
    font-size: 16px !important;
    line-height: 1.8;
    color: #94a3b8 !important;
    margin-bottom: 20px !important;
}


/* RIGHT SIDE CARDS */

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-card {
    position: relative;

    padding: 25px 28px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.025);

    transition: all 0.3s ease;

    overflow: hidden;
}

.about-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 100%;

    background: #38bdf8;

    transform: scaleY(0);

    transform-origin: bottom;

    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateX(6px);

    border-color: rgba(56, 189, 248, 0.35);

    background: rgba(56, 189, 248, 0.04);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.about-card span {
    display: block;

    color: #38bdf8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.about-card h5 {
    font-size: 18px;

    color: #f8fafc;

    margin-bottom: 8px;
}

.about-card p {
    font-size: 14px !important;

    line-height: 1.6;

    color: #94a3b8 !important;

    margin: 0 !important;
}


/* =========================
   ABOUT MOBILE
========================= */

@media (max-width: 850px) {

    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-main h3 {
        font-size: 38px;
    }

    .about-main h4 {
        font-size: 28px;
    }

}

@media (max-width: 600px) {

    .about-main h3 {
        font-size: 32px;
    }

    .about-main h4 {
        font-size: 24px;
    }

    .about-card {
        padding: 22px;
    }

}

/* =========================
   SKILLS SECTION
========================= */

.skills-intro {
    max-width: 700px;
    margin-bottom: 40px;
}

.skills-intro p {
    font-size: 17px !important;
    line-height: 1.8;
    color: #94a3b8 !important;
}


/* SKILLS GRID */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


/* SKILL CARD */

.skill-card {
    position: relative;

    padding: 30px;

    min-height: 260px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.025);

    overflow: hidden;

    transition: all 0.3s ease;
}

.skill-card::after {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    right: -60px;
    bottom: -60px;

    border-radius: 50%;

    background: rgba(56, 189, 248, 0.05);

    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);

    border-color: rgba(56, 189, 248, 0.35);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.2);
}

.skill-card:hover::after {
    transform: scale(1.4);
}


/* WIDE CARD */

.skill-card-wide {
    grid-column: 1 / -1;

    min-height: 210px;
}


/* NUMBER */

.skill-card-number {
    color: #38bdf8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 20px;
}


/* TITLE */

.skill-card h3 {
    font-size: 25px;

    color: #f8fafc;

    margin-bottom: 12px;
}


/* DESCRIPTION */

.skill-card p {
    max-width: 650px;

    font-size: 15px !important;

    line-height: 1.7;

    color: #94a3b8 !important;

    margin-bottom: 25px !important;
}


/* SKILL TAGS */

.skill-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.skill-tags span {
    display: inline-block;

    padding: 8px 14px;

    border-radius: 20px;

    border: 1px solid rgba(56, 189, 248, 0.18);

    background: rgba(56, 189, 248, 0.07);

    color: #7dd3fc;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}

.skill-tags span:hover {
    background: rgba(56, 189, 248, 0.14);

    border-color: rgba(56, 189, 248, 0.4);

    transform: translateY(-2px);
}


/* =========================
   SKILLS MOBILE
========================= */

@media (max-width: 850px) {

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card-wide {
        grid-column: auto;
    }

}


@media (max-width: 600px) {

    .skill-card {
        padding: 25px;

        min-height: auto;
    }

    .skill-card-wide {
        min-height: auto;
    }

}
/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
}


/* ---------- INTRO ---------- */

.contact-intro {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;

    animation: contactFadeUp 0.8s ease both;
}

.contact-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #38bdf8;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}

.contact-intro h3 {
    margin-bottom: 20px;

    color: #f8fafc;

    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
}

.contact-intro p {
    max-width: 650px;

    margin: 0 auto;

    color: #94a3b8;

    font-size: 16px;
    line-height: 1.8;
}


/* ---------- CONTACT GRID ---------- */

.contact-grid {
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


/* ---------- CONTACT CARD ---------- */

.contact-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 20px;

    min-height: 105px;

    padding: 22px 25px;

    color: inherit;
    text-decoration: none;

    background: rgba(15, 23, 42, 0.65);

    border: 1px solid rgba(148, 163, 184, 0.14);

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;

    animation: contactCardReveal 0.7s ease both;
}


/* Staggered entrance */

.contact-card:nth-child(1) {
    animation-delay: 0.15s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.25s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.35s;
}

.contact-card:nth-child(4) {
    animation-delay: 0.45s;
}


/* Light sweep */

.contact-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(56, 189, 248, 0.08),
        transparent
    );

    transform: skewX(-20deg);

    transition: left 0.7s ease;
}


/* Hover */

.contact-card:hover {
    transform: translateY(-6px);

    border-color: rgba(56, 189, 248, 0.45);

    background: rgba(15, 23, 42, 0.9);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(56, 189, 248, 0.06);
}

.contact-card:hover::before {
    left: 140%;
}


/* ---------- ICON ---------- */

.contact-icon {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(56, 189, 248, 0.08);

    border: 1px solid rgba(56, 189, 248, 0.18);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.contact-icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: #38bdf8;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.35s ease;
}


/* Icon animation */

.contact-card:hover .contact-icon {
    transform: rotate(-5deg) scale(1.08);

    background: rgba(56, 189, 248, 0.14);

    border-color: rgba(56, 189, 248, 0.4);
}

.contact-card:hover .contact-icon svg {
    transform: scale(1.12);
}


/* ---------- TEXT ---------- */

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.contact-details span {
    font-size: 12px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #64748b;
}

.contact-details strong {
    font-size: 16px;

    font-weight: 600;

    color: #e2e8f0;

    transition: color 0.3s ease;
}

.contact-card:hover .contact-details strong {
    color: #38bdf8;
}


/* Location is not clickable */

.contact-location {
    cursor: default;
}

.contact-location:hover {
    transform: translateY(-4px);
}


/* ---------- CONTACT FOOTER ---------- */

.contact-footer {
    max-width: 1000px;

    margin: 70px auto 0;

    display: flex;

    align-items: center;

    gap: 20px;

    font-size: 10px;

    letter-spacing: 1.5px;

    color: #475569;

    animation: contactFadeUp 1s ease 0.6s both;
}

.contact-line {
    flex: 1;

    height: 1px;

    background: rgba(148, 163, 184, 0.12);
}


/* =========================================================
   CONTACT ANIMATIONS
========================================================= */

@keyframes contactFadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes contactCardReveal {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   CONTACT RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-intro {
        margin-bottom: 40px;
    }

    .contact-intro h3 {
        font-size: 32px;
    }

    .contact-card {
        min-height: 95px;
    }

}


@media (max-width: 480px) {

    .contact-intro h3 {
        font-size: 28px;
    }

    .contact-intro p {
        font-size: 14px;
    }

    .contact-card {
        padding: 18px;
    }

    .contact-icon {
        width: 46px;
        height: 46px;
    }

    .contact-icon svg {
        width: 21px;
        height: 21px;
    }

    .contact-footer {
        font-size: 8px;
        gap: 10px;
    }

}
/* =========================================================
   HERO ROLE POP-UP
========================================================= */

.hero-role {
    animation: heroRolePop 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-tagline {
    animation: heroTaglineReveal 0.8s ease 0.55s both;
}


/* Job title pop-up */

@keyframes heroRolePop {

    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.85);
        filter: blur(6px);
    }

    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.04);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* Creative tagline appears slightly after */

@keyframes heroTaglineReveal {

    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}
/* =========================================================
   ABOUT SECTION — REVEAL ANIMATION
========================================================= */

.about-section .section-heading,
.about-section .about-main,
.about-section .about-card {
    opacity: 0;
}


/* Heading */

.about-section.about-visible .section-heading {
    animation: aboutHeadingReveal 0.8s ease forwards;
}


/* Main content */

.about-section.about-visible .about-main {
    animation: aboutMainReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}


/* Cards */

.about-section.about-visible .about-card {
    animation: aboutCardReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* Card delays */

.about-section.about-visible .about-card:nth-child(1) {
    animation-delay: 0.35s;
}

.about-section.about-visible .about-card:nth-child(2) {
    animation-delay: 0.5s;
}

.about-section.about-visible .about-card:nth-child(3) {
    animation-delay: 0.65s;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes aboutHeadingReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes aboutMainReveal {

    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


@keyframes aboutCardReveal {

    from {
        opacity: 0;
        transform: translateY(60px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   ABOUT CARD HOVER
========================================================= */

.about-card {
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.about-card:hover {

    transform: translateY(-8px) scale(1.02);

    border-color: rgba(56, 189, 248, 0.4);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(56, 189, 248, 0.08);
}



/* =========================================================
   SKILLS SECTION — REVEAL ANIMATION
========================================================= */

.skills-section .section-heading,
.skills-section .skills-intro,
.skills-section .skill-card {
    opacity: 0;
}


/* Heading */

.skills-section.skills-visible .section-heading {
    animation: skillsHeadingReveal 0.8s ease forwards;
}


/* Intro */

.skills-section.skills-visible .skills-intro {
    animation: skillsIntroReveal 0.8s ease 0.15s forwards;
}


/* Cards */

.skills-section.skills-visible .skill-card {
    animation: skillsCardReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* Individual card delays */

.skills-section.skills-visible .skill-card:nth-child(1) {
    animation-delay: 0.3s;
}

.skills-section.skills-visible .skill-card:nth-child(2) {
    animation-delay: 0.45s;
}

.skills-section.skills-visible .skill-card:nth-child(3) {
    animation-delay: 0.6s;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes skillsHeadingReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes skillsIntroReveal {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes skillsCardReveal {

    from {
        opacity: 0;
        transform: translateY(55px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   SKILL CARD HOVER
========================================================= */

.skill-card {
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-card:hover {

    transform: translateY(-8px);

    border-color: rgba(56, 189, 248, 0.4);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(56, 189, 248, 0.08);
}


/* Skill tags */

.skill-tags span {
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.skill-tags span:hover {

    transform: translateY(-3px);

    border-color: rgba(56, 189, 248, 0.4);

    background: rgba(56, 189, 248, 0.08);
}




/* =========================================================
   PROJECTS SECTION — REVEAL ANIMATION
========================================================= */

.projects-section .section-heading,
.projects-section .projects-intro,
.projects-section .project-card {
    opacity: 0;
}


/* Heading */

.projects-section.projects-visible .section-heading {
    animation: projectsHeadingReveal 0.8s ease forwards;
}


/* Intro */

.projects-section.projects-visible .projects-intro {
    animation: projectsIntroReveal 0.8s ease 0.15s forwards;
}


/* Project cards */

.projects-section.projects-visible .project-card {
    animation: projectCardReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* Individual project timing */

.projects-section.projects-visible .project-card:nth-child(1) {
    animation-delay: 0.3s;
}

.projects-section.projects-visible .project-card:nth-child(2) {
    animation-delay: 0.5s;
}

.projects-section.projects-visible .project-card:nth-child(3) {
    animation-delay: 0.7s;
}

.projects-section.projects-visible .project-card:nth-child(4) {
    animation-delay: 0.9s;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes projectsHeadingReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes projectsIntroReveal {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes projectCardReveal {

    from {
        opacity: 0;
        transform: translateY(70px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   PROJECT CARD HOVER
========================================================= */

.project-card {
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(56, 189, 248, 0.4);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(56, 189, 248, 0.08);
}


/* =========================================================
   PROJECT IMAGE HOVER
========================================================= */

.project-image-wrapper {
    overflow: hidden;
}

.project-image-wrapper img {
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.05);
}

/* =========================================================
   RESUME SECTION — REVEAL ANIMATION
========================================================= */

.resume-section .section-heading,
.resume-section .resume-card {
    opacity: 0;
}


/* Heading */

.resume-section.resume-visible .section-heading {
    animation: resumeHeadingReveal 0.8s ease forwards;
}


/* Main resume card */

.resume-section.resume-visible .resume-card {
    animation: resumeCardReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}


/* Left content */

.resume-section.resume-visible .resume-content {
    animation: resumeContentReveal 0.8s ease 0.45s forwards;
}


/* Right preview */

.resume-section.resume-visible .resume-preview {
    animation: resumePreviewReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes resumeHeadingReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes resumeCardReveal {

    from {
        opacity: 0;
        transform: translateY(50px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes resumeContentReveal {

    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


@keyframes resumePreviewReveal {

    from {
        opacity: 0;
        transform: translateX(35px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

}


/* =========================================================
   RESUME PAPER HOVER
========================================================= */

.resume-paper {
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.resume-paper:hover {

    transform: translateY(-8px) rotate(0.5deg);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(56, 189, 248, 0.08);
}


/* =========================================================
   RESUME BUTTON HOVER
========================================================= */

.resume-buttons .btn {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.resume-buttons .btn:hover {

    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   CONTACT SECTION — REVEAL ANIMATION
========================================================= */

.contact-section .section-heading,
.contact-section .contact-intro,
.contact-section .contact-card,
.contact-section .contact-footer {
    opacity: 0;
}


/* Heading */

.contact-section.contact-visible .section-heading {
    animation: contactHeadingReveal 0.8s ease forwards;
}


/* Intro */

.contact-section.contact-visible .contact-intro {
    animation: contactIntroReveal 0.8s ease 0.15s forwards;
}


/* Contact cards */

.contact-section.contact-visible .contact-card {
    animation: contactCardReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


/* Card timing */

.contact-section.contact-visible .contact-card:nth-child(1) {
    animation-delay: 0.3s;
}

.contact-section.contact-visible .contact-card:nth-child(2) {
    animation-delay: 0.45s;
}

.contact-section.contact-visible .contact-card:nth-child(3) {
    animation-delay: 0.6s;
}

.contact-section.contact-visible .contact-card:nth-child(4) {
    animation-delay: 0.75s;
}


/* Footer */

.contact-section.contact-visible .contact-footer {
    animation: contactFooterReveal 0.8s ease 0.9s forwards;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes contactHeadingReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes contactIntroReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes contactCardReveal {

    from {
        opacity: 0;
        transform: translateY(55px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes contactFooterReveal {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   CONTACT CARD HOVER
========================================================= */

.contact-card {
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-card:hover {

    transform: translateY(-8px);

    border-color: rgba(56, 189, 248, 0.4);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(56, 189, 248, 0.08);
}


/* =========================================================
   CONTACT ICON ANIMATION
========================================================= */

.contact-icon {

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.contact-card:hover .contact-icon {

    transform: translateY(-3px) scale(1.08) rotate(-4deg);

}


/* SVG */

.contact-icon svg {

    transition:
        transform 0.35s ease;
}

.contact-card:hover .contact-icon svg {

    transform: scale(1.08);

}


/* =========================================================
   CONTACT TEXT
========================================================= */

.contact-details strong {

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.contact-card:hover .contact-details strong {

    color: #38bdf8;

}

/* =========================================================
   HERO — PROFESSIONAL ENTRANCE ANIMATION
========================================================= */

.hero-content > * {
    opacity: 0;
    animation: heroReveal 0.8s ease forwards;
}


/* Animation order */

.hero-content .intro {
    animation-delay: 0.1s;
}

.hero-content h1 {
    animation-delay: 0.25s;
}

.hero-content .hero-role {
    animation-delay: 0.4s;
}

.hero-content .hero-tagline {
    animation-delay: 0.55s;
}

.hero-content .hero-description {
    animation-delay: 0.7s;
}

.hero-content .hero-buttons {
    animation-delay: 0.85s;
}

.hero-content .social-links {
    animation-delay: 1s;
}


/* Main reveal */

@keyframes heroReveal {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   HERO ROLE — SUBTLE POP
========================================================= */

.hero-role {
    animation-name: heroRolePop !important;
}


@keyframes heroRolePop {

    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }

    70% {
        opacity: 1;
        transform: translateY(-3px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons .btn {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-4px);
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-links a {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.08);
    opacity: 1;
}

/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 768px) {

    .navbar {

        padding: 14px 5%;

        flex-direction: column;

        gap: 12px;
    }


    .logo {
        font-size: 21px;
    }


    .navbar nav {

        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 18px;
    }


    .navbar nav a {

        font-size: 13px;
    }

}

/* =========================================================
   MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       GENERAL
    ----------------------------------------------------- */

    .section {
        padding-left: 5%;
        padding-right: 5%;
    }


    /* -----------------------------------------------------
       SECTION HEADINGS
    ----------------------------------------------------- */

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 30px;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero {
        min-height: 100vh;

        padding: 120px 5% 60px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 52px);

        line-height: 1.1;

        word-break: normal;
    }

    .hero-role {
        font-size: clamp(22px, 6vw, 32px);

        margin-top: 15px;
    }

    .hero-tagline {
        font-size: 18px;

        line-height: 1.5;
    }

    .hero-description {
        font-size: 15px;

        line-height: 1.7;
    }


    /* -----------------------------------------------------
       HERO BUTTONS
    ----------------------------------------------------- */

    .hero-buttons {

        display: flex;

        flex-direction: column;

        width: 100%;

        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;

        text-align: center;
    }


    /* -----------------------------------------------------
       ABOUT
    ----------------------------------------------------- */

    .about-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-main h3 {
        font-size: 28px;
    }

    .about-main h4 {
        font-size: 20px;

        line-height: 1.5;
    }

    .about-cards {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    /* -----------------------------------------------------
       SKILLS
    ----------------------------------------------------- */

    .skills-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .skill-card-wide {
        grid-column: auto;
    }


    /* -----------------------------------------------------
       PROJECTS
    ----------------------------------------------------- */

    .projects-container {
        gap: 35px;
    }

    .project-card,
    .project-card.project-reverse {

        grid-template-columns: 1fr;

        display: grid;
    }

    .project-card.project-reverse .project-image-wrapper {
        order: 1;
    }

    .project-card.project-reverse .project-info {
        order: 2;
    }

    .project-image-wrapper img {

        width: 100%;

        height: auto;

        object-fit: cover;
    }

    .project-info {

        padding: 25px 20px;
    }

    .project-info h3 {

        font-size: 24px;

        line-height: 1.3;
    }

    .project-highlights {

        grid-template-columns: 1fr;
    }

    .project-tech {

        flex-wrap: wrap;
    }

    .project-links {

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    /* -----------------------------------------------------
       RESUME
    ----------------------------------------------------- */

    .resume-card {

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .resume-content h3 {

        font-size: 28px;
    }

    .resume-buttons {

        flex-direction: column;

        width: 100%;
    }

    .resume-buttons .btn {

        width: 100%;

        text-align: center;
    }

    .resume-preview {

        width: 100%;
    }

    .resume-paper {

        width: 100%;

        min-height: auto;
    }


    /* -----------------------------------------------------
       CONTACT
    ----------------------------------------------------- */

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 15px;
    }

    .contact-intro h3 {

        font-size: 28px;

        line-height: 1.3;
    }

    .contact-footer {

        flex-direction: column;

        gap: 15px;

        text-align: center;
    }

    .contact-line {

        width: 100%;
    }

}

/* =========================================================
   GLOBAL ANIMATION PERFORMANCE
========================================================= */

html {
    scroll-behavior: smooth;
}


/* Keep animations smooth */

.hero-content,
.section,
.about-card,
.skill-card,
.project-card,
.resume-card,
.contact-card {
    will-change: transform, opacity;
}


/* Respect users who prefer reduced motion */

@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;
    }

}


/* =========================================================
   NAVIGATION SCROLL OFFSET
========================================================= */

section {
    scroll-margin-top: 90px;
}
/* =========================================================
   ACTIVE NAVIGATION LINK
========================================================= */

.navbar nav a.active {
    color: #38bdf8;
}

.navbar nav a.active::after {
    width: 100%;
}




/* =========================================================
   MOBILE & TABLET RESPONSIVE DESIGN
========================================================= */

@media (max-width: 900px) {

    /* NAVIGATION */
    .navbar {
        padding: 16px 5%;
    }

    .navbar nav {
        gap: 14px;
    }

    .navbar nav a {
        font-size: 13px;
    }


    /* HERO */
    .hero {
        padding: 120px 7% 80px;
    }

    .hero h1 {
        font-size: clamp(40px, 8vw, 64px);
    }

    .hero-role {
        font-size: 24px;
    }


    /* ABOUT */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    /* SKILLS */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card-wide {
        grid-column: auto;
    }


    /* PROJECTS */
    .project-card,
    .project-card.project-reverse {
        grid-template-columns: 1fr;
    }

    .project-image-wrapper {
        min-height: 300px;
    }


    /* RESUME */
    .resume-card {
        grid-template-columns: 1fr;
    }

    .resume-preview {
        margin-top: 20px;
    }


    /* CONTACT */
    .contact-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    /* NAVIGATION */
    .navbar {
        padding: 14px 5%;
    }

    .logo {
        font-size: 20px;
    }

    .navbar nav {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .navbar nav a {
        font-size: 11px;
    }


    /* HERO */
    .hero {
        padding: 110px 6% 70px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero-role {
        font-size: 21px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }


    /* SECTION HEADINGS */
    .section-heading h2 {
        font-size: 30px;
    }


    /* PROJECTS */
    .project-info {
        padding: 25px;
    }

    .project-info h3 {
        font-size: 24px;
    }

    .project-highlights {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }


    /* RESUME */
    .resume-buttons {
        flex-direction: column;
        align-items: flex-start;
    }


    /* CONTACT */
    .contact-intro h3 {
        font-size: 30px;
    }

    .contact-card {
        padding: 20px;
    }

}



/* =========================================================
   SECTION REVEAL
========================================================= */

.section {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}


/* =========================================================
   SCROLL SECTION INDICATOR
========================================================= */

.scroll-indicator {
    position: fixed;

    right: 28px;
    top: 50%;

    transform: translateY(-50%);

    width: 90px;
    height: 260px;

    z-index: 900;

    display: flex;
    align-items: center;

    pointer-events: none;
}


/* Vertical line */

.scroll-line {
    position: relative;

    width: 2px;
    height: 100%;

    background: rgba(148, 163, 184, 0.25);

    margin-left: auto;
}


/* Moving ball */

.scroll-ball {
    position: absolute;

    left: 50%;
    top: 0;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #38bdf8;

    transform: translate(-50%, 0);

    box-shadow:
        0 0 8px #38bdf8,
        0 0 20px rgba(56, 189, 248, 0.7);

    transition:
        top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Active section name */

.scroll-label {
    position: absolute;

    right: 18px;

    white-space: nowrap;

    transform: translateX(-10px);

    opacity: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.scroll-label span {
    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 600;

    color: #38bdf8;
}


/* Show label */

.scroll-indicator:hover .scroll-label {
    opacity: 1;
    transform: translateX(0);
}


/* Mobile */

@media (max-width: 768px) {

    .scroll-indicator {
        display: none;
    }

}

/* =========================================================
   RIGHT SIDE SECTION INDICATOR
========================================================= */

.section-indicator {
    position: fixed;

    right: 32px;
    top: 50%;

    transform: translateY(-50%);

    width: 24px;
    height: 330px;

    z-index: 900;

    display: flex;
    justify-content: center;
}


/* VERTICAL LINE */

.indicator-line {
    position: absolute;

    top: 0;
    bottom: 0;

    width: 1px;

    background: rgba(148, 163, 184, 0.35);
}


/* POINT CONTAINER */

.indicator-points {
    position: absolute;

    top: 0;
    bottom: 0;

    width: 100%;

    display: flex;
    flex-direction: column;

    justify-content: space-between;
    align-items: center;
}


/* INDIVIDUAL POINT */

.indicator-point {
    position: relative;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #0b1120;

    border: 1px solid #64748b;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* ACTIVE POINT */

.indicator-point.active {
    width: 11px;
    height: 11px;

    background: #38bdf8;

    border-color: #38bdf8;

    transform: scale(1.15);

    box-shadow:
        0 0 8px rgba(56, 189, 248, 0.8),
        0 0 18px rgba(56, 189, 248, 0.4);
}


/* HOVER */

.indicator-point:hover {
    transform: scale(1.5);

    border-color: #38bdf8;

    background: #38bdf8;

    box-shadow:
        0 0 10px rgba(56, 189, 248, 0.7);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .section-indicator {
        right: 15px;
        height: 260px;
    }

}


@media (max-width: 600px) {

    .section-indicator {
        display: none;
    }

}

/* =========================================================
   PREMIUM CUSTOM CURSOR
========================================================= */

.cursor-dot {
    position: fixed;

    width: 7px;
    height: 7px;

    background: #38bdf8;
    border-radius: 50%;

    pointer-events: none;

    z-index: 99999;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 8px rgba(56, 189, 248, 0.9),
        0 0 18px rgba(56, 189, 248, 0.5);

    opacity: 0;
}


.cursor-outline {
    position: fixed;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(56, 189, 248, 0.75);

    border-radius: 50%;

    pointer-events: none;

    z-index: 99998;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 12px rgba(56, 189, 248, 0.25);

    opacity: 0;

    transition:
        width 0.25s ease,
        height 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* Cursor becomes visible after mouse movement */

body.cursor-active .cursor-dot,
body.cursor-active .cursor-outline {
    opacity: 1;
}


/* Hovering links/cards */

body.cursor-hover .cursor-outline {

    width: 48px;
    height: 48px;

    border-color: #38bdf8;

    background: rgba(56, 189, 248, 0.06);

    box-shadow:
        0 0 18px rgba(56, 189, 248, 0.35);
}


/* Click animation */

body.cursor-click .cursor-outline {

    width: 25px;
    height: 25px;

    background: rgba(56, 189, 248, 0.12);

}


/* Hide normal cursor */

@media (min-width: 901px) {

    body,
    a,
    button,
    .btn,
    .skill-card,
    .project-card,
    .contact-card {
        cursor: none;
    }

}


/* Disable custom cursor on mobile */

@media (max-width: 900px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

}

/* =========================================================
   SMOOTH PAGE SCROLLING
========================================================= */

html {
    scroll-behavior: smooth;
}
/* =========================================================
   NAVBAR SCROLL EFFECT
========================================================= */

.navbar {
    transition:
        padding 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(8, 15, 30, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   PROJECT CARD PREMIUM HOVER
========================================================= */

.project-card {
    overflow: hidden;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.project-card:hover {
    border-color: rgba(56, 189, 248, 0.55);

    box-shadow:
        0 0 25px rgba(56, 189, 248, 0.08),
        0 15px 40px rgba(0, 0, 0, 0.25);
}


/* PROJECT IMAGE */

.project-card img {
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* IMAGE ZOOM */

.project-card:hover img {
    transform: scale(1.04);
}

/* =========================================================
   SKILLS CARD PREMIUM HOVER
========================================================= */

.skill-card {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-card::after {
    content: "";

    position: absolute;
    width: 140px;
    height: 140px;

    right: -70px;
    bottom: -70px;

    border-radius: 50%;

    background: rgba(56, 189, 248, 0.08);

    transition:
        transform 0.45s ease,
        background 0.45s ease;
}

.skill-card:hover {
    transform: translateY(-6px);

    border-color: rgba(56, 189, 248, 0.5);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(56, 189, 248, 0.06);
}

.skill-card:hover::after {
    transform: scale(1.35);

    background: rgba(56, 189, 248, 0.12);
}


/* SKILL TAG HOVER */

.skill-tags span {
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.skill-tags span:hover {
    transform: translateY(-3px);

    border-color: rgba(56, 189, 248, 0.55);

    background: rgba(56, 189, 248, 0.12);
}

/* =========================================================
   ABOUT SECTION — PREMIUM REVEAL
========================================================= */

.about-main {
    opacity: 0;
    transform: translateX(-45px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.about-cards {
    opacity: 0;
    transform: translateX(45px);
    transition:
        opacity 0.7s ease 0.15s,
        transform 0.7s ease 0.15s;
}


/* When About section becomes visible */

.about-section.about-visible .about-main {
    opacity: 1;
    transform: translateX(0);
}

.about-section.about-visible .about-cards {
    opacity: 1;
    transform: translateX(0);
}


/* Individual cards */

.about-section .about-card {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}


/* Card sequence */

.about-section.about-visible .about-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.about-section.about-visible .about-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.about-section.about-visible .about-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
}

/* =========================================================
   RESUME SECTION — PREMIUM REVEAL
========================================================= */

.resume-content {
    opacity: 0;
    transform: translateX(-45px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.resume-preview {
    opacity: 0;
    transform: translateX(45px);

    transition:
        opacity 0.8s ease 0.15s,
        transform 0.8s ease 0.15s;
}


/* Resume becomes visible */

.resume-section.resume-visible .resume-content {
    opacity: 1;
    transform: translateX(0);
}

.resume-section.resume-visible .resume-preview {
    opacity: 1;
    transform: translateX(0);
}


/* Resume buttons appear slightly later */

.resume-section .resume-buttons {
    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity 0.6s ease 0.45s,
        transform 0.6s ease 0.45s;
}

.resume-section.resume-visible .resume-buttons {
    opacity: 1;
    transform: translateY(0);
}


/* Resume paper hover */

.resume-paper {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.resume-paper:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(56, 189, 248, 0.06);
}

/* =========================================================
   CONTACT SECTION — PREMIUM REVEAL
========================================================= */

.contact-intro {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.contact-grid {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.7s ease 0.15s,
        transform 0.7s ease 0.15s;
}

.contact-footer {
    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity 0.6s ease 0.5s,
        transform 0.6s ease 0.5s;
}


/* CONTACT SECTION VISIBLE */

.contact-section.contact-visible .contact-intro {
    opacity: 1;
    transform: translateY(0);
}

.contact-section.contact-visible .contact-grid {
    opacity: 1;
    transform: translateY(0);
}

.contact-section.contact-visible .contact-footer {
    opacity: 1;
    transform: translateY(0);
}


/* CONTACT CARDS */

.contact-section .contact-card {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* CARD SEQUENCE */

.contact-section.contact-visible .contact-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.contact-section.contact-visible .contact-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.contact-section.contact-visible .contact-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.contact-section.contact-visible .contact-card:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.75s;
}


/* CONTACT CARD HOVER */

.contact-section .contact-card:hover {
    transform: translateY(-6px);

    border-color: rgba(56, 189, 248, 0.5);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(56, 189, 248, 0.06);
}


/* ICON HOVER */

.contact-section .contact-icon {
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.contact-section .contact-card:hover .contact-icon {
    transform: scale(1.08);
}
/* =========================================================
   FINAL SMOOTH SCROLL
========================================================= */

html {
    scroll-behavior: smooth;
}

/* =========================================================
   ACTIVE NAVIGATION
========================================================= */

.navbar nav a {
    position: relative;
}

.navbar nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #38bdf8;

    transition: width 0.3s ease;
}

.navbar nav a.active {
    color: #38bdf8;
}

.navbar nav a.active::after {
    width: 100%;
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .navbar {
        padding: 15px 5%;
    }

    .navbar nav {
        gap: 12px;
    }

    .navbar nav a {
        font-size: 12px;
    }

    .hero {
        padding: 100px 6% 60px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 60px);
    }

    .section {
        padding: 80px 6%;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card-wide {
        grid-column: auto;
    }

    .project-card,
    .project-card.project-reverse {
        grid-template-columns: 1fr;
    }

    .project-image-wrapper {
        min-height: 250px;
    }

    .resume-card {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 16px;
    }

}
/* =========================================================
   CUSTOM CURSOR — DESKTOP ONLY
========================================================= */

@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

}