/* ------------------------------ */
/*        RESET + VARIABLES       */
/* ------------------------------ */

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

:root {
    --bg: #0a1753;
    --bg-alt: #0f172a;
    --text: #e5e7eb;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.12);
    --muted: #9ca3af;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}


/* ------------------------------ */
/*        STRUCTURE GLOBALE       */
/* ------------------------------ */

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1e293b 0, #020617 55%);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

main {
    padding: 2.5rem 7vw 4rem;
    flex: 1;
}

.hero-quisuisje {
    grid-column: 1 / -1; /* occupe toute la largeur */
    margin-top: 3rem;
    padding: 1.5rem 0;
}

.hero-quisuisje h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.hero-quisuisje p {
    color: var(--muted);
}

.hero-cta-group {
    margin-top: 20px;
}

.hero-cta-group .hero-actions {
    margin-top: 12px;
}

.recruiter-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid #4da3ff; /* adapte à ta couleur */
    font-size: 0.95rem;
    line-height: 1.4;
}


.section h2 {
    margin-top: 32px;
}

/* ------------------------------ */
/*             TOPBAR             */
/* ------------------------------ */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(2, 6, 23, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 7vw;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
}

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

nav a {
    margin-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

nav a:hover {
    color: var(--text);
}

nav a:hover::after {
    width: 100%;
}


/* ------------------------------ */
/*             LAYOUTS            */
/* ------------------------------ */

.section {
    margin-top: 4rem;
}

.section-alt {
    margin-top: 4rem;
    background: radial-gradient(circle at top left, #1e293b 0, #020617 55%);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

/* ------------------------------ */
/*               HERO             */
/* ------------------------------ */

.hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 3vw + 1.5rem, 3rem);
    margin-bottom: 0.75rem;
}

.hero p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-image-card img {
    width: 100%;
    height: auto;
    border-radius: 120px 10px 0 0;
    display: block;
    object-fit: contain;
}

/* ------------------------------ */
/*   HOME – ACTUAL PROJECTS CARD  */
/* ------------------------------ */

.project-card-current .project-list {
    list-style: none;
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.project-card-current .project-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Petit bullet stylé */
.project-card-current .project-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: var(--accent);
    font-size: 0.9rem;
}


/* ------------------------------ */
/*              ABOUT             */
/* ------------------------------ */

.about-hero {
    margin-top: 2rem;
}

.about-text {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.about-hero .hero-image-card img {
    border-radius: 12px !important; /* arrondi uniforme uniquement pour About */
}

/* Répare l'affichage sur la page Home */
.about-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* empêche de passer en colonne */
    gap: 1rem;
}

/* ------------------------------ */
/*     PROJECT PAGE LINK BUTTON   */
/* ------------------------------ */


.project-card {
  max-width: 520px;     /* ajuste : 480–560 selon ton goût */
  width: 100%;
  box-sizing: border-box;
}


.project-card .link {

    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--accent);
    border: 1px solid var(--accent);
    transition: all 0.20s ease-in-out;
    background: rgba(56, 189, 248, 0.10);
}

/* Hover effect */
.project-card .link:hover {
    background: var(--accent);
    color: #0b1120;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
}

/* =============================== */
/*       ABOUT – TECHNICAL BLOCK   */
/* =============================== */

.about-tech {
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-tech h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--shadow);
}

