/* ================================
   HOME.CSS - Home Page Styles
   ================================ */

h3,h4 {
    margin-top: 1rem;
}

/* -------------------------------
   Hero Section
--------------------------------- */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 80vh; */
    height: 40vh;
    /* height: 20vh; */
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    text-align: center;
    color: #fff;
    /* border: 1px solid black; */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    /* max-width: 600px; */
}

/* -------------------------------
   Featured Sections
--------------------------------- */
.featured {
    padding: 4rem 0;
    background-color: #f4f4f4;
    text-align: center;
}

.featured h2 {
    margin-bottom: 2rem;
}

.featured .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.featured .card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.2s ease;
}

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

/* -------------------------------
   Call to Action
--------------------------------- */
.cta {
    margin: 4rem 0;
    padding: 2rem;
    background-color: #0077cc;
    color: #fff;
    text-align: center;
    border-radius: 8px;
}

.cta a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

/* -------------------------------
   Responsive
--------------------------------- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .featured .cards {
        flex-direction: column;
        gap: 1.5rem;
    }
}
