/* =========================================
   ROOT
========================================= */

:root {
    --bg: #0b0d19;
    --bg-soft: #101326;

    --yellow: #DBFF00;

    --blue: #1d5cff;
    --blue-soft: #315fff;

    --white: #f7f8fc;
    --muted: #9699a9;

    --glass: rgba(17, 25, 53, 0.58);
    --border: rgba(70, 110, 255, 0.26);

    --container: 1170px;

    --radius: 24px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", sans-serif;
    background:
        radial-gradient(
            circle at 50% 22%,
            rgba(32, 75, 210, 0.20),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 50%,
            rgba(20, 66, 230, 0.08),
            transparent 20%
        ),
        var(--bg);

    color: var(--white);

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================
   CURSOR GLOW
========================================= */

.cursor-glow {
    width: 320px;
    height: 320px;

    position: fixed;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(34, 92, 255, 0.15),
        transparent 70%
    );

    pointer-events: none;

    transform: translate(-50%, -50%);

    z-index: -1;

    filter: blur(20px);
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    width: min(100% - 40px, var(--container));

    margin: auto;

    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 190px;
    height: 30px;

    background: var(--yellow);

    color: #0a0b11;

    border-radius: 0 0 15px 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;

    font-size: 16px;

    transform: skew(-8deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;

    font-size: 14px;
}

.nav-links a {
    color: #dadce5;

    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--yellow);
}

.nav-contact {
    background: var(--yellow);

    color: #111 !important;

    padding: 7px 15px;

    border-radius: 30px;
}


/* mobile button */

.menu-btn {
    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================
   COMMON
========================================= */

.section {
    width: min(100% - 40px, var(--container));

    margin: auto;
}

.eyebrow {
    font-size: 10px;

    color: #979baa;

    letter-spacing: 0.8px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 640px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 50px;
}

.small-label {
    color: var(--muted);

    font-size: 11px;

    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 76px);

    line-height: 0.96;

    font-weight: 600;

    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-actions {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 36px;
}

.primary-btn {
    padding: 13px 20px;

    border-radius: 8px;

    background: #2862dd;

    color: white;

    box-shadow:
        0 0 20px rgba(41, 95, 255, 0.2);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 35px rgba(41, 95, 255, 0.3);
}

.available {
    color: #b2b4c0;

    font-size: 14px;

    display: flex;

    align-items: center;

    gap: 12px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 0 5px rgba(38, 96, 255, 0.08),
        0 0 15px var(--blue);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    position: relative;

    height: 470px;
}

.shape {
    position: absolute;

    background: var(--yellow);
}

.shape-one {
    width: 44px;
    height: 98px;

    border-radius: 30px;

    left: 30px;
    top: 115px;
}

.shape-two {
    width: 205px;
    height: 98px;

    right: 10px;
    top: 115px;

    border: 3px solid var(--yellow);

    background: transparent;

    border-radius: 0 85px 0 85px;
}

.shape-three {
    width: 250px;
    height: 98px;

    right: 0;
    top: 215px;

    border-radius: 0 55px 0 55px;
}

.profile-frame {
    position: absolute;

    z-index: 3;

    width: min(330px, 64%);

    right: 8px;

    bottom: 0;

    overflow: hidden;

    border-radius: 0 0 0 45px;
}

.profile-frame img {
    width: 100%;

    filter: grayscale(100%);

    transform: scale(1.04);
}


/* =========================================
   ABOUT
========================================= */

.about {
    min-height: 470px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}

.about-content h2 {
    margin-top: 10px;

    font-size: clamp(27px, 3vw, 37px);

    line-height: 1.15;

    font-weight: 500;
}

.about-content h2 strong {
    font-weight: 600;
}

.about-content p {
    max-width: 470px;

    color: var(--muted);

    line-height: 1.45;

    margin-top: 22px;

    font-size: 15px;
}


/* tech */

.tech-area {
    position: relative;

    height: 280px;
}

.floating-card {
    width: min(100%, 430px);

    padding: 24px;

    background: var(--glass);

    border: 1px solid var(--border);

    backdrop-filter: blur(18px);

    border-radius: 12px;

    position: absolute;

    left: 25px;
    top: 35px;

    z-index: 5;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    animation: float 5s ease-in-out infinite;
}

.tech-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.tech-heading > span {
    color: #9498a8;

    font-size: 14px;
}

.tech-heading small {
    color: #6f7488;
    font-size: 11px;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.tech-item {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(70, 110, 255, 0.2);
    border-radius: 10px;
    background: rgba(11, 13, 25, 0.42);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
    border-color: rgba(219, 255, 0, 0.65);
    background: rgba(219, 255, 0, 0.08);
}

.tech-item i {
    font-size: 25px;
}

.tech-item span {
    color: #d5d7e0;
    font-size: 11px;
}

.tech-glow {
    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(30, 78, 255, 0.15);

    filter: blur(80px);

    right: 80px;
    top: 20px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =========================================
   PROJECTS
========================================= */

.projects {
    padding-top: 100px;
}

.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 40px;
}

.section-heading h2 {
    margin-top: 8px;

    font-size: 34px;

    font-weight: 500;
}

.view-all {
    color: #d4d5dd;

    font-size: 13px;

    transition: 0.3s;
}

.view-all:hover {
    color: var(--yellow);
    transform: translateX(4px);
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.project-card {
    position: relative;

    height: 315px;

    overflow: hidden;

    background: rgba(17, 25, 53, 0.58);
    border: 1px solid rgba(119, 151, 255, 0.28);
    border-radius: 18px;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
    border-color: rgba(219, 255, 0, 0.62);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(39, 96, 255, 0.12);
}

.project-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 8, 15, 0.96),
            rgba(5, 8, 15, 0.16) 62%,
            rgba(15, 20, 46, 0.1)
        ),
        linear-gradient(135deg, rgba(39, 96, 255, 0.12), transparent 45%);
}

