/* =========================================================
   MAHMOUD KHALED EWISS — PORTFOLIO
   STYLE.CSS
========================================================= */


/* =========================================================
   01. ROOT
========================================================= */

:root {

    --bg: #08090d;
    --bg-soft: #0d0f15;
    --card: #11141b;
    --card-hover: #151923;

    --text: #f5f7fb;
    --text-soft: #a7adbb;
    --text-muted: #686f7d;

    --accent: #7c5cff;
    --accent-light: #9b83ff;
    --accent-dark: #6345ed;

    --success: #55d98a;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(124, 92, 255, 0.45);

    --container: 1180px;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* =========================================================
   02. RESET
========================================================= */

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

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

body {
    min-height: 100vh;
    overflow-x: hidden;

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

    font-family: "Inter", sans-serif;
    line-height: 1.7;
}

body.modal-open {
    overflow: hidden;
}

::selection {
    background: var(--accent);
    color: #fff;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    border: none;
    outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 4px;
}


/* =========================================================
   03. SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #292d38;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}


/* =========================================================
   04. GLOBAL
========================================================= */

.container {
    width: min(
        var(--container),
        calc(100% - 48px)
    );

    margin-inline: auto;
}

.section {
    position: relative;
    padding: 120px 0;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 65px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2 {
    margin-top: 18px;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -2.5px;
}

.section-heading h2 span {
    color: var(--accent-light);
}

.section-heading p {
    max-width: 650px;
    margin-top: 22px;

    color: var(--text-soft);
    font-size: 0.95rem;
}

.section-heading.centered p {
    margin-inline: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--accent-light);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-tag span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid var(--border-accent);
    border-radius: 50%;

    font-size: 0.62rem;
}


/* =========================================================
   05. HEADER
========================================================= */

.header {
    position: fixed;
    z-index: 1000;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    border-bottom: 1px solid transparent;

    background: rgba(8, 9, 13, 0.45);

    backdrop-filter: blur(0);

    transition: var(--transition);
}

.header.scrolled {
    height: 72px;

    border-bottom-color: var(--border);

    background: rgba(8, 9, 13, 0.88);

    backdrop-filter: blur(20px);
}

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

    height: 100%;
}


/* LOGO */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-mark {
    color: var(--accent-light);
    font-size: 0.95rem;
}

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


/* NAVIGATION */

.navbar {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-link {
    position: relative;

    color: var(--text-soft);

    font-size: 0.76rem;
    font-weight: 500;

    transition: var(--transition);
}

.nav-link::after {
    position: absolute;

    right: 0;
    bottom: -9px;
    left: 0;

    height: 2px;

    border-radius: 50px;

    background: var(--accent);

    content: "";

    transform: scaleX(0);

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}


/* HEADER SOCIALS */

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;

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

    color: var(--text-soft);

    font-size: 0.85rem;

    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;

    transform: translateY(-3px);
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

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

    background: transparent;
    color: #fff;

    cursor: pointer;
}


/* =========================================================
   06. HERO
========================================================= */

.hero {
    display: flex;
    align-items: center;

    min-height: 100vh;

    padding-top: 120px;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.35;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}

.hero-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.13;
}

.hero-glow-one {
    top: -250px;
    left: -200px;

    background: var(--accent);
}

.hero-glow-two {
    right: -280px;
    bottom: -300px;

    background: #3b82f6;
}


/* HERO CONTAINER */

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

    display: grid;
    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 75px;
}

.hero-content {
    max-width: 680px;
}


/* BADGE */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 27px;
    padding: 8px 14px;

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

    background: rgba(255, 255, 255, 0.025);

    color: var(--text-soft);

    font-size: 0.68rem;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 14px rgba(85, 217, 138, 0.8);
}

.hero-intro {
    margin-bottom: 6px;

    color: var(--text-soft);

    font-size: 1rem;
}

.hero-title {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(
        3.3rem,
        7vw,
        6.3rem
    );

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -5px;
}

