/* ================================
   1. DESIGN SYSTEM
================================ */

:root {
    --navy-950: #071323;
    --navy-900: #0f1b2d;
    --navy-850: #13233b;
    --navy-800: #172b46;

    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --cyan-400: #22d3ee;
    --teal-400: #2dd4bf;

    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;

    --heading-font: "Playfair Display", serif;
    --body-font: "Inter", sans-serif;

    --container-width: 1180px;

    --radius-small: 10px;
    --radius-medium: 16px;
    --radius-large: 24px;
    --radius-round: 999px;

    --shadow-small: 0 10px 30px rgba(2, 8, 23, 0.12);
    --shadow-medium: 0 20px 60px rgba(2, 8, 23, 0.22);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;
}

/* ================================
   2. RESET
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--body-font);
    background: var(--gray-50);
    color: var(--navy-900);
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

/* ================================
   3. HEADER AND NAVIGATION
================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(7, 19, 35, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.navbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.logo span {
    color: var(--blue-500);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    position: relative;
    color: var(--gray-300);
    font-size: 0.78rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 2px;
    border-radius: var(--radius-round);
    background: var(--blue-500);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav {
    display: none;
}

/* ================================
   4. BUTTONS
================================ */

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    transition:
        transform var(--transition-normal),
        background var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.btn-small {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 0.72rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-200);
    font-size: 0.78rem;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.text-link:hover {
    color: var(--blue-500);
}

.text-link i {
    transition: transform var(--transition-normal);
}

.text-link:hover i {
    transform: translateX(4px);
}

/* ================================
   5. HERO
================================ */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 24% 50%,
            rgba(59, 130, 246, 0.13),
            transparent 26%
        ),
        radial-gradient(
            circle at 77% 20%,
            rgba(45, 212, 191, 0.08),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            var(--navy-950),
            var(--navy-900) 50%,
            #102541
        );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 45px 45px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
}

.hero-image-wrapper {
    position: relative;
    width: min(360px, 100%);
    justify-self: center;
}

.image-ring {
    position: relative;
    padding: 7px;
    border-radius: 50%;
    background:
        linear-gradient(
            140deg,
            rgba(255, 255, 255, 0.82),
            rgba(59, 130, 246, 0.6)
        );
    box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.035),
        0 35px 80px rgba(0, 0, 0, 0.35);
}

.image-ring::after {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: -1;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 50%;
}

.hero-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    background: var(--gray-200);
}

.profile-check {
    position: absolute;
    right: 20px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 5px solid var(--navy-900);
    border-radius: 50%;
    color: var(--white);
    background: var(--blue-500);
    box-shadow: var(--shadow-small);
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-round);
    color: var(--gray-300);
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-badge i {
    color: var(--blue-500);
}

.hero h1 {
    max-width: 700px;
    margin-bottom: 8px;
    font-family: var(--heading-font);
    font-size: clamp(3rem, 6.4vw, 5.4rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
}

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

.role-text {
    min-height: 34px;
    margin: 18px 0;
    color: var(--teal-400);
    font-family: var(--heading-font);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-style: italic;
    font-weight: 600;
}

.hero-introduction {
    max-width: 650px;
    margin-bottom: 16px;
    color: var(--gray-200);
    font-size: 0.95rem;
    line-height: 1.75;
}

.hero-description {
    max-width: 620px;
    margin-bottom: 30px;
    color: var(--gray-400);
    font-size: 0.84rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.hero-bottom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    color: var(--gray-300);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-normal);
}

.social-links a:hover {
    color: var(--white);
    background: var(--blue-600);
    transform: translateY(-3px);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(45, 212, 191, 0.18);
    border-radius: var(--radius-round);
    color: var(--teal-400);
    background: rgba(45, 212, 191, 0.08);
    font-size: 0.68rem;
    font-weight: 600;
}

.availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal-400);
    box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.1);
}

/* ================================
   6. FLOATING HERO ICONS
================================ */

.floating-icon {
    position: absolute;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 13px;
    color: rgba(96, 165, 250, 0.7);
    background: rgba(59, 130, 246, 0.07);
    box-shadow: 0 15px 35px rgba(2, 8, 23, 0.18);
}

.icon-top-left {
    top: 23%;
    left: 7%;
}

.icon-bottom-left {
    bottom: 19%;
    left: 10%;
}

.icon-top-right {
    top: 26%;
    right: 8%;
}

