/* =========================================================
   MAHEK LALU — FUTURISTIC PORTFOLIO
   Main stylesheet
========================================================= */

/* =========================
   1. RESET & VARIABLES
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #070b24;
    --bg-dark: #040617;
    --surface: rgba(18, 24, 58, 0.72);
    --surface-solid: #111737;

    --purple: #7c5cff;
    --purple-light: #a78bfa;

    --blue: #38bdf8;
    --cyan: #22d3ee;

    --pink: #e879f9;

    --text: #f8fafc;
    --text-soft: #cbd5e1;
    --text-muted: #8993b0;

    --border: rgba(124, 92, 255, 0.25);
    --border-light: rgba(255, 255, 255, 0.08);

    --shadow:
        0 25px 80px rgba(0, 0, 0, 0.35);

    --glow-purple:
        0 0 40px rgba(124, 92, 255, 0.28);

    --glow-cyan:
        0 0 40px rgba(34, 211, 238, 0.22);

    --container: 1180px;

    --radius: 24px;

    --transition: 0.3s ease;
}


/* =========================
   2. GLOBAL RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(124, 92, 255, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 25%,
            rgba(34, 211, 238, 0.08),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family: 'Inter', sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

body,
a,
button {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================
   3. GENERAL CONTAINERS
========================= */

.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.section-container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;

    position: relative;
    z-index: 2;
}


/* =========================
   4. BACKGROUND EFFECTS
========================= */

.background-effects {
    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: -1;
}

.glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    opacity: 0.35;
}

.glow-one {
    width: 350px;
    height: 350px;

    top: 8%;
    left: -120px;

    background: rgba(124, 92, 255, 0.3);
}

.glow-two {
    width: 300px;
    height: 300px;

    top: 45%;
    right: -100px;

    background: rgba(34, 211, 238, 0.18);
}

.glow-three {
    width: 400px;
    height: 400px;

    bottom: -200px;
    left: 40%;

    background: rgba(168, 85, 247, 0.18);
}


/* =========================
   FLOATING ORBS
========================= */

.floating-orb {
    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            #ffffff,
            #d8b4fe 12%,
            #7c5cff 40%,
            #172554 75%
        );

    box-shadow:
        0 0 35px rgba(124, 92, 255, 0.5),
        inset -15px -20px 30px rgba(0, 0, 0, 0.35);

    opacity: 0.65;

    animation: floating 7s ease-in-out infinite;
}

.orb-one {
    width: 70px;
    height: 70px;

    top: 18%;
    left: 8%;
}

.orb-two {
    width: 42px;
    height: 42px;

    top: 60%;
    right: 10%;

    animation-delay: -2s;
}

.orb-three {
    width: 28px;
    height: 28px;

    top: 35%;
    left: 48%;

    animation-delay: -4s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-22px);
    }
}


/* =========================
   5. NAVIGATION
========================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 18px 0;

    background: rgba(7, 11, 36, 0.65);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 1.45rem;

    font-weight: 700;

    letter-spacing: -0.04em;
}

.logo span,
.footer-logo span {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 34px;
}

.nav-links a {
    position: relative;

    color: var(--text-soft);

    font-size: 0.9rem;
    font-weight: 500;

    transition: var(--transition);
}

.nav-links a::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--cyan);

    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-button {
    padding: 10px 18px;

    border: 1px solid rgba(34, 211, 238, 0.35);

    border-radius: 999px;

    color: var(--cyan);

    font-size: 0.85rem;
    font-weight: 600;

    transition: var(--transition);
}

.nav-button:hover {
    background: rgba(34, 211, 238, 0.1);

    box-shadow: var(--glow-cyan);

    transform: translateY(-2px);
}


/* =========================
   6. HERO
========================= */

.hero-section {
    min-height: 92vh;

    display: flex;
    align-items: center;

    padding:
        150px 0
        100px;
}

.hero-container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, 0.95fr);

    align-items: center;

    gap: 60px;
}


