html {
    scroll-behavior: smooth;
}

:root {
    --bg-1: #071226;
    --bg-2: #0b1f3e;
    --bg-center: #173f6f;
    --surface: #0f284a;
    --text-main: #f5f8ff;
    --text-soft: #bcc8df;
    --accent: #27d4a4;
    --accent-strong: #11bc8b;
    --accent-soft: rgba(39, 212, 164, 0.22);
    --stroke: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

/* BACKGROUND */
body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background: radial-gradient(circle at 52% 36%, var(--bg-center) 0%, #102f58 21%, var(--bg-2) 48%, var(--bg-1) 100%);
    color: var(--text-main);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(184, 214, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 214, 255, 0.05) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.17;
    z-index: -1;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 60px;
    max-width: 1250px;
    margin: 0 auto;
    position: sticky;
    top: 14px;
    z-index: 20;
    border-radius: 16px;
    background: rgba(7, 18, 38, 0.52);
    border: 1px solid rgba(214, 232, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(49, 212, 161, 0.2);
    border: 1px solid rgba(49, 212, 161, 0.5);
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

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

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.06);
    transition: 0.22s ease;
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-main);
}

.social-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(49, 212, 161, 0.55);
    background: rgba(49, 212, 161, 0.18);
}

.resume-btn {
    background: var(--accent);
    padding: 11px 18px;
    border-radius: 10px;
    color: #042618;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 0 rgba(39, 212, 164, 0), 0 0 24px rgba(39, 212, 164, 0.28);
    transition: 0.2s ease;
}

.resume-btn:hover {
    background: var(--accent-strong);
    transform: translateY(-1px);
    box-shadow: 0 0 0 rgba(39, 212, 164, 0), 0 0 30px rgba(39, 212, 164, 0.4);
}

/* HERO SECTION */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    padding: 42px 60px 66px;
    min-height: calc(100vh - 88px);
    max-width: 1250px;
    margin: 0 auto;
}

/* TEXT SIDE */
.hero-text {
    flex: 1;
    max-width: 640px;
    opacity: 0;
    transform: translateX(-26px);
    animation: slideFadeLeft 700ms ease-out 120ms forwards;
}

.hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.95rem, 4.35vw, 3.3rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

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

.hero-text h2 {
    margin: 16px 0 16px;
    max-width: 38ch;
    font-size: clamp(1.06rem, 1.95vw, 1.38rem);
    line-height: 1.42;
    font-weight: 600;
    color: #dce8ff;
}

.hero-text p {
    margin: 0;
    max-width: 58ch;
    font-size: 1.03rem;
    line-height: 1.7;
    color: var(--text-soft);
}

/* BUTTONS */
.buttons {
    margin-top: 28px;
    margin-bottom: 22px;
}

.buttons a {
    padding: 12px 22px;
    margin-right: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-block;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #042618;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: var(--accent-strong);
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--accent-soft);
    transform: translateY(-2px) scale(1.02);
}

/* SKILLS TAGS */
.skills {
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.skill-tag {
    border: 1px solid rgba(49, 212, 161, 0.55);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    display: inline-block;
    text-decoration: none;
    color: #aaf0d9;
    background: rgba(49, 212, 161, 0.1);
    transition: 0.2s ease;
}

.skill-tag:hover {
    background: rgba(49, 212, 161, 0.26);
    color: #d5fff1;
    transform: translateY(-2px) scale(1.03);
}

/* IMAGE SIDE */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(28px);
    animation: slideFadeRight 760ms ease-out 220ms forwards;
}

.browser-frame {
    width: min(600px, 100%);
    border-radius: 20px;
    border: 1px solid rgba(207, 224, 246, 0.22);
    background: rgba(8, 20, 41, 0.78);
    backdrop-filter: blur(7px);
    box-shadow: 0 34px 66px rgba(0, 0, 0, 0.46), 0 6px 24px rgba(7, 15, 31, 0.52);
    overflow: hidden;
}