.hero-title span {
    display: block;

    background:
        linear-gradient(
            120deg,
            #fff 10%,
            var(--accent-light) 90%
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-role {
    margin-top: 27px;

    color: var(--text);

    font-size: clamp(
        1.1rem,
        2vw,
        1.4rem
    );

    font-weight: 600;
}

.role-divider {
    margin: 0 8px;

    color: var(--accent);
}

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

    margin-top: 20px;

    color: var(--text-soft);

    font-size: 0.91rem;
    line-height: 1.85;
}


/* =========================================================
   07. BUTTONS
========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 53px;

    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: 11px;

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

    transition: var(--transition);

    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #fff;

    box-shadow:
        0 15px 35px rgba(
            124,
            92,
            255,
            0.18
        );
}

.btn-primary:hover {
    background: var(--accent-light);

    box-shadow:
        0 18px 45px rgba(
            124,
            92,
            255,
            0.3
        );

    transform: translateY(-3px);
}

.btn-secondary {
    border-color: var(--border);

    background: rgba(
        255,
        255,
        255,
        0.025
    );

    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--border-accent);

    background: rgba(
        124,
        92,
        255,
        0.08
    );

    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--border);

    background: transparent;

    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);

    background: var(--accent);

    transform: translateY(-3px);
}


/* =========================================================
   08. HERO SOCIALS
========================================================= */

.hero-socials {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-top: 32px;
}

.hero-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 41px;
    height: 41px;

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

    color: var(--text-soft);

    transition: var(--transition);
}

.hero-socials a:hover {
    border-color: var(--accent);

    color: var(--accent-light);

    transform: translateY(-4px);
}


/* =========================================================
   09. HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

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

    min-height: 600px;
}

.profile-card {
    position: relative;
    z-index: 3;

    width: min(
        430px,
        80%
    );

    padding: 12px;

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

    border-radius: 28px;

    background:
        rgba(
            17,
            20,
            27,
            0.75
        );

    box-shadow:
        0 40px 100px rgba(
            0,
            0,
            0,
            0.5
        ),
        0 0 80px rgba(
            124,
            92,
            255,
            0.08
        );

    backdrop-filter: blur(20px);

    transform: rotate(3deg);

    transition:
        transform 0.5s ease;
}

.profile-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.profile-card-top {
    display: flex;

    gap: 6px;

    padding:
        7px
        5px
        12px;
}

.profile-card-top span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #454a55;
}

.profile-image-wrapper {
    position: relative;

    aspect-ratio: 1 / 1.12;

    overflow: hidden;

    border-radius: 19px;

    background: #161922;
}

.profile-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center 24%;

    filter: saturate(0.9);

    transition:
        transform 0.8s ease;
}

.profile-card:hover .profile-image {
    transform: scale(1.035);
}

.profile-card-bottom {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    padding:
        16px
        8px
        6px;
}

.profile-card-bottom > div {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.profile-label {
    color: var(--text-muted);

    font-size: 0.58rem;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.profile-card-bottom strong {
    color: var(--text);

    font-size: 0.75rem;
}


/* ORBITS */

.profile-orbit {
    position: absolute;

    border: 1px solid rgba(
        124,
        92,
        255,
        0.14
    );

    border-radius: 50%;

    pointer-events: none;
}

.orbit-one {
    width: 570px;
    height: 570px;
}

.orbit-two {
    width: 680px;
    height: 680px;

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


/* =========================================================
   10. FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;

    gap: 11px;

    padding:
        12px
        15px;

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

    border-radius: 14px;

    background:
        rgba(
            13,
            15,
            21,
            0.9
        );

    box-shadow:
        0 20px 50px rgba(
            0,
            0,
            0,
            0.35
        );

    backdrop-filter: blur(15px);

    animation:
        floating 5s ease-in-out infinite;
}

.floating-card i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 10px;

    background:
        rgba(
            124,
            92,
            255,
            0.12
        );

    color: var(--accent-light);
}

.floating-card div {
    display: flex;
    flex-direction: column;

    line-height: 1.3;
}

.floating-card span {
    color: var(--text-muted);

    font-size: 0.56rem;
}

.floating-card strong {
    color: var(--text);

    font-size: 0.73rem;
}

.floating-card-one {
    top: 12%;
    left: 0;
}

.floating-card-two {
    top: 43%;
    right: -20px;

    animation-delay: -1.6s;
}

.floating-card-three {
    right: 5%;
    bottom: 8%;

    animation-delay: -3.2s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* SCROLL INDICATOR */

.scroll-indicator {
    position: absolute;
    z-index: 3;

    bottom: 24px;
    left: 50%;

    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--text-muted);

    font-size: 0.6rem;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transform: translateX(-50%);
}