.icon-bottom-right {
    right: 10%;
    bottom: 20%;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.hero-decoration-one {
    top: 17%;
    left: -110px;
    width: 250px;
    height: 250px;
    background: rgba(37, 99, 235, 0.08);
}

.hero-decoration-two {
    right: -120px;
    bottom: 5%;
    width: 320px;
    height: 320px;
    background: rgba(34, 211, 238, 0.045);
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: var(--gray-500);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transform: translateX(-50%);
}

/* Temporary section */

.section-placeholder {
    min-height: 500px;
    display: grid;
    place-items: center;
    padding: 100px 0;
    background: var(--white);
}

.section-placeholder h2 {
    font-family: var(--heading-font);
    color: var(--navy-900);
}
/* ================================
   7. SHARED SECTION STYLES
================================ */

.section-heading {
    max-width: 780px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue-600);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.section-heading h2 {
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

/* ================================
   8. ABOUT SECTION
================================ */

.about-section {
    position: relative;
    padding: 120px 0 110px;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(55px, 8vw, 110px);
    align-items: start;
}

.about-story p {
    margin-bottom: 21px;
    color: var(--gray-500);
    font-size: 0.94rem;
    line-height: 1.85;
}

.about-story p:first-child {
    color: var(--navy-900);
    font-weight: 500;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-quote {
    position: relative;
    padding: 28px 30px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    color: var(--navy-900);
    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.055),
            rgba(59, 130, 246, 0.015)
        );
    font-family: var(--heading-font);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.65;
}

.about-quote::before {
    content: "“";
    position: absolute;
    top: 4px;
    left: 14px;
    color: rgba(37, 99, 235, 0.12);
    font-family: var(--heading-font);
    font-size: 4.7rem;
    line-height: 1;
}

.about-info-card {
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    background: var(--gray-50);
    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.about-info-card:hover {
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--shadow-small);
    transform: translateY(-4px);
}

.about-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
}

.about-card-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.09);
    font-size: 0.72rem;
}

.about-card-title h3 {
    color: var(--navy-900);
    font-size: 0.79rem;
    font-weight: 700;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span {
    padding: 7px 10px;
    border: 1px solid rgba(37, 99, 235, 0.13);
    border-radius: var(--radius-round);
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.055);
    font-size: 0.64rem;
    font-weight: 600;
}

.looking-card {
    background:
        linear-gradient(
            135deg,
            rgba(45, 212, 191, 0.045),
            var(--gray-50)
        );
}

.looking-card .about-card-icon {
    color: #0f9f8f;
    background: rgba(45, 212, 191, 0.1);
}

.green-tags span {
    color: #0d9488;
    border-color: rgba(45, 212, 191, 0.18);
    background: rgba(45, 212, 191, 0.07);
}

/* ================================
   9. QUALITIES SECTION
================================ */

.qualities-section {
    padding: 115px 0 125px;
    background:
        linear-gradient(
            180deg,
            #f7f9fc,
            #f1f5fb
        );
}

.qualities-heading {
    margin-bottom: 52px;
}

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quality-card {
    min-height: 245px;
    padding: 29px 27px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.035);
    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.quality-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
    transform: translateY(-7px);
}

.quality-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 10px;
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.075);
    font-size: 0.8rem;
    transition:
        color var(--transition-normal),
        background var(--transition-normal),
        transform var(--transition-normal);
}

.quality-card:hover .quality-icon {
    color: var(--white);
    background: var(--blue-600);
    transform: rotate(-5deg) scale(1.06);
}

.quality-card h3 {
    margin-bottom: 12px;
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.quality-card p {
    color: var(--gray-500);
    font-size: 0.76rem;
    line-height: 1.8;
}

/* ================================
   10. SKILLS SECTION
================================ */

.skills-section {
    padding: 120px 0 125px;
    background: var(--white);
}

.skills-heading {
    margin-bottom: 40px;
}

.section-description {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--gray-500);
    font-size: 0.82rem;
    line-height: 1.75;
}

.skill-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 30px;
}

.skill-tab {
    padding: 9px 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-round);
    color: var(--gray-500);
    background: var(--gray-100);
    font-size: 0.66rem;
    font-weight: 600;
    transition:
        color var(--transition-fast),
        background var(--transition-normal),
        border-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.skill-tab:hover {
    color: var(--blue-600);
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

.skill-tab.active {
    color: var(--white);
    border-color: var(--blue-600);
    background: var(--blue-600);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
}

.skill-content-wrapper {
    min-height: 108px;
    display: grid;
    place-items: start center;
}

.skill-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 950px;
    animation: skillPanelFade 0.4s ease;
}

.skill-panel[hidden] {
    display: none;
}

.skill-chip {
    padding: 9px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 7px;
    color: var(--gray-500);
    background: var(--gray-50);
    font-size: 0.64rem;
    font-weight: 500;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-normal);
}

.skill-chip:hover {
    color: var(--blue-600);
    border-color: rgba(37, 99, 235, 0.22);
    background: rgba(37, 99, 235, 0.055);
    transform: translateY(-2px);
}

/* Soft skills */

.soft-skills-area {
    margin-top: 105px;
}

.soft-skills-heading {
    margin-bottom: 42px;
}

.soft-skills-heading h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 990px;
    margin-inline: auto;
}

.soft-skill-card {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 9px;
    color: var(--navy-900);
    background: #f5f7fb;
    font-size: 0.68rem;
    font-weight: 500;
    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        background var(--transition-normal),
        box-shadow var(--transition-normal);
}

