/* =========================================================
   ROOT VARIABLES
========================================================== */
:root {
    --dark-green: #070d14;
    --dark-green-light: #141c27;
    --mustard: #f2b63d;
    --mustard-dark: #d79a24;
    --cream-bg: #080f17;
    --cream-card: #121a25;
    --text-dark: #f5f7fb;
    --text-muted: #c1c8d4;
    --border-light: #253140;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --white: #ffffff;
}

/* =========================================================
   GLOBAL RESET & BASE
========================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at 80% 4%, rgba(242, 182, 61, 0.12), transparent 18%),
        linear-gradient(180deg, #070d14 0%, var(--cream-bg) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.text-accent {
    color: var(--mustard);
}

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

/* =========================================================
   SECTION HEADINGS (Shared)
========================================================== */
.section-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-subheading {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.eyebrow-text {
    color: var(--mustard);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

/* Underline accent below headings */
.text-center .section-heading::after,
.about-section .section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--mustard);
    margin-top: 8px;
}

.text-center .section-heading {
    text-align: center;
}

.text-center .section-heading::after {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   BUTTONS
========================================================== */
.btn-hero {
    background-color: var(--mustard);
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--mustard-dark);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(242, 182, 61, 0.28);
}

/* =========================================================
   STICKY HEADER
========================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(7, 13, 20, 0.92);
    border-bottom: 1px solid rgba(242, 182, 61, 0.18);
    backdrop-filter: blur(14px);
}

.portfolio-navbar {
    min-height: 76px;
    padding: 12px 0;
}

.site-logo {
    color: var(--mustard);
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
}

.site-logo:hover,
.site-logo:focus {
    color: var(--mustard);
}

.nav-menu {
    gap: 20px;
}

.nav-menu .nav-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link:focus {
    color: var(--mustard);
    background-color: rgba(242, 182, 61, 0.08);
}

.resume-btn {
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: var(--mustard);
    color: var(--dark-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 800;
    border: 1px solid var(--mustard);
}

.resume-btn:hover,
.resume-btn:focus {
    background-color: var(--mustard-dark);
    border-color: var(--mustard-dark);
    color: var(--dark-green);
    transform: translateY(-2px);
}

.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--mustard);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(242, 182, 61, 0.18);
}

.nav-toggle i {
    font-size: 1.45rem;
}

/* =========================================================
   HERO SECTION
========================================================== */
.hero-section,
.hero-sec {
    position: relative;
    padding: 36px 0 46px;
    background-color: var(--cream-bg);
    overflow: hidden;
}

.hero-section::before,
.hero-section::after,
.hero-sec::before,
.hero-sec::after {
    content: none;
}

.hero-banner {
    position: relative;
    z-index: 0;
    min-height: 600px;
    padding: 48px 38px;
    border: 1px solid rgba(242, 182, 61, 0.18);
    background-color: #070d14;
    /* background-image:
        linear-gradient(90deg, rgba(7, 13, 20, 0.98) 0%, rgba(7, 13, 20, 0.9) 30%, rgba(7, 13, 20, 0.42) 58%, rgba(7, 13, 20, 0.1) 100%),
        url("assets/banner-image.png"); */
    background-size: cover;
    background-position: center right;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.hero-banner::before {
    content: none;
}

.hero-text-col {
    position: relative;
    z-index: 2;
}

.hero-image-col {
    display: none;
}

.hero-greeting {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--mustard);
    margin-bottom: 0;
}

.hero-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.8rem;
    color: var(--dark-green);
    line-height: 1.05;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 420px;
    margin-bottom: 28px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-main-image {
    display: none;
}

.monitor-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.09) 39% 45%, transparent 46%),
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.14), transparent 14%);
}

.screen-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 36px;
    background: #141d1a;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-sidebar::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 18px;
    width: 12px;
    height: 150px;
    background: repeating-linear-gradient(to bottom, #5a665d 0 4px, transparent 4px 16px);
    opacity: 0.65;
}

.screen-content {
    position: absolute;
    left: 60px;
    top: 60px;
    color: #ffffff;
    line-height: 1.03;
}

.screen-content p,
.screen-content strong,
.screen-content span {
    display: block;
    margin: 0;
}

.screen-content p {
    font-weight: 800;
    font-size: 1.45rem;
}

.screen-content strong {
    color: var(--mustard);
    font-size: 1.72rem;
}

.screen-content span {
    margin-top: 14px;
    max-width: 105px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.artboard {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 116px;
    height: 178px;
    background: #f8f1e8;
    border-radius: 3px;
    box-shadow: -10px 10px 24px rgba(0, 0, 0, 0.18);
}

.art-letter {
    position: absolute;
    top: 36px;
    left: 38px;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: #172420;
}

.art-swatch {
    position: absolute;
    left: 18px;
    bottom: 16px;
    width: 28px;
    height: 28px;
    background: #101817;
}

.art-swatch::after {
    content: 'A';
    position: absolute;
    left: 9px;
    top: 2px;
    color: var(--mustard);
    font-weight: 800;
    font-size: 0.9rem;
}

.monitor-neck,
.monitor-stand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #70746d, #c7c4b8, #6f756e);
}

.monitor-neck {
    top: 254px;
    width: 56px;
    height: 54px;
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.monitor-stand {
    top: 300px;
    width: 172px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 18px 28px rgba(29, 33, 30, 0.16);
}

.desk-lamp {
    position: absolute;
    top: 0;
    left: 6%;
    width: 150px;
    height: 250px;
}

.lamp-arm {
    position: absolute;
    display: block;
    width: 12px;
    height: 116px;
    background: #121716;
    border-radius: 999px;
    transform-origin: bottom center;
    box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.08);
}