.about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Chips (languages, keywords, etc.) */
.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.tech-chip {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(56, 189, 248, 0.12);
    color: var(--text);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.tech-chip-strong {
    background: var(--accent);
    color: #0b1120;
    border-color: transparent;
    font-weight: 600;
}

/* Liste pour les cartes/boards */
.tech-list {
    list-style: none;
    margin-top: 0.8rem;
}

.tech-list li {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

/* Texte outils */
.tech-tools-text {
    margin-top: 0.6rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* Légère variation pour les mots-clés si besoin */
.tech-chips-keywords .tech-chip {
    font-size: 0.78rem;
}

/* Responsive */
@media (max-width: 768px) {
    .about-tech {
        padding-inline: 0.5rem;
    }
}


/* ------------------------------ */
/*            BUTTONS             */
/* ------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}

.btn.primary {
    background: var(--accent);
    color: #0b1120;
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.35);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(56, 189, 248, 0.45);
}

.btn.secondary {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--text);
}

.btn.secondary:hover {
    background: rgba(15, 23, 42, 0.7);
}

.btn-cv {
    display: inline-block;
    background: var(--accent);
    color: #0b1120;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(56, 189, 248, 0.5);
}


/* ------------------------------ */
/*             SKILLS             */
/* ------------------------------ */

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* KEYWORDS AS HASHTAGS */
.keywords-section {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    user-select: none;
    transition: 0.15s ease;
}

.keyword:hover {
    background: var(--accent);
    color: #0b1120;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Keywords Title */
.keywords-title {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
}


/* ------------------------------ */
/*            PROJECTS            */
/* ------------------------------ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.project-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.project-card p {
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.project-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    background: #0f172a;
}


/* ------------------------------ */
/*             CONTACT            */
/* ------------------------------ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.contact-right {
    display: flex;
    justify-content: center;
}

.contact-image {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

/* ------------------------------ */
/*              FOOTER            */
/* ------------------------------ */

.footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1.2rem 7vw 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}


/* ------------------------------ */
/*            HOME LAYOUT         */
/* ------------------------------ */

.home-projects-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Ajuste UNIQUEMENT l'espace au-dessus de "Qui suis-je ?" sur la Home */
#home-about-section {
    margin-top: 1.5rem !important; /* espace beaucoup plus raisonnable */
}

/* Espace avant et après chaque section du Home */
.home-section {
    margin-top: 4rem !important;
    padding-top: 1rem;
}

/* Espace avant le bloc CV + Réseaux */
#about-preview {
    margin-top: 4rem;
}

/* Ajuste plus d'air entre les cartes de projets */
.home-section-header {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Espace supplémentaire sous le hero */
.hero {
    margin-bottom: 0rem;
}

/* ------------------------------ */
/*           SOCIAL ICONS         */
/* ------------------------------ */

.social-icons {
    display: flex;
    gap: 1rem;
}

.icon-link img {
    width: 55px;
    height: 55px;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.icon-link:hover img {
    transform: scale(1.15);
    filter: invert(100%);
}

/* SECTION FORMATION */
.formation-section {
    margin-top: 3rem;
    max-width: 1100px; /* largeur confortable */
    margin-left: auto; /* centre la section */
    margin-right: auto; /* centre la section */
}

.formation-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* GRILLE → 2 COLONNES AUTOMATIQUES */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* CARTE FORMATION */
.formation-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--shadow);
    align-items: center;
}

.formation-card img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    padding: 4px;
    background: white;
    object-fit: contain;
}

/* TITRE + TEXTE */
.formation-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.formation-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

/* STATUT */
.formation-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid;
}

.formation-status.done {
    color: #22c55e;
    border-color: #22c55e;
}

.formation-status.in-progress {
    color: #eab308;
    border-color: #eab308;
}

/* ============================= */
/*   STYLES SPÉCIFIQUES CONTACT  */
/* ============================= */

.contact-page main {
    max-width: 960px;
    margin: 0 auto;
}

/* Layout identique mais SANS FOND NI CARTE */
.contact-page .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    padding: 0; /* Pas de padding global inutile */
    background: none; /* Suppression du fond */
    box-shadow: none; /* Suppression ombre */
    border-radius: 0; /* Plus de carte */
}

/* Colonne gauche */
.contact-page .contact-left h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-page .contact-left p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Formulaire */
.contact-page .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.contact-page label {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-page input:not([type="hidden"]),
.contact-page textarea {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0.6rem 0.7rem;
    color: var(--text);
    outline: none;
    font: inherit;
}

.contact-page input:focus,
.contact-page textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
}