.soft-skill-card:hover {
    border-color: rgba(45, 212, 191, 0.35);
    background: rgba(45, 212, 191, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
}

.soft-skill-icon {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #0d9488;
    background: rgba(45, 212, 191, 0.12);
    font-size: 0.62rem;
}

/* ================================
   11. PROJECTS SECTION
================================ */

.projects-section {
    position: relative;
    padding: 120px 0 130px;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 55%,
            #f7f9fc 100%
        );
}

.projects-heading {
    margin-bottom: 46px;
}

/* Project statistics */

.project-statistics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 45px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-medium);
    background: var(--white);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.045);
}

.project-stat-card {
    min-height: 115px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 20px;
    text-align: center;
}

.project-stat-card:not(:last-child) {
    border-right: 1px solid var(--gray-200);
}

.project-stat-card strong {
    color: var(--blue-600);
    font-family: var(--heading-font);
    font-size: 1.65rem;
}

.project-stat-card span {
    max-width: 150px;
    color: var(--gray-500);
    font-size: 0.65rem;
    line-height: 1.5;
}

/* Filters */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 40px;
}

.project-filter {
    padding: 9px 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-round);
    color: var(--gray-500);
    background: var(--white);
    font-size: 0.66rem;
    font-weight: 600;
    transition:
        color var(--transition-fast),
        border-color var(--transition-normal),
        background var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.project-filter:hover {
    color: var(--blue-600);
    border-color: rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.project-filter.active {
    color: var(--white);
    border-color: var(--blue-600);
    background: var(--blue-600);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
}

/* Project grid */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.project-card {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.045);
    transition:
        opacity 0.35s ease,
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.project-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.11);
    transform: translateY(-8px);
}

.project-card.project-hidden {
    display: none;
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--gray-100);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.project-card:hover .project-image {
    transform: scale(1.055);
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 19, 35, 0.08),
            rgba(7, 19, 35, 0.62)
        );
    transition: opacity var(--transition-normal);
}

.project-card:hover .project-image-overlay {
    opacity: 1;
}

.project-preview-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(37, 99, 235, 0.92);
    box-shadow: 0 15px 35px rgba(2, 8, 23, 0.28);
    transform: translateY(8px) scale(0.9);
    transition: transform var(--transition-normal);
}

.project-card:hover .project-preview-button {
    transform: translateY(0) scale(1);
}

.project-status {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-round);
    color: var(--white);
    backdrop-filter: blur(12px);
    font-size: 0.6rem;
    font-weight: 700;
}

.project-status.completed {
    background: rgba(13, 148, 136, 0.88);
}

.project-status.academic {
    background: rgba(37, 99, 235, 0.88);
}

.project-status.concept {
    background: rgba(124, 58, 237, 0.88);
}

/* Project content */

.project-card-content {
    padding: 27px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.project-meta span {
    padding: 6px 9px;
    border-radius: var(--radius-round);
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.07);
    font-size: 0.57rem;
    font-weight: 700;
}

.project-card h3 {
    margin-bottom: 13px;
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: 1.35rem;
    line-height: 1.25;
}

.project-description {
    margin-bottom: 20px;
    color: var(--gray-500);
    font-size: 0.76rem;
    line-height: 1.75;
}

.project-role {
    margin-bottom: 19px;
    padding: 15px 16px;
    border-left: 3px solid var(--blue-500);
    border-radius: 0 10px 10px 0;
    background: rgba(37, 99, 235, 0.045);
}

.project-detail-label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy-900);
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-role p {
    color: var(--gray-500);
    font-size: 0.69rem;
    line-height: 1.65;
}

.project-features,
.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-features {
    margin-bottom: 13px;
}

.project-features span {
    position: relative;
    padding-left: 13px;
    color: var(--gray-500);
    font-size: 0.61rem;
    font-weight: 500;
}

.project-features span::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0d9488;
    font-weight: 800;
}

.project-technologies {
    margin-bottom: 22px;
}

.project-technologies span {
    padding: 6px 9px;
    border: 1px solid var(--gray-200);
    border-radius: 7px;
    color: var(--gray-500);
    background: var(--gray-50);
    font-size: 0.57rem;
    font-weight: 600;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-top: 19px;
    border-top: 1px solid var(--gray-200);
}

.btn-project-details {
    flex: 1;
    min-height: 42px;
    color: var(--white);
    background: var(--navy-900);
}

.btn-project-details:hover {
    background: var(--blue-600);
}

.project-icon-link {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 11px;
    color: var(--gray-500);
    background: var(--white);
    transition:
        color var(--transition-fast),
        border-color var(--transition-normal),
        background var(--transition-normal),
        transform var(--transition-normal);
}

.project-icon-link:hover {
    color: var(--white);
    border-color: var(--blue-600);
    background: var(--blue-600);
    transform: translateY(-3px);
}

