/* ================================
   RESET
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    background: #171310;
    color: #f5efe8;
    line-height: 1.7;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

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

::selection {
    background: #a67c52;
    color: #171310;
}


/* ================================
   VARIABLES
================================ */

:root {
    --bg: #171310;
    --bg-soft: #1e1814;
    --card: rgba(255, 245, 235, 0.055);

    --primary: #a67c52;
    --primary-light: #d6a77a;
    --primary-dark: #795637;

    --text: #f5efe8;
    --text-soft: #c5b8ae;
    --text-muted: #8f8279;

    --border: rgba(214, 167, 122, 0.16);

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);

    --radius: 20px;
    --transition: 0.35s ease;
}


/* ================================
   GENERAL
================================ */

.container {
    width: min(1150px, 90%);
    margin: auto;
}

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

.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1.15;
    font-weight: 600;
}

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


/* ================================
   LOADER
================================ */

.loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 70px;
    height: 70px;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: var(--primary-light);
    animation: loaderPulse 1.5s infinite;
}

.loader p {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(214, 167, 122, 0);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 35px rgba(214, 167, 122, 0.15);
    }
}


/* ================================
   SCROLL PROGRESS
================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary-dark),
        var(--primary-light)
    );
    z-index: 1001;
}


/* ================================
   NAVBAR
================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(23, 19, 16, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    width: min(1200px, 92%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
}

.logo span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--primary-light);
    border-radius: 50%;
    color: var(--primary-light);
}

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

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--primary-light);
    border-radius: 50%;
    transform: translateX(-50%);
}

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

.cv-btn {
    padding: 9px 17px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.cv-btn:hover {
    background: var(--primary-light);
    color: var(--bg);
}

.menu-btn {
    display: none;
    background: transparent;
    border: 0;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 150px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-soft);
    font-size: 0.82rem;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.025);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7fa36d;
    box-shadow: 0 0 10px rgba(127, 163, 109, 0.6);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -3px;
}

.highlight {
    display: block;
    color: var(--primary-light);
}

.hero h2 {
    margin-top: 22px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-soft);
    font-weight: 400;
}

#typing {
    color: var(--text);
}

.hero-content > p {
    max-width: 600px;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 23px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.primary-btn {
    background: var(--primary-light);
    color: var(--bg);
}

.primary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(214, 167, 122, 0.18);
}

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

.secondary-btn:hover {
    background: var(--card);
    transform: translateY(-4px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}


/* HERO IMAGE */

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.image-wrapper {
    position: relative;
    width: min(390px, 75vw);
    height: min(490px, 75vw);
    border-radius: 200px 200px 30px 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    z-index: 2;
    box-shadow: var(--shadow);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-orbit {
    position: absolute;
    border: 1px solid rgba(214, 167, 122, 0.13);
    border-radius: 50%;
}

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

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

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(36, 28, 23, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-size: 0.8rem;
}

.floating-card i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.card-html {
    left: 0;
    top: 30%;
    animation: floating 4s ease-in-out infinite;
}

.card-js {
    right: 0;
    bottom: 20%;
    animation: floating 4s ease-in-out infinite 1s;
}

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

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

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.glow-one {
    width: 300px;
    height: 300px;
    background: rgba(166, 124, 82, 0.08);
    top: 10%;
    right: 5%;
}

.glow-two {
    width: 250px;
    height: 250px;
    background: rgba(214, 167, 122, 0.05);
    bottom: 10%;
    left: 10%;
}


/* ================================
   ABOUT
================================ */

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

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-text .large-text {
    color: var(--text-soft);
    font-size: 1.25rem;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-7px);
    border-color: rgba(214, 167, 122, 0.35);
}

.info-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(214, 167, 122, 0.08);
    color: var(--primary-light);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ================================
   SKILLS
================================ */

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

.skill-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 167, 122, 0.3);
}

.skill-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.skill-top i {
    color: var(--primary-light);
    font-size: 1.25rem;
}