.browser-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #2a3340;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red {
    background: #ff5f57;
}

.dot-yellow {
    background: #febc2e;
}

.dot-green {
    background: #28c840;
}

.browser-content {
    padding: 16px;
}

.browser-content img {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

@keyframes slideFadeLeft {
    from {
        opacity: 0;
        transform: translateX(-26px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFadeRight {
    from {
        opacity: 0;
        transform: translateX(28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-text,
    .hero-image {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .buttons a,
    .skill-tag,
    .social-btn,
    .resume-btn {
        transition: none;
        transform: none;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .navbar {
        padding: 16px 18px;
        gap: 12px;
        flex-wrap: wrap;
        top: 10px;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 22px;
        padding: 28px 20px 44px;
        min-height: auto;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .skills {
        justify-content: flex-start;
    }

    .buttons a {
        margin-right: 10px;
    }
}
/* PROJECT SECTION */
.projects {
    padding: 80px 60px;
    background: #f5f7fa;
    color: black;
}

.projects h2 {
    margin-bottom: 30px;
}

/* GRID */
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* EXCEL MODELS HORIZONTAL SECTION */
.excel-models-section {
    padding: 80px 60px;
    background: #eef3f9;
    color: #0B1D3A;
}

.excel-models-section h2 {
    margin-bottom: 10px;
}

.excel-subtitle {
    margin-bottom: 26px;
    color: #3f5473;
}

.excel-scroll-wrap {
    position: relative;
}

.excel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 4px 18px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4px;
    scrollbar-width: thin;
    scrollbar-color: #8ba3c5 transparent;
    cursor: grab;
    touch-action: pan-y;
}

.excel-track::-webkit-scrollbar {
    height: 8px;
}

.excel-track::-webkit-scrollbar-thumb {
    background: #8ba3c5;
    border-radius: 999px;
}

.excel-track.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.excel-model-card {
    flex: 0 0 clamp(245px, 24vw, 300px);
    min-height: 360px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #dce4ef;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.excel-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.excel-tag {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #0e775c;
    background: #d9f5ed;
    border: 1px solid #a8e7d5;
    border-radius: 999px;
    padding: 4px 10px;
}

.excel-model-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.excel-thumb-slot {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    border: 1px dashed #b5c7de;
    background: linear-gradient(135deg, #f3f7fc, #eaf1f9);
    color: #587291;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    overflow: hidden;
}

.excel-thumb-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.excel-model-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #536b89;
    min-height: 42px;
}

.excel-model-download {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid #0f755a;
    background: #11bc8b;
    color: #053326;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.excel-model-download:hover {
    background: #0fb180;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(17, 188, 139, 0.28);
}

/* CARD */
.project-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 18px 34px rgba(15, 38, 72, 0.17);
    border-color: #d5deea;
}

.project-card.reveal-init {
    opacity: 0;
    transform: translateY(20px);
}

.project-card.reveal-in {
    animation: projectCardReveal 0.6s ease forwards;
}

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

.project-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
    transform: scale(1);
    transition: transform 0.3s ease;
}

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

.project-card h3 {
    margin: 10px 0;
}

.project-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.project-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: green;
    font-weight: 500;
}

.project-card-cta .cta-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card-cta .cta-arrow {
    transform: translateX(5px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .excel-models-section {
        padding: 60px 20px;
    }

    .excel-model-card {
        flex: 0 0 min(84vw, 300px);
        min-height: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card,
    .project-card img,
    .project-card-cta .cta-arrow {
        transition: none;
    }

    .project-card.reveal-init,
    .project-card.reveal-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
/* M&A SECTION */
.ma-section {
    padding: 80px 60px;
}

.ma-section h2 {
    margin-bottom: 30px;
}

/* GRID (2 CARDS SIDE BY SIDE) */
.ma-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD */
.ma-card {
    display: flex;
    align-items: stretch;
    background: rgba(20, 44, 80, 0.9);
    border: 1px solid rgba(206, 223, 247, 0.14);
    border-radius: 16px;
    padding: 16px;
    min-height: 240px;
    gap: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* CONTENT */
.ma-content {
    width: 52%;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

/* IMAGE */
.ma-image {
    width: 48%;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.ma-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* TEXT */
.ma-content h3 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.ma-content p {
    margin-bottom: 10px;
    color: #cfd8e3;
    font-size: 14px;
    line-height: 1.45;
}

.ma-content ul {
    margin-bottom: 16px;
    padding-left: 20px;
    font-size: 14px;
    color: #edf4ff;
    line-height: 1.45;
}

.ma-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ma-btn {
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ma-btn-primary {
    background: #11bc8b;
    color: #043628;
    border: 1px solid #0f8c68;
}

.ma-btn-primary:hover {
    background: #0fb180;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(17, 188, 139, 0.24);
}

.ma-btn-secondary {
    background: transparent;
    color: #d7f8ee;
    border: 1px solid rgba(17, 188, 139, 0.72);
}

.ma-btn-secondary:hover {
    background: rgba(17, 188, 139, 0.18);
    border-color: rgba(17, 188, 139, 0.95);
    transform: translateY(-2px);
}

.ma-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.3);
    border-color: rgba(206, 223, 247, 0.28);
}

.ma-content a {
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {

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

    .ma-card {
        min-height: 0;
        flex-direction: column;
    }

    .ma-content,
    .ma-image {
        width: 100%;
    }

    .ma-image {
        height: 200px;
    }
}
/* DASHBOARD SECTION */
.dashboard-section {
    padding: 80px 60px;
    background: #f5f7fa;
    color: black;
}

.dashboard-section h2 {
    margin-bottom: 30px;
}

/* GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.dashboard-card img {
    width: 100%;
    border-radius: 8px;
}

/* TEXT */
.dashboard-card h3 {
    margin: 10px 0;
}

.dashboard-card p {
    font-size: 14px;
    margin-bottom: 14px;
}

.dashboard-download {
    margin-top: auto;
    align-self: flex-start;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    color: #063842;
    background: #6ae2f4;
    border: 1px solid #39bdd2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dashboard-download:hover {
    background: #5ad8ec;
    transform: translateY(-2px);
    box-shadow: 0 9px 16px rgba(61, 196, 219, 0.28);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
/* SQL SECTION */
.sql-section {
    padding: 80px 60px;
}

.sql-section h2 {
    margin-bottom: 30px;
}

/* GRID */
.sql-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.sql-card {
    background: #142c50;
    padding: 25px 20px;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sql-card:hover {
    transform: translateY(-5px);
}

/* 🔥 IMAGE BIGGER + CURVED */
.sql-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* TEXT */
.sql-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.sql-card p {
    font-size: 14px;
    color: #cfd8e3;
    margin-bottom: 16px;
}

.sql-download {
    margin-top: auto;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    color: #f6ebd0;
    background: #c78d2d;
    border: 1px solid #d7a24e;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sql-download:hover {
    background: #d19736;
    transform: translateY(-2px);
    box-shadow: 0 9px 16px rgba(199, 141, 45, 0.28);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .sql-grid {
        grid-template-columns: 1fr;
    }
}
/* ABOUT SECTION */
.about-section {
    position: relative;
    padding: 90px 60px;
    background: linear-gradient(130deg, #f8fbff 0%, #f1f5fb 52%, #eef3fa 100%);
    color: #0f2342;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(146, 167, 196, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(146, 167, 196, 0.12) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.35;
}

.about-container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #e4ebf4;
    box-shadow: 0 18px 46px rgba(17, 41, 79, 0.12);
    padding: clamp(28px, 4.2vw, 46px);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.about-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 62px rgba(17, 41, 79, 0.16);
}

.about-left {
    padding-right: clamp(10px, 1.8vw, 24px);
}

.about-title {
    position: relative;
    margin: 0 0 22px;
    font-family: 'Space Grotesk', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(1.65rem, 2.1vw, 2.05rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.about-title-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e5f6ef, #dff4ec);
    border: 1px solid #d0ece1;
    box-shadow: 0 4px 12px rgba(24, 147, 112, 0.1);
}

.about-title-icon svg {
    width: 24px;
    height: 24px;
    fill: #16aa7d;
}

.about-title::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #27c89a 0%, #16b887 100%);
}

.about-left p {
    margin: 0;
    max-width: 62ch;
    font-size: clamp(1.02rem, 1.36vw, 1.2rem);
    line-height: 1.92;
    color: #324866;
}

.about-stats {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-stat-card {
    padding: 0 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e6f7f0, #dff3eb);
    border: 1px solid #d0ece1;
    box-shadow: 0 7px 16px rgba(24, 147, 112, 0.1);
    margin-bottom: 14px;
}

.about-stat-icon svg {
    width: 34px;
    height: 34px;
    fill: #17ad80;
}

.about-stat-card h3 {
    margin: 0;
    font-size: clamp(1.85rem, 2.2vw, 2.3rem);
    line-height: 1.16;
    color: #142a4d;
    font-family: 'Space Grotesk', sans-serif;
    transform: translateY(2px);
}

.about-stat-card p {
    margin: 8px 0 0;
    font-size: 1.03rem;
    line-height: 1.4;
    color: #4a5f7f;
}

.about-right {
    padding-left: clamp(16px, 2vw, 28px);
    border-left: 1px solid #e6edf6;
}

.skills-bars {
    display: grid;
    gap: 14px;
}

.skill-row {
    display: grid;
    gap: 8px;
}

.skill-head {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    font-weight: 700;
    color: #1a3155;
    font-size: 0.98rem;
}

.bar {
    height: 9px;
    border-radius: 999px;
    background: #dce4ee;
    overflow: hidden;
}

.bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2ccaa0 0%, #16b889 100%);
    box-shadow: 0 3px 11px rgba(18, 168, 125, 0.25);
    transition: width 1.15s cubic-bezier(0.28, 0.62, 0.15, 1);
}

.contact-block {
    margin-top: 30px;
}

.about-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 124px;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #b9dfd2;
    background: #eaf8f3;
    color: #0d5f47;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}

.contact-pill-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dff4ec;
    border: 1px solid #c4e9da;
    transition: background-color 0.24s ease, border-color 0.24s ease;
}

.contact-pill-icon svg {
    width: 15px;
    height: 15px;
    fill: #14a87b;
}

.contact-pill:hover {
    background: #14b887;
    color: #ffffff;
    border-color: #14b887;
    transform: translateY(-2px);
}

.contact-pill:hover .contact-pill-icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.contact-pill:hover .contact-pill-icon svg {
    fill: #ffffff;
}

.about-fade-left,
.about-fade-right {
    opacity: 0;
}

.about-fade-left {
    transform: translateX(-22px);
}

.about-fade-right {
    transform: translateX(18px);
}

.about-container.is-visible .about-fade-left {
    animation: aboutFadeLeft 720ms ease forwards;
}

.about-container.is-visible .about-fade-right {
    animation: aboutFadeRight 720ms ease 140ms forwards;
}

@keyframes aboutFadeLeft {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutFadeRight {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-section {
        padding: 70px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 32px;
        border-radius: 20px;
        padding: 24px;
    }

    .about-right {
        border-left: 0;
        border-top: 1px solid #e6edf6;
        padding-left: 0;
        padding-top: 8px;
    }

    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .about-stat-card {
        padding: 0;
    }

    .about-stat-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .about-stat-card + .about-stat-card {
        border-left: 0;
    }
}

@media (max-width: 560px) {
    .about-contact-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .contact-pill {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-container,
    .contact-pill,
    .bar span {
        transition: none;
    }

    .about-fade-left,
    .about-fade-right {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: #081b36;
    font-size: 14px;
}