.lamp-arm-one {
    left: 74px;
    top: 54px;
    transform: rotate(27deg);
}

.lamp-arm-two {
    left: 88px;
    top: 10px;
    height: 94px;
    transform: rotate(-26deg);
}

.lamp-head {
    position: absolute;
    top: 55px;
    right: 0;
    width: 82px;
    height: 54px;
    background: linear-gradient(145deg, #060807 10%, #26312d);
    border-radius: 60px 60px 18px 18px;
    transform: rotate(18deg);
    box-shadow: 0 14px 20px rgba(0, 0, 0, 0.18);
}

.lamp-head::after {
    content: '';
    position: absolute;
    left: 15px;
    bottom: 4px;
    width: 50px;
    height: 10px;
    border-radius: 50%;
    background: #ffd889;
}

.lamp-light {
    position: absolute;
    top: 104px;
    right: 3px;
    width: 84px;
    height: 124px;
    background: linear-gradient(to bottom, rgba(255, 216, 137, 0.34), transparent);
    clip-path: polygon(42% 0, 72% 0, 100% 100%, 0 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-visual-3d:hover .lamp-light {
    opacity: 1;
}

.lamp-base {
    position: absolute;
    left: 54px;
    bottom: 18px;
    width: 78px;
    height: 16px;
    border-radius: 50%;
    background: #101716;
    box-shadow: 0 14px 18px rgba(0, 0, 0, 0.15);
}

.pencil-cup {
    position: absolute;
    left: 11%;
    bottom: 42px;
    width: 86px;
    height: 118px;
}

.cup-body {
    position: absolute;
    left: 8px;
    bottom: 0;
    width: 68px;
    height: 82px;
    border-radius: 12px 12px 18px 18px;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 8px),
        linear-gradient(135deg, #121b19, #2b3934);
    box-shadow: 0 15px 24px rgba(19, 24, 22, 0.18);
}

.pencil {
    position: absolute;
    bottom: 66px;
    width: 9px;
    height: 86px;
    background: linear-gradient(#3f2f22 0 10%, #e8a72e 10% 88%, #2d241b 88%);
    border-radius: 8px;
    transform-origin: bottom center;
}

.pencil-one {
    left: 24px;
    transform: rotate(-16deg);
}

.pencil-two {
    left: 44px;
    height: 98px;
    transform: rotate(4deg);
}

.pencil-three {
    left: 60px;
    transform: rotate(18deg);
}

.tablet-3d {
    position: absolute;
    right: 34%;
    bottom: 22px;
    width: 205px;
    height: 88px;
    border-radius: 13px;
    background: linear-gradient(145deg, #1e2421, #454b45);
    transform: rotateX(62deg) rotateZ(-4deg);
    box-shadow: 0 30px 30px rgba(19, 24, 22, 0.18);
}

.tablet-shine {
    position: absolute;
    inset: 12px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stylus {
    position: absolute;
    right: 13%;
    bottom: 45px;
    width: 150px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f1514, #323832);
    transform: rotate(-7deg);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.14);
}

.color-fan {
    position: absolute;
    right: 0;
    bottom: 42px;
    width: 190px;
    height: 178px;
}

.color-fan span {
    position: absolute;
    right: 18px;
    bottom: 4px;
    width: 42px;
    height: 158px;
    border-radius: 24px 24px 8px 8px;
    background: var(--fan-color);
    border: 3px solid rgba(255, 255, 255, 0.88);
    transform-origin: 50% 94%;
    transform: rotate(var(--fan-rotate));
    box-shadow: 0 12px 22px rgba(30, 34, 30, 0.12);
}

.plant-pot {
    position: absolute;
    right: 3%;
    bottom: 10px;
    width: 82px;
    height: 98px;
}

.pot {
    position: absolute;
    left: 15px;
    bottom: 0;
    width: 54px;
    height: 48px;
    border-radius: 10px 10px 16px 16px;
    background: linear-gradient(135deg, #151c19, #323b35);
    box-shadow: 0 16px 18px rgba(18, 22, 20, 0.16);
}

.leaf {
    position: absolute;
    left: 36px;
    bottom: 38px;
    width: 18px;
    height: 54px;
    border-radius: 18px 18px 2px 18px;
    background: linear-gradient(#6c9f67, #254f35);
    transform-origin: bottom center;
}

.leaf-one { transform: rotate(-38deg); }
.leaf-two { transform: rotate(-13deg); height: 64px; }
.leaf-three { transform: rotate(17deg); height: 62px; }
.leaf-four { transform: rotate(42deg); height: 48px; }

.hero-visual-3d:hover .monitor-3d {
    transform: translateY(-8px) rotateY(3deg);
}

.hero-visual-3d:hover .color-fan span {
    transform: rotate(calc(var(--fan-rotate) + 5deg)) translateY(-3px);
}

.hero-visual-3d:hover .tablet-3d {
    transform: rotateX(62deg) rotateZ(-4deg) translateY(-8px);
}

/* =========================================================
   ABOUT SECTION
========================================================== */
.about-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.about-img-circle {
   
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--mustard);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 16px 0 32px;
}

.about-stats {
    max-width: 820px;
}

.stat-box {
    height: 100%;
    min-height: 154px;
    padding: 20px 12px;
    background-color: var(--cream-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-8px) scale(1.04);
    border-color: rgba(242, 182, 61, 0.48);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34), 0 0 28px rgba(242, 182, 61, 0.18);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--mustard);
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================================
   EXPERIENCE SECTION
========================================================== */
.experience-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.experience-journey {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.48fr) minmax(0, 1fr);
    align-items: center;
}

.experience-card {
    background-color: var(--cream-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.experience-card:hover {
    border-color: rgba(242, 182, 61, 0.55);
    box-shadow: 0 24px 78px rgba(0, 0, 0, 0.38), 0 0 200px rgba(242, 182, 61, 0.14);
    transform: translateY(-6px);
}

.experience-card-one {
    opacity: 0;
    transform: translateY(22px);
}

.experience-card-two {
    opacity: 0;
    transform: translateY(22px);
}

.experience-connector {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.experience-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--mustard);
    transform: scaleX(0);
    transform-origin: left center;
}

.experience-dot {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--mustard);
    transform: translateY(-50%) scale(0);
    z-index: 2;
}

.experience-dot-left {
    left: -7px;
}

.experience-dot-right {
    right: -7px;
}

.experience-section.experience-animate .experience-card-one {
    animation: experienceCardIn 0.7s ease both;
}

.experience-section.experience-animate .experience-dot-left {
    animation: experienceDotIn 0.35s ease 0.45s forwards;
}

.experience-section.experience-animate .experience-line {
    animation: experienceLineGrow 1s ease 0.6s forwards;
}

.experience-section.experience-animate .experience-dot-right {
    animation: experienceDotIn 0.35s ease 1.35s forwards;
}

.experience-section.experience-animate .experience-card-two {
    animation: experienceCardIn 0.7s ease 1.45s both;
}

.experience-mobile-list {
    display: none;
}

.experience-date {
    font-size: 0.82rem;
    color: var(--mustard-dark);
    font-weight: 700;
    margin-bottom: 8px;
}
.experience-company{
    color:var(--mustard)
}

.experience-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.experience-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

@keyframes experienceLineGrow {
    to {
        transform: scaleX(1);
    }
}

@keyframes experienceDotIn {
    to {
        transform: translateY(-50%) scale(1);
    }
}

.timeline-col-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-col-title i {
    color: var(--mustard);
}

.timeline-list {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    border-left: 2px dotted var(--mustard);
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
    padding-left: 20px;
}

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

.timeline-dot {
    position: absolute;
    left: -27px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--mustard);
    border: 2px solid var(--cream-card);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--mustard-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================================
   PROJECTS SECTION
========================================================== */
.projects-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--mustard);
    color: var(--text-dark);
    border-color: var(--mustard);
}

.filter-btn.active {
    background-color: var(--mustard);
    color: var(--dark-green);
    border-color: var(--mustard);
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--cream-card);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
    aspect-ratio: 4 / 3;
}

.project-thumb {
    width: 100%;
    height: 100%;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-dark);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 72% 22%, rgba(242, 182, 61, 0.22), transparent 24%),
        var(--cream-card);
}