.skill-top span {
    font-size: 0.9rem;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar span {
    display: block;
    height: 100%;
    width: var(--progress);
    background: linear-gradient(
        90deg,
        var(--primary-dark),
        var(--primary-light)
    );
    border-radius: inherit;
}


/* ================================
   EDUCATION
================================ */

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

.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 0 7px rgba(214, 167, 122, 0.08);
}

.timeline-content {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.timeline-date {
    color: var(--primary-light);
    font-size: 0.85rem;
}

.timeline-content h3 {
    margin-top: 10px;
    font-size: 1.25rem;
}

.timeline-content h4 {
    color: var(--text-soft);
    font-weight: 400;
    margin-top: 5px;
}

.timeline-content p {
    color: var(--text-muted);
    margin-top: 10px;
}


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

.certificate-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 167, 122, 0.35);
}

.certificate-icon {
    min-width: 60px;
    height: 60px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(214, 167, 122, 0.09);
    color: var(--primary-light);
    font-size: 1.4rem;
}

.certificate-date {
    color: var(--primary-light);
    font-size: 0.8rem;
}

.certificate-info h3 {
    margin: 4px 0;
    font-size: 1.1rem;
}

.certificate-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.certificate-arrow {
    margin-left: auto;
    color: var(--text-muted);
}


/* ================================
   PROJECTS
================================ */

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    padding: 35px 28px;
    min-height: 360px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 167, 122, 0.35);
}

.project-number {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(214, 167, 122, 0.2);
    font-size: 2rem;
    font-weight: 600;
}

.project-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(214, 167, 122, 0.08);
    color: var(--primary-light);
    margin-bottom: 30px;
}

.project-type {
    color: var(--primary-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card h3 {
    margin: 10px 0;
    font-size: 1.35rem;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.coming-soon {
    position: absolute;
    bottom: 25px;
    left: 28px;
    color: var(--text-soft);
    font-size: 0.78rem;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 50px;
}


/* ================================
   CONTACT
================================ */

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding: 60px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(166, 124, 82, 0.12),
            transparent 40%
        ),
        var(--card);
}

.contact-content h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin: 10px 0 20px;
}

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

.contact-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(7px);
    border-color: rgba(214, 167, 122, 0.35);
}

.contact-icon {
    min-width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(214, 167, 122, 0.08);
    color: var(--primary-light);
}

.contact-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.contact-item strong {
    font-size: 0.88rem;
    font-weight: 500;
}


/* ================================
   FOOTER
================================ */

.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.78rem;
}


/* ================================
   BACK TOP
================================ */

.back-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(36, 28, 23, 0.9);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--primary-light);
    color: var(--bg);
}


/* ================================
   SCROLL REVEAL
================================ */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


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

@media (max-width: 1050px) {

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .hero-container {
        gap: 40px;
    }

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


@media (max-width: 850px) {

    .nav-links {
        position: fixed;
        top: 75px;
        right: 5%;
        width: 90%;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(30, 24, 20, 0.96);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border);
        border-radius: 20px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-btn {
        display: block;
    }

    .cv-btn {
        display: none;
    }

    .hero-container,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 130px;
    }

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

    .about-grid {
        gap: 40px;
    }

    .contact-box {
        padding: 40px;
        gap: 40px;
    }
}


