
/* =========================================
   1. GLOBAL SETTINGS
========================================= */


/* =========================================
   PORTFOLIO TYPOGRAPHY
========================================= */

:root {
    --font-heading: "Cormorant Infant", serif;
    --font-logo: "Nico Moji", sans-serif;
    --font-body: "Poppins", sans-serif;
}




:root {
    --purple: #7929d1;
    --purple-dark: #54218b;
    --purple-light: #c58aff;
    --text: #2c2038;
    --background: #f8f5ff;
    --white: #ffffff;
    --nav-height: 64px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--background);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

/* =========================================
   2. PAGE BACKGROUND
========================================= */

body {
    background:
        radial-gradient(
            ellipse at 50% 35%,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(247, 242, 255, 0.92) 52%,
            rgba(237, 225, 255, 0.9) 100%
        );
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    min-height: 730px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 24px 120px;
}
/* Hero background image from HTML */

.hero-background-image {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.95;
    pointer-events: none;
}





/* Soft purple light */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 15% 35%,
            rgba(172, 103, 255, 0.16),
            transparent 28%
        ),
        radial-gradient(
            ellipse at 85% 30%,
            rgba(179, 116, 255, 0.18),
            transparent 28%
        ),
        radial-gradient(
            ellipse at 50% 100%,
            rgba(255, 255, 255, 0.8),
            transparent 60%
        );
}

/* =========================================
   3. NAVBAR
========================================= */

.site-header {
    position: absolute;
    top: 28px;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 0 3.8%;
}

