:root {
    --background: #07111f;
    --secondary-background: #0d1b2a;
    --card-background: #12263a;
    --primary: #38bdf8;
    --primary-dark: #0284c7;
    --text: #f8fafc;
    --muted-text: #94a3b8;
    --border: #1e3a5f;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 8%;
    background-color: rgba(7, 17, 31, 0.95);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.logo span {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    color: var(--muted-text);
    font-size: 15px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;

    background:
        radial-gradient(
            circle at top right,
            rgba(56, 189, 248, 0.18),
            transparent 35%
        ),
        var(--background);
}

.hero-content {
    max-width: 800px;
}

.intro {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(42px, 8vw, 76px);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero h2 {
    color: var(--muted-text);
    font-size: clamp(24px, 4vw, 40px);
    margin-bottom: 22px;
}

.hero-description {
    max-width: 650px;
    color: var(--muted-text);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 6px;
    font-weight: bold;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.primary-button {
    background-color: var(--primary);
    color: #00111a;
}

.primary-button:hover {
    background-color: #7dd3fc;
}

.secondary-button {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.secondary-button:hover {
    background-color: rgba(56, 189, 248, 0.1);
}

.section {
    padding: 90px 8%;
}

.alternate-section {
    background-color: var(--secondary-background);
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin-top: 10px;
    background-color: var(--primary);
}

.section-description {
    max-width: 850px;
    color: var(--muted-text);
    font-size: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(240px, 1fr)
    );
    gap: 24px;
    margin-top: 35px;
}

.card {
    padding: 26px;
    background-color: var(--card-background);
    border: 1px solid var(--border);
    border-radius: 10px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    border-color: var(--primary);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.card p {
    color: var(--muted-text);
}

.project-category {
    color: var(--primary) !important;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-weight: bold;
}

.contact-section {
    text-align: center;
}

.contact-section .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.contact-section p {
    color: var(--muted-text);
    margin-bottom: 24px;
}

footer {
    padding: 25px 8%;
    text-align: center;
    color: var(--muted-text);
    border-top: 1px solid var(--border);
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 16px 5%;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .section {
        padding: 75px 6%;
    }
}

@media (max-width: 500px) {
    nav a {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .button {
        width: 100%;
        text-align: center;
    }
}

.cert-card {
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
}

.cert-card h3 {
    margin-top: 8px;
}

.cert-provider {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-date {
    margin-top: 10px;
    font-size: 14px;
}

/* ========================================
   PROJECT PAGE
======================================== */

.project-page {
    padding-top: 0;
}


/* PROJECT HERO */

.project-hero {
    min-height: 75vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 150px 8% 90px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(56, 189, 248, 0.15),
            transparent 35%
        ),
        var(--background);
}

.project-hero .project-category {
    color: var(--primary) !important;

    font-size: 14px;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    margin-bottom: 15px;
}

.project-hero h1 {
    color: var(--text);

    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.1;

    max-width: 900px;

    margin-bottom: 25px;
}

.project-hero > p:not(.project-category) {
    max-width: 800px;

    color: var(--muted-text);

    font-size: 18px;
    line-height: 1.8;
}


/* PROJECT TAGS */

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
    margin-bottom: 30px;
}

.project-tags span {
    display: inline-block;

    padding: 8px 15px;

    color: var(--primary);

    background-color: rgba(56, 189, 248, 0.08);

    border: 1px solid var(--border);
    border-radius: 50px;

    font-size: 14px;
}


/* TIMELINE */

.timeline {
    max-width: 950px;

    margin-top: 40px;
}

.timeline-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    margin-bottom: 36px;
}

.timeline-number {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #00111a;

    background-color: var(--primary);

    border-radius: 50%;

    font-weight: bold;
}

.timeline-item h3 {
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--muted-text);
}


/* COMMAND BOX */

pre {
    margin-top: 16px;

    padding: 18px;

    overflow-x: auto;

    color: #bae6fd;

    background-color: #020617;

    border: 1px solid var(--border);
    border-radius: 8px;
}

code {
    font-family: Consolas, Monaco, monospace;
}


/* EVIDENCE */

.evidence-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 24px;

    margin-top: 35px;
}

.evidence-card {
    overflow: hidden;

    background-color: var(--card-background);

    border: 1px solid var(--border);
    border-radius: 10px;
}

.image-placeholder {
    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--muted-text);

    background-color: #081525;

    border-bottom: 1px solid var(--border);
}
.evidence-image {
    width: 100%;
    height: 240px;
    object-fit: contain;

    background-color: #081525;

    border-bottom: 1px solid var(--border);
}