@media (max-width: 600px) {

    .section {
        padding: 85px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

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

    .hero-content > p {
        font-size: 0.95rem;
    }

    .hero-image {
        min-height: 400px;
    }

    .image-wrapper {
        width: 280px;
        height: 360px;
    }

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

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

    .card-html {
        left: 0;
    }

    .card-js {
        right: 0;
    }

    .about-cards,
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .certificate-card {
        align-items: flex-start;
    }

    .certificate-arrow {
        display: none;
    }

    .contact-box {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}


@media (max-width: 400px) {

    .hero h1 {
        font-size: 2.7rem;
    }

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

    .btn {
        width: 100%;
    }

    .hero-image {
        min-height: 350px;
    }

    .image-wrapper {
        width: 240px;
        height: 320px;
    }
}


/* ================= PROJECT CARDS ================= */

.projects-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.project-card {
position: relative;
padding: 32px;
min-height: 360px;

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

border: 1px solid rgba(255, 255, 255, 0.1);

border-radius: 24px;

backdrop-filter: blur(15px);

overflow: hidden;

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


}

.project-card::before {
content: "";


position: absolute;

width: 180px;
height: 180px;

top: -100px;
right: -80px;

background: #8B5CF6;

opacity: 0.12;

border-radius: 50%;

filter: blur(30px);

transition: 0.4s ease;


}

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

border-color: rgba(139, 92, 246, 0.5);

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


}

.project-card:hover::before {
transform: scale(1.5);
}

.project-number {
position: absolute;


top: 25px;
right: 28px;

font-size: 14px;
font-weight: 600;

opacity: 0.4;


}

.project-icon {
width: 60px;
height: 60px;

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

border-radius: 16px;

background: rgba(139, 92, 246, 0.15);

color: #8B5CF6;

font-size: 24px;

margin-bottom: 25px;


}

.project-type {
display: inline-block;

font-size: 13px;

color: #00E5FF;

margin-bottom: 12px;


}

.project-card h3 {
font-size: 24px;


margin-bottom: 15px;


}

.project-card p {
line-height: 1.7;

opacity: 0.7;

margin-bottom: 25px;


}

.project-btn {
display: inline-flex;


align-items: center;

gap: 10px;

padding: 12px 18px;

border: 1px solid rgba(139, 92, 246, 0.4);

border-radius: 12px;

background: transparent;

color: inherit;

font-family: inherit;

cursor: pointer;

transition: 0.3s ease;


}

.project-btn:hover {
background: #8B5CF6;


color: white;

transform: translateX(5px);


}

/* ================= PROJECT MODAL ================= */

.project-modal {
position: fixed;

inset: 0;

z-index: 9999;

display: flex;

align-items: center;

justify-content: center;

padding: 25px;

visibility: hidden;

opacity: 0;

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


}

.project-modal.active {
visibility: visible;


opacity: 1;


}

.modal-overlay {
position: absolute;


inset: 0;

background: rgba(5, 7, 12, 0.85);

backdrop-filter: blur(10px);

cursor: pointer;


}

.modal-content {
position: relative;

z-index: 2;

width: min(1000px, 95vw);

max-height: 90vh;

overflow-y: auto;

padding: 35px;

background: #17131a;

border: 1px solid rgba(255, 255, 255, 0.1);

border-radius: 25px;

box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5);

transform:
    scale(0.9)
    translateY(20px);

transition:
    transform 0.3s ease;


}

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

.modal-close {
position: absolute;

top: 20px;
right: 20px;

width: 42px;
height: 42px;

display: flex;

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

border: 1px solid rgba(255, 255, 255, 0.15);

border-radius: 50%;

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

color: white;

font-size: 18px;

cursor: pointer;

transition: 0.3s ease;

z-index: 3;


}

.modal-close:hover {
background: #8B5CF6;


transform: rotate(90deg);


}

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


margin-bottom: 30px;


}

.modal-header h2 {
margin: 10px 0;


font-size: 32px;


}

.modal-header p {
opacity: 0.65;


line-height: 1.6;


}

.project-images {
display: grid;

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

gap: 18px;


}

.project-images img {
width: 100%;


display: block;

border-radius: 15px;

border: 1px solid rgba(255, 255, 255, 0.1);

transition: 0.3s ease;

}

.project-images img:hover {
transform: scale(1.02);
}

body.modal-open {
overflow: hidden;
}

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

@media (max-width: 900px) {

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


}

@media (max-width: 600px) {


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

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

.modal-content {
    padding: 25px 18px;
}

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

.modal-header h2 {
    font-size: 25px;
}


}


.project-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.github-btn {
    text-decoration: none;
}

.github-btn:hover {
    background: #6C63FF;
}