* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #005eff;
    --secondary: #ffd966;
    --accent: #eaf3ff;
    --text-dark: #333;
}

body {
    background-color: #f5f5f5;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--accent);
    border-radius: 8px;
    padding: 0.5rem;
    width: 40%;
}

.search-bar input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    padding: 0.5rem;
}

.search-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: var(--text-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
}

.main-container {
    display: flex;
    min-height: calc(100vh - 180px);
   
}

.sidebar {
    width: 250px;
    background: var(--accent);
    padding: 2rem 1rem;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
    background: var(--primary);
    color: white;
}

.content {
    flex: 1;
    padding: 2rem;
}

.section-title {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 600;
}
.course-section {
    margin-bottom: 4rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.course-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 250px;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-logo {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.course-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background-color: var(--secondary);
    color: var(--text-dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: #ffc933;
    transform: translateY(-2px);
}

.price {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #007bff;
}

.original-price {
    text-decoration: line-through;
    color: #666;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.course-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.course-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.course-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    background: #f8ff39;
}

.section-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 3rem 0 1rem;
}

.section-label {
    display: inline-block;
    background: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1rem;
}

.current-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.original-price {
    color: #999;
    text-decoration: line-through;
}

.view-details {
    background: var(--secondary);
    color: var(--text-dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-details:hover {
    background: #ffc933;
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .search-bar {
        width: 100%;
        order: 3;
    }

    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 1rem;
    }

    .content {
        padding: 1rem;
    }
}

.hero {
    background: linear-gradient(rgb(56, 79, 228), rgb(236, 196, 228)), url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0046cc;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}


.footer {
    background: #000000;
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.footer h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--secondary);
}