/* 🔹 Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fb;
    color: #333;
    line-height: 1.6;
}

/* 🔹 Navbar */
.navbar {
    background: #0d6efd;
    padding: 12px 20px;
    color: #fff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 45px;
    background-color: #fff;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
}

.nav-link:hover {
    text-decoration: underline;
}

/* 🔹 Container */
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 🔹 Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.tab-btn:hover {
    background: #f1f1f1;
}

.tab-btn.active {
    border-bottom: 3px solid #0d6efd;
    color: #0d6efd;
    font-weight: 600;
}

/* 🔹 Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* 🔹 Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

form input:focus,
form select:focus {
    border-color: #0d6efd;
    outline: none;
}

/* 🔹 Button */
.btn {
    background: #0d6efd;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background: #084ec1;
}

/* 🔹 Fee Section */
#fees img {
    margin: 15px 0;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 8px;
}

/* 🔹 Lists */
ul {
    margin-top: 10px;
    padding-left: 20px;
}

/* 🔹 Footer */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.footer h3,
.footer h4 {
    margin-bottom: 10px;
}

.footer p,
.footer li {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    border-top: 1px solid #444;
    padding-top: 15px;
}

/* 🔹 Responsive */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab-btn {
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }
}
.whatsapp-btn {
    background: #25D366;
    display: inline-block;
    padding: 12px 20px;
    margin-top: 10px;
    text-align: center;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

/* 🔹 Syllabus Section */
/* Accordion Container */
.accordion {
    margin-top: 20px;
}

/* Item */
.accordion-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* Header */
.accordion-header {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    background: #f8f9fb;
    transition: 0.3s;
}

.accordion-header:hover {
    background: #eef4ff;
}

/* Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
}

.accordion-content ul {
    padding: 15px;
}

.accordion-content li {
    font-size: 14px;
    margin-bottom: 6px;
}

/* Active */
.accordion-item.active .accordion-content {
    max-height: 400px;
}

/* Highlight AI */
.accordion-item.highlight {
    border: 2px solid #0d6efd;
}
.reviews-iframe {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.syllabus-card li {
    font-size: 14px;
    margin-bottom: 6px;
}

/* Highlight AI section */
.syllabus-card.highlight {
    border: 2px solid #0d6efd;
    background: #eef4ff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 250px); /* fixed width cards */
    justify-content: center; /* 🔥 centers the whole grid */
    gap: 20px;
    margin-top: 20px;
}
.video-card {
    width: 250px;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 250px);
    }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .video-card {
        width: 100%;
        max-width: 300px;
        margin: auto;
    }
}