/* ================================
   12. RESEARCH SECTION
================================ */

.research-section {
    padding: 120px 0;
    background: var(--white);
}

.research-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 24px;
    align-items: start;
}

.research-main-card,
.research-interests-card {
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: var(--gray-50);
}

.research-main-card {
    padding: 32px;
}

.research-card-header,
.research-interest-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.research-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.08);
}

.research-icon.small {
    width: 34px;
    height: 34px;
    color: #0d9488;
    background: rgba(45, 212, 191, 0.1);
}

.research-type {
    display: block;
    margin-bottom: 7px;
    color: var(--blue-600);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.research-main-card h3 {
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: 1.45rem;
    line-height: 1.3;
}

.research-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    color: var(--gray-500);
    font-size: 0.68rem;
}

.research-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.research-main-card > p,
.research-objective p {
    color: var(--gray-500);
    font-size: 0.77rem;
    line-height: 1.8;
}

.research-objective {
    margin-top: 22px;
    padding: 18px;
    border-left: 3px solid var(--blue-500);
    border-radius: 0 10px 10px 0;
    background: rgba(37, 99, 235, 0.05);
}

.research-objective > span {
    display: block;
    margin-bottom: 7px;
    color: var(--navy-900);
    font-size: 0.66rem;
    font-weight: 700;
}

.research-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.research-skills span {
    padding: 7px 10px;
    border-radius: var(--radius-round);
    color: #0d9488;
    background: rgba(45, 212, 191, 0.08);
    font-size: 0.58rem;
    font-weight: 600;
}

.research-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-200);
}

.research-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    color: var(--navy-900);
    background: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.research-btn:hover {
    color: var(--white);
    border-color: var(--blue-600);
    background: var(--blue-600);
    transform: translateY(-3px);
}

.research-btn.primary {
    color: var(--white);
    border-color: var(--blue-600);
    background: var(--blue-600);
}

.research-interests-card {
    padding: 26px;
}

.research-interest-title {
    align-items: center;
    margin-bottom: 20px;
}

.research-interest-title h3 {
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.research-interests-card ul {
    display: grid;
    gap: 13px;
    list-style: none;
}

.research-interests-card li {
    position: relative;
    padding-left: 18px;
    color: var(--gray-500);
    font-size: 0.72rem;
}

.research-interests-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0d9488;
    font-weight: 800;
}

.research-note {
    display: flex;
    gap: 11px;
    margin-top: 25px;
    padding: 16px;
    border-radius: 12px;
    color: var(--gray-500);
    background: rgba(45, 212, 191, 0.07);
}

.research-note i {
    color: #0d9488;
}

.research-note p {
    font-size: 0.66rem;
    line-height: 1.65;
}

/* ================================
   13. JOURNEY SECTION
================================ */

.journey-section {
    padding: 120px 0;
    background: var(--gray-50);
}

.education-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 35px;
}

.education-timeline::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 8px;
    width: 1px;
    background: var(--gray-300);
}

.education-item {
    position: relative;
    padding: 0 0 42px 30px;
}

.timeline-marker {
    position: absolute;
    top: 6px;
    left: -34px;
    width: 15px;
    height: 15px;
    border: 3px solid var(--gray-50);
    border-radius: 50%;
    background: var(--blue-500);
    box-shadow: 0 0 0 1px var(--blue-500);
}

.education-item:nth-child(2) .timeline-marker,
.education-item:nth-child(3) .timeline-marker,
.education-item:nth-child(4) .timeline-marker {
    background: #2dd4bf;
    box-shadow: 0 0 0 1px #2dd4bf;
}

.timeline-year,
.growth-year {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--blue-600);
    font-size: 0.61rem;
    font-weight: 700;
}

.education-content h3 {
    margin-bottom: 6px;
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: 1.1rem;
}

.education-content h4 {
    margin-bottom: 9px;
    color: var(--gray-500);
    font-size: 0.68rem;
    font-weight: 600;
}

.education-content p {
    max-width: 720px;
    color: var(--gray-500);
    font-size: 0.72rem;
    line-height: 1.75;
}

.growth-journey {
    margin-top: 105px;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.growth-card {
    min-height: 245px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: var(--white);
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.growth-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    transform: translateY(-6px);
}

.growth-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 10px;
    color: var(--blue-600);
    background: rgba(37, 99, 235, 0.08);
}