/* Image à droite */
.contact-page .contact-right {
    display: flex;
    justify-content: center;
}

.contact-page .contact-image {
    width: 100%;
    max-width: 380px;
    border-radius: 15px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-page .contact-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-page .contact-right {
        order: -1;
        margin-bottom: 1.5rem;
    }
}

/* ------------------------------ */
/*        ENGINEERING WORKFLOW    */
/* ------------------------------ */

.workflow-section {
    margin-top: 3rem;
    text-align: center;
}

.workflow-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.workflow-step {
    background: rgba(15, 23, 42, 0.85);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.workflow-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #0b1120;
    border-radius: 50%;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 0.5rem;
}

/* ------------------------------ */
/*            SOFT SKILLS         */
/* ------------------------------ */

.softskills-section {
    margin-top: 3rem;
}

.softskills-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.softskills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.softskill {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    color: var(--text);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

/* ------------------------------ */
/*         PAPER / ARTICLE        */
/* ------------------------------ */

.paper-section {
    margin-top: 3rem;

    /* FULL WIDTH */
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;


    box-sizing: border-box;
}


.paper-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Style du cadre (similaire à formation-card mais plus “premium”) */
.paper-card {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    gap: 1.2rem;
    padding: 1.2rem;
    background: rgba(15, 23, 42, 0.9);
    border-radius: var(--radius);
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--shadow);
    align-items: center;
}


/* Logo */
.paper-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    padding: 6px;
    background: white;
}

/* Texte */
.paper-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.paper-meta {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.3rem;
}

.paper-info {
    /* FIX: indispensable en flex pour éviter des décalages/overflow */
    min-width: 0;
}

/* Ne jamais afficher les champs invisibles (CSRF & co) */
input[type="hidden"] {
  display: none !important;
}

/* Honeypot anti-bot : caché hors écran (robuste même si ton CSS force les inputs) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* Mobile */
@media (max-width: 768px) {
    .paper-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .paper-card img {
        margin-bottom: 0.5rem;
        width: 72px;
        height: 72px;
    }
}


/* MOBILE → 1 COLONNE */
@media (max-width: 768px) {
    .formation-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    .hero-image-card {
        max-width: 480px;
    }
}

/* ============================== */
/*     DIGITAL BUSINESS CARD      */
/* ============================== */

.business-card-page .topbar,
.business-card-page .footer {
    display: none;
}

.business-card-page main {
    padding: 0;
}

.business-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 35%),
        linear-gradient(135deg, #020617 0%, #0f172a 45%, #111827 100%);
}

.business-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
    opacity: 0.35;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: floatGlow 10s ease-in-out infinite;
}

.glow-1 {
    width: 280px;
    height: 280px;
    background: rgba(37, 99, 235, 0.35);
    top: 10%;
    left: 12%;
}

.glow-2 {
    width: 240px;
    height: 240px;
    background: rgba(14, 165, 233, 0.30);
    bottom: 12%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatGlow {
    0%   { transform: translateY(0px) translateX(0px); }
    50%  { transform: translateY(-18px) translateX(10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.business-card-container {
    position: relative;
    z-index: 2;
    width: min(92%, 720px);
    padding: 48px 28px;
    text-align: center;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
}

.business-name {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.business-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.business-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 2.5rem;
}

.business-link-btn {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.business-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
}

.trusted-company h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.trusted-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    background: white;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
    .business-card-container {
        padding: 36px 20px;
    }
}

/* ------------------------------ */
/*            RESPONSIVE          */
/* ------------------------------ */

@media (max-width: 768px) {

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    nav a {
        margin-left: 0;
        margin-right: 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 1.5rem;
    }

    main {
        padding-inline: 5vw;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-right {
        order: -1;
    }
}
