﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;

    
}

body {
    background-color: #e8ebed;
}

h1, h2, h3 {
    transition: transform 0.4s ease, color 0.3s ease;
}

    h1:hover, h2:hover, h3:hover {
        transform: scale(1.05);
        color: orange;
    }

.course-icon img {
    transition: transform 0.5s ease;
}

.course-icon:hover img {
    transform: rotate(10deg) scale(1.1);
}

.text-warning {
    color: orange !important;
}
.footer-right {
    background-color: #0b1a3a;
    color: white;
    text-align: center !important;
    padding: 20px;
    margin-top: -18px;
}
.owl-carousel .owl-item img {
    display: block;
    height: 104px;
    width: 100%;
}
header {
    background-color: #002B5B; /* Dark Blue */
    color: white;
    padding: 20px 40px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: orange; /* Yellow */
}

.nav-links {
    display: flex;
    gap: 20px;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: #FFD700;
        }
/* Navbar link hover and active color */
.navbar-dark .navbar-nav .nav-link {
    color: white; /* default text color */
    transition: color 0.3s;
    font-weight:bold;
    padding:15px;
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        color: orange !important; /* gold on hover/active */
    }

.header-content {
    text-align: center;
    padding: 24px 20px;
}

    .header-content h1 {
        font-size: 2.5rem;
        color: #ffffff;
    }

    .header-content p {
        font-size: 1.4rem;
        color: orange;
        margin-top: 10px;
        font-weight: 600;
    }
.btn-login {
    background-color: orange;
    color: #002B5B;
    margin-left: 25px;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        margin-top: 10px;
    }
}

/* Section Wrapper */
.course-section {
    padding: 60px 20px;
    background: #fff;
}

/* Header */
.course-header {
    text-align: center;
    margin-bottom: 50px;
}

     h2 {
        font-weight: 700;
        font-size: 2.2rem;
        color: #002B5B;
    }

    .course-header p {
        font-size: 1rem;
        margin: 10px auto;
        color: #555;
    }

/* Left content */
.left-content h3 {
    color: #002B5B;
    font-weight: 600;
    margin-bottom: 20px;
}

.left-content ul {
    list-style: none;
    padding: 0;
}

    .left-content ul li {
        margin: 10px 0;
        font-size: 1.3rem;
        color: #333;
        position: relative;
        padding-left: 28px;
    }

        .left-content ul li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 0;
            color: orange;
            font-weight: bold;
        }

/* Course carousel */
.course-scroller {
    background: #fff;
    padding: 15px;
}

.course-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .course-icon img {
        width: 70px;
        height: 70px;
    }

    .course-icon p {
        margin-top: 8px;
        text-align:center;
        font-weight: bold;
        color: #002B5B;
    }

    .course-icon a {
        font-weight: bold;
        color: #002B5B;
        text-decoration: none;
    }

    .course-icon:hover {
        transform: scale(1.1);
    }
/*---------------End carousel-------------------*/
.footer {
    background-color: #002B5B;
}
.footer a:hover {
    text-decoration: underline;
    color: #FFD700;
}

.footer .fa-lg {
    transition: color 0.3s;
}

 .footer .fa-lg:hover {
     color: #FFD700;
 }

.testimonial {
    text-align: center;
    padding: 30px;
}

    .testimonial img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
        border: 3px solid #f1c40f;
    }

    .testimonial h5 {
        margin: 10px 0 5px;
        font-weight: 600;
    }

    .testimonial p {
        font-style: italic;
        font-size: 0.95rem;
    }

.profession {
    color: #777;
    font-size: 0.9rem;
}
.list-group-item {
    cursor: pointer;
}

/*.content-area {
    min-height: 200px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 20px;
    background-color: #f8f9fa;
}*/
/*-------------Course css-------------*/
.banner {
    position: relative;
    width: 100%;
    height: 50vh; /* adjust height */
    background: url('https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1600&q=80') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

    .banner::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* dark overlay */
    }

.banner-content {
    position: relative;
    z-index: 1;
}

    .banner-content h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    .banner-content p {
        font-size: 1.25rem;
    }


/*------magic--------*/


.main-heading {
    text-align: center;
    margin: 0px 0 20px;
    font-size: 2rem;
    font-weight: 700;
    color: orange;
    padding-top: 32px;
}

.magic-section {
    display: flex;
    gap: 30px;
    margin: 20px auto 50px;
    max-width: 1100px;
}



#CourseList, #magicList .list-group-item {
    border: none;
    margin: 12px 0;
    border-radius: 40px;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

 #magicList .list-group-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

        /* Year Colors */
        #CourseList .list-group-item:nth-child(1), #magicList .list-group-item:nth-child(1) {
            background: linear-gradient(90deg, #002b5b, #ffa500);
        }

        #CourseList .list-group-item:nth-child(2), #magicList .list-group-item:nth-child(2) {
            background: linear-gradient(90deg, #ffa500, #2ecc71);
        }

        #CourseList .list-group-item:nth-child(3), #magicList .list-group-item:nth-child(3) {
            background: linear-gradient(90deg,#002b5b,#ffa500  );
        }

        #CourseList .list-group-item:nth-child(4), #magicList .list-group-item:nth-child(4) {
            background: linear-gradient(90deg, #2ecc71,#002b5b);
        }
        #CourseList .list-group-item:nth-child(5), #magicList .list-group-item:nth-child(1) {
            background: linear-gradient(90deg, #002b5b, #ffa500);
        }