.growth-card h3 {
    margin-bottom: 11px;
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.growth-card p {
    color: var(--gray-500);
    font-size: 0.7rem;
    line-height: 1.75;
}

/* ================================
   14. BEYOND TECH SECTION
================================ */

.beyond-tech-section {
    padding: 120px 0;
    background: var(--white);
}

.beyond-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.beyond-card {
    min-height: 270px;
    padding: 27px;
    border: 1px solid var(--gray-200);
    border-radius: 17px;
    background: var(--gray-50);
    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.beyond-card:hover {
    border-color: rgba(45, 212, 191, 0.35);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
    transform: translateY(-7px);
}

.beyond-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 11px;
    color: #0d9488;
    background: rgba(45, 212, 191, 0.1);
}

.beyond-card h3 {
    margin-bottom: 12px;
    color: var(--navy-900);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.beyond-card p {
    margin-bottom: 18px;
    color: var(--gray-500);
    font-size: 0.71rem;
    line-height: 1.75;
}

.beyond-skill {
    display: inline-block;
    padding: 7px 10px;
    border-radius: var(--radius-round);
    color: #0d9488;
    background: rgba(45, 212, 191, 0.09);
    font-size: 0.58rem;
    font-weight: 700;
}

.person-behind-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-top: 65px;
    padding: 45px;
    border-radius: 22px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.16),
            transparent 30%
        ),
        var(--navy-900);
}

.person-behind-content h2 {
    margin-bottom: 16px;
    font-family: var(--heading-font);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
}

.person-behind-content p {
    color: var(--gray-300);
    font-size: 0.78rem;
    line-height: 1.8;
}

.person-traits {
    display: grid;
    gap: 12px;
}

.person-traits span {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    color: var(--gray-200);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.68rem;
    font-weight: 600;
}

.person-traits i {
    color: var(--teal-400);
}

/* ==================================================
   READDY COLOR CORRECTIONS
   Research, Journey and Beyond Tech
================================================== */

:root {
    --readdy-blue: #2563eb;
    --readdy-blue-light: #eaf1ff;

    --readdy-teal: #009b98;
    --readdy-teal-light: #dff7f5;

    --readdy-navy: #10203a;
    --readdy-text: #52627a;

    --readdy-white: #ffffff;
    --readdy-page-blue: #f4f8fe;
    --readdy-card-blue: #f6f9fd;

    --readdy-border: #dfe7f1;
}

/* ====================================
   SHARED SECTION COLORS
==================================== */

.research-section,
.beyond-tech-section {
    background: var(--readdy-white);
}

.journey-section {
    background: var(--readdy-page-blue);
}

.research-section .section-label,
.journey-section .section-label {
    color: var(--readdy-blue);
}

.beyond-tech-section .section-label {
    color: var(--readdy-teal);
}

.research-section .section-heading h2,
.journey-section .section-heading h2,
.beyond-tech-section .section-heading h2 {
    color: var(--readdy-navy);
}

.research-section .section-description,
.journey-section .section-description,
.beyond-tech-section .section-description {
    color: var(--readdy-text);
}

/* ==================================================
   READDY-STYLE LEARNING JOURNEY TIMELINE
================================================== */

.journey-section {
    padding: 120px 0;
    background: #f4f8fe;
}

.journey-heading {
    margin-bottom: 58px;
}

.journey-section .section-label {
    color: #2563eb;
}

.journey-section .section-heading h2 {
    color: #10203a;
}

.journey-section .section-description {
    max-width: 720px;
    color: #52627a;
}

/* Main vertical timeline */

.education-timeline {
    position: relative;
    display: block;
    max-width: 830px;
    margin: 0 auto;
    padding-left: 48px;
}

.education-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 15px;
    left: 14px;
    width: 1px;
    background: #d7e0ec;
}

/* Each timeline item */

