:root {
    --primary: #2141C1;
    --accent: #FF1611;
    --text: #2c3e50;
    --light-bg: #fdfdfe;
    --white: #ffffff;
    --border-light: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--white);
    color: var(--text);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a36a3 0%, #0d1e5a 100%);
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 90%;
}

.btn-hero {
    background: var(--accent);
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 22, 17, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Filter */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.underline {
    width: 50px;
    height: 5px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 10px;
}

.search-box {
    max-width: 500px;
    margin: 0 auto 50px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2.5px solid var(--border-light);
    border-radius: 50px;
    outline: none;
    transition: 0.3s;
    font-size: 1rem;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(33, 65, 193, 0.1);
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    font-size: 0.85rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

/* Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}

.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-left: 6px solid var(--primary);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.course-card.hide {
    display: none;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(33, 65, 193, 0.1);
    border-color: rgba(33, 65, 193, 0.2);
}

.category-tag {
    background: #eef2ff;
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    align-self: flex-start;
}

.course-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #1a2a44;
}

.course-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 25px;
    flex-grow: 1;
}

.price {
    color: var(--accent)!important;
    font-size: 1.6rem;
    font-weight: 800;
    border-top: 1px solid #f8fafc;
    padding-top: 20px;
}

/* About */
.about {
    background: #fbfbfd;
    padding: 30px;
}

.about-image {
 text-align: center;
}

.about-image img {
    width: 50%;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.about-text {
    display: flex;
    text-align: justify;
}

.about-text p {
    width: 50%;
    padding: 30px;
    margin-top: 30px;
}

.about-features {
    width: 50%;
    padding: 30px;
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    flex-wrap: wrap;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.info-box i {
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: .75rem;
    outline: none;
}

.contact-form input:focus {
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: #2141C1 ;
    color: white;
    padding: 80px 0 40px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 50px;
}

.logo-footer {
height: 100px;
}

.logo-footer span {
    color: var(--accent);
}

.social-links a {
    color: white;
    font-size: 2.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-copy {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    opacity: 0.5;
    font-size: 0.9rem;
}

@media screen and (max-width: 600px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: white;
        padding: 40px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .about-image img {
    width: 100%;
}
.about-text {
    display: block;
    font-size: .85rem;
}


.about-text p {
    width: 100%;
        padding: 0px;
    margin-top: 0px;
}

.about-features {
    width: 100%;
    padding: 0px;
    margin-top: 30px;
}
}