.project-content {
    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
    border: 1px solid rgba(177, 191, 255, 0.2);
    border-radius: 13px;
    background: rgba(8, 12, 29, 0.48);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.project-content h3 {
    font-size: 19px;

    font-weight: 500;
}

.project-content p {
    color: #989aa7;

    font-size: 13px;

    line-height: 1.35;

    margin-top: 8px;

    max-width: 190px;
}

.project-arrow {
    position: absolute;

    right: 0;
    bottom: 4px;

    width: 31px;
    height: 31px;

    border-radius: 50%;

    border: 1px solid #8d929e;

    display: flex;

    justify-content: center;
    align-items: center;

    transition: 0.3s;
}

.project-card:hover .project-arrow {
    background: var(--yellow);

    color: #111;

    border-color: var(--yellow);

    transform: rotate(45deg);
}


/* =========================================
   PORTFOLIO GALLERY
========================================= */

body.modal-open {
    overflow: hidden;
}

.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.portfolio-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.portfolio-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 13, 0.82);
    backdrop-filter: blur(12px);
}

.portfolio-sheet {
    position: relative;
    z-index: 1;
    width: min(100%, 1040px);
    max-height: min(850px, calc(100vh - 48px));
    overflow-y: auto;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-soft);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
}

.portfolio-modal.is-open .portfolio-sheet {
    transform: translateY(0) scale(1);
}

.portfolio-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(7, 9, 20, 0.62);
    color: var(--white);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.portfolio-banner {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: 16px;
    background: #171b35;
}

.portfolio-banner img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    object-position: center;
}

.portfolio-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 9, 20, 0.94), rgba(7, 9, 20, 0.18) 72%);
}

.portfolio-banner-content {
    position: absolute;
    left: 34px;
    bottom: 32px;
    max-width: 440px;
}

.portfolio-banner-content h2 {
    margin-top: 10px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -1.5px;
}

.portfolio-banner-content p {
    margin-top: 14px;
    color: #c4c7d4;
    font-size: 14px;
    line-height: 1.45;
}

.portfolio-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 8px 30px;
}

.portfolio-app-info {
    display: flex;
    align-items: center;
    gap: 13px;
}

.portfolio-app-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--yellow);
    color: #10121b;
    font-size: 24px;
    font-weight: 700;
}

.portfolio-app-info h3 {
    font-size: 18px;
    font-weight: 500;
}

.portfolio-app-info p,
.portfolio-shot p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.portfolio-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 8px;
    background: var(--blue);
    color: white;
    font-size: 13px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.portfolio-action:hover {
    transform: translateY(-2px);
    background: var(--blue-soft);
}

.portfolio-action span {
    font-size: 18px;
}

.portfolio-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 0 8px 16px;
}

.portfolio-section-heading h3 {
    margin-top: 7px;
    font-size: 24px;
    font-weight: 500;
}

.portfolio-count {
    color: var(--muted);
    font-size: 12px;
}

.portfolio-screenshots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 8px 8px;
}

