/* -------------------------
   Global Styles
-------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #faf5ee; /* light beige */
    color: #5a3e2b; /* deep brown */
    line-height: 1.6;
}

/* -------------------------
   Navigation Bar
-------------------------- */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e5d8c6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #5a3e2b;
}

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

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

.nav-links a:hover,
.active-link {
    color: #a47a56;
}

/* -------------------------
   Hero Section
-------------------------- */
.services-hero {
    background-color: #f5efe6; /* beige */
    padding: 80px 0;
    text-align: center;
}

.services-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.services-hero p {
    font-size: 1.1rem;
    color: #664b38;
}

/* -------------------------
   Course Categories
-------------------------- */
.course-categories {
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
}

/* Category Title */
.category-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #5a3e2b;
    border-bottom: 2px solid #a47a56;
    display: inline-block;
    padding-bottom: 5px;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Course Card */
.course-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e6dece;
    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: #a47a56;
}

.course-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #5a3e2b;
}

.course-card p {
    color: #664b38;
}

/* -------------------------
   Contact CTA Section
-------------------------- */
.contact-cta {
    background-color: #f5efe6;
    text-align: center;
    padding: 60px 20px;
    margin-top: 30px;
    border-radius: 10px;
}

.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-cta .cta-button {
    padding: 12px 25px;
    background-color: #5a3e2b;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.contact-cta .cta-button:hover {
    background-color: #a47a56;
}

/* -------------------------
   Footer
-------------------------- */
.main-footer {
    background-color: #5a3e2b;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .hero-section, .services-hero {
        padding: 60px 20px;
    }

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