body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    
}
.highlight-note {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 500;
    display: inline-block;
}
/* 🔥 Announcement Bar */
.announcement-bar {
    width: 100%;
    background: #ffcc00;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #f5b400;
    padding: 40px 0;
    position: relative;
}

/* Moving text */
.announcement-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: bold;
    color: #000;
    font-size: 16px;
    padding-left: 100%;   /* KEY FIX */
    animation: scrollText 15s linear infinite;
}

/* Animation */
@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 80px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d6efd, #2563eb);
}

/* Desktop image */
@media (min-width: 992px) {
    .hero {
        background: linear-gradient(
                to right,
                rgba(13,110,253,0.95) 0%,
                rgba(13,110,253,0.85) 45%,
                rgba(13,110,253,0.3) 100%
            ),
            url('images/hero.jpg') no-repeat right center;
        background-size: contain;
    }
}
/* Background Image */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('images/hero.jpg') no-repeat right center;
    background-size: contain;   /* show full person */
    background-color: #0d6efd;  /* fallback */
    z-index: -2;
}

/* Gradient Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13,110,253,0.95) 0%,
        rgba(13,110,253,0.85) 40%,
        rgba(13,110,253,0.3) 100%
    );
    z-index: -1;
}   .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    animation: fadeInDown 1s;
}
.hero p {
    font-size: 1.3rem;
    margin-top: 20px;
    animation: fadeInUp 1s;
}
.hero .btn {
    margin-top: 25px;
    animation: fadeInUp 1.5s;
    padding: 12px 30px;
    font-weight: 600;
}
.hero h1 {
    font-weight: 700;
    line-height: 1.2;
}
.custom-navbar {
    background: rgba(13, 110, 253, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.custom-navbar .nav-link {
    color: #fff;
    font-weight: 500;
    position: relative;
}

.custom-navbar .nav-link:hover {
    color: #ffd700;
}

/* Underline animation */
.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.custom-navbar .nav-link:hover::after {
    width: 100%;
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero {
        padding: 60px 20px;
    }
}
/* Animations */
@keyframes fadeInDown { from {opacity:0; transform:translateY(-50px);} to {opacity:1; transform:translateY(0);} }
@keyframes fadeInUp { from {opacity:0; transform:translateY(50px);} to {opacity:1; transform:translateY(0);} }

/* Features */
.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.feature-card i {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

/* Courses */
.course-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Timeline steps */
.step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}
.step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 10px;
    height: 100%;
    border-left: 3px solid #0d6efd;
}
.step-number {
    position: absolute;
    left: -5px;
    background: #0d6efd;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: 600;
}

/* Testimonials carousel */
.testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}
.testimonial p { font-size: 1.1rem; font-style: italic; }

/* Footer */
footer {
    background: #0d6efd;
    color: #fff;
    padding: 60px 0 30px;
}

footer h5, footer h6 {
    margin-bottom: 15px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.student-body{
    background:#f4f6f9;
}

.student-footer{
    background:#111;
    color:#aaa;
}
body.student-body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #eef2f7, #f8fbff);
}

.optionBox {
    border: 2px solid #ddd;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.optionBox:hover {
    background: #f1f5ff;
    border-color: #0d6efd;
}

.optionBox.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.quiz-optionBox {
    border: 2px solid #ddd;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.quiz-optionBox:hover {
    background: #f1f5ff;
    border-color: #0d6efd;
}

.quiz-optionBox.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* 🔹 Card */
.student_course_card {
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
}

.student_course_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* 🔹 Image */
.student_course_img_wrapper {
    overflow: hidden;
}

.student_course_img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.student_course_card:hover .student_course_img {
    transform: scale(1.05);
}

/* 🔹 Body */
.student_course_body {
    padding: 15px;
}

/* 🔹 Title */
.student_course_title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 🔹 Description */
.student_course_desc {
    font-size: 0.9rem;
    color: #6c757d;
    min-height: 60px;
}

/* 🔹 Price */
.student_course_price {
    color: #0d6efd;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 🔹 Badge */
.student_course_badge {
    margin-bottom: 10px;
    font-size: 0.75rem;
}

/* 🔹 Button */
.student_course_btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 8px;
}
/* 🔹 Unit box (for dynamic content) */
.student_unit_box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.9rem;
}

/* 🔹 Better spacing */
.student_course_body {
    display: flex;
    flex-direction: column;
}

/* 🔹 Start button hover */
.student_course_btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: 0.2s;
}

/* 🔹 Menu container */
.menu-scroll {
    display: flex;
    flex-wrap: wrap;              /* ✅ allow wrapping */
    gap: 10px;
    padding-bottom: 5px;
}

/* 🔹 Button */
.menu-btn {
    flex: 1 1 auto;               /* ✅ allows shrinking */
    min-width: 120px;             /* keeps readable size */
    max-width: 200px;

    border: 2px solid #0d6efd;
    color: #0d6efd;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 500;
    background: #fff;

    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* 🔹 Hover */
.menu-btn:hover {
    background: #0d6efd;
    color: #fff;
}

/* 🔹 Active */
.menu-btn.active {
    background: #0d6efd;
    color: #fff;
}

/* 🔥 Responsive scaling */
@media (max-width: 768px) {
    .menu-btn {
        min-width: 100px;
        padding: 7px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .menu-btn {
        min-width: 90px;
        padding: 6px 12px;
        font-size: 13px;
    }
}