/* =========================
   HERO TEXT
========================= */

.hero-small-text {
    color: var(--cyan);

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 0.25em;

    margin-bottom: 15px;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;

    font-size:
        clamp(4rem, 8vw, 7rem);

    line-height: 0.95;

    letter-spacing: -0.07em;

    font-weight: 700;

    margin-bottom: 28px;
}

.hero-content h1 span {
    display: inline-block;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            var(--purple-light),
            var(--pink)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-content h2 {
    font-family: 'Space Grotesk', sans-serif;

    font-size:
        clamp(1.5rem, 3vw, 2.6rem);

    line-height: 1.2;

    font-weight: 600;

    color: var(--text-soft);

    margin-bottom: 25px;
}

.hero-content h2 span {
    color: var(--cyan);
}

.hero-description {
    max-width: 560px;

    color: var(--text-muted);

    font-size: 1.05rem;

    line-height: 1.9;

    margin-bottom: 34px;
}


/* =========================
   HERO BUTTONS
========================= */

.hero-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 30px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding: 0 23px;

    border-radius: 999px;

    font-weight: 600;

    transition: var(--transition);
}

.primary-button {
    color: #06111f;

    background:
        linear-gradient(
            100deg,
            var(--cyan),
            #67e8f9
        );

    box-shadow:
        0 0 30px rgba(34, 211, 238, 0.25);
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 40px rgba(34, 211, 238, 0.35);
}

.secondary-button {
    color: var(--text);

    border: 1px solid var(--border-light);

    background: rgba(255, 255, 255, 0.035);
}

.secondary-button:hover {
    border-color: rgba(124, 92, 255, 0.5);

    background: rgba(124, 92, 255, 0.1);

    transform: translateY(-3px);
}


/* =========================
   SOCIAL LINKS
========================= */

.social-links {
    display: flex;

    gap: 12px;
}

.social-links a {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--text-soft);

    border: 1px solid var(--border-light);

    background: rgba(255, 255, 255, 0.03);

    transition: var(--transition);
}

.social-links a:hover {
    color: var(--cyan);

    border-color: var(--cyan);

    transform: translateY(-4px);

    box-shadow: var(--glow-cyan);
}


/* =========================
   HERO VISUAL
========================= */

.hero-visual {
    min-height: 600px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(124, 92, 255, 0.25);
}

.circle-large {
    width: 480px;
    height: 480px;

    background:
        radial-gradient(
            circle,
            rgba(124, 92, 255, 0.14),
            transparent 65%
        );

    box-shadow:
        inset 0 0 70px rgba(124, 92, 255, 0.08),
        0 0 80px rgba(124, 92, 255, 0.08);
}

.circle-medium {
    width: 350px;
    height: 350px;

    border-color: rgba(34, 211, 238, 0.3);

    transform: rotate(30deg);
}

.circle-small {
    width: 220px;
    height: 220px;

    border-color: rgba(232, 121, 249, 0.25);
}


/* =========================
   DEVELOPER CARD
========================= */

.developer-card {
    position: relative;

    z-index: 5;

    width: min(360px, 75%);

    min-height: 260px;

    padding: 30px;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(31, 41, 80, 0.9),
            rgba(12, 18, 48, 0.85)
        );

    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        var(--shadow),
        0 0 70px rgba(124, 92, 255, 0.15);

    backdrop-filter: blur(18px);

    transform: rotate(-4deg);

    transition: 0.5s ease;
}

.developer-card:hover {
    transform:
        rotate(0deg)
        translateY(-8px);
}

.card-top {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--text-muted);

    font-size: 0.78rem;

    margin-bottom: 45px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #34d399;

    box-shadow:
        0 0 12px rgba(52, 211, 153, 0.8);
}

.card-content p {
    color: var(--text-muted);

    font-size: 0.85rem;

    margin-bottom: 6px;
}

.card-content h3 {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 2rem;

    line-height: 1.05;

    margin-bottom: 25px;
}