.education-item {
    position: relative;
    display: block;
    padding: 0 0 58px 26px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.education-item:last-child {
    padding-bottom: 0;
}

/* Timeline circle */

.timeline-marker {
    position: absolute;
    top: 2px;
    left: -42px;
    width: 23px;
    height: 23px;
    display: block;
    border: 3px solid #2563eb;
    border-radius: 50%;
    background: #f4f8fe;
    box-shadow: 0 0 0 4px #f4f8fe;
}

.education-item:not(:first-child) .timeline-marker {
    border-color: #009b98;
}

/* Timeline text */

.timeline-year {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.education-content {
    border: 0;
    background: transparent;
}

.education-content h3 {
    margin-bottom: 5px;
    color: #10203a;
    font-family: var(--heading-font);
    font-size: 1.23rem;
    line-height: 1.35;
}

.education-content h4 {
    margin-bottom: 8px;
    color: #52627a;
    font-size: 0.78rem;
    font-weight: 500;
}

.education-content p {
    max-width: 760px;
    color: #52627a;
    font-size: 0.78rem;
    line-height: 1.75;
}

/* Keep the growth cards below the timeline */

.growth-journey {
    margin-top: 110px;
}

/* ====================================
   BEYOND TECH SECTION
==================================== */

.beyond-tech-section {
    background: var(--readdy-white);
}

.beyond-card {
    border: 1px solid var(--readdy-border);
    background: var(--readdy-card-blue);
    box-shadow: none;
}

.beyond-card:hover {
    border-color: #7bd7d2;
    box-shadow: none;
    transform: translateY(-4px);
}

.beyond-icon {
    color: var(--readdy-teal);
    background: var(--readdy-teal-light);
}

.beyond-card h3 {
    color: var(--readdy-navy);
}

.beyond-card p {
    color: var(--readdy-text);
}

.beyond-skill {
    color: #007d7a;
    background: var(--readdy-teal-light);
}

/* Change the dark final card into the light Readdy style */
.person-behind-card {
    color: var(--readdy-navy);
    border: 1px solid #d9e5f5;
    background: linear-gradient(
        90deg,
        #eef4ff 0%,
        #f7faff 45%,
        #eef4ff 100%
    );
    box-shadow: none;
}

.person-behind-content h2 {
    color: var(--readdy-blue);
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;
}

.person-behind-content p {
    color: var(--readdy-text);
}

.person-traits {
    grid-template-columns: repeat(4, 1fr);
}

.person-traits span {
    color: var(--readdy-navy);
    border: 0;
    border-left: 1px solid var(--readdy-border);
    border-radius: 0;
    background: transparent;
}

.person-traits i {
    color: var(--readdy-blue);
}

/* ==================================================
   15. PROFESSIONAL GALLERY
================================================== */

.gallery-section {
    position: relative;
    padding: 120px 0 125px;
    background: #f4f8fe;
}

.gallery-heading {
    margin-bottom: 38px;
}

.gallery-section .section-label {
    color: #2563eb;
}

.gallery-section .section-heading h2 {
    color: #10203a;
}

.gallery-section .section-description {
    max-width: 680px;
    color: #52627a;
}

/* Gallery filters */

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 34px;
}

.gallery-filter {
    padding: 8px 14px;
    border: 1px solid #dfe7f1;
    border-radius: 999px;
    color: #52627a;
    background: #ffffff;
    font-size: 0.64rem;
    font-weight: 600;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-filter:hover {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.3);
    background: #eef4ff;
    transform: translateY(-2px);
}

.gallery-filter.active {
    color: #ffffff;
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* Gallery grid */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin-inline: auto;
}

.gallery-item {
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.gallery-item:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px);
}

.gallery-item.gallery-hidden {
    display: none;
}

.gallery-image-button {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.gallery-image-button img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition:
        transform 0.65s ease,
        filter 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.66);
}

