/* =========================================================
   DISHA PRAMANICK — ANALYTICS PORTFOLIO
   Professional • Recruiter-Friendly • Responsive
========================================================= */


/* =========================================================
   1. DESIGN TOKENS
========================================================= */

:root {
    --navy: #0b1f3a;
    --navy-2: #122b4f;

    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-light: #eff6ff;
    --cyan: #0ea5e9;

    --text: #172033;
    --text-soft: #526075;
    --text-light: #6b7280;

    --background: #f7f9fc;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;

    --border: #e2e8f0;
    --border-dark: #cbd5e1;

    --shadow-sm: 0 5px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 24px 65px rgba(15, 23, 42, 0.13);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "Lato", Arial, sans-serif;

    --max-width: 1180px;
}


/* =========================================================
   2. RESET & BASE
========================================================= */

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;

    background: var(--background);
    color: var(--text);

    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}


/* =========================================================
   3. NAVIGATION
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-container {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    width: 43px;
    height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--navy);
    color: #ffffff;

    border-radius: 10px;

    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;

    list-style: none;
}

.nav-links a {
    position: relative;

    color: var(--text-soft);

    font-size: 0.89rem;
    font-weight: 700;

    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links a:hover::after {
    width: 100%;
}


/* =========================================================
   4. HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 610px;

    display: flex;
    align-items: center;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(37, 99, 235, 0.28),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #07162c 0%,
            #0b1f3a 48%,
            #102b50 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    bottom: -220px;

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

.hero::after {
    content: "";

    position: absolute;

    width: 270px;
    height: 270px;

    right: 30px;
    bottom: -150px;

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

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;

    padding-top: 85px;
    padding-bottom: 85px;
}

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: #93c5fd;

    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.hero h1 {
    margin-bottom: 15px;

    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 7vw, 5.7rem);
    font-weight: 700;

    line-height: 1.02;
    letter-spacing: -2px;
}

.hero h2 {
    max-width: 820px;

    margin-bottom: 25px;

    color: #dbeafe;

    font-family: var(--font-body);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 400;

    line-height: 1.4;
}

.hero-intro {
    max-width: 760px;

    margin-bottom: 9px;

    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
}

.hero-description {
    max-width: 760px;

    color: #cbd5e1;

    font-size: 1.03rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 35px;
}


/* =========================================================
   5. BUTTONS
========================================================= */

.btn {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 11px 19px;

    background: var(--navy);
    color: #ffffff;

    border: 1px solid var(--navy);
    border-radius: var(--radius-sm);

    font-size: 0.91rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

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

    background: var(--blue);
    border-color: var(--blue);

    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: #ffffff;

    color: var(--navy);

    border-color: var(--border-dark);
}

.btn-secondary:hover {
    background: var(--navy);
    color: #ffffff;

    border-color: var(--navy);
}


/* Hero buttons */

.hero .btn {
    background: var(--blue);
    border-color: var(--blue);
}

.hero .btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.06);

    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.25);
}

.hero .btn-secondary:hover {
    background: #ffffff;

    color: var(--navy);

    border-color: #ffffff;
}


/* =========================================================
   6. PROOF / IMPACT STRIP
========================================================= */

.proof-section {
    position: relative;
    z-index: 10;

    margin-top: -38px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-md);
}

.proof-item {
    min-height: 120px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 22px 15px;

    text-align: center;
}

.proof-item:not(:last-child) {
    border-right: 1px solid var(--border);
}

.proof-number {
    margin-bottom: 6px;

    color: var(--navy);

    font-size: 1.85rem;
    font-weight: 900;

    line-height: 1.2;
}

.proof-label {
    color: var(--text-soft);

    font-size: 0.82rem;
    font-weight: 700;

    line-height: 1.4;
}


/* =========================================================
   7. GLOBAL SECTIONS
========================================================= */

.section {
    padding: 92px 0;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 45px;
}

.section-label {
    margin-bottom: 8px;

    color: var(--blue);

    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 2.2px;
}

.section-heading h2 {
    margin-bottom: 12px;

    color: var(--navy);

    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.2;
}

.section-heading > p:not(.section-label) {
    color: var(--text-soft);

    font-size: 1.02rem;
}


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

#about {
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 280px 1fr;

    align-items: center;

    gap: 65px;
}

.profile-photo {
    width: 280px;
    height: 280px;

    object-fit: cover;

    border-radius: 20px;

    box-shadow: var(--shadow-md);
}

.about-text {
    max-width: 760px;
}

.about-text p {
    margin-bottom: 17px;

    color: var(--text-soft);

    font-size: 1.04rem;
}