.card-code {
    color: var(--cyan);

    font-family: monospace;

    font-size: 0.8rem;
}


/* =========================
   FLOATING TAGS
========================= */

.floating-tag {
    position: absolute;

    z-index: 10;

    padding: 10px 16px;

    border-radius: 999px;

    background: rgba(16, 24, 55, 0.9);

    border: 1px solid rgba(255, 255, 255, 0.1);

    color: var(--text-soft);

    font-size: 0.8rem;

    box-shadow: var(--shadow);

    backdrop-filter: blur(10px);

    animation: floating 5s ease-in-out infinite;
}

.tag-one {
    top: 20%;

    right: 5%;

    color: #facc15;
}

.tag-two {
    bottom: 18%;

    left: 4%;

    color: #67e8f9;

    animation-delay: -1.5s;
}

.tag-three {
    top: 42%;

    right: 0;

    color: #d8b4fe;

    animation-delay: -3s;
}


/* =========================
   7. SECTION HEADINGS
========================= */

.section-heading {
    max-width: 760px;

    margin-bottom: 60px;
}

.section-label {
    color: var(--cyan);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    margin-bottom: 14px;
}

.section-heading h2 {
    font-family: 'Space Grotesk', sans-serif;

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1;

    letter-spacing: -0.055em;

    margin-bottom: 22px;
}

.section-heading h2 span {
    color: var(--purple-light);
}

.section-description {
    max-width: 620px;

    color: var(--text-muted);

    font-size: 1rem;
}


/* =========================
   8. ABOUT
========================= */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, 0.75fr);

    gap: 80px;

    align-items: start;
}

.about-main {
    max-width: 700px;
}

.about-main p {
    color: var(--text-muted);

    margin-bottom: 20px;

    font-size: 1rem;
}

.about-main .large-text {
    color: var(--text);

    font-family: 'Space Grotesk', sans-serif;

    font-size: 1.8rem;

    line-height: 1.45;

    margin-bottom: 30px;
}

.about-stats {
    display: grid;

    gap: 14px;
}

.stat-box {
    padding: 24px;

    border: 1px solid var(--border-light);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.015)
        );

    transition: var(--transition);
}

.stat-box:hover {
    transform: translateX(6px);

    border-color: rgba(124, 92, 255, 0.35);

    box-shadow: var(--glow-purple);
}

.stat-number {
    display: block;

    color: var(--purple-light);

    font-family: 'Space Grotesk', sans-serif;

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 5px;
}

.stat-title {
    display: block;

    font-weight: 600;

    margin-bottom: 7px;
}

.stat-box p {
    color: var(--text-muted);

    font-size: 0.85rem;
}


/* =========================
   9. PROJECTS
========================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.project-card {
    position: relative;

    min-height: 390px;

    padding: 32px;

    display: flex;

    flex-direction: column;

    border-radius: var(--radius);

    border: 1px solid var(--border-light);

    background:
        linear-gradient(
            145deg,
            rgba(25, 33, 72, 0.82),
            rgba(10, 15, 40, 0.7)
        );

    backdrop-filter: blur(15px);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.project-card::before {
    content: '';

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background: rgba(124, 92, 255, 0.18);

    filter: blur(30px);
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(124, 92, 255, 0.45);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 0 35px rgba(124, 92, 255, 0.1);
}

.project-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color: rgba(255, 255, 255, 0.16);

    font-family: 'Space Grotesk', sans-serif;

    font-size: 2.5rem;

    font-weight: 700;
}

.project-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 30px;

    border-radius: 15px;

    color: var(--cyan);

    background: rgba(34, 211, 238, 0.08);

    border: 1px solid rgba(34, 211, 238, 0.2);
}

.project-type {
    color: var(--purple-light);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.13em;

    margin-bottom: 10px;
}

.project-card h3 {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 2rem;

    margin-bottom: 14px;
}

.project-card > p {
    color: var(--text-muted);

    font-size: 0.92rem;

    line-height: 1.8;

    max-width: 500px;

    margin-bottom: 25px;
}

.tech-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: auto;

    margin-bottom: 25px;
}

.tech-tags span {
    padding: 6px 10px;

    border-radius: 999px;

    color: var(--text-soft);

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.07);

    font-size: 0.72rem;
}

.project-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--cyan);

    font-size: 0.85rem;

    font-weight: 600;
}

.project-link i {
    transition: var(--transition);
}

.project-link:hover i {
    transform: translate(3px, -3px);
}


/* =========================
   10. SKILLS
========================= */

