

/* ============================= */
/*           HEADER              */
/* ============================= */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color); 
    transition: background-color 1s ease;

    animation: bgCycle 16s ease-in-out infinite alternate;
}

/* Suppression du ::before ou juste garder décoratif sans opacity pour le fond */
header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

header .content-header {
    width: 100%;
    max-width: 1100px;
    border: 4px solid white;
    border-radius: 40px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    will-change: transform;
    transition: transform 0.1s linear;
}

header .motif {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 3rem;
    color: var(--color-yellow);
    font-family: var(--ff-jockey);
    animation: rotatePlus 6s linear infinite;
}

header h1 {
    font-family: var(--ff-big-title);
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: 2px;
}

header .line {
    display: block;
    width: 120px;
    height: 6px;
    background-color: var(--color-yellow);
    margin: 1.5rem auto 0;
    border-radius: 10px;
}

header .subtitle {
    margin-top: 4rem;
}

header .job {
    font-family: var(--ff-jost);
    font-weight: 300;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

header .name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--ff-jockey);
    font-size: 2.5rem;
}

header .circle {
    width: 14px;
    height: 14px;
    background-color: var(--color-yellow);
    border-radius: 50%;
}

/* ============================= */
/*            MAIN               */
/* ============================= */
main {
    display: flex;
    flex-direction: column;
}
/* ============================= */
/*            SKILLS             */
/* ============================= */
section.skills-text {
    background-color: var(--tertiary-color);
    padding: 9rem 2rem;
}

.skills-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== TITRE ===== */
.skills-wrapper h2 {
    font-family: var(--ff-big-title);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 5rem;
    color: white;

    display: flex;
    justify-content: right;
    align-items: flex-end; /* clé pour le ::after */
    gap: 1rem;
    text-align: right;
}

.skills-wrapper h2 span {
    color: var(--color-yellow);
}

.skills-wrapper h2::after {
    content: '';
    width: 120px;
    height: 4px;
    background-color: var(--color-yellow);
    border-radius: 10px;
    position: absolute;
}

.skills-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.skills-block h3 {
    font-family: var(--ff-jockey);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    color: #fff;
}

.skills-block h3::before {
    content: '—';
    color: var(--color-yellow);
    margin-right: 0.5rem;
}

.skills-block p {
    font-family: var(--ff-jost);
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
    color: #fff;
    max-width: 320px;
}

section.skills {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 6rem 2rem;
    background-color: var(--tertiary-color);
    font-family: var(--ff-big-title);
    text-transform: capitalize;
    animation: fadeUp 1s ease forwards;
    position: relative;
}

section.skills h1 {
    font-family: var(--ff-big-title);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #fff;
    margin-right: 5rem;
}

section.skills h1 span { color: var(--color-yellow); }

/* ============================= */
/*        SPECIALTIES            */
/* ============================= */
.specialties {
    max-width: 1100px;
    margin: 8rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.specialties-title {
    grid-column: 1 / -1;
    font-family: var(--ff-big-title);
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: #fff;
    text-align: left;
    margin-bottom: 2.5rem;

    -webkit-text-stroke: 0.2px white;
    color: transparent;
    cursor: pointer;
    transition: color 0.3s ease, -webkit-text-stroke 0.3s ease, transform 0.3s ease;

}

.specialties-title span {
    color: var(--color-yellow);
}

.specialty {
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.6rem;
    position: relative;
    border: 2px solid #fff;
    padding: 30px;
}

.specialty::after {
    content: '';
    width: 60px;
    height: 2px;
    background-color: var(--color-yellow);
    margin-top: 1rem;
    opacity: 0.7;
}

.specialty h4 {
    font-family: var(--ff-big-title);
    font-size: 1.45rem;
    color: #fff;
    line-height: 1.2;
}

.specialty p {
    font-family: var(--ff-jost);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
}

.specialty span {
    font-family: var(--ff-jost);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}

/* ============================= */
/*           ABOUT ME             */
/* ============================= */
section.about-me {
    background-color: white;
    padding: 8rem 2rem;
    overflow: hidden;
    /* opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease; */
}

/* section.about-me.active { opacity: 1; transform: translateY(0); } */

.about-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.about-text h2 {
    font-family: var(--ff-big-title);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2 span { color: var(--color-yellow); }
.about-text h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-yellow);
    margin-top: 1rem;
    border-radius: 10px;
}