.about-text p:first-child {
    color: var(--text);

    font-size: 1.13rem;
    font-weight: 700;
}


/* =========================================================
   9. PROJECTS
========================================================= */

.projects-section {
    background: var(--background);
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;

    align-items: stretch;
}


/* =========================================================
   10. MAIN FEATURED CASE STUDY
========================================================= */

.portfolio-featured-project {
    position: relative;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    margin-bottom: 42px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dbeafe;
    border-radius: 24px;

    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.09);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.portfolio-featured-project:hover {
    transform: translateY(-4px);

    border-color: #93c5fd;

    box-shadow:
        0 24px 65px rgba(15, 23, 42, 0.13);
}


/* Featured project image */

.portfolio-featured-image {
    position: relative;

    min-height: 100%;

    overflow: hidden;

    background: #eaf0f8;
}

.portfolio-featured-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}

.portfolio-featured-project:hover
.portfolio-featured-image img {
    transform: scale(1.018);
}


/* Main featured badge */

.portfolio-featured-badge {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 3;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 13px;

    background: rgba(11, 31, 58, 0.94);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;

    box-shadow:
        0 6px 20px rgba(15, 23, 42, 0.18);

    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.4px;

    backdrop-filter: blur(8px);
}

.portfolio-featured-badge i {
    color: #bfdbfe;

    font-size: 0.68rem;
}


/* Featured content */

.portfolio-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px;
}

.portfolio-featured-content .project-type {
    margin-bottom: 13px;
}

.portfolio-featured-content h3 {
    max-width: 520px;

    margin-bottom: 16px;

    color: var(--navy);

    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 700;

    line-height: 1.18;
    letter-spacing: -0.5px;
}

.portfolio-featured-description {
    max-width: 570px;

    margin-bottom: 23px;

    color: var(--text-soft);

    font-size: 0.95rem;

    line-height: 1.72;
}


/* Featured KPI metrics */

.portfolio-featured-metrics {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 20px;
}

.featured-metric {
    min-width: 0;

    padding: 13px 14px;

    background: var(--blue-light);

    border: 1px solid #dbeafe;
    border-radius: 10px;
}

.featured-metric strong {
    display: block;

    margin-bottom: 3px;

    color: var(--navy);

    font-size: 1.05rem;
    font-weight: 900;

    line-height: 1.2;
}

.featured-metric span {
    display: block;

    color: var(--text-soft);

    font-size: 0.7rem;
    font-weight: 700;

    line-height: 1.35;
}


/* Featured diagnostic insights */

.portfolio-featured-insight {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 20px;
}

.featured-insight-item {
    padding: 13px 14px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 10px;
}

.featured-insight-label {
    display: block;

    margin-bottom: 4px;

    color: var(--blue);

    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1px;

    line-height: 1.4;
}

.featured-insight-item strong {
    display: block;

    color: var(--navy);

    font-size: 0.83rem;
    font-weight: 900;

    line-height: 1.4;
}

.portfolio-featured-content .project-tags {
    margin-top: 0;
    margin-bottom: 22px;
}

.portfolio-featured-content .project-tags span {
    background: #f8fafc;
}

.portfolio-featured-buttons {
    margin-top: 0;

    padding-top: 0;
}

.portfolio-featured-buttons .btn {
    flex: 0 0 auto;

    min-width: 145px;
}


/* =========================================================
   11. PROJECT CARD
========================================================= */

.project-card {
    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-7px);

    border-color: #bfdbfe;

    box-shadow: var(--shadow-md);
}


/* Featured project card */

.project-card-featured {
    border-color: #dbeafe;

    box-shadow:
        0 7px 25px rgba(15, 23, 42, 0.07);
}

.project-card-featured:hover {
    border-color: #93c5fd;
}


/* =========================================================
   12. CONSISTENT PROJECT THUMBNAILS
========================================================= */

.project-image-wrapper {
    position: relative;

    width: 100%;
    height: 220px;

    overflow: hidden;

    flex-shrink: 0;

    background: #eaf0f8;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.025);
}


/* =========================================================
   13. FEATURED BADGE
========================================================= */

.featured-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 2;

    padding: 6px 11px;

    background: rgba(11, 31, 58, 0.92);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;

    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.3px;

    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.14);
}


/* =========================================================
   14. PROJECT CARD CONTENT
========================================================= */

.project-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 26px;
}

.project-type {
    display: inline-block;

    width: fit-content;

    margin-bottom: 12px;

    color: var(--blue);

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 1.35px;

    line-height: 1.5;
}

