/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
    --primary: #00b5cc;
    --primary-dark: #0090a6;
    --dark: #0f172a;
    --gray-dark: #334155;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --font: 'Lato', sans-serif;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
    --transition: all 0.3s ease;
}

/* ===========================
   FONTS
   =========================== */
@font-face {
    font-family: 'Lato';
    src: url('../police/Lato-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Lato';
    font-style: italic;
    src: url('../police/Lato-Italic.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'Lato';
    font-weight: 300;
    src: url('../police/Lato-Light.ttf');
}

@font-face {
    font-family: 'Lato';
    font-weight: 700;
    src: url('../police/Lato-Bold.ttf');
}

/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font);
    color: var(--gray-dark);
    line-height: 1.6;
    background: var(--white);
    font-size: 1rem;
}

ul {
    list-style: none;
}

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

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

/* ===========================
   LAYOUT
   =========================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 90px 0;
}

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

/* ===========================
   SECTION TITLE
   =========================== */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 14px auto 56px;
    border-radius: 2px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 181, 204, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    display: inline-block;
    padding: 7px 18px;
    font-size: 0.8rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===========================
   NAVBAR
   =========================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    flex-shrink: 0;
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(0, 181, 204, 0.18);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   ABOUT / HERO
   =========================== */
#about {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5c 55%, #005f73 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 64px;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 181, 204, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 144, 166, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.about-photo {
    flex-shrink: 0;
}

.about-photo img {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow:
        0 0 0 10px rgba(0, 181, 204, 0.12),
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-text {
    flex: 1;
    min-width: 260px;
}

.about-greeting {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.about-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.about-scroll-hint span {
    display: block;
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 11px;
    position: relative;
}

.about-scroll-hint span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; top: 5px; }
    100% { opacity: 0; top: 18px; }
}

/* ===========================
   SKILLS
   =========================== */
#skills {
    background: var(--white);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.skill-category {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px 32px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.skill-category:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.skill-category h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--white);
    border: 1.5px solid var(--gray-light);
    color: var(--gray-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}

.tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.tag.tag-sm {
    padding: 4px 10px;
    font-size: 0.78rem;
}

/* ===========================
   TIMELINE (shared)
   =========================== */
.timeline {
    position: relative;
    padding-left: 52px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-light);
    box-shadow: 0 0 0 3px var(--primary);
    transition: var(--transition);
}

.timeline-item:hover::before {
    transform: scale(1.3);
}

.timeline-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(4px);
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.timeline-content h3 a {
    color: var(--primary);
    transition: var(--transition);
}

.timeline-content h3 a:hover {
    color: var(--primary-dark);
}

.timeline-content h4 {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.925rem;
    line-height: 1.55;
}

.timeline-diploma {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 181, 204, 0.08);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 18px;
    margin-top: 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.timeline-content ul li {
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Dark timeline variant (experience section) */
.timeline-dark.timeline::before {
    background: rgba(255, 255, 255, 0.12);
}

.timeline-dark .timeline-item::before {
    border-color: var(--dark);
}

.timeline-dark .timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.timeline-dark .timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.timeline-dark .timeline-content h3 {
    color: var(--white);
}

.timeline-dark .timeline-content h4 {
    color: var(--primary);
}

.timeline-dark .timeline-content p {
    color: rgba(255, 255, 255, 0.6);
}

.timeline-dark .timeline-date {
    color: rgba(0, 181, 204, 0.9);
}

/* ===========================
   EXPERIENCE SECTION
   =========================== */
#experience {
    background: var(--dark);
}

#experience .section-title {
    color: var(--white);
}

/* ===========================
   PORTFOLIO
   =========================== */
#portfolio {
    background: #0d1117;
}

#portfolio .section-title {
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.portfolio-card {
    background: #161b27;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 181, 204, 0.25);
}

.portfolio-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a2540 0%, #0d1a2e 100%);
    overflow: hidden;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
    display: block;
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.04);
}

/* Fallback si l'image ne charge pas */
.portfolio-card-img img[src=""],
.portfolio-card-img img:not([src]) {
    display: none;
}

.portfolio-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 181, 204, 0.85);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.portfolio-card-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.portfolio-card-body p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}

.portfolio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: auto;
}

.portfolio-card-link:hover {
    color: var(--primary);
    gap: 10px;
}

/* ===========================
   HOBBIES
   =========================== */
#hobby {
    background: var(--white);
}

.hobby-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.hobby-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    width: 340px;
    height: 230px;
    display: block;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hobby-item:hover {
    box-shadow: var(--shadow-hover);
}

.hobby-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(20%);
}

.hobby-item:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.hobby-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    padding: 28px 18px 16px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===========================
   CERTIFICATS
   =========================== */
#certificats {
    background: var(--bg-light);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.cert-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    cursor: zoom-in;
    position: relative;
}

.cert-item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.cert-item:hover::after {
    opacity: 1;
}

.cert-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
    cursor: default;
    animation: lightboxIn 0.25s ease;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--white);
    transform: scale(1.1);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(0, 181, 204, 0.5);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ===========================
   CONTACT
   =========================== */
#contact {
    background: var(--dark);
}

#contact .section-title {
    color: var(--white);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.req {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--white);
    font-family: var(--font);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 181, 204, 0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.comments {
    font-size: 0.8rem;
    color: #f87171;
    font-style: italic;
    min-height: 18px;
    line-height: 1.4;
}

.form-required-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.form-submit {
    text-align: center;
}

.thank-you {
    text-align: center;
    margin-top: 24px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===========================
   WINDSURF SLIDER
   =========================== */
.ws-slider {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    background: #000;
}

.ws-slides {
    display: flex;
    transition: transform 0.45s ease;
}

.ws-slides img {
    min-width: 100%;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    flex-shrink: 0;
    background: #000;
}

.ws-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
    z-index: 10;
}

.ws-btn:hover {
    background: rgba(0,181,204,0.75);
}

.ws-prev { left: 12px; }
.ws-next { right: 12px; }

.ws-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.ws-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s;
}

.ws-dot.active {
    background: var(--primary);
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: #080e1d;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-inner a {
    color: var(--primary);
    transition: var(--transition);
}

.footer-inner a:hover {
    color: var(--white);
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 900px) {
    .nav-links a {
        font-size: 0.65rem;
        padding: 7px 8px;
    }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    /* Hamburger */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 20px;
        gap: 2px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 11px 14px;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    /* Hero */
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 36px;
        padding: 80px 24px 60px;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: 1;
    }

    /* Timeline */
    .timeline {
        padding-left: 38px;
    }

    .timeline-item::before {
        left: -30px;
    }
}

@media (max-width: 480px) {
    .about-photo img {
        width: 180px;
        height: 180px;
    }

    .certs-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}