.navbar {
    position: relative;
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 12px 34px;

    border: 1px solid rgba(151, 91, 221, 0.7);
    border-radius: 999px;

    background: rgba(235, 224, 255, 0.67);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 0 0 2px rgba(179, 131, 242, 0.17),
        0 3px 10px rgba(99, 45, 153, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.brand {
    font-family: var(--font-logo);
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 1px;
    justify-self: start;
    line-height: 1;
    color: var(--purple);
}

.nav-content {
    display: contents;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 42px);
    list-style: none;
}

.nav-links a {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--purple);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 5px;
    background: var(--purple);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.social-links {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 22px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 24px;
    color: var(--purple);
    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.social-link:hover {
    color: var(--purple-dark);
    transform: translateY(-3px);
}

.social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

/* Mobile menu button */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(121, 41, 209, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 3px;
    background: var(--purple);
    transition: transform 0.25s ease;
}

/* =========================================
   4. HERO CONTENT
========================================= */

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    text-align: center;
    animation: hero-enter 0.85s ease both;
}

.hero-categories {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 22px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1px;
}

.category-dot {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 5.5vw, 80px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: #281b31;
}

.hero-name {
    color: var(--purple-dark);
    background: linear-gradient(
        100deg,
        #3d1d58 0%,
        #762bc4 58%,
        #9b4bdf 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-family: var(--font-heading);
    margin-top: 24px;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    line-height: 1.5;
}

.hero-description {
    max-width: 780px;
    margin: 15px auto 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
    color: #493c53;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}

.btn {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 11px 22px;
    border: 1px solid var(--purple);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: var(--white);
    background: var(--purple);
    box-shadow: 0 3px 8px rgba(121, 41, 209, 0.22);
}

.btn-primary:hover {
    background: var(--purple-dark);
    box-shadow: 0 6px 18px rgba(121, 41, 209, 0.28);
}

.btn-outline {
    color: var(--purple-dark);
    background: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(121, 41, 209, 0.12);
}

.btn-outline svg {
    width: 15px;
    height: 15px;
}

/* =========================================
   5. SCROLL INDICATOR
========================================= */

.scroll-indicator {
    position: absolute;
    bottom: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    width: max-content;
    transform: translateX(-50%);

    color: #a05ee3;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.mouse-icon {
    position: relative;
    display: block;
    width: 15px;
    height: 25px;
    border: 1.5px solid #a05ee3;
    border-radius: 12px;
}

.mouse-wheel {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 2px;
    height: 5px;
    border-radius: 5px;
    background: #a05ee3;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 19px;
    line-height: 1;
    animation: arrow-bounce 1.5s ease-in-out infinite;
}

/* =========================================
   6. TEMPORARY PLACEHOLDER SECTIONS
========================================= */

.placeholder-section {
    min-height: 240px;
    display: grid;
    place-items: center;
    padding: 50px 24px;
    border-top: 1px solid rgba(121, 41, 209, 0.12);
    background: rgba(255, 255, 255, 0.7);
    color: #76558d;
    text-align: center;
}

/* =========================================
   7. ANIMATIONS
========================================= */

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-wheel {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 0.35;
        transform: translate(-50%, 5px);
    }
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* =========================================
   8. TABLET
========================================= */

@media (max-width: 1024px) {
    .site-header {
        top: 22px;
        padding: 0 3%;
    }

    .navbar {
        padding: 12px 25px;
        gap: 18px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .social-links {
        gap: 14px;
    }

    .hero {
        min-height: 700px;
        padding-right: 28px;
        padding-left: 28px;
    }

    .hero-description {
        max-width: 700px;
    }
}

/* =========================================
   9. MOBILE NAVIGATION
========================================= */

@media (max-width: 760px) {
    :root {
        --nav-height: 60px;
    }

    .site-header {
        top: 16px;
        padding: 0 16px;
    }

    .navbar {
        grid-template-columns: 1fr auto;
        min-height: var(--nav-height);
        padding: 9px 17px;
        border-radius: 28px;
        gap: 12px;
    }

    .brand {
        font-size: 23px;
    }

    .menu-toggle {
        display: block;
        grid-column: 2;
        grid-row: 1;
    }

    .nav-content {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 20px;

        border: 1px solid rgba(151, 91, 221, 0.45);
        border-radius: 22px;
        background: rgba(248, 243, 255, 0.97);
        box-shadow: 0 12px 32px rgba(80, 38, 122, 0.14);
        backdrop-filter: blur(18px);

        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    .navbar.menu-open .nav-content {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(121, 41, 209, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 13px 5px;
        font-size: 15px;
    }

    .nav-links a::after {
        display: none;
    }

    .social-links {
        justify-content: center;
        gap: 28px;
        padding-top: 5px;
    }

    .navbar.menu-open .menu-toggle span:first-child {
        transform: translateY(6px) rotate(45deg);
    }

    .navbar.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .navbar.menu-open .menu-toggle span:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero {
        min-height: 100svh;
        min-height: 680px;
        padding: 125px 20px 105px;
    }

    .hero-categories {
        gap: 10px;
        margin-bottom: 22px;
        font-size: 10px;
    }

    .category-dot {
        flex-basis: 4px;
        width: 4px;
        height: 4px;
    }

    .hero h1 {
        font-size: clamp(39px, 8vw, 57px);
        letter-spacing: -1.3px;
        line-height: 1.18;
    }

    .hero h2 {
        margin-top: 19px;
        font-size: 17px;
    }

    .hero-description {
        max-width: 560px;
        margin-top: 13px;
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-actions {
        gap: 12px;
        margin-top: 23px;
    }

    .scroll-indicator {
        bottom: 15px;
        font-size: 11px;
    }
}

/* =========================================
   10. SMALL MOBILE
========================================= */

@media (max-width: 420px) {
    .hero {
        min-height: 660px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero-categories {
        column-gap: 8px;
        row-gap: 9px;
        font-size: 9px;
    }

    .hero h1 {
        font-size: clamp(35px, 9vw, 42px);
    }

    .hero h2 {
        font-size: 16px;
    }

    .hero-description {
        font-size: 13px;
    }

    .btn {
        min-height: 41px;
        padding: 10px 17px;
        font-size: 11px;
    }
}

/* =========================================
   11. ACCESSIBILITY
========================================= */

:focus-visible {
    outline: 3px solid #b47aff;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



/* =========================================
   EXPERIENCE SECTION
========================================= */

.experience-section {
    position: relative;
    padding: 30px 6% 20px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 15% 15%,
            rgba(197, 160, 255, 0.12),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #fbf9ff 0%,
            #f6f1ff 100%
        );
}

.experience-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* Section heading */

.experience-heading {
    text-align: center;
    margin-bottom: 65px;
}

.section-eyebrow {
    font-family: "Poppins", sans-serif;
    display: inline-block;
    margin-bottom: 10px;
    color: #8c43d4;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
}

.experience-heading h2 {
    color: #30213d;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 45px);
    font-weight: 600;
    line-height: 1.2;
}

.experience-heading h2 span {
    color: #7929d1;
}

/* Timeline */

.experience-timeline {
    position: relative;
}

.experience-item {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(180px, 0.8fr)
        36px
        minmax(0, 1.8fr);
    column-gap: 25px;
    padding-bottom: 42px;
}

.experience-item:last-child {
    padding-bottom: 0;
}

/* Left column */

.experience-company {
    padding-top: 2px;
    text-align: right;
}

.experience-company h3 {
    color: #382448;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.experience-role {
    display: block;
    margin-top: 5px;
    color: #8c43d4;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.experience-date {
    display: inline-block;
    margin-top: 8px;
    color: #8c8194;
    font-size: 11px;
    line-height: 1.5;
}

/* Timeline line and marker */

.timeline-marker {
    position: relative;
    display: flex;
    justify-content: center;
}

.timeline-marker::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: -42px;
    width: 1px;
    background: linear-gradient(
        180deg,
        #b16bf1,
        #d9c2f8 80%,
        rgba(217, 194, 248, 0.25)
    );
}

.experience-item:last-child .timeline-marker::before {
    display: none;
}

.timeline-marker > span {
    position: relative;
    z-index: 1;
    display: block;
    width: 11px;
    height: 11px;
    margin-top: 5px;
    border: 2px solid #a65ce8;
    border-radius: 50%;
    background: #fbf9ff;
    box-shadow:
        0 0 0 4px rgba(166, 92, 232, 0.1),
        0 0 12px rgba(166, 92, 232, 0.2);
}

/* Right column */

.experience-details {
    padding: 0 0 25px;
    border-bottom: 1px solid rgba(125, 75, 165, 0.18);
}

.experience-item:last-child .experience-details {
    border-bottom: none;
}

.experience-number {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.experience-details h3 {
    color: #392448;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}


.experience-details ul {
    display: grid;
    gap: 7px;
    margin-top: 13px;
    padding-left: 17px;
    color: #55475f;
}

.experience-details li {
    padding-left: 2px;
    font-size: 12px;
    line-height: 1.1;
}

.experience-details li::marker {
    color: #974bdc;
}

/* =========================================
   EXPERIENCE: TABLET
========================================= */

@media (max-width: 900px) {
    .experience-section {
        padding: 75px 5% 80px;
    }

    .experience-heading {
        margin-bottom: 48px;
    }

    .experience-item {
        grid-template-columns:
            minmax(145px, 0.8fr)
            28px
            minmax(0, 1.8fr);
        column-gap: 17px;
    }

    .experience-company h3 {
        font-size: 15px;
    }

    .experience-details h3 {
        font-size: 15px;
    }
}

/* =========================================
   EXPERIENCE: MOBILE
========================================= */

@media (max-width: 600px) {
    .experience-section {
        padding: 65px 22px 70px;
    }

    .experience-heading {
        margin-bottom: 38px;
    }

    .experience-heading h2 {
        font-size: 32px;
    }

    .experience-item {
        grid-template-columns: 22px minmax(0, 1fr);
        column-gap: 13px;
        row-gap: 12px;
        padding-bottom: 30px;
    }

    .timeline-marker {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .timeline-marker::before {
        bottom: -30px;
    }

    .experience-company {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }

    .experience-company h3 {
        font-size: 16px;
    }

    .experience-role {
        font-size: 12px;
    }

    .experience-date {
        margin-top: 4px;
        font-size: 11px;
    }

    .experience-details {
        grid-column: 2;
        grid-row: 2;
        padding-bottom: 22px;
    }

    .experience-details h3 {
        font-size: 15px;
    }

    .experience-details p {
        font-size: 12px;
    }

    .experience-details li {
        font-size: 12px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .experience-section *,
    .experience-section *::before,
    .experience-section *::after {
        animation: none !important;
        transition: none !important;
    }
}



/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0 7% 20px;
    background: #f8f5ff;
}

.about-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Background heading */

.about-background-title {
    position: relative;
    z-index: -1;
    width: 100%;
    margin: -8px auto 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(100px, 15vw, 280px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 5px;
    text-align: center;
    white-space: nowrap;

    color: rgba(139, 73, 205, 0.12);
    user-select: none;
    pointer-events: none;
}

/* =========================================
   PROFILE VISUAL
========================================= */

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 345px;
    margin-top: -65px;
}

/* Decorative hexagons */

.about-hexagon {
    position: absolute;
    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );

    background: #d9c9fa;
}

.hex-left-small {
    left: 4%;
    top: 48%;
    width: 100px;
    height: 112px;
    opacity: 0.48;
}

.hex-left-large {
    left: 17%;
    top: 15%;
    width: 205px;
    height: 230px;
    opacity: 0.9;
}

.hex-right-large {
    right: 17%;
    top: 15%;
    width: 205px;
    height: 230px;
    opacity: 0.9;
}

.hex-right-small {
    right: 4%;
    top: 48%;
    width: 100px;
    height: 112px;
    opacity: 0.48;
}

/* Central purple hexagon */

.profile-hexagon {
    position: absolute;
    top: 0;
    left: 50%;

    width: 300px;
    height: 350px;

    transform: translateX(-50%);

    clip-path: polygon(
        50% 0%,
        100% 25%,
        100% 75%,
        50% 100%,
        0% 75%,
        0% 25%
    );

    background: linear-gradient(
        145deg,
        #8e42e8 0%,
        #7929d1 55%,
        #6320b0 100%
    );
}

/* Profile photograph */

.about-profile-image {
    position: absolute;
    z-index: 2;
    bottom: -5px;
    left: 49.5%;

    width: 350px;
    height: 465px;

    transform: translateX(-50%);

    display: flex;
    justify-content: center;
    align-items: flex-end;

    pointer-events: none;
}

.about-profile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

/* =========================================
   ABOUT CONTENT
========================================= */

.about-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 12px;
    text-align: center;
}

.about-name {
    margin-bottom: 12px;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 600;
    line-height: 1.4;
}

.about-description {
    max-width: 1500px;
    margin: 0 auto;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .about-section {
        padding: 0 5% 65px;
    }

    .about-background-title {
        font-size: clamp(90px, 16vw, 165px);
        letter-spacing: 2px;
    }

    .about-visual {
        height: 320px;
        margin-top: -35px;
    }

    .hex-left-large,
    .hex-right-large {
        width: 155px;
        height: 175px;
    }

    .profile-hexagon {
        width: 300px;
        height: 330px;
    }

    .about-profile-image {
        width: 300px;
        height: 400px;
    }

    .about-description {
        font-size: 14px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .about-section {
        padding: 0 20px 55px;
    }

    .about-background-title {
        margin-top: 15px;
        font-size: clamp(54px, 15vw, 90px);
        letter-spacing: 0;
    }

    .about-visual {
        height: 265px;
        margin-top: -10px;
    }

    .hex-left-small,
    .hex-right-small {
        width: 48px;
        height: 55px;
        top: 55%;
    }

    .hex-left-small {
        left: 0;
    }

    .hex-right-small {
        right: 0;
    }

    .hex-left-large,
    .hex-right-large {
        width: 85px;
        height: 96px;
        top: 32%;
    }

    .hex-left-large {
        left: 5%;
    }

    .hex-right-large {
        right: 5%;
    }

    .profile-hexagon {
        width: 205px;
        height: 225px;
    }

    .about-profile-image {
        width: 210px;
        height: 280px;
    }

    .about-content {
        margin-top: 15px;
    }

    .about-name {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .about-description {
        font-size: 12px;
        line-height: 1.85;
    }
}

/* Small mobile */

@media (max-width: 380px) {

    .about-background-title {
        font-size: 50px;
    }

    .about-visual {
        height: 235px;
    }

    .profile-hexagon {
        width: 175px;
        height: 195px;
    }

    .about-profile-image {
        width: 185px;
        height: 247px;
    }

    .about-description {
        font-size: 11px;
    }
}



/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    position: relative;
    padding: 56px 4.4% 24px;
    background: #f8f5ff;
    border-top: 1px solid rgba(65, 44, 75, 0.2);
}

.contact-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Contact heading */

.contact-heading {
    text-align: center;
}

.contact-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-heading h2 {
    color: #281832;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(48px, 5vw, 45px);
    font-weight: 600;
    line-height: 1.1;
}

.contact-heading h2 span {
    color: #6828a9;
}

.contact-heading p {
    margin-top: 15px;
    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* =========================================
   CONTACT CARDS
========================================= */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 6.5vw, 125px);

    max-width: 1265px;
    margin: 25px auto 0;
}

.contact-card {
    min-height: 77px;
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 12px 25px;

    border: 1px solid #ddc6fa;
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.08);

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-card:hover {
    border-color: #a66be5;
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.contact-icon {
    flex-shrink: 0;
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
    background: #dfccfb;
    color: #7929d1;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-card-content {
    min-width: 0;
}

.contact-card-content h3 {
    margin-bottom: 2px;
    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.contact-card-content span {
    display: block;
    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

/* =========================================
   FOLLOW ME / SOCIAL ICONS
========================================= */

.contact-social {
    margin-top: 30px;
    text-align: center;
}

.contact-social h3 {
    margin-bottom: 17px;
    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.contact-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 26px;

    color: #7929d1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-social-links a:hover {
    color: #4d197f;
    transform: translateY(-4px);
}

.contact-social-links svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 0 4.4%;
}

.footer-container {
    min-height: 60px;
    max-width: 1660px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    border-top: 1px solid #a45aef;
    padding: 0 40px;
}

.footer-copyright {
    color: #a05be7;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 42px;
}

.footer-links a {
    color: #a05be7;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;

    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #6320a9;
}

.footer-divider {
    width: 1px;
    height: 19px;
    background: #a45aef;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .contact-section {
        padding: 48px 5% 25px;
    }

    .contact-cards {
        gap: 20px;
    }

    .contact-card {
        padding: 12px 15px;
        gap: 12px;
    }

    .contact-card-content h3 {
        font-size: 14px;
    }

    .contact-card-content span {
        font-size: 12px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-links {
        gap: 24px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .contact-section {
        padding: 45px 20px 25px;
    }

    .contact-eyebrow {
        font-size: 16px;
    }

    .contact-heading h2 {
        font-size: 48px;
    }

    .contact-heading p {
        font-size: 13px;
        line-height: 1.8;
    }

    .desktop-break {
        display: none;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 13px;
        max-width: 420px;
        margin-top: 25px;
    }

    .contact-card {
        min-height: 72px;
        padding: 12px 18px;
    }

    .contact-social {
        margin-top: 28px;
    }

    .contact-social h3 {
        font-size: 19px;
    }

    .contact-social-links {
        gap: 26px;
    }

    .footer-container {
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        padding: 20px 5px;
        text-align: center;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-divider {
        height: 15px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .contact-heading h2 {
        font-size: 42px;
    }

    .contact-heading p {
        font-size: 12px;
    }

    .contact-card-content span {
        font-size: 11px;
    }

    .footer-links {
        gap: 14px;
    }
}



/* =========================================
   EDUCATION & CERTIFICATES SECTION
========================================= */

.education-section {
    position: relative;
    padding: 25px 7% 25px;
    background: #f8f5ff;
    border-top: 1px solid rgba(47, 31, 58, 0.75);
}

.education-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* =========================================
   SECTION HEADING
========================================= */

.education-heading {
    text-align: center;
    margin-bottom: 33px;
}

.education-eyebrow {
    display: block;
    margin-bottom: 10px;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.education-heading h2 {
    color: #281832;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(43px, 5vw, 45px);
    font-weight: 600;
    line-height: 1.1;
}

.education-heading p {
    margin-top: 10px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}

/* =========================================
   EDUCATION TIMELINE
========================================= */

.education-timeline {
    position: relative;

    width: 100%;
    max-width: 980px;
    margin: 32px auto 0;
}

/* Each timeline item */

.education-item {
    position: relative;

    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    column-gap: 25px;

    min-height: 177px;
}

/* Vertical timeline */

.education-item::before {
    content: "";

    position: absolute;
    top: 18px;
    bottom: -1px;
    left: 5px;

    width: 2px;
    background: #d2b2fa;
}

.education-item:last-child::before {
    display: none;
}

/* =========================================
   YEAR / TIMELINE DOT
========================================= */

.education-year {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding-top: 70px;
    padding-left: 30px;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.year-dot {
    position: absolute;
    top: 75px;
    left: 0;

    width: 12px;
    height: 12px;

    border-radius: 50%;
    background: #7929d1;

    box-shadow: 0 0 0 3px #f8f5ff;
}

/* =========================================
   EDUCATION CARD
========================================= */

.education-card {
    margin-bottom: 10px;
    min-height: 163px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 25px 35px;

    border: 1.5px solid #cba6f7;
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.12);

    box-shadow:
        0 1px 3px rgba(121, 41, 209, 0.08);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.education-card:hover {
    border-color: #974cdd;

    box-shadow:
        0 4px 14px rgba(121, 41, 209, 0.08);
}

.education-card-content {
    min-width: 0;
}

.education-card-content h3 {
    margin-bottom: 6px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.4;
}

.education-card-content h4 {
    margin-bottom: 3px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 500;
}

.education-card-content p {
    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 400;
}

/* Percentage badge */

.education-percentage {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 148px;
    padding: 6px 16px;

    border-radius: 50px;
    background: #eee2fb;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .education-section {
        padding: 20px 5% 30px;
    }

    .education-timeline {
        max-width: 750px;
    }

    .education-item {
        grid-template-columns: 115px minmax(0, 1fr);
        column-gap: 18px;
        min-height: 160px;
    }

    .education-card {
        min-height: 145px;
        padding: 22px;
    }

    .education-card-content h3 {
        font-size: 17px;
    }

    .education-card-content h4 {
        font-size: 14px;
    }

    .education-card-content p {
        font-size: 12px;
    }

    .education-percentage {
        min-width: auto;
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .education-section {
        padding: 35px 20px 30px;
    }

    .education-heading {
        margin-bottom: 30px;
    }

    .education-eyebrow {
        font-size: 14px;
    }

    .education-heading h2 {
        font-size: 39px;
    }

    .education-heading p {
        font-size: 12px;
    }

    .education-break {
        display: none;
    }

    .education-timeline {
        margin-top: 20px;
    }

    .education-item {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-left: 28px;
        padding-bottom: 22px;
    }

    .education-item::before {
        top: 6px;
        bottom: -1px;
        left: 5px;
    }

    .education-item:last-child::before {
        display: none;
    }

    .education-year {
        padding: 0 0 10px;
        font-size: 12px;
    }

    .year-dot {
        top: 4px;
        left: -28px;
        width: 11px;
        height: 11px;
    }

    .education-card {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
    }

    .education-card-content h3 {
        font-size: 16px;
    }

    .education-card-content h4 {
        font-size: 13px;
    }

    .education-card-content p {
        font-size: 11px;
    }

    .education-percentage {
        font-size: 11px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .education-heading h2 {
        font-size: 33px;
    }

    .education-eyebrow {
        font-size: 12px;
    }

    .education-card {
        padding: 16px;
    }

    .education-card-content h3 {
        font-size: 14px;
    }
}



/* =========================================
   SKILLS & TECHNOLOGIES SECTION
========================================= */

.skills-section {
    position: relative;
    padding: 55px 6% 65px;
    background: #f8f5ff;
    overflow: hidden;
}

.skills-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

/* =========================================
   SECTION HEADING
========================================= */

.skills-heading {
    text-align: center;
    margin-bottom: 30px;
}

.skills-eyebrow {
    display: block;
    margin-bottom: 8px;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.skills-heading h2 {
    color: #2c1d36;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(34px, 4vw, 45px);
    font-weight: 600;
    line-height: 1.12;
}

.skills-heading h2 span {
    color: #6828a9;
}

.skills-heading p {
    margin-top: 10px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.65;
}

/* =========================================
   SKILLS GRID
========================================= */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

/* =========================================
   SKILL CARD
========================================= */

.skill-card {
    min-width: 200px;
    min-height: 145px;

    padding: 20px 16px;

    border: 1px solid #c69af5;
    border-radius: 7px;

    background: rgba(255, 255, 255, 0.12);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.skill-card:hover {
    border-color: #8f42dc;

    box-shadow:
        0 3px 12px rgba(121, 41, 209, 0.07);
}

/* Card heading */

.skill-card h3 {
    margin-bottom: 4px;

    color: #2c1d36;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
}

/* Card description */

.skill-card > p {
    margin-bottom: 9px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* =========================================
   SKILL TAGS
========================================= */

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
}

.skill-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 19px;
    padding: 3px 10px;

    border-radius: 30px;
    background: #f0e5fc;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.3;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.skill-tags span:hover {
    color: #ffffff;
    background: #7929d1;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .skills-section {
        padding: 45px 5% 55px;
    }

    .skills-container {
        max-width: 750px;
    }

    .skills-grid {
        gap: 10px;
    }

    .skill-card {
        min-height: 155px;
        padding: 16px 13px;
    }

    .skill-card h3 {
        font-size: 12px;
    }

    .skill-card > p {
        font-size: 9px;
    }

    .skill-tags {
        gap: 5px;
    }

    .skill-tags span {
        font-size: 8px;
        padding: 3px 8px;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .skills-section {
        padding: 45px 18px 50px;
    }

    .skills-heading {
        margin-bottom: 25px;
    }

    .skills-eyebrow {
        font-size: 11px;
    }

    .skills-heading h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .skills-heading p {
        font-size: 10px;
    }

    .skills-desktop-break {
        display: none;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .skill-card {
        min-height: auto;
        padding: 19px 16px;
    }

    .skill-card h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .skill-card > p {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .skill-tags {
        gap: 7px;
    }

    .skill-tags span {
        min-height: 21px;
        padding: 4px 10px;
        font-size: 9px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .skills-heading h2 {
        font-size: 30px;
    }

    .skill-card {
        padding: 16px 13px;
    }

    .skill-tags span {
        font-size: 8px;
        padding: 4px 8px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .skill-card,
    .skill-tags span {
        transition: none;
    }
}



/* =========================================
   PROJECTS & ACHIEVEMENTS SECTION
========================================= */

.projects-section {
    position: relative;
    padding: 30px 4% 20px;
    background: #f8f5ff;
    overflow: hidden;
}

.projects-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* =========================================
   SECTION HEADING
========================================= */

.projects-heading {
    text-align: center;
    margin-bottom: 23px;
}

.projects-eyebrow {
    display: block;
    margin-bottom: 5px;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;
}

.projects-heading h2 {
    color: #2c1d36;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(35px, 4vw, 45px);
    font-weight: 600;
    line-height: 1.1;
}

.projects-heading h2 span {
    color: #7929d1;
}

.projects-heading p {
    margin-top: 6px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
}

/* =========================================
   FEATURED PROJECT GRID
========================================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* Project card */

.project-card {
    min-width: 0;
    padding: 12px 13px 14px;

    border-radius: 16px;
    background: #ffffff;

    display: flex;
    flex-direction: column;
}

/* =========================================
   PROJECT IMAGE
========================================= */

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 155px;
    overflow: hidden;
    border-radius: 13px;
    background: #e9def8;
}

.project-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.035);
}

/* Image overlay */

.project-image-overlay {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;

    width: 36%;
    min-width: 125px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;

    padding: 12px;

    border-radius: 12px 0 0 12px;

    background: rgba(45, 26, 74, 0.76);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.project-overlay-item {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;
}

.overlay-symbol {
    flex-shrink: 0;
    color: #ffffff;
    font-size: 16px;
}

/* =========================================
   PROJECT META
========================================= */

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    margin-top: 6px;
}

.project-category {
    display: inline-flex;
    align-items: center;

    padding: 3px 9px;

    border: 1px solid #c99bf5;
    border-radius: 30px;
    background: #f0e4fc;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 8px;
    font-weight: 500;
}

.project-funding {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #7929d1;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* =========================================
   PROJECT INFORMATION
========================================= */

.project-information {
    margin-top: 4px;
}

.project-information h3 {
    color: #2c1d36;
    font-family: "Cormorant Infant", serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
}

.project-subtitle {
    display: block;
    margin-top: 2px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.5;
}

.project-description {
    margin-top: 5px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.65;
    text-align: justify;
}

/* =========================================
   PROJECT HIGHLIGHTS
========================================= */

.project-divider {
    width: 100%;
    height: 1px;
    margin: 7px 0 8px;
    background: #e0c9fa;
}

.project-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.project-highlight {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid #d5b5f8;
    border-radius: 50%;

    color: #7929d1;
}

.highlight-icon svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-highlight h4 {
    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 600;
}

.project-highlight span {
    display: block;
    margin-top: 2px;

    color: #8950c8;
    font-family: "Poppins", sans-serif;
    font-size: 7px;
    font-weight: 400;
    line-height: 1.4;
}

/* =========================================
   ACHIEVEMENT STATISTICS
========================================= */

.project-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    margin-top: 10px;
}

.project-stat-card {
    min-width: 0;
    min-height: 78px;

    padding: 10px 15px;

    border-radius: 15px;
    background: #ffffff;
}

.stat-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-icon {
    flex-shrink: 0;

    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #e9d9fb;

    color: #7929d1;
    font-size: 15px;
}

.stat-top h3 {
    min-width: 0;

    color: #7929d1;
    font-family: "Cormorant Infant", serif;
    font-size: clamp(21px, 2.3vw, 29px);
    font-weight: 600;
    line-height: 1.15;
}

.stat-description {
    padding-left: 38px;
    margin-top: 2px;
}

.stat-description h4 {
    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
}

.stat-description p {
    margin-top: 2px;

    color: #30243a;
    font-family: "Poppins", sans-serif;
    font-size: 7px;
    font-weight: 400;
    line-height: 1.5;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .projects-section {
        padding: 40px 4% 45px;
    }

    .project-image-wrapper {
        height: 135px;
    }

    .project-card {
        padding: 10px;
    }

    .project-information h3 {
        font-size: 22px;
    }

    .project-highlights {
        gap: 5px;
    }

    .project-highlight {
        gap: 5px;
    }

    .highlight-icon {
        width: 29px;
        height: 29px;
    }

    .highlight-icon svg {
        width: 15px;
        height: 15px;
    }

    .project-highlight span {
        font-size: 7px;
    }

    .project-stat-card {
        padding: 10px;
    }

    .stat-description {
        padding-left: 0;
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .projects-section {
        padding: 40px 18px 45px;
    }

    .projects-heading {
        margin-bottom: 25px;
    }

    .projects-eyebrow {
        font-size: 11px;
    }

    .projects-heading h2 {
        font-size: 37px;
    }

    .projects-heading p {
        font-size: 10px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-card {
        padding: 12px;
    }

    .project-image-wrapper {
        height: 190px;
    }

    .project-image-overlay {
        width: 38%;
        min-width: 120px;
        gap: 12px;
    }

    .project-overlay-item {
        font-size: 9px;
    }

    .project-information h3 {
        font-size: 25px;
    }

    .project-subtitle {
        font-size: 10px;
    }

    .project-description {
        font-size: 10px;
        line-height: 1.7;
    }

    .project-highlight h4 {
        font-size: 9px;
    }

    .project-highlight span {
        font-size: 8px;
    }

    .project-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .project-stat-card {
        min-height: 90px;
        padding: 12px;
    }

    .stat-top h3 {
        font-size: 23px;
    }

    .stat-description h4 {
        font-size: 9px;
    }

    .stat-description p {
        font-size: 8px;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .projects-heading h2 {
        font-size: 32px;
    }

    .project-image-wrapper {
        height: 155px;
    }

    .project-highlights {
        gap: 4px;
    }

    .project-highlight {
        align-items: flex-start;
        gap: 4px;
    }

    .highlight-icon {
        width: 25px;
        height: 25px;
    }

    .highlight-icon svg {
        width: 13px;
        height: 13px;
    }

    .project-highlight span {
        font-size: 7px;
    }

    .stat-top h3 {
        font-size: 20px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .project-card *,
    .project-card *::before,
    .project-card *::after {
        transition: none !important;
    }
}



/* =========================================
   PORTFOLIO GLOBAL ANIMATION SYSTEM
========================================= */

/* 1. NAVBAR ENTRANCE */

.site-header {
    animation: navbar-enter 0.9s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes navbar-enter {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. COMMON SCROLL REVEAL */

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s cubic-bezier(.2,.7,.2,1),
        transform 0.8s cubic-bezier(.2,.7,.2,1);

    transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directional reveals */

.js-enabled .reveal-left {
    transform: translateX(-40px);
}

.js-enabled .reveal-right {
    transform: translateX(40px);
}

.js-enabled .reveal-left.reveal-visible,
.js-enabled .reveal-right.reveal-visible {
    transform: translate(0);
}

/* 3. HERO CONTENT */

.hero-content.reveal {
    animation: none;
}

.hero-content.reveal-visible {
    animation: none;
}

/* 4. ABOUT SECTION */

.about-profile-image {
    transition: transform 0.7s ease;
}

.about-section .about-visual.reveal-visible .about-profile-image {
    animation: profile-zoom 1s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes profile-zoom {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.88);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Floating hexagons */

.about-hexagon {
    animation: hexagon-float 5s ease-in-out infinite;
}

.hex-left-large {
    animation-delay: 0.5s;
}

.hex-right-large {
    animation-delay: 1.2s;
}

.hex-right-small {
    animation-delay: 1.8s;
}

@keyframes hexagon-float {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -9px;
    }
}

/* 5. EXPERIENCE SECTION */

.experience-item {
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateX(5px);
}

/* Timeline marker glow */

.timeline-marker > span {
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.experience-item:hover .timeline-marker > span {
    transform: scale(1.2);
    box-shadow:
        0 0 0 5px rgba(166, 92, 232, 0.13),
        0 0 18px rgba(166, 92, 232, 0.4);
}

/* 6. EDUCATION SECTION */

.education-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.education-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 22px rgba(121, 41, 209, 0.1);
}

/* 7. SKILLS SECTION */

.skill-card {
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 9px 22px rgba(121, 41, 209, 0.1);
}

.skill-tags span {
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.skill-tags span:hover {
    transform: translateY(-2px);
}

/* 8. PROJECT SECTION */

.project-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(77, 35, 115, 0.1);
}

.project-image {
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-image {
    transform: scale(1.045);
}

/* Project image overlay */

.project-image-overlay {
    transition: background 0.3s ease;
}

.project-card:hover .project-image-overlay {
    background: rgba(45, 26, 74, 0.83);
}

/* 9. ACHIEVEMENT STATISTICS */

.project-stat-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.project-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 9px 22px rgba(121, 41, 209, 0.1);
}

/* 10. CONTACT SECTION */

.contact-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 20px rgba(121, 41, 209, 0.09);
}

.contact-social-links a {
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.contact-social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* 11. FOOTER */

.footer-links a {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover {
    transform: translateY(-2px);
}

/* =========================================
   ACCESSIBILITY & MOBILE OPTIMIZATION
========================================= */

@media (max-width: 600px) {

    .skill-card:hover,
    .project-card:hover,
    .project-stat-card:hover,
    .contact-card:hover,
    .education-card:hover,
    .experience-item:hover {
        transform: none;
    }

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js-enabled .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

}