.scroll-indicator i {
    color: var(--accent-light);

    animation:
        scrollArrow 1.8s ease-in-out infinite;
}

@keyframes scrollArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* =========================================================
   11. ABOUT
========================================================= */

.about {
    background: var(--bg-soft);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    align-items: center;

    gap: 85px;
}

.about-content {
    max-width: 650px;
}

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

    color: var(--text-soft);

    font-size: 0.88rem;

    line-height: 1.85;
}

.about-content .about-lead {
    color: var(--text);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.35rem;

    font-weight: 600;

    line-height: 1.5;
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: 10px;

    color: var(--accent-light);

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

    transition: var(--transition);
}

.text-link:hover {
    color: #fff;
}

.text-link i {
    transition: var(--transition);
}

.text-link:hover i {
    transform: translateX(5px);
}


/* STATS */

.about-stats {
    display: grid;

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

    gap: 14px;
}

.stat-card {
    position: relative;

    min-height: 165px;

    padding: 25px;

    overflow: hidden;

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

    border-radius: var(--radius-md);

    background: var(--card);

    transition: var(--transition);
}

.stat-card::before {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: var(--accent);

    content: "";

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-accent);

    background: var(--card-hover);

    transform: translateY(-5px);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    color: var(--text-muted);

    font-size: 0.62rem;
}

.stat-card h3 {
    margin-top: 28px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.65rem;
}

.stat-card p {
    margin-top: 2px;

    color: var(--text-muted);

    font-size: 0.65rem;
}


/* =========================================================
   12. SKILLS
========================================================= */

.skills {
    background: var(--bg);
}

.skills-grid {
    display: grid;

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

    gap: 17px;
}

.skill-card {
    position: relative;

    padding: 29px;

    overflow: hidden;

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

    border-radius: var(--radius-md);

    background: var(--card);

    transition: var(--transition);
}

.skill-card::after {
    position: absolute;

    right: -70px;
    bottom: -70px;

    width: 160px;
    height: 160px;

    border-radius: 50%;

    background: var(--accent);

    opacity: 0;

    filter: blur(55px);

    content: "";

    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--border-accent);

    transform: translateY(-7px);
}

.skill-card:hover::after {
    opacity: 0.12;
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 51px;
    height: 51px;

    border-radius: 14px;

    background:
        rgba(
            124,
            92,
            255,
            0.1
        );

    color: var(--accent-light);

    font-size: 1.2rem;
}

.skill-number {
    position: absolute;

    top: 30px;
    right: 30px;

    color: var(--text-muted);

    font-size: 0.6rem;
}

.skill-card h3 {
    position: relative;
    z-index: 2;

    margin-top: 25px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.17rem;
}

.skill-card p {
    position: relative;
    z-index: 2;

    margin-top: 9px;

    color: var(--text-soft);

    font-size: 0.75rem;

    line-height: 1.7;
}

.skill-tags {
    position: relative;
    z-index: 2;

    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 18px;
}

.skill-tags span,
.course-tags span,
.project-tech span,
.modal-tech span {
    padding:
        5px
        9px;

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

    border-radius: 7px;

    background:
        rgba(
            255,
            255,
            255,
            0.025
        );

    color: var(--text-muted);

    font-size: 0.58rem;
}
/* =========================================================
   13. CERTIFICATES
========================================================= */

.certificates {
    background: var(--bg-soft);
}

.certificates-grid {
    display: grid;

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

    gap: 22px;
}

.certificate-card {
    overflow: hidden;

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

    border-radius: var(--radius-lg);

    background: var(--card);

    transition: var(--transition);

    cursor: pointer;
}

.certificate-card:hover {
    border-color: var(--border-accent);

    background: var(--card-hover);

    transform: translateY(-7px);

    box-shadow:
        0 25px 60px
        rgba(
            0,
            0,
            0,
            0.25
        );
}


/* CERTIFICATE IMAGE */

.certificate-image-wrapper {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 300px;

    padding: 18px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(
                124,
                92,
                255,
                0.08
            ),
            transparent 65%
        );

    border-bottom: 1px solid var(--border);
}