.skills-layout {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.skill-category {
    min-height: 210px;

    padding: 26px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border-light);

    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);

    border-color: rgba(34, 211, 238, 0.25);

    background: rgba(34, 211, 238, 0.035);
}

.skill-category-header {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;
}

.skill-category-header i {
    color: var(--cyan);
}

.skill-category-header h3 {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 1.15rem;
}

.skill-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.skill-list span {
    padding: 7px 11px;

    border-radius: 8px;

    color: var(--text-soft);

    background: rgba(124, 92, 255, 0.08);

    border: 1px solid rgba(124, 92, 255, 0.12);

    font-size: 0.76rem;
}


/* =========================
   11. JOURNEY
========================= */

.journey-container {
    max-width: 900px;

    margin: auto;

    position: relative;
}

.journey-container::before {
    content: '';

    position: absolute;

    left: 92px;

    top: 15px;
    bottom: 15px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(124, 92, 255, 0.5),
            rgba(34, 211, 238, 0.5),
            transparent
        );
}

.journey-item {
    position: relative;

    display: grid;

    grid-template-columns: 75px 35px 1fr;

    gap: 18px;

    margin-bottom: 45px;
}

.journey-year {
    padding-top: 5px;

    color: var(--text-muted);

    font-size: 0.72rem;

    font-weight: 600;

    text-align: right;
}

.journey-line {
    position: relative;
}

.journey-line::after {
    content: '';

    position: absolute;

    top: 5px;
    left: 10px;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: var(--bg);

    border: 2px solid var(--purple-light);

    box-shadow:
        0 0 18px rgba(167, 139, 250, 0.6);
}

.journey-content {
    padding: 27px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border-light);

    transition: var(--transition);
}

.journey-content:hover {
    transform: translateX(5px);

    border-color: rgba(124, 92, 255, 0.35);
}

.journey-number {
    color: var(--cyan);

    font-family: monospace;

    font-size: 0.75rem;
}

.journey-content h3 {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 1.45rem;

    margin: 7px 0 8px;
}

.journey-content p {
    color: var(--text-muted);

    font-size: 0.9rem;
}

.current-item .journey-line::after {
    background: var(--cyan);

    border-color: var(--cyan);

    box-shadow:
        0 0 22px rgba(34, 211, 238, 0.8);
}

.current-item .journey-content {
    border-color: rgba(34, 211, 238, 0.2);
}


/* =========================
   12. CERTIFICATIONS
========================= */

.certifications-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.certificate-card {
    position: relative;

    min-height: 300px;

    padding: 27px;

    border-radius: 20px;

    border: 1px solid var(--border-light);

    background:
        linear-gradient(
            150deg,
            rgba(124, 92, 255, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-7px);

    border-color: rgba(167, 139, 250, 0.35);

    box-shadow: var(--glow-purple);
}

.certificate-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color: rgba(255, 255, 255, 0.18);

    font-family: monospace;

    font-size: 0.75rem;
}

.certificate-card > i {
    color: var(--cyan);

    font-size: 1.7rem;

    margin-bottom: 50px;
}

.certificate-card h3 {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 1.15rem;

    line-height: 1.3;

    margin-bottom: 12px;
}

.certificate-card p {
    color: var(--text-muted);

    font-size: 0.8rem;

    line-height: 1.7;

    margin-bottom: 18px;
}

.certificate-year {
    color: var(--purple-light);

    font-size: 0.72rem;

    font-weight: 600;
}


/* =========================
   13. CURRENT FOCUS
========================= */