/* Content box */
.content-area {
    flex: 1;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 25px 30px;
    min-height: 360px;
    transition: all 0.4s ease;
    text-align: center;
    margin-bottom: 26px;
}

    .content-area img {
        max-width: 120px;
        margin-bottom: 15px;
    }

    .content-area h5 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: #002b5b;
    }

    .content-area p {
        font-size: 1rem;
        color: #333;
        line-height: 1.6;
    }

/* Animation effect when content changes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.heading-4 {
    text-align: center;
    margin: 20px 0 20px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #17b562;
}



.course-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    margin-top: 50px;
}

/* Middle course list */
#CourseList {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 280px;
}

    #CourseList .list-group-item {
        border: none;
        margin: 15px 0;
        border-radius: 35px;
        padding: 15px 25px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        color:#fff;
    }

.icon-box {
    font-size: 1.6rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.text-box {
    flex-grow: 1;
    text-align: left;
}

/* Glow Effect */
#CourseList .list-group-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 60%);
    transform: rotate(25deg);
    opacity: 0;
    transition: opacity 0.5s;
}

#CourseList .list-group-item:hover::before {
    opacity: 1;
    animation: shine 1s forwards;
}

#CourseList .list-group-item:hover {
    transform: scale(1.08);
}

@keyframes shine {
    from {
        transform: translateX(-100%) rotate(25deg);
    }

    to {
        transform: translateX(100%) rotate(25deg);
    }
}

/* Detail boxes */
.detail-box {
    width: 580px;
    background: #1a1a2e;
    color: white;
    padding: 25px;
    margin-top: 35px;
    border-radius: 10px;
    animation: fadeIn 0.4s ease-in-out;
    height: 450px;
}

    .detail-box h3 {
        margin-bottom: 10px;
        font-size: 1.2rem;
        border-bottom: 1px solid gray;
        padding-bottom: 5px;
    }

    .detail-box ul {
        margin: 0;
        padding-left: 20px;
    }

        .detail-box ul li {
            margin: 8px 0;
        }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --------------Faq accent------------------------ */


.accordion-item {
    border: 1px solid #002B5B; /* Accent border */
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: #002B5B;
    color: #fff;
    font-weight: 500;
}

    .accordion-button:not(.collapsed) {
        background-color: #ffc107;
        color: #000;
    }

.accordion-body {
    background-color: #1a1a2e;
    color: #f8f9fa;
}

.faq-image {
    border-radius: 12px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.6);
}

.btn-theme {
    background-color: orange;
    color: #000;
    font-weight: bold;
}

    .btn-theme:hover {
        background-color: #e0a800;
        color: #fff;
    }

/*-----------About Section ------------*/
.about-section {
    padding: 70px 20px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

    .about-section h2 {
        font-weight: 600;
        color: #003ba3;
        margin-bottom: 20px;
    }

    .about-section p {
        color: #555;
        line-height: 1.8;
        font-size: 1rem;
    }

    .about-section ul {
        margin-left: 20px;
        color: #333;
    }

        .about-section ul li {
            margin-bottom: 10px;
        }

/* 👥 Team Section */
.team-section {
   /* background: white;*/
    padding: 70px 20px;
}

    .team-section h2 {
        color: #003ba3;
        font-weight: 700;
        margin-bottom: 40px;
    }

.team-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 8px 20px rgba(0, 59, 163, 0.2);
    }

    .team-card img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 3px solid #003ba3;
        margin-bottom: 15px;
    }

    .team-card h5 {
        color: #003ba3;
        font-weight: 600;
        margin-top: 10px;
    }

/* 🔘 Buttons */
.btn-custom {
    background-color: #003ba3;
    color: white;
    border-radius: 30px;
    padding: 12px 30px;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .btn-custom:hover {
        background-color: #001f54;
        transform: scale(1.05);
    }

.btn-outline-primary {
    border: 2px solid #003ba3;
    color: #003ba3;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #003ba3;
        color: #fff;
    }

/* ✨ Animation */
.fade-in {
    animation: fadeIn 1.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*---------------Plan Or subcription ---------------------------*/


.plan-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 25px;
    width: 400px;
    text-align: center;
    transition: 0.3s;
}

    .plan-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 20px rgba(0,0,0,0.2);
    }

    .plan-card h4 {
        color: #0b1a3a;
        margin-bottom: 15px;
    }

    .plan-card .price {
        font-size: 28px;
        font-weight: 700;
        color: #ffa500;
    }

    .plan-card ul {
        list-style: none;
        padding: 0;
        text-align: left;
        margin: 20px 0;
    }

        .plan-card ul li {
            padding: 5px 0;
        }

.subscribe-btn {
    background-color: #0b1a3a;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: 0.3s;
}

    .subscribe-btn:hover {
        background-color: orangered;
        color: #000;
    }

p{
    font-size:19px !important;
}