.certificate-image {
    width: 100%;

    max-height: 340px;

    object-fit: contain;

    border-radius: 10px;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.certificate-card:hover .certificate-image {
    transform: scale(1.025);

    filter: brightness(1.04);
}


/* CERTIFICATE CONTENT */

.certificate-content {
    position: relative;

    padding:
        28px
        30px
        30px;
}

.certificate-number {
    position: absolute;

    top: 28px;

    right: 30px;

    color: var(--text-muted);

    font-size: 0.6rem;

    letter-spacing: 1px;
}

.certificate-content h3 {
    padding-right: 45px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.45rem;

    line-height: 1.25;
}

.certificate-content p {
    max-width: 570px;

    margin-top: 10px;

    color: var(--text-soft);

    font-size: 0.76rem;

    line-height: 1.75;
}

.certificate-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px 18px;

    margin-top: 19px;

    padding-top: 16px;

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

    color: var(--text-muted);

    font-size: 0.61rem;
}

.certificate-meta span {
    display: inline-flex;

    align-items: center;

    gap: 7px;
}

.certificate-meta i {
    color: var(--accent-light);
}


/* CERTIFICATE MODAL */

.certificate-modal {
    position: fixed;

    z-index: 3000;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    visibility: hidden;

    opacity: 0;

    background:
        rgba(
            0,
            0,
            0,
            0.88
        );

    backdrop-filter: blur(10px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.certificate-modal.active {
    visibility: visible;

    opacity: 1;
}

.certificate-modal img {
    position: relative;

    z-index: 2;

    max-width: 92vw;

    max-height: 88vh;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 30px 100px
        rgba(
            0,
            0,
            0,
            0.6
        );
}

.certificate-modal-close {
    position: absolute;

    z-index: 3;

    top: 25px;

    right: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

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

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

    color: #fff;

    font-size: 1rem;

    cursor: pointer;

    transition: var(--transition);
}

.certificate-modal-close:hover {
    border-color: var(--accent);

    background: var(--accent);

    transform: rotate(90deg);
}


/* =========================================================
   CERTIFICATES RESPONSIVE
========================================================= */

@media (max-width: 800px) {

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

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

    .certificate-content {
        padding: 24px;
    }

    .certificate-number {
        top: 24px;

        right: 24px;
    }

    .certificate-modal {
        padding: 15px;
    }

    .certificate-modal img {
        max-width: 96vw;

        max-height: 82vh;
    }

    .certificate-modal-close {
        top: 15px;

        right: 15px;
    }

}

/* =========================================================
   13. EDUCATION
========================================================= */

.education {
    background: var(--bg-soft);
}

.timeline {
    position: relative;

    max-width: 900px;

    margin-inline: auto;
}

.timeline::before {
    position: absolute;

    top: 0;
    bottom: 0;

    left: 24px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            var(--accent),
            rgba(
                124,
                92,
                255,
                0.03
            )
        );

    content: "";
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns:
        50px
        1fr;

    gap: 28px;
}

.timeline-marker {
    position: relative;
    z-index: 2;

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

    width: 50px;
    height: 50px;

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

    border-radius: 50%;

    background: var(--bg-soft);

    color: var(--accent-light);
}

.timeline-card {
    padding: 31px;

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

    border-radius: var(--radius-md);

    background: var(--card);
}

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

    gap: 25px;
}

.timeline-category {
    color: var(--accent-light);

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

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.timeline-card h3 {
    margin-top: 8px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.35rem;
}

.timeline-card h4 {
    margin-top: 3px;

    color: var(--text-soft);

    font-size: 0.8rem;

    font-weight: 500;
}

.timeline-date {
    padding:
        7px
        11px;

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

    border-radius: 8px;

    color: var(--text-muted);

    font-size: 0.6rem;

    white-space: nowrap;
}

.timeline-card p {
    margin-top: 19px;

    color: var(--text-soft);

    font-size: 0.77rem;
}


/* =========================================================
   14. TRAINING / COURSES
========================================================= */

.training {
    background: var(--bg);
}

.courses-grid {
    display: grid;

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

    gap: 18px;
}

.course-card {
    display: grid;

    grid-template-columns:
        60px
        1fr;

    gap: 24px;

    padding: 30px;

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

    border-radius: var(--radius-md);

    background: var(--card);

    transition: var(--transition);
}

.course-card:hover {
    border-color: var(--border-accent);

    transform: translateY(-6px);
}

.course-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    border-radius: 15px;

    background:
        rgba(
            124,
            92,
            255,
            0.1
        );

    color: var(--accent-light);

    font-size: 1.35rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 9px;

    color: var(--text-muted);

    font-size: 0.58rem;
}