.project-thumb i {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--mustard);
    color: var(--dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
}

.project-thumb span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
}

.project-poster-card .project-thumb {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 25% 28%, rgba(242, 182, 61, 0.24), transparent 24%),
        var(--cream-card);
}

.project-brochure-card .project-thumb {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 72% 72%, rgba(242, 182, 61, 0.2), transparent 26%),
        var(--cream-card);
}

.project-video-card .project-thumb {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at 28% 70%, rgba(242, 182, 61, 0.2), transparent 24%),
        var(--cream-card);
}

.project-card img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 13, 20, 0.88), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-overlay span {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.play-overlay {
    align-items: center;
    justify-content: center;
    opacity: 1;
    background: rgba(7, 13, 20, 0.56);
}

.play-icon {
    font-size: 3rem;
    color: #ffffff;
}

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

/* =========================================================
   SERVICES SECTION
========================================================== */
.services-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.services-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.services-points {
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.services-points li {
    position: relative;
    padding-left: 28px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.services-points li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mustard);
    font-weight: 800;
}

.service-card {
    min-height: 116px;
    height: 100%;
    border-radius: 14px;
    perspective: 1000px;
    outline: none;
}

.service-card-inner {
    position: relative;
    width: 100%;
    min-height: 116px;
    height: 100%;
    border-radius: inherit;
    transform-style: preserve-3d;
    transition: transform 0.65s ease;
}

.service-card:hover .service-card-inner,
.service-card:focus .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-face {
    position: absolute;
    inset: 0;
    min-height: 116px;
    padding: 24px;
    border: 1px solid var(--border-light);
    border-radius: inherit;
    background-color: var(--cream-card);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    backface-visibility: hidden;
}

.service-card-front {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.service-card-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-color: rgba(242, 182, 61, 0.55);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34), 0 0 28px rgba(242, 182, 61, 0.16);
    transform: rotateY(180deg);
}

.service-card-back .service-title {
    color: var(--mustard);
    text-align: center;
}