.portfolio-shot {
    overflow: hidden;
    border: 1px solid rgba(70, 110, 255, 0.2);
    border-radius: 14px;
    background: #151a31;
}

.portfolio-shot img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center;
}

.portfolio-shot div {
    padding: 13px 14px 15px;
}

.portfolio-shot h4 {
    font-size: 15px;
    font-weight: 500;
}


/* =========================================
   PORTFOLIO PAGE
========================================= */

.portfolio-page {
    min-height: 100vh;
    background: #0b0d19;
    background-image: linear-gradient(120deg, rgba(29, 92, 255, 0.10), transparent 42%, rgba(219, 255, 0, 0.06));
    background-size: 180% 180%;
    animation: portfolioAtmosphere 18s ease-in-out infinite alternate;
}

.portfolio-page-shell {
    width: min(100% - 48px, 1170px);
    margin: 0 auto;
    padding: 24px 0 70px;
}

.portfolio-page-nav {
    margin-bottom: 30px;
}

.portfolio-page-sheet {
    padding: 14px;
    border: 1px solid rgba(130, 151, 255, 0.24);
    border-radius: 24px;
    background: rgba(16, 19, 38, 0.62);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
    animation: portfolioPageIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.portfolio-page-sheet .portfolio-banner {
    min-height: 410px;
}

.portfolio-page-sheet .portfolio-banner img {
    min-height: 410px;
}

.portfolio-page-sheet .portfolio-banner-content h1 {
    margin-top: 10px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
    font-weight: 500;
}

.portfolio-page-sheet .portfolio-action,
.portfolio-page-nav .back-link {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease, border-color 0.45s ease;
}

.portfolio-page-sheet .portfolio-action:hover,
.portfolio-page-nav .back-link:hover {
    transform: translateY(-4px);
}

.portfolio-page-sheet .portfolio-shot {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, background 0.45s ease;
}

.portfolio-page-sheet .portfolio-shot:hover {
    transform: translateY(-8px);
    border-color: rgba(219, 255, 0, 0.6);
    background: rgba(29, 92, 255, 0.16);
}

@keyframes portfolioAtmosphere {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes portfolioPageIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =========================================
   QUOTE
========================================= */

.quote-section {
    margin-top: 130px;

    padding: 45px 0;

    position: relative;

    border-top: 1px solid rgba(219,255,0,0.08);

    border-bottom: 1px solid rgba(219,255,0,0.08);
}

.quote-section::before {
    content: "";

    position: absolute;

    left: 0;

    top: 50%;

    width: 240px;
    height: 100px;

    transform: translateY(-50%);

    background: rgba(219,255,0,0.12);

    filter: blur(55px);
}

.quote-line {
    position: absolute;

    width: 5px;

    height: 25px;

    left: 65px;

    top: 42px;

    background: var(--yellow);
}

blockquote {
    font-size: clamp(25px, 4vw, 44px);

    font-weight: 300;

    font-style: italic;

    color: #9fa1ae;

    margin-left: 70px;
}

.quote-carousel {
    position: relative;
    min-height: 105px;
    margin-left: 70px;
}

.quote-slide {
    position: absolute;
    inset: 0;
    margin-left: 0;
    opacity: 0;
    transform: translateX(25px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.quote-slide.is-active {
    opacity: 1;
    transform: translateX(0);
}

.quote-author {
    display: block;

    margin-left: 70px;

    margin-top: 10px;

    color: #9fa1ae;

    font-size: 13px;
}

.quote-dots {
    display: flex;
    gap: 7px;
    margin: 20px 0 0 70px;
}

.quote-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #505568;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.quote-dot.is-active {
    width: 24px;
    border-radius: 8px;
    background: var(--yellow);
}


/* =========================================
   CONTACT
========================================= */

.contact {
    padding-top: 120px;

    padding-bottom: 70px;
}

.contact-heading {
    text-align: right;

    margin-bottom: 25px;
}

.contact-heading h2 {
    font-size: 30px;

    font-weight: 500;

    line-height: 1.15;
}

.contact-heading span {
    color: white;
}

.contact-box {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(25, 56, 150, 0.55), rgba(92, 26, 143, 0.36) 52%, rgba(8, 19, 52, 0.76)),
        rgba(17, 25, 53, 0.58);
    color: var(--white);

    min-height: 340px;

    border: 1px solid rgba(169, 183, 255, 0.42);
    border-radius: 24px;

    padding: 52px 44px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.28),
        0 0 45px rgba(73, 54, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px) saturate(135%);
}

.contact-box::before,
.contact-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-box::before {
    width: 220px;
    height: 220px;
    top: -125px;
    right: -30px;
    background: rgba(219, 255, 0, 0.2);
    filter: blur(18px);
}

.contact-box::after {
    width: 180px;
    height: 180px;
    bottom: -120px;
    left: 20%;
    background: rgba(194, 44, 255, 0.3);
    filter: blur(42px);
}

.contact-box > div:first-child {
    position: relative;
    z-index: 1;
}

.contact-box > div:first-child::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 3px;
    top: -18px;
    left: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--yellow), #b83dff, #3f8cff);
    box-shadow: 0 0 18px rgba(184, 61, 255, 0.55);
}