.evidence-card h3 {
    padding: 20px 20px 5px;
}

.evidence-card p {
    padding: 0 20px 20px;

    color: var(--muted-text);
}

/* ========================================
   REPORTS & TECHNICAL ARTIFACTS
======================================== */

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.report-card {
    padding: 26px;

    background-color: var(--card-background);

    border: 1px solid var(--border);
    border-radius: 10px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.report-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.report-card p {
    color: var(--muted-text);
    line-height: 1.6;
}

@media (max-width: 700px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE PROJECT PAGE */

@media (max-width: 800px) {

    .project-hero {
        padding: 160px 6% 80px;
    }

    .project-hero h1 {
        font-size: 42px;
    }

}

/* ========================================
   PROJECT HERO BADGES
======================================== */

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    border-radius: 50px;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 0.5px;
}

.category-badge {
    color: var(--primary);

    background-color: rgba(56, 189, 248, 0.08);

    border: 1px solid var(--primary);
}

.difficulty-badge {
    color: #facc15;

    background-color: rgba(250, 204, 21, 0.08);

    border: 1px solid rgba(250, 204, 21, 0.5);
}

.status-badge {
    color: #4ade80;

    background-color: rgba(74, 222, 128, 0.08);

    border: 1px solid rgba(74, 222, 128, 0.5);
}


/* HERO SUMMARY */

.project-summary {
    max-width: 800px;

    color: var(--muted-text);

    font-size: 18px;
    line-height: 1.8;
}


/* HERO ACTION BUTTONS */

.project-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 28px;
}


/* MOBILE */

@media (max-width: 600px) {

    .project-actions {
        flex-direction: column;
    }

    .project-actions .button {
        width: 100%;
        text-align: center;
    }

}

/* ========================================
   PROJECT INFORMATION
======================================== */

.project-info-section {
    padding: 0 8% 80px;
    background-color: var(--background);
}

.project-info-card {
    max-width: 1100px;
    margin: 0 auto;

    padding: 32px;

    background-color: var(--card-background);

    border: 1px solid var(--border);
    border-radius: 14px;
}

.project-info-card h2 {
    margin-bottom: 28px;

    font-size: 26px;
}

.project-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.info-item {
    padding: 18px;

    background-color: rgba(7, 17, 31, 0.55);

    border: 1px solid var(--border);
    border-radius: 10px;
}

.info-label {
    display: block;

    margin-bottom: 7px;

    color: var(--muted-text);

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    color: var(--text);

    font-size: 16px;
    font-weight: bold;
}

.status-text {
    color: #4ade80;
}


/* TABLET */

@media (max-width: 900px) {

    .project-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* MOBILE */

@media (max-width: 550px) {

    .project-info-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .project-info-card {
        padding: 22px;
    }

}
/* ========================================
   SECURITY BASELINE
======================================== */

.baseline-grid {
    display: grid;
    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    );
    gap: 24px;
    margin-top: 35px;
}

.baseline-card {
    padding: 24px;
    background-color: var(--card-background);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.baseline-card h3 {
    margin-bottom: 10px;
}

.baseline-card p {
    color: var(--muted-text);
    margin-bottom: 20px;
}

.baseline-card .image-placeholder {
    height: 240px;
    border-radius: 8px;
    border: 1px dashed var(--border);
}

@media (max-width: 800px) {
    .baseline-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BASELINE ASSESSMENT
======================================== */

.baseline-assessment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.assessment-card {
    padding: 26px;

    background-color: var(--card-background);

    border: 1px solid var(--border);
    border-radius: 12px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.assessment-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.assessment-number {
    display: block;

    margin-bottom: 18px;

    color: var(--primary);

    font-family: Consolas, monospace;
    font-size: 14px;
    font-weight: bold;
}

.assessment-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.assessment-card p {
    color: var(--muted-text);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .baseline-assessment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .baseline-assessment-grid {
        grid-template-columns: 1fr;
    }
}
.baseline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.baseline-card {
    padding: 24px;
    background-color: var(--card-background);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.baseline-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.baseline-card p {
    color: var(--muted-text);
    line-height: 1.6;
}

@media (max-width: 800px) {
    .baseline-grid {
        grid-template-columns: 1fr;
    }
}