/* =========================
   GLOBAL STYLES
========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #333;
    background: #fafafa;
    line-height: 1.6;
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 600;
    color: #222;
}

p {
    color: #555;
}

a {
    transition: 0.2s ease;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gray {
    color: #666;
}

.yellow {
    color: #FBC02D;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: 500;
}

nav a:hover {
    color: #FBC02D;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    padding: 120px 8%;
    position: relative;
    background:
        linear-gradient(to right, #f2f2f2, #ffffff),
        url("data:image/svg+xml,%3Csvg width='800' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23d9d9d9' stroke-width='1'%3E%3Cline x1='50' y1='100' x2='200' y2='50'/%3E%3Cline x1='200' y1='50' x2='400' y2='150'/%3E%3Cline x1='400' y1='150' x2='600' y2='80'/%3E%3Cline x1='600' y1='80' x2='750' y2='200'/%3E%3Cline x1='150' y1='300' x2='350' y2='350'/%3E%3Cline x1='350' y1='350' x2='600' y2='280'/%3E%3C/g%3E%3Cg fill='%23e5e5e5'%3E%3Ccircle cx='50' cy='100' r='4'/%3E%3Ccircle cx='200' cy='50' r='4'/%3E%3Ccircle cx='400' cy='150' r='4'/%3E%3Ccircle cx='600' cy='80' r='4'/%3E%3Ccircle cx='750' cy='200' r='4'/%3E%3Ccircle cx='150' cy='300' r='4'/%3E%3Ccircle cx='350' cy='350' r='4'/%3E%3Ccircle cx='600' cy='280' r='4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 42px;
    max-width: 750px;
}

.hero p {
    max-width: 600px;
    margin-top: 20px;
    font-size: 18px;
}

/* =========================
   BUTTONS
========================= */

.buttons {
    margin-top: 30px;
}

.btn-primary {
    background: #FBC02D;
    padding: 14px 30px;
    text-decoration: none;
    color: #000;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    border: 2px solid #FBC02D;
    padding: 12px 28px;
    text-decoration: none;
    color: #333;
    margin-left: 15px;
    border-radius: 6px;
    display: inline-block;
}

.btn-secondary:hover {
    background: #FBC02D;
    color: #000;
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 80px 8%;
}

.gray-bg {
    background: #f1f1f1;
}

/* =========================
   GRID & CARDS
========================= */

.grid-3 {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    flex: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

/* =========================
   CTA SECTION
========================= */

.cta {
    background: #eeeeee;
    padding: 80px 8%;
    text-align: center;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 40px;
    text-align: center;
    background: #f1f1f1;
    font-size: 14px;
    color: #666;
}

/* =========================
   RESPONSIVE (MOBILE)
========================= */

@media (max-width: 900px) {

    .hero {
        padding: 80px 8%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .grid-3 {
        flex-direction: column;
    }

    nav {
        display: none; /* Simple version (can upgrade to hamburger later) */
    }

    .navbar {
        justify-content: center;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }

}