.service-card-back .service-desc {
    margin-top: 3px;
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: var(--mustard);
    color: var(--dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.service-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.service-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================================
   TOOLS I USE SECTION
========================================================== */
.tools-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.tools-card {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.tools-section .tools-card {
    padding: 0;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    min-height: 96px;
    margin-bottom: 0;
    padding: 20px 22px;
    background-color: var(--cream-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-item:hover {
    border-color: rgba(242, 182, 61, 0.55);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36), 0 0 28px rgba(242, 182, 61, 0.15);
    transform: translateY(-6px);
}

.skill-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
}

.skill-logo {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.badge-ps,
.badge-ai,
.badge-id,
.badge-pr,
.badge-ae,
.badge-dr,
.badge-veo,
.badge-gk,
.badge-cd {
    background-color: #0a111b;
    color: var(--mustard);
    border: 1px solid rgba(242, 182, 61, 0.35);
}

.skill-content {
    flex: 1;
    min-width: 0;
}

.skill-topline {
    margin-bottom: 12px;
}

.skill-bottomline {
    display: flex;
    align-items: center;
    gap: 16px;
}

.skill-name {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
}

.skill-progress {
    flex: 1;
    height: 6px;
    background-color: var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    min-width: 0;
}

.skill-progress .progress-bar {
    background-color: var(--mustard);
    border-radius: 10px;
    transition: width 1.2s ease;
}

.tools-section:not(.tools-animate) .skill-progress .progress-bar {
    width: 0% !important;
}

.tools-section .skill-item {
    opacity: 0;
    transform: translateY(18px);
}

.tools-section.tools-animate .skill-item {
    animation: toolCardIn 0.55s ease forwards;
}

.tools-section.tools-animate .col-lg-6:nth-child(1) .skill-item { animation-delay: 0s; }
.tools-section.tools-animate .col-lg-6:nth-child(2) .skill-item { animation-delay: 0.1s; }
.tools-section.tools-animate .col-lg-6:nth-child(3) .skill-item { animation-delay: 0.2s; }
.tools-section.tools-animate .col-lg-6:nth-child(4) .skill-item { animation-delay: 0.3s; }
.tools-section.tools-animate .col-lg-6:nth-child(5) .skill-item { animation-delay: 0.4s; }
.tools-section.tools-animate .col-lg-6:nth-child(6) .skill-item { animation-delay: 0.5s; }

.skill-percent {
    flex-shrink: 0;
    min-width: 42px;
    text-align: right;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--mustard-dark);
}

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

/* =========================================================
   WORKFLOW SECTION
========================================================== */
.workflow-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.workflow-row {
    position: relative;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.workflow-step .workflow-icon,
.workflow-step .workflow-number,
.workflow-step .workflow-title,
.workflow-step .workflow-desc {
    opacity: 0;
}

.workflow-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #0a111b;
    color: var(--mustard);
    border: 2px solid rgba(242, 182, 61, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 12px;
    position: relative;
    z-index: 2;
    transform: scale(0.7);
}

.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 62%;
    width: 76%;
    border-top: 2px dotted var(--mustard);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left center;
}

.workflow-section.workflow-animate .workflow-step .workflow-icon {
    animation: workflowCircleIn 0.45s ease forwards;
}

.workflow-section.workflow-animate .workflow-step .workflow-number,
.workflow-section.workflow-animate .workflow-step .workflow-title,
.workflow-section.workflow-animate .workflow-step .workflow-desc {
    animation: workflowTextIn 0.45s ease forwards;
}

.workflow-section.workflow-animate .workflow-step:not(:last-child)::after {
    animation: workflowLineGrow 0.55s ease forwards;
}

.workflow-section.workflow-animate .workflow-step:nth-child(1) .workflow-icon { animation-delay: 0s; }
.workflow-section.workflow-animate .workflow-step:nth-child(1) .workflow-number,
.workflow-section.workflow-animate .workflow-step:nth-child(1) .workflow-title,
.workflow-section.workflow-animate .workflow-step:nth-child(1) .workflow-desc { animation-delay: 0.12s; }
.workflow-section.workflow-animate .workflow-step:nth-child(1)::after { animation-delay: 0.42s; }

.workflow-section.workflow-animate .workflow-step:nth-child(2) .workflow-icon { animation-delay: 0.95s; }
.workflow-section.workflow-animate .workflow-step:nth-child(2) .workflow-number,
.workflow-section.workflow-animate .workflow-step:nth-child(2) .workflow-title,
.workflow-section.workflow-animate .workflow-step:nth-child(2) .workflow-desc { animation-delay: 1.07s; }
.workflow-section.workflow-animate .workflow-step:nth-child(2)::after { animation-delay: 1.37s; }

.workflow-section.workflow-animate .workflow-step:nth-child(3) .workflow-icon { animation-delay: 1.9s; }
.workflow-section.workflow-animate .workflow-step:nth-child(3) .workflow-number,
.workflow-section.workflow-animate .workflow-step:nth-child(3) .workflow-title,
.workflow-section.workflow-animate .workflow-step:nth-child(3) .workflow-desc { animation-delay: 2.02s; }
.workflow-section.workflow-animate .workflow-step:nth-child(3)::after { animation-delay: 2.32s; }

.workflow-section.workflow-animate .workflow-step:nth-child(4) .workflow-icon { animation-delay: 2.85s; }
.workflow-section.workflow-animate .workflow-step:nth-child(4) .workflow-number,
.workflow-section.workflow-animate .workflow-step:nth-child(4) .workflow-title,
.workflow-section.workflow-animate .workflow-step:nth-child(4) .workflow-desc { animation-delay: 2.97s; }
.workflow-section.workflow-animate .workflow-step:nth-child(4)::after { animation-delay: 3.27s; }

.workflow-section.workflow-animate .workflow-step:nth-child(5) .workflow-icon { animation-delay: 3.8s; }
.workflow-section.workflow-animate .workflow-step:nth-child(5) .workflow-number,
.workflow-section.workflow-animate .workflow-step:nth-child(5) .workflow-title,
.workflow-section.workflow-animate .workflow-step:nth-child(5) .workflow-desc { animation-delay: 3.92s; }
.workflow-section.workflow-animate .workflow-step:nth-child(5)::after { animation-delay: 4.22s; }

.workflow-section.workflow-animate .workflow-step:nth-child(6) .workflow-icon { animation-delay: 4.75s; }
.workflow-section.workflow-animate .workflow-step:nth-child(6) .workflow-number,
.workflow-section.workflow-animate .workflow-step:nth-child(6) .workflow-title,
.workflow-section.workflow-animate .workflow-step:nth-child(6) .workflow-desc { animation-delay: 4.87s; }

@keyframes workflowCircleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes workflowLineGrow {
    to {
        transform: scaleX(1);
    }
}

.workflow-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--mustard-dark);
    margin-bottom: 4px;
}

.workflow-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.workflow-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0;
    padding: 0 6px;
}

