/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f7f9fb;
    color: #1d1d1d;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #0f8b5f;
}

.logo .dot {
    color: #ffd166;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #0f8b5f;
}

/* Buttons in nav */
.btn {
    background: #0f8b5f;
    color: white !important;
    padding: 8px 14px;
    border-radius: 8px;
}

.btn:hover {
    background: #0b6d49;
}

.btn-outline {
    border: 2px solid #0f8b5f;
    padding: 8px 14px;
    border-radius: 8px;
}

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

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 60px;
    background: linear-gradient(135deg, #0f8b5f, #17b978);
    color: white;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btn {
    background: #ffd166;
    color: #1d1d1d;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.hero-btn:hover {
    background: #ffca3a;
}

.hero-img {
    width: 40%;
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 70px 60px;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

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

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

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* =========================
   STATS
========================= */

.stats {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 28px;
    color: #0f8b5f;
}

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

.footer {
    text-align: center;
    padding: 25px;
    background: #1d1d1d;
    color: white;
    margin-top: 50px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-img {
        width: 100%;
        margin-top: 20px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

.dashboard {
    padding: 40px;
}

.dashboard h2 {
    margin-bottom: 25px;
    color: #0f8b5f;
}

.cards a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #0f8b5f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.cards a:hover {
    background: #0b6d49;
}

select,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

textarea {
    min-height: 100px;
    resize: none;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* main page content grows */
.content {
    flex: 1;
}

/* FOOTER */
.footer {
    background: #0f8b5f;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}