/* =========================
   GLOBAL RESET + BASE
========================= */

header .logo a {
    color: inherit !important;
    text-decoration: none !important;
}

html{
    scroll-behavior:smooth;
}

.cards a.card{
    display:block;
    text-decoration:none;
    color:inherit;
}

hr {
    border: none;
    height: 1px;
    background: #444;
    margin: 40px 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #111;
    color: #fff;
    line-height: 1.6;
}

/* =========================
   HEADER + NAV
========================= */

header {
    background: #000;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    position: relative;
    transition: 0.2s ease;
}

nav a:hover {
    opacity: 0.7;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    text-align: center;
    padding: 120px 10%;
    background: linear-gradient(135deg, #111, #222, #000);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: auto;
    color: #ddd;
}

/* =========================
   BUTTONS
========================= */

.buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    margin: 10px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: white;
    color: black;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 70px 10%;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* =========================
   CARD GRID SYSTEM
========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #1b1b1b;
    padding: 25px;
    border-left: 4px solid #666;
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-left-color: #aaa;
}

.card h3 {
    margin-bottom: 10px;
}

/* =========================
   TEXT BLOCKS
========================= */

p {
    color: #ddd;
}

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;
    padding: 30px;
    background: #000;
    color: #999;
    margin-top: 40px;
}

/* =========================
   SMALL RESPONSIVE RULES
========================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav a {
        margin-left: 10px;
        margin-right: 10px;
    }
}