/* =========================================================
   CONTACT SECTION
========================================================== */
.contact-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.contact-card {
    background-color: var(--cream-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.contact-info-list {
    margin-bottom: 24px;
}

.contact-info-list li {
    margin-bottom: 14px;
}

.contact-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    padding: 12px 14px;
    background-color: #0a111b;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, background-color 0.28s ease;
}

.contact-link:hover,
.contact-link:focus {
    color: var(--text-dark);
    background-color: #0d1621;
    border-color: var(--mustard);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26), 0 0 24px rgba(242, 182, 61, 0.14);
    transform: translateY(-3px);
}

.contact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--mustard);
    color: var(--dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.contact-info-list strong,
.contact-info-list small {
    display: block;
}

.contact-info-list strong {
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 3px;
}

.contact-info-list small {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: #0a111b;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.social-icons a:hover {
    background-color: #0d1621;
    border-color: var(--mustard);
    color: var(--mustard);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24), 0 0 22px rgba(242, 182, 61, 0.14);
    transform: translateY(-3px);
}

#contact-form .form-label {
    color: var(--text-dark);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 7px;
}

#contact-form .required-label::after {
    content: " *";
    color: var(--mustard);
}

#contact-form .form-control,
#contact-form .form-select {
    background-color: #0a111b;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
}

#contact-form .form-select {
    min-height: 50px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--mustard) 50%),
        linear-gradient(135deg, var(--mustard) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 21px,
        calc(100% - 14px) 21px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

#contact-form .form-select option {
    background-color: #0a111b;
    color: var(--text-dark);
}

#contact-form .form-control::placeholder,
#contact-form .form-select:invalid {
    color: #8d97a6;
}

#contact-form .form-control:focus,
#contact-form .form-select:focus {
    border-color: var(--mustard);
    background-color: #0d1621;
    color: var(--text-dark);
    box-shadow: 0 0 0 0.2rem rgba(242, 182, 61, 0.18);
}

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

.form-status {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
}

.form-status.success {
    background-color: rgba(22, 163, 74, 0.16);
    border-color: rgba(22, 163, 74, 0.45);
    color: #4ade80;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.45);
    color: #f87171;
}

/* =========================================================
   FOOTER
========================================================== */
.site-footer {
    background-color: var(--dark-green);
    border-top: 1px solid rgba(242, 182, 61, 0.35);
    padding: 20px 0;
    color: #ffffff;
    font-size: 0.85rem;
}

.site-footer .text-accent {
    font-weight: 600;
}

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