.about-text p {
    font-family: var(--ff-jost);
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    max-width: 500px;
}

.about-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.about-visual img {
    width: 300px;
    opacity: 0.8;
    transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease;
}

.about-visual img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

a.see-cv {
    background-color: black;
    font-family: var(--ff-big-title);
    color: white;
    padding: 10px 20px;
    width: 300px;
    border-radius: 30px;
    text-align: center;
    transition: 0.2s ease-out;
    border: 2px solid white;
    margin-top: 30px;
}

a.see-cv:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
}

/* ============================= */
/*           PROJECTS            */
/* ============================= */
section.projects {
    padding: 10rem 2rem;
    background-color: #0b1620;
    color: white;
    perspective: 1200px;
}

.projects-header {
    max-width: 1100px;
    margin: 0 auto 6rem;
}

.projects-header h2 {
    font-family: var(--ff-big-title);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}
.projects-header h2 span { color: var(--color-yellow); }

.projects-header p {
    font-family: var(--ff-jost);
    color: rgba(255, 255, 255, 0.7);
}

.projects-grid {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-top: 160px;
}

.project-card-wrapper {
    margin-top: -160px;
    perspective: 1200px;
    position: relative;
}

.project-card-inner {
    transition: transform 0.3s ease;
}

/* ============================= */
/*         CARD STYLES           */
/* ============================= */
.project-card {
    position: relative;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s ease, box-shadow 0.6s ease, clip-path 0.6s ease;
    z-index: 1;
    clip-path: polygon(0 0, 100% 5%, 95% 100%, 5% 95%); 
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 0, 0.15);
    /* opacity: 0; */
    pointer-events: none;
    /* transition: opacity 0.4s ease, transform 0.4s ease; */
}

.project-card:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.project-media {
    position: absolute;
    inset: 0;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transform: scale(1.05);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.project-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: inherit;
    transition: opacity 0.6s ease;
}

.project-card:hover .project-media img {
    filter: grayscale(0%);
    transform: scale(1);
}

.project-card:hover .project-media::after {
    opacity: 0.25;
}

.project-content {
    position: absolute;
    inset: 0;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.35), rgba(0,0,0,0));
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease;
}

.project-card:hover .project-content {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.project-tag {
    font-family: var(--ff-jost);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-yellow);
    margin-bottom: 1rem;
}