.project-card-content h3 {
    min-height: 76px;

    margin-bottom: 13px;

    color: var(--navy);

    font-family: var(--font-heading);
    font-size: 1.42rem;

    line-height: 1.3;
}

.project-card-content > p {
    margin-bottom: 18px;

    color: var(--text-soft);

    font-size: 0.93rem;

    line-height: 1.7;
}


/* =========================================================
   15. PROJECT MINI METRICS
========================================================= */

.mini-metrics {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin: 4px 0 18px;
}

.mini-metrics span {
    padding: 7px 10px;

    background: var(--blue-light);

    color: var(--text-soft);

    border: 1px solid #dbeafe;
    border-radius: 7px;

    font-size: 0.71rem;
    font-weight: 700;

    line-height: 1.4;
}

.mini-metrics strong {
    color: var(--navy);

    font-weight: 900;
}


/* =========================================================
   16. PROJECT TAGS
========================================================= */

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 2px;
    margin-bottom: 22px;
}

.project-tags span {
    padding: 5px 10px;

    background: #f1f5f9;

    color: var(--navy);

    border: 1px solid #e2e8f0;
    border-radius: 100px;

    font-size: 0.7rem;
    font-weight: 800;
}


/* =========================================================
   17. PROJECT BUTTONS
========================================================= */

.project-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: auto;

    padding-top: 5px;
}

.project-card .btn {
    flex: 1;

    min-width: 120px;

    padding: 9px 12px;

    font-size: 0.8rem;
}


/* =========================================================
   18. EXPERTISE
========================================================= */

.expertise-section {
    background: #ffffff;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.expertise-card {
    height: 100%;

    padding: 34px;

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

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

    border-color: #93c5fd;

    box-shadow: var(--shadow-sm);
}

.expertise-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: #dbeafe;

    color: var(--blue);

    border-radius: 11px;

    font-size: 1.25rem;
}

.expertise-card h3 {
    margin-bottom: 13px;

    color: var(--navy);

    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.expertise-card p {
    color: var(--text-soft);

    font-size: 0.94rem;

    line-height: 1.85;
}

.expertise-card p + p {
    margin-top: 10px;
}

.expertise-card strong {
    color: var(--navy);
}


/* =========================================================
   19. DOMAIN SECTION
========================================================= */

#domains {
    background: var(--background);
}


/* =========================================================
   20. EXPERIENCE
========================================================= */

#experience {
    background: #ffffff;
}

.experience-timeline {
    position: relative;

    max-width: 900px;

    padding-left: 32px;
}

.experience-timeline::before {
    content: "";

    position: absolute;

    left: 7px;
    top: 7px;
    bottom: 7px;

    width: 2px;

    background: #cbd5e1;
}