/* =========================================================
   LAPTOP (max-width: 1199.98px)
========================================================== */
@media (max-width: 1199.98px) {
    .hero-name {
        font-size: 3.2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .academic-card,
    .tools-card,
    .contact-card {
        padding: 32px;
    }

    .workflow-step:not(:last-child)::after {
        left: 58%;
        width: 84%;
    }

    .monitor-3d {
        width: 62%;
        right: 5%;
    }

    .color-fan {
        right: -28px;
    }
}

/* =========================================================
   TABLET (max-width: 991.98px)
========================================================== */
@media (max-width: 991.98px) {
    .section-heading {
        font-size: 1.7rem;
    }

    .portfolio-navbar {
        min-height: 68px;
    }

    .navbar-collapse {
        padding: 16px 0 8px;
    }

    .nav-menu {
        gap: 2px;
        margin-bottom: 14px;
    }

    .nav-menu .nav-link {
        padding: 10px 0;
    }

    .resume-btn {
        width: 100%;
    }

    .hero-section {
        padding: 60px 0 40px;
        text-align: center;
    }

    .hero-banner {
        padding: 30px 22px 36px;
    }

    .hero-text-col {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-image-wrapper {
        min-height: 330px;
        max-width: 620px;
        margin: 0 auto;
        transform: none;
    }

    .monitor-3d {
        width: 60%;
        right: 12%;
    }

    .desk-lamp {
        left: 4%;
    }

    .pencil-cup {
        left: 12%;
    }

    .tablet-3d {
        right: 38%;
    }

    .color-fan {
        right: 4%;
        transform: scale(0.9);
        transform-origin: right bottom;
    }

    .about-img-circle {
        width: 180px;
        height: 180px;
        margin-bottom: 24px;
    }

    .about-stats {
        margin: 0 auto;
    }

    .academic-card,
    .experience-card,
    .tools-card,
    .contact-card {
        padding: 28px;
    }

    .experience-journey {
        grid-template-columns: minmax(0, 1fr) minmax(70px, 0.2fr) minmax(0, 1fr);
    }

    .timeline-col-title {
        justify-content: center;
        text-align: center;
    }

    .services-section .col-lg-4 {
        text-align: center;
        margin-bottom: 20px;
    }

    .service-card {
        text-align: left;
    }

    /* Workflow: switch to 3-column grid, remove horizontal connector lines */
    .workflow-step:not(:last-child)::after {
        display: none;
    }

    .workflow-row {
        row-gap: 32px !important;
    }

    .skill-name {
        font-size: 0.88rem;
    }
}

/* =========================================================
   TABLET SMALL / LARGE MOBILE (max-width: 767.98px)
========================================================== */
@media (max-width: 767.98px) {
    body {
        font-size: 0.95rem;
    }

    .hero-banner {
        min-height: 0;
        padding: 24px 16px 32px;
    }

    .hero-image-wrapper {
        min-height: 250px;
    }

    .hero-main-image {
        border-width: 7px;
    }

    .monitor-3d {
        width: 68%;
        right: 8%;
        top: 22px;
    }

    .monitor-screen {
        height: 184px;
        border-width: 8px;
    }

    .screen-content {
        left: 48px;
        top: 48px;
    }

    .screen-content p {
        font-size: 1rem;
    }

    .screen-content strong {
        font-size: 1.2rem;
    }

    .screen-content span {
        font-size: 0.48rem;
    }

    .artboard {
        width: 88px;
        height: 134px;
        right: 18px;
    }

    .art-letter {
        left: 27px;
        top: 28px;
        font-size: 3.7rem;
    }

    .monitor-neck {
        top: 200px;
        height: 40px;
    }

    .monitor-stand {
        top: 234px;
        width: 132px;
    }

    .desk-lamp {
        transform: scale(0.74);
        transform-origin: left top;
        left: 2%;
    }

    .pencil-cup {
        transform: scale(0.78);
        transform-origin: left bottom;
    }

    .tablet-3d {
        width: 160px;
        height: 70px;
        right: 34%;
    }

    .stylus {
        width: 112px;
        right: 11%;
    }

    .color-fan {
        transform: scale(0.72);
        right: -10px;
    }

    .plant-pot {
        transform: scale(0.78);
        transform-origin: right bottom;
    }

    .hero-name {
        font-size: 2.3rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-greeting {
        font-size: 1.5rem;
    }

    .btn-hero {
        font-size: 0.85rem;
        padding: 10px 22px;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .about-desc {
        font-size: 0.9rem;
    }

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

    .stat-label {
        font-size: 0.72rem;
    }

    .academic-card,
    .experience-card,
    .tools-card,
    .contact-card {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .experience-journey {
        display: none;
    }

    .experience-mobile-list {
        display: grid;
        gap: 18px;
    }

    .timeline-title {
        font-size: 0.92rem;
    }

    .timeline-desc {
        font-size: 0.8rem;
    }

    .project-filters {
        justify-content: flex-start !important;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding-bottom: 8px;
    }

    .filter-btn {
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 7px 16px;
    }

    .service-card-face {
        padding: 20px;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .skill-item {
        gap: 14px;
        padding: 16px;
    }

    .skill-badge {
        width: 44px;
        height: 44px;
    }

    .skill-name {
        font-size: 0.82rem;
    }

    .workflow-icon {
        width: 54px;
        height: 54px;
        font-size: 1.2rem;
    }

    .workflow-title {
        font-size: 0.85rem;
    }

    .workflow-desc {
        font-size: 0.72rem;
    }

    .contact-info-list li {
        font-size: 0.85rem;
    }

    .site-footer {
        font-size: 0.78rem;
        text-align: center;
    }
}

/* =========================================================
   MOBILE (max-width: 575.98px)
========================================================== */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 40px 0 30px;
    }

    .hero-image-wrapper {
        min-height: 240px;
    }

    .monitor-3d {
        width: 76%;
        right: 0;
    }

    .desk-lamp {
        left: -18px;
        transform: scale(0.62);
    }

    .pencil-cup {
        left: 2%;
        transform: scale(0.66);
    }

    .tablet-3d {
        right: 31%;
        bottom: 14px;
    }

    .color-fan {
        transform: scale(0.6);
        right: -30px;
        bottom: 24px;
    }

    .plant-pot {
        right: -4px;
        transform: scale(0.66);
    }

    .hero-name {
        font-size: 1.9rem;
    }

    .hero-title {
        font-size: 1.05rem;
    }

    .hero-desc {
        font-size: 0.88rem;
    }

    .about-img-circle {
        width: 100%;
        height: 100%;
        border-width: 4px;
    }

    .about-stats .col-4 {
        padding: 0 4px;
    }

    .stat-box {
        min-height: 140px;
        padding: 16px 8px;
    }

    .stat-icon {
        font-size: 1.4rem;
    }

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

    .stat-label {
        font-size: 0.65rem;
    }

    .timeline-list {
        padding-left: 14px;
    }

    .timeline-item {
        padding-left: 14px;
        padding-bottom: 20px;
    }

    .timeline-dot {
        left: -21px;
    }

    .project-card {
        aspect-ratio: 16 / 10;
    }

    .services-section .col-lg-4 {
        text-align: left;
    }

    .contact-card {
        padding: 20px 16px;
    }

    .contact-info-list li {
        font-size: 0.82rem;
        gap: 10px;
    }

    .contact-link {
        min-height: 66px;
        padding: 10px 12px;
        gap: 10px;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .social-icons a {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    #contact-form .form-control {
        font-size: 0.85rem;
        padding: 10px 14px;
    }
}

/* =========================================================
   RESUME PAGE
========================================================== */
.resume-page {
    min-height: 100vh;
    padding: 48px 16px;
    background:
        radial-gradient(circle at 78% 12%, rgba(242, 182, 61, 0.14), transparent 20%),
        linear-gradient(135deg, #050a10 0%, #080f17 52%, #0d1621 100%);
}

.resume-sheet {
    width: min(100%, 940px);
    margin: 0 auto;
    padding: clamp(24px, 4vw, 46px);
    background-color: var(--cream-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.resume-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.resume-label {
    color: var(--mustard);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.resume-top h1 {
    color: var(--mustard);
    font-size: clamp(2.15rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 900;
    margin: 0;
}

.resume-top h2 {
    color: var(--text-dark);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    margin: 12px 0 0;
}

.resume-back-btn {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 16px;
    background-color: var(--mustard);
    color: var(--dark-green);
    border-radius: 999px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resume-back-btn:hover {
    background-color: var(--mustard-dark);
    color: var(--dark-green);
}

.resume-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding: 22px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}

.resume-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resume-contact i,
.resume-grid h3,
.resume-item span {
    color: var(--mustard);
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 36px;
    padding-top: 28px;
}

.resume-grid h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.resume-grid p,
.resume-grid li {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.resume-grid ul {
    margin: 0;
    padding-left: 18px;
}

.resume-item {
    margin-bottom: 16px;
}

.resume-item span {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.resume-item h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 3px;
}

.resume-item p {
    margin: 0;
}

@media (max-width: 767.98px) {
    .resume-top,
    .resume-grid {
        display: block;
    }

    .resume-back-btn {
        margin-top: 18px;
    }

    .resume-grid section {
        margin-bottom: 24px;
    }
}

/* =========================================================
   EXTRA SMALL MOBILE (max-width: 400px)
========================================================== */
@media (max-width: 400px) {
    .hero-banner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-image-wrapper {
        min-height: 220px;
    }

    .screen-content {
        left: 42px;
    }

    .artboard {
        right: 12px;
        transform: scale(0.86);
        transform-origin: right top;
    }

    .hero-name {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 0.95rem;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    .about-stats {
        row-gap: 12px;
    }

    .workflow-row .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* =========================================================
   HERO SECTION - DARK PREMIUM VERSION
========================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 14%, rgba(242, 182, 61, 0.16), transparent 18%),
        radial-gradient(circle at 92% 66%, rgba(242, 182, 61, 0.1), transparent 16%),
        linear-gradient(135deg, #050a10 0%, #080f17 48%, #0d1621 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
   
    padding: 0px 0px 0px 0px ;
    display: flex;
    align-items: center;
}

.hero-row {
    width: 100%;
    min-height: calc(100vh - 112px);
    justify-content: center;
}

.hero-copy-col {
    flex: 0 0 100%;
    max-width: 100%;
}

.hero-image-col {
    flex: 0 0 60%;
    max-width: 60%;
    display: block;
}

.hero-copy {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 2vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
}

.hero-name {
    margin: 0;
    color: var(--mustard);
    text-shadow: 0px 2px 70px var(--mustard);
    font-size: clamp(3.1rem, 5.9vw, 6.85rem);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-title {
    margin: 26px 0 0;
    display: grid;
    gap: 3px;
    color: var(--text-dark);
    font-size: clamp(1.6rem, 2.75vw, 3.15rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    justify-items: center;
}

.hero-title span {
    width: max-content;
    color: var(--mustard);
}

.typing-line {
    min-height: 46px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: clamp(1.08rem, 1.45vw, 1.45rem);
    font-weight: 700;
    justify-content: center;
}

.typing-label {
    color: var(--text-muted);
    font-weight: 600;
    flex: 0 0 auto;
    font-size:34px;
}

#typing-text {
    display: inline-block;
    min-width: 18ch;
    color: var(--mustard);
    text-align: left;
    font-size:34px;
}

.typing-cursor {
    display: none;
}

.hero-description {
    max-width: 500px;
    margin: 18px 0 0;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.08vw, 1.12rem);
    line-height: 1.78;
    font-weight: 500;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.hero-btn {
    min-height: 52px;
    padding: 13px 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.96rem;
    font-weight: 800;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.hero-btn-primary {
    background: var(--mustard);
    color: var(--dark-green);
    border: 1px solid var(--mustard);
    box-shadow: 0 16px 30px rgba(242, 182, 61, 0.25);
}

.hero-btn-secondary {
    background: rgba(18, 26, 37, 0.72);
    color: var(--text-dark);
    border: 1px solid rgba(242, 182, 61, 0.28);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

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

.hero-btn-primary:hover {
    background: var(--mustard-dark);
    border-color: var(--mustard-dark);
    color: var(--dark-green);
    box-shadow: 0 20px 34px rgba(242, 182, 61, 0.3);
}

.hero-btn-secondary:hover {
    background: var(--mustard);
    border-color: var(--mustard);
    color: var(--dark-green);
}

.hero-visual {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 940px);
    aspect-ratio: 16 / 10;
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(18, 26, 37, 0.96), rgba(8, 15, 23, 0.84)),
        radial-gradient(circle at 74% 18%, rgba(242, 182, 61, 0.15), transparent 24%);
    border: 1px solid rgba(242, 182, 61, 0.16);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
}

.hero-image-frame::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    pointer-events: none;
}

.hero-workspace-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.02);
}

.visual-glow,
.gold-circle {
    position: absolute;
    display: block;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.visual-glow-one {
    width: 180px;
    height: 180px;
    right: 6%;
    top: 6%;
    background: rgba(242, 182, 61, 0.18);
    filter: blur(12px);
}

.visual-glow-two {
    width: 110px;
    height: 110px;
    left: 12%;
    bottom: 7%;
    background: rgba(242, 182, 61, 0.12);
    filter: blur(14px);
}

.gold-circle-one {
    width: 360px;
    height: 360px;
    right: -130px;
    top: -120px;
    background: rgba(242, 182, 61, 0.08);
    animation: goldCircleRotate 16s linear infinite;
}

.gold-circle-four {
    width: 260px;
    height: 260px;
    left: -110px;
    top: -92px;
    background: rgba(242, 182, 61, 0.06);
    animation: goldCircleRotateReverse 18s linear infinite;
}

.gold-circle-two {
    width: 80px;
    height: 80px;
    right: 14%;
    bottom: 8%;
    background: rgba(242, 182, 61, 0.08);
    animation: goldCircleZoom 4.8s ease-in-out infinite;
}

.gold-circle-three {
    width: 130px;
    height: 130px;
    left: 4%;
    bottom: 13%;
    background: rgba(242, 182, 61, 0.07);
    animation: goldCircleZoom 5.4s ease-in-out infinite reverse;
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.85s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.fade-up-delay {
    animation-delay: 0.16s;
}

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

@keyframes cursorBlink {
    0%, 45% {
        opacity: 1;
    }
    46%, 100% {
        opacity: 0;
    }
}

@keyframes goldCircleRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes goldCircleRotateReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes goldCircleZoom {
    0%, 100% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.14);
    }
}

@media (max-width: 991.98px) {
    .hero-section,
    .hero-container {
        min-height: 100vh;
    }

    .hero-container {
        padding: 46px 22px;
    }

    .hero-row {
        min-height: auto;
        row-gap: 36px;
    }

    .hero-copy-col,
    .hero-image-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-title,
    .typing-line,
    .hero-actions {
        justify-content: center;
    }

    .hero-title span {
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        min-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .hero-container {
        padding: 34px 16px;
    }

    .hero-name {
        font-size: 40px;
    }

    .hero-title {
        margin-top: 20px;
    }

    .typing-line {
        min-height: 46px;
        margin-top: 22px;
        flex-wrap: nowrap;
        gap: 7px;
        font-size: 1rem;
    }

    #typing-text {
        min-width: 16ch;
    }

    .hero-actions {
        width: 100%;
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-image-frame {
        border-radius: 22px;
        aspect-ratio: 4 / 3;
    }

    .hero-image-frame::before {
        inset: 10px;
        border-radius: 16px;
    }
}

/* Project preview */
.project-card {
    cursor: pointer;
}

.project-card:focus-visible {
    outline: 3px solid var(--mustard);
    outline-offset: 4px;
}

.project-card img,
.project-card video {
    width: 100%;
    height: 100%;
   
}

.project-video-card .project-thumb {
    position: relative;
    padding: 0;
    background: #080d12;
}

.project-video-card .project-thumb video {
    pointer-events: none;
}

.project-play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: var(--dark-green);
    background: var(--mustard);
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
}

.project-preview {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.project-preview.is-open {
    display: flex;
}

.project-preview__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.project-preview__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1200px, 100%);
    max-height: calc(100vh - 48px);
}

.project-preview__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: calc(100vh - 48px);
}

.project-preview__media img,
.project-preview__media video {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #000;
}

.project-preview__media video {
    width: min(1200px, 100%);
}

.project-preview__close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--dark-green);
    font-size: 1.15rem;
    line-height: 1;
}

.project-preview__close:hover,
.project-preview__close:focus-visible {
    color: var(--dark-green);
    background: var(--mustard);
}

body.project-preview-open {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .project-preview {
        padding: 16px;
    }

    .project-preview__content,
    .project-preview__media,
    .project-preview__media img,
    .project-preview__media video {
        max-height: calc(100vh - 32px);
    }

    .project-preview__close {
        top: 8px;
        right: 8px;
    }
}
/* =========================================================
   SITE PRELOADER
========================================================== */
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    background: var(--dark-green);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-preloader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.site-preloader__mark {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border: 3px solid var(--mustard);
    border-radius: 50%;
    color: var(--mustard);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    animation: preloader-pulse 1.2s ease-in-out infinite;
}

.site-preloader__name {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.site-preloader__line {
    width: 180px;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
}

.site-preloader__line span {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: var(--mustard);
    animation: preloader-line 1.1s ease-in-out infinite;
}

.site-preloader__text {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes preloader-pulse {
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 12px rgba(242, 182, 61, 0.1);
    }
}

@keyframes preloader-line {
    0% {
        transform: translateX(-105%);
    }
    100% {
        transform: translateX(205%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-preloader__mark,
    .site-preloader__line span {
        animation: none;
    }
}
/* =========================================================
   RESPONSIVE HARDENING
========================================================== */
.container,
.row > * {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .hero-title {
        width: auto;
        max-width: 100%;
        text-align: center;
    }

    .hero-title span {
        width: auto;
        max-width: 100%;
    }

    .typing-line {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    #typing-text {
        min-width: 0;
        font-size: clamp(1.05rem, 4.2vw, 1.45rem);
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .projects-section,
    .services-section,
    .contact-section {
        padding-left: 0;
        padding-right: 0;
    }

    .project-filters {
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    #project-view-all {
        min-height: 46px;
    }

    .project-preview__content {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    html {
        scroll-padding-top: 72px;
    }

    .site-logo {
        max-width: calc(100vw - 96px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-title {
        font-size: clamp(1.35rem, 7vw, 1.8rem);
        line-height: 1.16;
    }

    .typing-line {
        width: 100%;
        font-size: 0.98rem;
    }

    #typing-text {
        width: 100%;
        font-size: clamp(1rem, 5.5vw, 1.3rem);
        line-height: 1.35;
    }

    .project-filters {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    #project-view-all {
        width: 100%;
        max-width: 360px;
    }

    .project-preview__close {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-logo {
        font-size: 1rem;
    }

    .filter-btn {
        padding: 7px 14px;
    }

    .contact-card,
    .academic-card,
    .experience-card,
    .tools-card {
        padding-left: 14px;
        padding-right: 14px;
    }
}
/* Mobile project filters: show every tab without horizontal scrolling */
@media (max-width: 767.98px) {
    .project-filters {
        justify-content: center !important;
        flex-wrap: wrap !important;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        gap: 10px !important;
    }

    .project-filters .filter-btn {
        flex: 0 1 calc(50% - 5px);
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
    }

    .project-filters .filter-btn:last-child {
        flex-basis: auto;
    }
}

@media (max-width: 380px) {
    .project-filters .filter-btn {
        font-size: 0.75rem;
        padding-left: 10px;
        padding-right: 10px;
    }
}