.course-content h3 {
    margin-top: 9px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.2rem;
}

.course-content p {
    margin-top: 8px;

    color: var(--text-soft);

    font-size: 0.75rem;

    line-height: 1.75;
}

.course-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 17px;
}


/* =========================================================
   15. INTERESTS
========================================================= */

.interests {
    background: var(--bg-soft);
}

.interest-list {
    border-top: 1px solid var(--border);
}

.interest-item {
    display: grid;

    grid-template-columns:
        80px
        1fr
        30px;

    align-items: center;

    gap: 20px;

    min-height: 82px;

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

    transition: var(--transition);
}

.interest-item:hover {
    padding-inline: 15px;

    background:
        rgba(
            124,
            92,
            255,
            0.03
        );

    border-color:
        rgba(
            124,
            92,
            255,
            0.22
        );
}

.interest-index {
    color: var(--text-muted);

    font-size: 0.62rem;
}

.interest-title {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            1.05rem,
            2vw,
            1.5rem
        );

    font-weight: 600;
}

.interest-item i {
    color: var(--text-muted);

    font-size: 0.7rem;

    transition: var(--transition);
}

.interest-item:hover i {
    color: var(--accent-light);

    transform:
        translate(
            3px,
            -3px
        );
}


/* =========================================================
   16. PROJECTS
========================================================= */

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

.projects-grid {
    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    gap: 20px;
}

.project-card {
    overflow: hidden;

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

    border-radius: var(--radius-lg);

    background: var(--card);

    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--border-accent);

    transform: translateY(-7px);
}


/* PROJECT MEDIA */

.project-media {
    position: relative;

    min-height: 330px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(
                124,
                92,
                255,
                0.16
            ),
            transparent 60%
        ),
        #0c0e13;
}

.project-image-placeholder {
    position: absolute;
    inset: 0;

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

    background-image:
        linear-gradient(
            rgba(
                255,
                255,
                255,
                0.025
            ) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(
                255,
                255,
                255,
                0.025
            ) 1px,
            transparent 1px
        );

    background-size: 35px 35px;
}

.project-placeholder-content {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 14px;

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

.project-placeholder-content i {
    color: var(--accent-light);

    font-size: 3rem;
}

.project-placeholder-content span {
    font-size: 0.62rem;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.project-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(
                8,
                9,
                13,
                0.75
            ),
            transparent 60%
        );
}


/* PROJECT ACTIONS */

.project-actions {
    position: absolute;

    right: 20px;
    bottom: 20px;

    display: flex;

    gap: 8px;
}

.project-actions a,
.project-actions button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

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

    border-radius: 50%;

    background:
        rgba(
            8,
            9,
            13,
            0.75
        );

    color: #fff;

    backdrop-filter: blur(10px);

    transition: var(--transition);

    cursor: pointer;
}

.project-actions a:hover,
.project-actions button:hover {
    border-color: var(--accent);

    background: var(--accent);

    transform: translateY(-3px);
}


/* PROJECT CONTENT */

.project-content {
    padding: 29px;
}

.project-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.project-category {
    color: var(--accent-light);

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.project-index {
    color: var(--text-muted);

    font-size: 0.6rem;
}

.project-content h3 {
    margin-top: 12px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.5rem;
}

.project-content p {
    margin-top: 9px;

    color: var(--text-soft);

    font-size: 0.77rem;

    line-height: 1.75;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 19px;
}

.projects-footer {
    display: flex;

    justify-content: center;

    margin-top: 43px;
}


/* =========================================================
   17. CONTACT
========================================================= */

.contact {
    background: var(--bg-soft);
}

.contact-wrapper {
    display: grid;

    grid-template-columns:
        1fr
        0.75fr;

    align-items: center;

    gap: 75px;
}

.contact-content h2 {
    margin-top: 18px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.4rem
        );

    line-height: 1;

    letter-spacing: -2.5px;
}

.contact-content h2 span {
    color: var(--accent-light);
}

