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


:root {

    --primary: #1769aa;
    --primary-dark: #0d4775;

    --background: #f6f8fb;

    --white: #ffffff;

    --text: #17202a;

    --muted: #687586;

    --border: #e3e8ef;

}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

}


.container {

    width: min(1150px, 92%);

    margin: auto;

}


/* NAVBAR */

.navbar {

    background: white;

    border-bottom:
        1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 100;

}


.nav-content {

    min-height: 75px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}


.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: var(--text);

    font-weight: bold;

    font-size: 20px;

}


.logo img {

    width: 45px;

    height: 45px;

    object-fit: contain;

}


nav {

    display: flex;

    gap: 25px;

}


nav a {

    color: var(--muted);

    text-decoration: none;

    font-weight: 600;

}


nav a:hover,
nav a.active {

    color: var(--primary);

}


/* HERO */

.hero {

    background:
        linear-gradient(
            135deg,
            #edf6ff,
            #ffffff
        );

    padding:
        100px 0;

}


.hero-content {

    display: flex;

    align-items: center;

}


.hero-text {

    max-width: 700px;

}


.badge {

    display: inline-block;

    background: #e1f0ff;

    color: var(--primary);

    padding: 7px 15px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: bold;

    margin-bottom: 20px;

}


.hero h1 {

    font-size:
        clamp(40px, 7vw, 72px);

    line-height: 1.05;

    margin-bottom: 25px;

}


.hero h1 span {

    color: var(--primary);

}


.hero p {

    color: var(--muted);

    font-size: 19px;

    max-width: 600px;

    margin-bottom: 30px;

}


.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}


/* BUTTONS */

.btn {

    display: inline-block;

    text-decoration: none;

    padding:
        12px 20px;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.2s;

}


.btn.primary {

    background: var(--primary);

    color: white;

}


.btn.primary:hover {

    background: var(--primary-dark);

}


.btn.secondary {

    background: white;

    color: var(--primary);

    border:
        1px solid var(--border);

}


.btn.secondary:hover {

    border-color: var(--primary);

}


.btn.small {

    padding:
        8px 13px;

    font-size: 14px;

}


/* SECTIONS */

.features {

    padding:
        90px 0;

}


.section-title {

    text-align: center;

    max-width: 700px;

    margin:
        0 auto 45px;

}


.section-title span {

    color: var(--primary);

    font-weight: bold;

}


.section-title h2 {

    font-size: 38px;

    margin:
        8px 0 10px;

}


.section-title p {

    color: var(--muted);

}


/* FEATURES */

.feature-grid {

    display: grid;

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

    gap: 25px;

}


.feature-card {

    background: white;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 15px;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,0.04);

}


.feature-icon {

    font-size: 35px;

    margin-bottom: 15px;

}


.feature-card h3 {

    margin-bottom: 10px;

}


.feature-card p {

    color: var(--muted);

    margin-bottom: 20px;

}


.feature-card a {

    color: var(--primary);

    text-decoration: none;

    font-weight: bold;

}


/* PAGE HEADER */

.page-header {

    padding:
        75px 0;

    background:
        linear-gradient(
            135deg,
            #edf6ff,
            #ffffff
        );

}


.page-header span {

    color: var(--primary);

    font-weight: bold;

}


.page-header h1 {

    font-size: 50px;

    margin:
        5px 0 10px;

}


.page-header p {

    color: var(--muted);

}


/* SEARCH */

.certificate-section,
.resources-section {

    padding:
        70px 0;

}


.search-box {

    max-width: 700px;

    margin:
        0 auto 45px;

}


.search-box input {

    width: 100%;

    padding:
        17px 20px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    font-size: 16px;

    outline: none;

    background: white;

}


.search-box input:focus {

    border-color:
        var(--primary);

}


/* CERTIFICATES */

.certificate-grid {

    display: grid;

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

    gap: 25px;

}


.certificate-card {

    background: white;

    border:
        1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,0.04);

}


.certificate-image {

    background: #eef1f5;

    aspect-ratio: 1.414 / 1;

    overflow: hidden;

}


.certificate-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.certificate-info {

    padding: 22px;

}


.certificate-id {

    color: var(--primary);

    font-size: 12px;

    font-weight: bold;

}


.certificate-info h3 {

    margin:
        7px 0;

}


.certificate-info p {

    color: var(--muted);

}


.certificate-info .date {

    font-size: 14px;

    margin-bottom: 15px;

}


.certificate-buttons {

    display: flex;

    gap: 8px;

}


/* RESOURCES */

.resource-grid {

    display: grid;

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

    gap: 25px;

}


.resource-card {

    background: white;

    border:
        1px solid var(--border);

    border-radius: 15px;

    padding: 25px;

    display: flex;

    gap: 20px;

}


.resource-icon {

    font-size: 35px;

}


.resource-card h3 {

    margin-bottom: 8px;

}


.resource-card p {

    color: var(--muted);

    margin-bottom: 15px;

}


/* NO RESULTS */

.no-results {

    text-align: center;

    padding: 50px;

}


.no-results p {

    color: var(--muted);

}


/* FOOTER */

footer {

    background: #111827;

    color: white;

    padding:
        35px 0;

}


.footer-content {

    display: flex;

    justify-content: space-between;

    gap: 30px;

}


footer p {

    color: #b8c1cc;

}


/* MOBILE */

@media
(max-width: 800px) {

    .nav-content {

        flex-direction: column;

        padding:
            15px 0;

    }


    nav {

        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;

    }


    .hero {

        padding:
            70px 0;

    }


    .feature-grid,
    .certificate-grid,
    .resource-grid {

        grid-template-columns:
            1fr;

    }


    .page-header h1 {

        font-size: 40px;

    }


    .footer-content {

        flex-direction: column;

    }

}