.focus-box {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    padding: 60px;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(124, 92, 255, 0.18),
            transparent 35%
        ),
        rgba(255, 255, 255, 0.025);

    border: 1px solid var(--border-light);

    box-shadow: var(--shadow);
}

.focus-content h2 {
    font-family: 'Space Grotesk', sans-serif;

    font-size:
        clamp(2.5rem, 5vw, 4.5rem);

    line-height: 0.98;

    letter-spacing: -0.05em;

    margin-bottom: 25px;
}

.focus-content h2 span {
    color: var(--cyan);
}

.focus-content > p:last-child {
    color: var(--text-muted);

    max-width: 500px;
}

.focus-items {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.focus-item {
    min-height: 120px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 20px;

    border-radius: 17px;

    border: 1px solid var(--border-light);

    background: rgba(255, 255, 255, 0.025);

    color: var(--text-soft);

    font-weight: 600;
}

.focus-item span {
    color: var(--purple-light);

    font-family: monospace;

    font-size: 0.7rem;
}


/* =========================
   14. NEXT CHAPTER
========================= */

.next-section {
    text-align: center;
}

.next-content {
    max-width: 850px;

    margin: auto;
}

.next-content h2 {
    font-family: 'Space Grotesk', sans-serif;

    font-size:
        clamp(3rem, 7vw, 6rem);

    line-height: 0.95;

    letter-spacing: -0.06em;

    margin-bottom: 28px;
}

.next-content h2 span {
    background:
        linear-gradient(
            90deg,
            var(--purple-light),
            var(--cyan)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.next-content > p:not(.section-label) {
    max-width: 650px;

    margin: auto;

    color: var(--text-muted);

    font-size: 1rem;
}

.next-badge {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    padding: 10px 17px;

    border-radius: 999px;

    color: var(--cyan);

    background: rgba(34, 211, 238, 0.07);

    border: 1px solid rgba(34, 211, 238, 0.18);

    font-size: 0.8rem;
}


/* =========================
   15. CONTACT
========================= */

.contact-wrapper {
    display: grid;

    grid-template-columns:
        1fr 0.9fr;

    gap: 80px;

    align-items: center;
}

.contact-content h2 {
    font-family: 'Space Grotesk', sans-serif;

    font-size:
        clamp(3rem, 6vw, 5.5rem);

    line-height: 0.95;

    letter-spacing: -0.06em;

    margin-bottom: 25px;
}

.contact-content h2 span {
    color: var(--cyan);
}

.contact-content > p:last-child {
    color: var(--text-muted);

    max-width: 500px;
}

.contact-links {
    display: grid;

    gap: 12px;
}

.contact-link {
    display: grid;

    grid-template-columns: 48px 1fr 20px;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border-radius: 17px;

    border: 1px solid var(--border-light);

    background: rgba(255, 255, 255, 0.025);

    transition: var(--transition);
}

.contact-link:hover {
    transform: translateX(6px);

    border-color: rgba(34, 211, 238, 0.3);

    background: rgba(34, 211, 238, 0.04);
}

.contact-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color: var(--cyan);

    background: rgba(34, 211, 238, 0.08);
}

.contact-link span:nth-child(2) {
    display: flex;

    flex-direction: column;

    font-size: 0.9rem;

    font-weight: 600;
}

.contact-link small {
    color: var(--text-muted);

    font-size: 0.68rem;

    margin-bottom: 2px;
}

.contact-link > i {
    color: var(--text-muted);

    font-size: 0.75rem;
}


/* =========================
   16. FOOTER
========================= */

.footer {
    padding: 55px 0 30px;

    border-top: 1px solid var(--border-light);

    background: rgba(0, 0, 0, 0.12);
}

.footer-container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: auto;

    text-align: center;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;

    font-size: 1.5rem;

    font-weight: 700;

    margin-bottom: 8px;
}

.footer-container > p {
    color: var(--text-muted);

    font-size: 0.8rem;

    margin-bottom: 35px;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid var(--border-light);

    color: var(--text-muted);

    font-size: 0.7rem;
}


/* =========================
   17. RESPONSIVE — TABLET
========================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 20px;
    }

    .hero-container {
        grid-template-columns:
            1fr 0.8fr;

        gap: 30px;
    }

    .hero-visual {
        min-height: 470px;
    }

    .circle-large {
        width: 400px;
        height: 400px;
    }

    .circle-medium {
        width: 290px;
        height: 290px;
    }

    .circle-small {
        width: 180px;
        height: 180px;
    }

    .skills-layout {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .certifications-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================
   18. RESPONSIVE — MOBILE
========================= */

@media (max-width: 760px) {

    .section {
        padding: 85px 0;
    }

    .section-container,
    .nav-container,
    .hero-container,
    .footer-container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }


    /* Navigation */

    .navbar {
        padding: 14px 0;
    }

    .nav-container {
        gap: 12px;
    }

    .nav-links {
        display: none;
    }

    .nav-button {
        padding: 8px 13px;

        font-size: 0.72rem;
    }


    /* Hero */

    .hero-section {
        padding:
            125px 0
            70px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-content {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero-content h1 {
        font-size:
            clamp(3.8rem, 18vw, 5.5rem);
    }

    .hero-content h2 {
        font-size: 1.45rem;
    }

    .hero-description {
        font-size: 0.9rem;

        line-height: 1.75;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 380px;

        margin-top: 20px;
    }

    .circle-large {
        width: 320px;
        height: 320px;
    }

    .circle-medium {
        width: 235px;
        height: 235px;
    }

    .circle-small {
        width: 145px;
        height: 145px;
    }

    .developer-card {
        width: 270px;

        min-height: 210px;

        padding: 24px;
    }

    .card-top {
        margin-bottom: 30px;
    }

    .card-content h3 {
        font-size: 1.5rem;
    }

    .tag-one {
        right: 0;
    }

    .tag-two {
        left: 0;
    }


    /* Section headings */

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 2.8rem;
    }


    /* About */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-main .large-text {
        font-size: 1.4rem;
    }


    /* Projects */

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 360px;
    }


    /* Skills */

    .skills-layout {
        grid-template-columns: 1fr;
    }


    /* Journey */

    .journey-container::before {
        left: 12px;
    }

    .journey-item {
        grid-template-columns:
            25px 1fr;

        gap: 18px;
    }

    .journey-year {
        position: absolute;

        top: -23px;
        left: 40px;

        text-align: left;
    }

    .journey-line {
        grid-column: 1;

        grid-row: 1;
    }

    .journey-content {
        grid-column: 2;

        grid-row: 1;

        padding: 22px;
    }


    /* Certifications */

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .certificate-card {
        min-height: 260px;
    }


    /* Focus */

    .focus-box {
        grid-template-columns: 1fr;

        padding: 30px;

        gap: 35px;
    }

    .focus-items {
        grid-template-columns: 1fr;
    }


    /* Next chapter */

    .next-content h2 {
        font-size: 3.2rem;
    }


    /* Contact */

    .contact-wrapper {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .contact-content h2 {
        font-size: 3.4rem;
    }


    /* Footer */

    .footer-bottom {
        flex-direction: column;

        align-items: center;
    }
}


/* =========================
   19. VERY SMALL SCREENS
========================= */

@media (max-width: 420px) {

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
    }

    .circle-large {
        width: 280px;
        height: 280px;
    }

    .circle-medium {
        width: 210px;
        height: 210px;
    }

    .circle-small {
        width: 130px;
        height: 130px;
    }

    .developer-card {
        width: 245px;
    }

    .floating-tag {
        font-size: 0.7rem;

        padding: 8px 11px;
    }

    .project-card {
        padding: 24px;
    }

    .section-heading h2 {
        font-size: 2.45rem;
    }

    .contact-content h2 {
        font-size: 2.9rem;
    }
}


/* =========================
   20. REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}