.contact-content > p {
    max-width: 610px;

    margin-top: 23px;

    color: var(--text-soft);

    font-size: 0.83rem;

    line-height: 1.8;
}


/* CONTACT LINKS */

.contact-links {
    display: flex;

    flex-direction: column;

    margin-top: 32px;
}

.contact-link {
    display: grid;

    grid-template-columns:
        47px
        1fr
        20px;

    align-items: center;

    gap: 14px;

    padding: 14px 0;

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

    transition: var(--transition);
}

.contact-link:hover {
    padding-inline: 10px;

    background:
        rgba(
            124,
            92,
            255,
            0.025
        );
}

.contact-icon {
    display: flex;

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

    width: 42px;
    height: 42px;

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

    border-radius: 12px;

    color: var(--accent-light);
}

.contact-info {
    display: flex;

    flex-direction: column;

    line-height: 1.4;
}

.contact-info small {
    color: var(--text-muted);

    font-size: 0.58rem;
}

.contact-info strong {
    margin-top: 2px;

    color: var(--text);

    font-size: 0.72rem;

    font-weight: 500;

    word-break: break-word;
}

.contact-link > i {
    color: var(--text-muted);

    font-size: 0.6rem;

    transition: var(--transition);
}

.contact-link:hover > i {
    color: var(--accent-light);

    transform:
        translate(
            3px,
            -3px
        );
}


/* =========================================================
   18. CONTACT CARD
========================================================= */

.contact-card {
    position: relative;

    min-height: 430px;

    overflow: hidden;

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

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(
                124,
                92,
                255,
                0.12
            ),
            rgba(
                17,
                20,
                27,
                0.7
            )
        );
}

.contact-card::before {
    position: absolute;

    top: -150px;
    right: -150px;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: var(--accent);

    opacity: 0.12;

    filter: blur(70px);

    content: "";
}

.contact-card-content {
    position: relative;
    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    min-height: 430px;

    padding: 40px;
}

.contact-card-label {
    color: var(--accent-light);

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.contact-card h3 {
    margin-top: 20px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 2rem;

    line-height: 1.1;
}

.contact-card p {
    margin-top: 18px;

    color: var(--text-soft);

    font-size: 0.77rem;

    line-height: 1.7;
}

.contact-card-line {
    width: 100%;
    height: 1px;

    margin: 24px 0;

    background: var(--border);
}

.contact-card-status {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--text-soft);

    font-size: 0.66rem;
}

.contact-card-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 12px
        rgba(
            85,
            217,
            138,
            0.8
        );
}


/* =========================================================
   19. FEEDBACK
========================================================= */

.feedback {
    background: var(--bg);
}

.feedback-wrapper {
    display: grid;

    grid-template-columns:
        0.7fr
        1.3fr;

    gap: 22px;

    max-width: 1050px;

    margin-inline: auto;
}


/* FEEDBACK INFO */

.feedback-info {
    position: relative;

    min-height: 100%;

    padding: 38px;

    overflow: hidden;

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

    border-radius: var(--radius-lg);

    background: var(--card);
}

.feedback-info::before {
    position: absolute;

    top: -120px;
    right: -120px;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: var(--accent);

    opacity: 0.12;

    filter: blur(70px);

    content: "";
}

.feedback-info-icon {
    position: relative;

    display: flex;

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

    width: 58px;
    height: 58px;

    border-radius: 16px;

    background:
        rgba(
            124,
            92,
            255,
            0.1
        );

    color: var(--accent-light);

    font-size: 1.4rem;
}

.feedback-info h3 {
    position: relative;

    margin-top: 27px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 1.65rem;
}

.feedback-info > p {
    position: relative;

    margin-top: 12px;

    color: var(--text-soft);

    font-size: 0.77rem;

    line-height: 1.8;
}

.feedback-email {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 28px;

    padding-top: 21px;

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

    color: var(--text-soft);

    font-size: 0.67rem;

    line-height: 1.5;

    word-break: break-word;
}

.feedback-email i {
    flex-shrink: 0;

    color: var(--accent-light);

    margin-top: 2px;
}


/* FEEDBACK FORM */

.feedback-form {
    padding: 38px;

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

    border-radius: var(--radius-lg);

    background: var(--card);
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 17px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 19px;
}

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

    font-size: 0.67rem;

    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;

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

    border-radius: 11px;

    outline: none;

    background:
        rgba(
            255,
            255,
            255,
            0.025
        );

    color: var(--text);

    font-size: 0.75rem;

    transition: var(--transition);
}