.project-labels {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.project-focus {
    display: block;
    color: var(--primary-color);
    font-family: var(--ff-jost);
    font-size: 0.85rem;
    font-weight: 600;
    border-left: 1px solid currentColor;
    padding-left: 0.8rem;
}

.project-card h2 {
    font-family: var(--ff-big-title);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.project-card p {
    font-family: var(--ff-jost);
    font-size: 1rem;
    max-width: 420px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.project-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    background-color: var(--color-yellow);
    color: #0b1620;
    font-family: var(--ff-jost);
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}
.project-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hover clean et glow avec rectangle arrondi */
.project-card:hover {
    transform: translateY(-20px) rotateX(0deg) rotateY(0deg) scale(1.05);
    clip-path: inset(0 round 28px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 60px rgba(255, 255, 0, 0.15);
    z-index: 10;
}

/* Couleurs individuelles des cartes */
.project-card:nth-child(1) { background-color: #12283a; }
.project-card:nth-child(2) { background-color: #1b1420; }
.project-card:nth-child(3) { background-color: #122022; }
.project-card:nth-child(4) { background-color: #20141a; }

/* Bouton "Voir plus de mes projets" */
.see-more-projects {
    display: block; 
    margin: 3rem auto 0;
    padding: 0.9rem 2.5rem;
    background-color: #009DFF;
    color: #fff;
    font-family: var(--ff-big-title);
    font-size: 1.1rem;
    font-weight: 300;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 157, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    width: 60%;
}

.see-more-projects:hover {
    background-color: #007acc; 
    transform: translateY(-3px);
}


.see-more-projects:active::after {
    transform: scale(4);
    opacity: 1;
}

/* ============================= */
/*           REVIEWS             */
/* ============================= */
section.reviews {
    background-color: white;
    padding: 8rem 2rem;

    /* opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;  */
}
/* section.reviews.active { opacity: 1; transform: translateY(0); } */

.reviews-header { max-width: 1100px; margin: 0 auto 5rem; }
.reviews-header h2 { font-family: var(--ff-big-title); font-size: clamp(2.5rem,4vw,3.5rem); margin-bottom:1rem; }
.reviews-header h2 span { color: var(--color-yellow); }
.reviews-header p { font-family: var(--ff-jost); font-size:1.1rem; color:#555; }

.reviews-grid {
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:3rem;
}

.review-card {
    background-color:#f8f8f8;
    padding:3rem 2.5rem;
    border-radius:28px;
    position:relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid #000;
}

.review-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.review-card::before {
    content:'“';
    position:absolute;
    top:-20px;
    left:20px;
    font-family:var(--ff-big-title);
    font-size:6rem;
    color:var(--color-yellow);
    opacity:0.2;
}
.review-card:hover { transform:translateY(-8px); box-shadow:0 20px 40px rgba(0,0,0,0.08); }

.review-text { font-family:var(--ff-jost); font-size:1.05rem; line-height:1.8; color:#333; margin-bottom:2.5rem; }

.review-author { display:flex; flex-direction:column; }
.author-name { font-family:var(--ff-jockey); font-size:1.1rem; }
.author-role { font-family:var(--ff-jost); font-size:0.9rem; color:#777; }

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

section.contact {
    background-color: #0b1620;
    color: white;
    padding: 4rem 2rem;
    /* opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease; */
}

/* section.contact.active {
    opacity: 1;
    transform: translateY(0);
} */

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    text-align: center;
}

/* ===== TITRE ===== */
.contact-header h2 {
    font-family: var(--ff-big-title);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.contact-header h2 span {
    color: var(--color-yellow);
}

.contact-intro {
    font-family: var(--ff-jost);
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== MAIL ===== */
.contact-mail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-mail p {
    font-family: var(--ff-jost);
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}



button, .project-btn {
    position: relative;
    /* overflow: hidden; */
}

button::after, .project-btn::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

button:active::after, .project-btn:active::after {
    transform: scale(4);
    opacity: 1;
}


/* MODAL DES PROJECTS */
.modal {
  display: none; /* cachée par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  z-index: 10000;

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

  padding: 2rem;
  overflow: hidden; 
}

.modal-content {
  position: relative;
  width: 90%;
  max-height: 90vh;
  background-color: #fff;
  border-radius: 20px;
  overflow-y: auto; 
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-content .modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.modal-content img {
  width: 80%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
}

.modal-text {
  width: 80%;
}

#modal-tag {
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background-color: #FFD700;
  color: #0b1620;
}

#modal-title {
  font-family: var(--ff-big-title);
  font-size: 2rem;
  margin-bottom: 1rem;
}

#modal-description {
  font-family: var(--ff-jost);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

#modal-btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.project-actions #modal-btn {
    margin-top: 0;
}

.project-figma-note {
    margin-top: 1rem;
    padding: 0.6rem 0.8rem;
    border-left: 3px solid var(--color-yellow);
    color: var(--tertiary-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.modal-close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: bold;
  color: var(--tertiary-color);
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--tertiary-color);
}


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

/* ----------------------------- */
/*       TABLETTE (≤ 1100px)    */
/* ----------------------------- */

@media (max-width: 1100px) {
    .skills-columns {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .specialties {
        grid-template-columns: 2fr 2fr;
        gap: 2.5rem;
        margin-top: 6rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    a.see-cv {
        width: 100%;
    }

    .about-visual img {
        width: 250px;
    }

    .projects-grid {
        max-width: 700px;
    }

    .projects-header h2 {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
    .skills-wrapper h2::after,
    .about-text h2::after,
    .specialty::after {
        content: none !important;
    }

    .modal-close {
        top: 0;
        right: 0;
    }
}

/* ----------------------------- */
/*       PETIT TABLETTE (≤ 900px)*/
/* ----------------------------- */
@media (max-width: 900px) {

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

    .skills-block p {
        max-width: 100%;
    }

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

    .specialties-title {
        text-align: center;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
        padding: 1.5rem;
    }

    #modal-title {
        font-size: 1.6rem;
    }

    #modal-description {
        font-size: 1rem;
    }

    .modal-content img {
        max-width: 100%;
        height: auto;
    }

}

/* ----------------------------- */
/*       MOBILE (≤ 768px)        */
/* ----------------------------- */
@media (max-width: 768px) {
    header .motif {
        top: 5px;
    }

    header .content-header {
        padding: 3rem 2rem;
    }

    header .job {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    header .name {
        font-size: 1.8rem;
    }

    section.skills {
        padding: 4rem 1.5rem;
    }

    section.skills h1 {
        font-size: clamp(2rem, 5vw, 2.5rem);
        margin-right: 0;
        text-align: center;
    }

    .specialties {
        grid-template-columns: 1fr;
        margin-top: 4rem;
        gap: 2rem;
    }

    .specialty {
        padding: 1.5rem;
    }

    .specialty h4 {
        font-size: 1.2rem;
    }

    .specialty p {
        font-size: 0.95rem;
    }

    .specialty span {
        font-size: 0.85rem;
    }

    .about-visual img {
        width: 200px;
    }

    .projects-grid {
        max-width: 100%;
        padding-top: 120px;
    }

    .project-card {
        height: 320px;
        margin-top: 1.5rem !important;
        clip-path: none;
        transform: none;
    }

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

    section.contact {
        padding: 3rem 1rem;
    }

    .contact-intro {
        font-size: 1rem;
        max-width: 100%;
    }

    a.see-cv {
        width: 100%;
    }

    .see-more-projects {
        width: 80%;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
        padding: 1.5rem;
    }

    #modal-title {
        font-size: 1.5rem;
    }

    #modal-description {
        font-size: 1rem;
    }
}

/* ----------------------------- */
/*       PETIT MOBILE (≤ 480px)  */
/* ----------------------------- */
@media (max-width: 495px) {
    .project-card h2 {
        font-size: 1.2rem;
        margin: 0;
    }

    header h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    header .content-header {
        padding: 2rem 1rem;
        border-radius: 25px;
    }

    .skills-wrapper h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .specialties-title {
        font-size: 1.8rem;
    }

    .specialty {
        padding: 1rem;
    }

    .specialty h4 {
        font-size: 1.1rem;
    }

    .about-visual img {
        width: 180px;
    }

    .projects-grid {
        padding-top: 100px;
    }

    .project-card {
        height: 280px;
    }

    .project-card h2 {
        font-size: 1rem;
    }

    .project-card p {
        font-size: 0.8rem;
    }

    .project-card .project-btn {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    .project-content {
        padding: 1rem 0.8rem;
    }


    .reviews-grid {
        gap: 2rem;
    }

    section.contact {
        padding: 2rem 1rem;
    }

    .contact-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .contact-intro {
        font-size: 0.95rem;
    }

    .see-more-projects {
        width: 90%;
    }

    .modal-content {
        padding: 0.6rem 0.2rem;
    }

    .modal-text p {
        font-size: 0.9rem;
    }


    #modal-title {
        font-size: 1.4rem;
    }

    #modal-description {
        font-size: 0.95rem;
    }

    .modal-close {
        font-size: 2.5rem;
    }
}

/* ----------------------------- */
/*       MICRO MOBILE (≤ 360px)  */
/* ----------------------------- */
@media (max-width: 360px) {
    header .motif-wrapper {
        position: absolute !important;
        top: -12px !important;
        left: 50% !important;
        transform: translate(-50%);
    }

    header .motif-wrapper .motif {
        left: -7px;
    }

    header h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    header .content-header {
        padding: 1.5rem;
    }

    .skills-wrapper h2 {
        font-size: clamp(1.8rem, 5vw, 2rem);
    }

    .specialty {
        padding: 0.8rem;
    }

    .specialty h4 {
        font-size: 1rem;
    }

    .about-visual img {
        width: 150px;
    }

    .project-card {
        height: 200px;
    }

    .project-card h2 {
        font-size: 0.8rem;
    }

    .project-card p {
        font-size: 0.6rem;
    }

    .project-card .project-btn {
        padding: 0.4rem 0.2rem;
        font-size: 0.6rem;
    }

    .project-content {
        padding: 1rem 0.8rem;
    }

    .contact-header h2 {
        font-size: 1.5rem;
    }

    .contact-intro {
        font-size: 0.9rem;
    }

    .see-more-projects {
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }

    .modal-content {
        padding: 0.6rem 0.2rem;
    }

    .modal-text p {
        font-size: 0.8rem;
    }

    #modal-title {
        font-size: 1.2rem;
    }

    .modal-close {
        font-size: 2rem;
    }
}