.contact-title {
    font-size: 25px;

    display: inline-flex;

    align-items: center;

    gap: 25px;
    color: var(--white);
    font-weight: 500;
}

.contact-title:hover {
    color: var(--yellow);
}

.contact-title span {
    width: 30px;
    height: 30px;

    border: 1px solid rgba(219, 255, 0, 0.7);

    border-radius: 50%;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 16px;
}

.phone {
    display: block;

    margin-top: 8px;
    color: #b8bdce;
    font-size: 18px;
    transition: color 0.3s ease;
}

.phone:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    font-size: 12px;
    position: relative;
    z-index: 1;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(182, 194, 255, 0.3);
    border-radius: 8px;
    color: #c7cada;
    background: linear-gradient(135deg, rgba(54, 85, 202, 0.2), rgba(139, 40, 182, 0.2));
    backdrop-filter: blur(10px);
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    border-color: var(--yellow);
    color: var(--yellow);
    box-shadow: 0 8px 24px rgba(99, 73, 255, 0.2);
}

.social-links span {
    color: var(--yellow);
    font-size: 14px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    width: min(100% - 40px, var(--container));

    margin: auto;

    padding-bottom: 30px;

    color: #686b7b;

    font-size: 11px;
}


/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .navbar {
        width: min(100% - 28px, var(--container));
    }

    .nav-links {
        position: absolute;

        top: 70px;
        left: 14px;
        right: 14px;

        background: rgba(13, 17, 35, 0.95);

        border: 1px solid var(--border);

        backdrop-filter: blur(18px);

        border-radius: 15px;

        padding: 20px;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        z-index: 100;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 55px;

        min-height: auto;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero-visual {
        height: 390px;

        margin-top: 10px;
    }

    .profile-frame {
        width: 270px;
        right: 0;
    }

    .shape-two {
        right: 10px;

        width: 175px;
    }

    .shape-three {
        width: 220px;
    }

    .about {
        grid-template-columns: 1fr;

        gap: 30px;

        padding-top: 80px;
    }

    .tech-area {
        height: 240px;
    }

    .floating-card {
        left: 20px;
        width: min(100% - 20px, 430px);
    }

    .projects {
        padding-top: 50px;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        height: 380px;
    }

    .portfolio-modal {
        padding: 12px;
    }

    .portfolio-sheet {
        max-height: calc(100vh - 24px);
    }

    .portfolio-banner,
    .portfolio-banner img {
        min-height: 390px;
    }

    .portfolio-banner-content {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .portfolio-details {
        align-items: flex-start;
        flex-direction: column;
    }

    .portfolio-action {
        width: 100%;
        justify-content: center;
    }

    .portfolio-screenshots {
        grid-template-columns: 1fr;
    }

    .portfolio-shot img {
        height: 230px;
    }

    .quote-section {
        margin-top: 80px;
    }

    blockquote {
        margin-left: 35px;

        padding-right: 20px;
    }

    .quote-author {
        margin-left: 35px;
    }

    .quote-carousel {
        margin-left: 35px;
        min-height: 145px;
    }

    .quote-dots {
        margin-left: 35px;
    }

    .quote-line {
        left: 25px;
    }

    .contact {
        padding-top: 90px;
    }

    .contact-heading {
        text-align: left;
    }

    .contact-box {
        border-radius: 20px;

        min-height: 300px;

        padding: 35px 28px;
    }

    .contact-title {
        font-size: 23px;
    }

    .phone {
        font-size: 18px;
    }
}


/* SMALL MOBILE */

@media (max-width: 450px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-visual {
        transform: scale(0.9);

        transform-origin: left center;
    }

    .about-content h2 {
        font-size: 27px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .contact-title {
        font-size: 21px;
    }
}