.form-group input {
    height: 51px;

    padding:
        0
        15px;
}

.form-group textarea {
    min-height: 145px;

    padding:
        14px
        15px;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);

    background:
        rgba(
            124,
            92,
            255,
            0.035
        );

    box-shadow:
        0 0 0 3px
        rgba(
            124,
            92,
            255,
            0.07
        );
}

.feedback-submit {
    width: 100%;

    margin-top: 2px;
}

.feedback-submit:disabled {
    opacity: 0.65;

    cursor: not-allowed;
}


/* =========================================================
   20. FOOTER
========================================================= */

.footer {
    padding:
        55px
        0
        28px;

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

    background: var(--bg);
}

.footer-container {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 32px;
}

.footer-brand p {
    margin-top: 14px;

    color: var(--text-muted);

    font-size: 0.65rem;

    line-height: 1.7;
}

.footer-socials {
    display: flex;

    align-items: center;

    gap: 8px;
}

.footer-socials a {
    display: flex;

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

    width: 39px;
    height: 39px;

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

    border-radius: 50%;

    color: var(--text-soft);

    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--accent);

    background: var(--accent);

    color: #fff;
}

.footer-bottom {
    display: flex;

    grid-column: 1 / -1;

    align-items: center;

    justify-content: space-between;

    padding-top: 24px;

    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);

    font-size: 0.6rem;
}

.back-to-top {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--text-soft);

    font-size: 0.6rem;

    transition: var(--transition);
}

.back-to-top:hover {
    color: var(--accent-light);
}

.back-to-top i {
    color: var(--accent-light);
}


/* =========================================================
   21. PROJECT MODAL
========================================================= */

.project-modal {
    position: fixed;

    z-index: 2000;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    visibility: hidden;

    opacity: 0;

    transition: 0.3s ease;
}

.project-modal.active {
    visibility: visible;

    opacity: 1;
}

.modal-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(
            0,
            0,
            0,
            0.82
        );

    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;

    z-index: 2;

    width: min(
        800px,
        100%
    );

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

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

    border-radius: 25px;

    background: var(--card);

    box-shadow:
        0 40px 100px
        rgba(
            0,
            0,
            0,
            0.5
        );

    transform:
        translateY(25px)
        scale(0.97);

    transition: 0.35s ease;
}

.project-modal.active
.modal-content {
    transform:
        translateY(0)
        scale(1);
}

.modal-close {
    position: absolute;

    z-index: 3;

    top: 19px;
    right: 19px;

    display: flex;

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

    width: 38px;
    height: 38px;

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

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );

    color: #fff;

    cursor: pointer;

    transition: var(--transition);
}

.modal-close:hover {
    border-color: var(--accent);

    background: var(--accent);

    transform: rotate(90deg);
}

.modal-header {
    padding-right: 50px;
}

.modal-header h3 {
    margin-top: 10px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 2rem;
}

.modal-body {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 30px;

    margin-top: 30px;
}

.modal-preview {
    display: flex;

    min-height: 250px;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 15px;

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

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(
                124,
                92,
                255,
                0.08
            ),
            rgba(
                255,
                255,
                255,
                0.015
            )
        );

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

.modal-preview i {
    color: var(--accent-light);

    font-size: 3.4rem;
}

.modal-preview span {
    font-size: 0.65rem;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.modal-details p {
    color: var(--text-soft);

    font-size: 0.8rem;

    line-height: 1.8;
}

.modal-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 19px;
}

.modal-details .btn {
    margin-top: 25px;
}


/* =========================================================
   22. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   23. TABLET
========================================================= */

@media (max-width: 1050px) {

    .navbar {
        gap: 17px;
    }

    .hero-container {
        grid-template-columns:
            1fr
            0.85fr;

        gap: 40px;
    }

    .hero-title {
        font-size:
            clamp(
                3.1rem,
                6vw,
                5rem
            );
    }

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

    .about-grid {
        gap: 45px;
    }

    .contact-wrapper {
        gap: 45px;
    }

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

}