/* Hover overlay */

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    color: #ffffff;
    background:
        linear-gradient(
            180deg,
            rgba(7, 19, 35, 0.02) 20%,
            rgba(7, 19, 35, 0.88) 100%
        );
    transform: translateY(12px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-image-button:focus-visible .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-category {
    width: fit-content;
    margin-bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #dff7f5;
    background: rgba(0, 155, 152, 0.28);
    font-size: 0.54rem;
    font-weight: 700;
}

.gallery-overlay h3 {
    margin-bottom: 6px;
    font-family: var(--heading-font);
    font-size: 1rem;
}

.gallery-overlay p {
    max-width: 280px;
    color: #d7e0ec;
    font-size: 0.62rem;
    line-height: 1.6;
}

.gallery-view {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 600;
}

.gallery-action {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.gallery-view-all-button {
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.gallery-view-all-button:hover {
    background: #10203a;
}

/* ==================================================
   GALLERY LIGHTBOX
================================================== */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    visibility: hidden;
    opacity: 0;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(4, 12, 25, 0.94);
    backdrop-filter: blur(12px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.gallery-lightbox.open {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    width: min(900px, 85vw);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: #0f1b2d;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
    transform: scale(0.94);
    transition: transform 0.35s ease;
}

.gallery-lightbox.open .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #071323;
}

.lightbox-caption {
    padding: 20px 23px;
}

.lightbox-caption h3 {
    margin-bottom: 6px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 1.2rem;
}

.lightbox-caption p {
    color: #94a3b8;
    font-size: 0.72rem;
    line-height: 1.7;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    font-size: 1rem;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.lightbox-close:hover {
    background: #2563eb;
    transform: rotate(90deg);
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-50%);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.lightbox-navigation:hover {
    background: #2563eb;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-previous {
    left: 28px;
}

.lightbox-next {
    right: 28px;
}

body.lightbox-open {
    overflow: hidden;
}

/* ==================================================
   16. FULL GALLERY PAGE
================================================== */

.gallery-page-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #dfe7f1;
}

.gallery-page-header .logo {
    color: #10203a;
}

.gallery-page-header .nav-link {
    color: #52627a;
}

.gallery-page-header .nav-link:hover,
.gallery-page-header .nav-link.active {
    color: #2563eb;
}

.full-gallery-hero {
    padding: 150px 0 65px;
    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(37, 99, 235, 0.08),
            transparent 32%
        ),
        #f4f8fe;
}

.gallery-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 35px;
    color: #52627a;
    font-size: 0.72rem;
    font-weight: 600;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.gallery-back-link:hover {
    color: #2563eb;
    transform: translateX(-4px);
}

.full-gallery-heading {
    max-width: 850px;
    margin-bottom: 0;
}

.full-gallery-heading h1 {
    color: #10203a;
    font-family: var(--heading-font);
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.full-gallery-section {
    padding: 55px 0 120px;
    background: #f4f8fe;
}

.full-gallery-filters {
    margin-bottom: 42px;
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.full-gallery-item:nth-child(1),
.full-gallery-item:nth-child(6),
.full-gallery-item:nth-child(8) {
    grid-row: span 2;
}

.full-gallery-item:nth-child(1) img,
.full-gallery-item:nth-child(6) img,
.full-gallery-item:nth-child(8) img {
    height: 100%;
    min-height: 540px;
    aspect-ratio: auto;
}

.full-gallery-item:nth-child(2) img,
.full-gallery-item:nth-child(3) img,
.full-gallery-item:nth-child(4) img,
.full-gallery-item:nth-child(5) img,
.full-gallery-item:nth-child(7) img,
.full-gallery-item:nth-child(9) img,
.full-gallery-item:nth-child(10) img,
.full-gallery-item:nth-child(11) img,
.full-gallery-item:nth-child(12) img {
    min-height: 255px;
}

.full-gallery-bottom-action {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.gallery-return-button {
    color: #ffffff;
    background: #10203a;
}

.gallery-return-button:hover {
    background: #2563eb;
}

/* ==================================================
   PERSON BEHIND THE PORTFOLIO
================================================== */

.person-behind-section {
    padding: 120px 0 125px;
    background: #ffffff;
}

.person-behind-heading {
    max-width: 900px;
    margin-bottom: 58px;
}

.person-behind-section .section-label {
    color: #009b98;
}

.person-behind-section .section-heading h2 {
    color: #10203a;
    font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.person-behind-section .section-description {
    max-width: 780px;
    color: #52627a;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Personality cards */

.personality-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    max-width: 1020px;
    margin-inline: auto;
}

.personality-card {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 14px;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    text-align: center;
    background: #f4f8fe;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.personality-card:hover {
    border-color: #7bd7d2;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
    transform: translateY(-5px);
}

.personality-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 10px;
    color: #009b98;
    background: #dff7f5;
    font-size: 1rem;
}

.personality-card h3 {
    margin-bottom: 8px;
    color: #10203a;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
}

.personality-card p {
    color: #64748b;
    font-size: 0.7rem;
    line-height: 1.45;
}

/* ==================================================
   ACHIEVEMENT STATISTICS
================================================== */

.achievement-section {
    padding: 120px 0 125px;
    background: #f4f8fe;
}

.achievement-heading {
    margin-bottom: 55px;
}

.achievement-section .section-label {
    color: #2563eb;
}

.achievement-section .section-heading h2 {
    color: #10203a;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    max-width: 980px;
    margin-inline: auto;
}

.achievement-card {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 20px;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    text-align: center;
    background: #ffffff;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.achievement-card:hover {
    border-color: #8bb2ff;
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
}

.achievement-card strong {
    color: #2563eb;
    font-family: var(--heading-font);
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1;
}

.achievement-card .achievement-word {
    font-size: 1.8rem;
}

.achievement-card span {
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.45;
}

.achievement-card.highlight {
    border-color: #8bb2ff;
}

/* ==================================================
   INTERNSHIP CALL TO ACTION
================================================== */

.internship-cta-section {
    padding: 105px 0 110px;
    color: #ffffff;
    background: #10203a;
}

.internship-cta-content {
    max-width: 850px;
    text-align: center;
}

.internship-label {
    display: inline-block;
    margin-bottom: 20px;
    color: #5f8cff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.internship-cta-content h2 {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.internship-cta-content > p {
    max-width: 720px;
    margin: 0 auto;
    color: #aebbd0;
    font-size: 0.95rem;
    line-height: 1.75;
}

.internship-role-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 36px auto 34px;
}

.internship-role-tags span {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    font-size: 0.72rem;
    font-weight: 600;
}

.internship-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.internship-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 700;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.internship-btn:hover {
    transform: translateY(-3px);
}

.internship-btn.primary {
    color: #ffffff;
    background: #315fdc;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.26);
}

.internship-btn.primary:hover {
    background: #2563eb;
}

.internship-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.internship-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.internship-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.internship-link:hover {
    color: #60a5fa;
}

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

.contact-section {
    padding: 120px 0 125px;
    background: #ffffff;
}

.contact-heading {
    margin-bottom: 55px;
}

.contact-section .section-label {
    color: #2563eb;
}

.contact-section .section-heading h2 {
    color: #10203a;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.contact-section .section-description {
    max-width: 700px;
    color: #64748b;
}

/* Main layout */

.contact-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 35px;
    max-width: 1100px;
    margin-inline: auto;
    align-items: start;
}

/* Contact details */

.contact-info {
    display: grid;
    gap: 12px;
}

.contact-card {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #10203a;
    background: #f7f9fc;
    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(37, 99, 235, 0.28);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
}

.contact-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #2563eb;
    background: #eaf1ff;
    font-size: 0.75rem;
}

.contact-card span {
    display: block;
    margin-bottom: 4px;
    color: #7b8aa0;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-card strong {
    color: #10203a;
    font-size: 0.69rem;
    font-weight: 600;
}

/* Opportunity card */

.contact-opportunity-card {
    margin-top: 2px;
    padding: 19px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f7f9fc;
}

.contact-opportunity-title {
    display: block;
    margin-bottom: 8px;
    color: #10203a;
    font-size: 0.7rem;
    font-weight: 700;
}

.contact-opportunity-card p {
    margin-bottom: 14px;
    color: #64748b;
    font-size: 0.64rem;
    line-height: 1.65;
}

.contact-availability {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #007d7a;
    background: #dff7f5;
    font-size: 0.58rem;
    font-weight: 600;
}

/* Form container */

.contact-form {
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f7f9fc;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    position: relative;
    display: grid;
    gap: 7px;
    margin-bottom: 17px;
}

.form-group label {
    color: #10203a;
    font-size: 0.62rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dfe7f1;
    border-radius: 9px;
    outline: none;
    color: #10203a;
    background: #ffffff;
    font-family: var(--body-font);
    font-size: 0.67rem;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group input {
    height: 46px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 140px;
    padding: 14px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1aec0;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.07);
}

.message-counter {
    position: absolute;
    right: 10px;
    bottom: 8px;
    color: #94a3b8;
    font-size: 0.55rem;
}

.contact-submit-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    color: #ffffff;
    background: #2563eb;
    font-size: 0.68rem;
    font-weight: 700;
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(4px);
}

.form-status {
    min-height: 16px;
    margin-top: 10px;
    color: #009b98;
    font-size: 0.63rem;
    text-align: center;
}

.form-status {
    min-height: 20px;
    margin-top: 12px;
    color: #009b98;
    font-size: 0.67rem;
    font-weight: 600;
    text-align: center;
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Journey credential links */

.journey-credential-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.credential-btn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid #d8e6ff;
    border-radius: 999px;
    color: #2563eb;
    background: #f8fbff;
    font-size: 0.61rem;
    font-weight: 600;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.credential-btn:hover {
    color: #ffffff;
    border-color: #2563eb;
    background: #2563eb;
    transform: translateY(-2px);
}

.qualification-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #007d7a;
    background: #dff7f5;
    font-size: 0.61rem;
    font-weight: 600;
}

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

.site-footer {
    padding: 78px 0 28px;
    color: #ffffff;
    background: #0b1729;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.65fr 0.65fr 1fr;
    gap: 55px;
    align-items: start;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 1.55rem;
    font-weight: 700;
}

.footer-logo span {
    color: #3b82f6;
}

.footer-brand > p {
    max-width: 330px;
    color: #94a3b8;
    font-size: 0.69rem;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    border-color: #2563eb;
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-column h3,
.footer-availability h3 {
    margin-bottom: 17px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.footer-links {
    display: grid;
    gap: 11px;
}

.footer-links a {
    width: fit-content;
    color: #94a3b8;
    font-size: 0.66rem;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(4px);
}

.footer-availability-label {
    display: block;
    margin-bottom: 9px;
    color: #2dd4bf;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.footer-availability h3 {
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-availability p {
    margin-bottom: 16px;
    color: #94a3b8;
    font-size: 0.64rem;
    line-height: 1.7;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #60a5fa;
    font-size: 0.66rem;
    font-weight: 600;
}

.footer-contact-link i {
    transition: transform 0.3s ease;
}

.footer-contact-link:hover i {
    transform: translateX(4px);
}

/* Bottom */

.footer-divider {
    height: 1px;
    margin: 50px 0 25px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #64748b;
    font-size: 0.59rem;
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-made i {
    color: #3b82f6;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-top-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==================================================
   FINAL PORTFOLIO POLISH
================================================== */

/* ================================
   PAGE LOADER
================================ */

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

.page-loader.hide {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

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

.loader-logo {
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 2.6rem;
    font-weight: 700;
}

.loader-logo span {
    color: #3b82f6;
}

.loader-content p {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.loader-line {
    width: 190px;
    height: 2px;
    margin: 22px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.loader-line span {
    width: 45%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #3b82f6;
    animation: loaderMove 1.1s ease-in-out infinite;
}

@keyframes loaderMove {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(330%);
    }
}


/* ================================
   SCROLL PROGRESS
================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 0%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #2563eb,
        #3b82f6,
        #2dd4bf
    );
    pointer-events: none;
}


/* ================================
   BACK TO TOP
================================ */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    visibility: hidden;
    opacity: 0;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;

    color: #ffffff;
    background: #2563eb;

    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28);

    transform: translateY(15px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.back-to-top.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #10203a;
    transform: translateY(-4px);
}

/* Active navigation polish */

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    width: 22px;
}

.gallery-page-header .nav-link.active,
.certificates-page-header .nav-link.active {
    color: #2563eb;
}