/* ==========================================
   RESET
========================================== */

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

html,
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f9;
    color: #222;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ==========================================
   CONTAINER
========================================== */

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   HEADER
========================================== */

.topbar {
    background: #0b2341;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 75px;
}

.brand {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #d4af37;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* ==========================================
   HERO
========================================== */

.hero {
    background:
        linear-gradient(
            rgba(11,35,65,0.75),
            rgba(11,35,65,0.75)
        ),
        url('../images/hero.jpg');

    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
}

.hero p {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 48px;
    max-width: 900px;
    margin-bottom: 20px;
}

.hero span {
    font-size: 20px;
    opacity: .9;
}

/* ==========================================
   LAYOUT
========================================== */

.layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    padding: 50px 0;
}

/* ==========================================
   CONTENT
========================================== */

.content {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.content h1,
.content h2,
.content h3 {
    color: #0b2341;
    margin-bottom: 15px;
}

.content p {
    margin-bottom: 15px;
}

.content ul,
.content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content table td,
.content table th {
    border: 1px solid #ddd;
    padding: 10px;
}

.content img {
    border-radius: 8px;
    margin: 20px 0;
}

/* ==========================================
   SIDEBAR
========================================== */

.sidebar {
    background: white;
    padding: 25px;
    border-radius: 10px;
    height: fit-content;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sidebar h3 {
    color: #0b2341;
    margin-bottom: 20px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.doc {
    display: block;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    background: #f7f8fb;
    color: #0b2341;
    transition: .3s;
}

.doc:hover {
    background: #0b2341;
    color: white;
}

/* ==========================================
   CARDS
========================================== */

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

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    color: #0b2341;
    font-size: 20px;
    margin-bottom: 10px;
}

/* ==========================================
   BUTTONS
========================================== */

.btn {
    display: inline-block;
    padding: 12px 20px;
    background: #0b2341;
    color: white;
    border-radius: 6px;
    transition: .3s;
}

.btn:hover {
    background: #d4af37;
    color: #000;
}

/* ==========================================
   FOOTER
========================================== */

footer {
    background: #0b2341;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

footer strong {
    color: #d4af37;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 992px) {

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

    .hero h1 {
        font-size: 34px;
    }

    .menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: #0b2341;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero span {
        font-size: 16px;
    }

    .content {
        padding: 20px;
    }
}