/* =========================================================
   24. MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

    .header {
        height: 72px;
    }

    .navbar {
        position: fixed;

        top: 72px;

        right: 16px;
        left: 16px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 14px;

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

        border-radius: 16px;

        background:
            rgba(
                13,
                15,
                21,
                0.97
            );

        box-shadow:
            0 25px 60px
            rgba(
                0,
                0,
                0,
                0.45
            );

        backdrop-filter: blur(20px);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition: var(--transition);
    }

    .navbar.open {
        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }

    .nav-link {
        padding: 13px 10px;

        border-bottom:
            1px solid
            var(--border);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-actions .social-link {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding-top: 140px;

        padding-bottom: 100px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 100%;

        text-align: center;
    }

    .hero-badge {
        margin-inline: auto;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-socials {
        justify-content: center;
    }

    .hero-visual {
        min-height: 580px;

        margin-top: 20px;
    }


    /* OTHER SECTIONS */

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-content {
        max-width: none;
    }

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

    .feedback-wrapper {
        grid-template-columns: 1fr;
    }

    .feedback-info {
        min-height: auto;
    }

    .contact-card {
        min-height: 350px;
    }

    .contact-card-content {
        min-height: 350px;
    }

}


/* =========================================================
   25. MOBILE
========================================================= */

@media (max-width: 650px) {

    .container {
        width:
            min(
                var(--container),
                calc(100% - 32px)
            );
    }

    .section {
        padding: 85px 0;
    }

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

    .section-heading h2 {
        letter-spacing: -1.5px;
    }


    /* HERO */

    .hero-title {
        font-size:
            clamp(
                2.7rem,
                13vw,
                4.4rem
            );

        letter-spacing: -3px;
    }

    .hero-role {
        line-height: 1.5;
    }

    .hero-description {
        font-size: 0.82rem;
    }

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

    .profile-card {
        width: 76%;
    }

    .orbit-one {
        width: 450px;
        height: 450px;
    }

    .orbit-two {
        width: 530px;
        height: 530px;
    }

    .floating-card {
        padding:
            10px
            12px;
    }

    .floating-card-one {
        top: 8%;
        left: -3px;
    }

    .floating-card-two {
        top: 42%;
        right: -3px;
    }

    .floating-card-three {
        right: 0;
        bottom: 5%;
    }


    /* ABOUT */

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 140px;
    }


    /* SKILLS */

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


    /* EDUCATION */

    .timeline::before {
        left: 19px;
    }

    .timeline-item {
        grid-template-columns:
            40px
            1fr;

        gap: 15px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;

        font-size: 0.8rem;
    }

    .timeline-card {
        padding: 23px;
    }

    .timeline-header {
        flex-direction: column;

        gap: 13px;
    }

    .timeline-date {
        align-self: flex-start;
    }


    /* COURSES */

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

    .course-card {
        grid-template-columns: 1fr;
    }


    /* INTERESTS */

    .interest-item {
        grid-template-columns:
            45px
            1fr
            20px;

        min-height: 72px;
    }

    .interest-item:hover {
        padding-inline: 8px;
    }


    /* PROJECTS */

    .project-media {
        min-height: 270px;
    }

    .project-content {
        padding: 24px;
    }


    /* CONTACT */

    .contact-content h2 {
        letter-spacing: -1.5px;
    }

    .contact-link {
        grid-template-columns:
            43px
            1fr
            15px;

        gap: 11px;
    }

    .contact-info strong {
        font-size: 0.66rem;
    }

    .contact-card-content {
        padding: 30px;
    }


    /* FEEDBACK */

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .feedback-info,
    .feedback-form {
        padding: 25px;
    }


    /* FOOTER */

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }


    /* MODAL */

    .modal-content {
        padding: 25px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-header h3 {
        font-size: 1.55rem;
    }

}


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

@media (max-width: 420px) {

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

    .hero-actions {
        flex-direction: column;
    }

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

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

    .profile-card {
        width: 75%;
    }

    .floating-card {
        transform: scale(0.9);
    }

    .floating-card-one {
        left: -13px;
    }

    .floating-card-two {
        right: -15px;
    }

    .floating-card-three {
        right: -10px;
    }

    .profile-card-bottom {
        grid-template-columns: 1fr;
    }

    .contact-card h3 {
        font-size: 1.6rem;
    }

    .feedback-email {
        font-size: 0.61rem;
    }

}


/* =========================================================
   27. 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;
    }

}