.experience-item {
    position: relative;

    margin-bottom: 25px;
    padding: 30px;

    background: var(--background);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.experience-item::before {
    content: "";

    position: absolute;

    left: -32px;
    top: 36px;

    width: 15px;
    height: 15px;

    background: var(--blue);

    border: 4px solid #ffffff;
    border-radius: 50%;

    box-shadow: 0 0 0 2px var(--blue);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 18px;
}

.experience-header h3 {
    margin-bottom: 2px;

    color: var(--navy);

    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.experience-header h4 {
    color: var(--blue);

    font-size: 0.95rem;
    font-weight: 800;
}

.experience-header > span {
    white-space: nowrap;

    color: var(--text-light);

    font-size: 0.82rem;
    font-weight: 700;
}

.experience-item ul {
    padding-left: 20px;
}

.experience-item li {
    margin-bottom: 8px;

    color: var(--text-soft);
}


/* =========================================================
   21. CERTIFICATIONS
========================================================= */

.certification-section {
    background: var(--background);
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.certification-card {
    min-height: 140px;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 27px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.certification-card:hover {
    transform: translateY(-4px);

    border-color: #bfdbfe;

    box-shadow: var(--shadow-sm);
}

.certification-card > i {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dbeafe;

    color: var(--blue);

    border-radius: 10px;

    font-size: 1.35rem;
}

.certification-card h3 {
    margin-bottom: 4px;

    color: var(--navy);

    font-size: 1rem;

    line-height: 1.4;
}

.certification-card p {
    color: var(--text-light);

    font-size: 0.82rem;
}


/* =========================================================
   22. CONTACT
========================================================= */

.contact-section {
    background:
        linear-gradient(
            135deg,
            #07162c,
            #0b1f3a
        );

    color: #ffffff;
}

.contact-wrapper {
    display: block;
}

.contact-copy {
    max-width: 680px;
}

.contact-copy .section-label {
    color: #93c5fd;
}

.contact-copy h2 {
    margin-bottom: 16px;

    color: #ffffff;

    font-family: var(--font-heading);
    font-size: 2.7rem;
}

.contact-copy > p:not(.section-label) {
    max-width: 650px;

    margin-bottom: 28px;

    color: #cbd5e1;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;

    gap: 12px 26px;
}

.contact-links a {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 10px;

    color: #dbeafe;

    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-links a:hover {
    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   23. FOOTER
========================================================= */

footer {
    padding: 24px 0;

    background: #050f1e;

    color: #94a3b8;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    font-size: 0.83rem;
}

.footer-content a {
    color: #cbd5e1;

    font-weight: 700;
}

.footer-content a:hover {
    color: #ffffff;
}


/* =========================================================
   24. ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 3px;
}


/* =========================================================
   25. TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

    .portfolio-featured-project {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-image {
        height: auto;
        min-height: 0;

        aspect-ratio: 16 / 8;
    }

    .portfolio-featured-image img {
        object-fit: cover;
    }

    .portfolio-featured-content {
        padding: 34px;
    }

    .portfolio-featured-content h3 {
        max-width: 700px;
    }

    .portfolio-featured-description {
        max-width: 800px;
    }

    .portfolio-featured-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .expertise-grid,
    .certification-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 230px 1fr;

        gap: 45px;
    }

    .profile-photo {
        width: 230px;
        height: 230px;
    }

    .project-card-content h3 {
        min-height: 60px;
    }
}


/* =========================================================
   26. MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(93%, var(--max-width));
    }


    /* Navigation */

    .navbar {
        position: relative;
    }

    .nav-container {
        padding: 12px 0;

        flex-direction: column;

        gap: 12px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 8px 16px;
    }

    .nav-links a {
        font-size: 0.77rem;
    }


    /* Hero */

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14vw, 4rem);

        letter-spacing: -1px;
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }


    /* Proof */

    .proof-section {
        margin-top: -28px;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-item {
        min-height: 105px;
    }

    .proof-item:nth-child(1),
    .proof-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .proof-item:nth-child(2) {
        border-right: none;
    }


    /* Sections */

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }


    /* About */

    .about-content {
        grid-template-columns: 1fr;

        gap: 32px;

        text-align: left;
    }

    .profile-photo {
        width: 190px;
        height: 190px;

        margin: 0 auto;
    }


    /* Main Featured Project */

    .portfolio-featured-project {
        margin-bottom: 32px;

        grid-template-columns: 1fr;

        border-radius: 18px;
    }

    .portfolio-featured-image {
        aspect-ratio: 16 / 9;
    }

    .portfolio-featured-badge {
        top: 14px;
        left: 14px;

        padding: 6px 10px;

        font-size: 0.63rem;
    }

    .portfolio-featured-content {
        padding: 27px 23px;
    }

    .portfolio-featured-content h3 {
        margin-bottom: 14px;

        font-size: 1.75rem;
    }

    .portfolio-featured-description {
        font-size: 0.91rem;
    }

    .portfolio-featured-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-featured-insight {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-buttons {
        flex-direction: column;
    }

    .portfolio-featured-buttons .btn {
        width: 100%;
    }


    /* Other Projects */

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

    .project-image-wrapper {
        height: 220px;
    }

    .project-card-content h3 {
        min-height: auto;
    }


    /* Expertise */

    .expertise-grid,
    .certification-grid {
        grid-template-columns: 1fr;
    }


    /* Experience */

    .experience-timeline {
        padding-left: 23px;
    }

    .experience-item::before {
        left: -23px;
    }

    .experience-header {
        flex-direction: column;

        gap: 6px;
    }


    /* Contact */

    .contact-links {
        flex-direction: column;
    }


    /* Footer */

    .footer-content {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================================================
   27. SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

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

    .proof-item {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }

    .proof-item:last-child {
        border-bottom: none;
    }


    /* Main Featured Project */

    .portfolio-featured-image {
        aspect-ratio: 4 / 3;
    }

    .portfolio-featured-content {
        padding: 23px 18px;
    }

    .portfolio-featured-content h3 {
        font-size: 1.55rem;
    }

    .portfolio-featured-metrics {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .featured-metric {
        padding: 11px;
    }

    .featured-metric strong {
        font-size: 0.95rem;
    }

    .featured-metric span {
        font-size: 0.65rem;
    }


    /* Other Projects */

    .project-card-content {
        padding: 22px 18px;
    }

    .project-buttons {
        flex-direction: column;
    }

    .project-card .btn {
        width: 100%;
    }

    .project-image-wrapper {
        height: 200px;
    }
}


/* =========================================================
   28. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
