/* ----catrgory section css is here ----  */
.course-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
}

.course-title {
    font-weight: bold;
    font-size: 20px;
}

.course-badge {
    font-size: 14px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 5px;
    display: inline-block;
}

/* ---course css is here---  */

.course-card {
    border-radius: 15px;
    padding: 25px;
    color: black;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.course-icon {
    font-size: 55px;
    margin-bottom: 15px;
    color: #001444;
}

.course-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.course-desc {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.duration {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.key-points {
    font-size: 13px;
    text-align: left;
    padding-left: 20px;
    margin-bottom: 15px;
    list-style: none;
}

.key-points i {
    color: #001444;
    margin-right: 0px;
}

.enquiry-btn {
    background: #F29C1F;
    /* background: linear-gradient(135deg, #ffcc00, #9c9c9c); */
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(242, 156, 31, 0.3);
}

.enquiry-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(242, 156, 31, 0.4);
    color: white;
}

.enquiry-btn::after {
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s, right 0.3s;
}

.enquiry-btn:hover::after {
    opacity: 1;
    right: 10px;
}

/* ---welccome section css is here ---  */
/* Welcome Section */
.welcome-section {
    text-align: center;
    /* padding: 80px 20px; */
}

.welcome-section p {
    font-size: 1.1rem;
    color: #333;
    max-width: 1280px;
    margin: auto;
    opacity: 0.9;
    text-align: justify;
}

/* Cards Section */
.why-choose {
    padding: 50px 0 25px 0;
    text-align: center;
}

.our_courses {
    padding: 25px 0;
    text-align: center;
}

.categories {
    padding: 25px 0;
    text-align: center;
}

.feedback-section {
    padding: 25px 0;
    text-align: center;
}

.card {
    border: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-body {
    text-align: center;
}

.icon-box {
    font-size: 2.5rem;
    color: #001444;
    margin-bottom: 15px;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .heading_1 {
        text-align: left;   

    }
    .heading-h1{
        text-align: left;
       
    }
}

/* Carousel View Code */
    .carousel {
    margin: 3rem auto;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 1rem;
    }

    .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    }

    .carousel-slide {
    min-width: 100%;
    text-align: center;
    }

    .carousel-slide img {
    width: 100%;
    height: 11em;
    border-radius: 1rem;
    }

    .features {
    margin: 50px 0 25px 0;
    background-color: var(--background);
    color: #000;
    text-align: center;
    padding: 1rem 1rem;
    border-radius: 1rem;
    }

    .feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    }

    .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 calc(20% - 2rem);
    max-width: calc(20% - 2rem);
    }

    @media (max-width: 1024px) {
        .feature-item {
            flex: 1 1 calc(33.33% - 2rem);
            max-width: calc(33.33% - 2rem);
        }
    }

    @media (max-width: 768px) {
        .feature-item {
            flex: 1 1 calc(50% - 2rem);
            max-width: calc(50% - 2rem);
        }
    }

    .feature-item img {
    width: 40px;
    height: 40px;
    }

    .feature-item span {
    font-size: 0.9rem;
    }

    @media (min-width: 1024px) {
        .carousel-slide img {
        width: 100%;
        height: 20em;
        border-radius: 1rem;
        }
    }
    .feedback-carousel {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: auto;
    }

    .feedback-track {
    display: flex;
    width: max-content;
    }

    .feedback-card {
    background-color: #eef4ff;
    padding: 1rem;
    border-radius: 1rem;
    width: 320px;
    height: 260px;
    flex-shrink: 0;
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: black;
    text-align: left;
    }

    .feedback-card .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    }

    .feedback-card img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    }

    .feedback-card .author-info {
    display: flex;
    flex-direction: column;
    }

    .feedback-card .author-info strong {
    font-size: 1rem;
    color: black;
    }

    .feedback-card .author-info span {
    font-size: 0.8rem;
    color: black;
    }
    .modal-content {
        border-radius: 20px;
        background: linear-gradient(to right, #ffffff, #d6ecff);
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }
      .modal-header {
        border: none;
      }
      .modal-title {
        font-weight: 600;
        font-size: 24px;
      }
      .form-control, .form-select {
        border-radius: 25px;
        padding: 14px 16px;
        background-color: #f7f7f7;
        border: 1px solid #d0d0d0;
        font-size: 14px;
      }
      .form-control:focus, .form-select:focus {
        background-color: #fff;
        border-color: #004aad;
        box-shadow: none;
      }
      .submit-btn {
        padding: 12px 30px;
        background: #004aad;
        color: #fff;
        border: none;
        border-radius: 25px;
        font-weight: bold;
        width: 100%;
      }
      @media (max-width: 768px) {
        .modal-body img {
          display: none;
        }
      }
      .card {
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        .card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        }
        .card-content {
        padding: 1rem;
        }
        .card-title {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
        }
        .card-description {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 1rem;
        }
        .card button {
        width: 100%;
        padding: 0.875rem 5.58938rem 0.625rem 5.64813rem;
        justify-content: center;
        align-items: center;
        background: linear-gradient(90deg, #F39402 0%, #F83600 100%);
        color: white;
        border: none;
        border-radius: 0.5rem;
        cursor: pointer;
        font-weight: bold;
        box-shadow: 0px 4px 10px 0px rgba(242, 156, 31, 0.30);
        }
        .card button:hover {
            box-shadow: 0 6px 15px rgba(242, 156, 31, 0.4);
            color: white;
        }
        .card button::after {
            position: absolute;
            right: 15px;
            opacity: 0;
            transition: opacity 0.3s, right 0.3s;
        }

        .card button:hover::after {
            opacity: 1;
            right: 10px;
        }

        .heading-h1 {
            color: #001444;
            font-weight: bold;
            font-size: 2rem;
            margin-bottom: 30px;
            background-color: #f9f9f9;
            padding: 1rem;
            border-radius: 20px;
        }

        .course-section {
        padding: 0 20px 20px 20px;
        background-color: #fff;
        }

        .course-heading {
        font-size: 2.5rem;
        font-weight: 700;
        color: #001444;
        }

        .course-text {
        font-size: 1rem;
        color: #333;
        margin-top: 20px;
        text-align: justify;
        }

        .course-image img {
        width: 100%;
        border-radius: 10px;
        }

        .jt_card {
        background-color: white;
        padding: 20px;
        border-radius: 16px;
        position: relative;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        height: 100%;
        }

        .jt_card img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 4px solid gold;
        object-fit: cover;
        margin: auto;
        }

        .jt_name {
        font-size: 20px;
        color: #003d91;
        margin: 10px 0 5px;
        }

        .jt_exam {
        font-size: 14px;
        color: #333;
        }
        .jt_category-tag {
            background: #e8f4ff;
            color: #0056b3;
            padding: 4px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin: auto;
            margin-bottom: 10px;
            width: fit-content;
        }

        .btn-custom {
            border: none;
            font-size: 16px;
            border-radius: 8px;
            transition: 0.3s;
            background: linear-gradient(90deg, #F39402 0%, #F83600 100%);
            padding: 10px 20px;
            display: block;
            width: fit-content;
            margin: auto;
            color: white;
        }

        .btn-custom:hover {
            background-color: var(--primary);
            box-shadow: 0 6px 15px rgba(242, 156, 31, 0.4);
            color: white;
        }

      /* .cr_card {
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .cr_card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        .cr_card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        }
        .cr_card-content {
        padding: 1rem;
        }
        .cr_card-title {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
        }
        .cr_card-description {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 1rem;
        }
        .cr_card button {
        width: 100%;
        padding: 0.6rem;
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-weight: bold;
        transition: background-color 0.3s;
        }
        .cr_card button:hover {
            box-shadow: 0 6px 15px rgba(242, 156, 31, 0.4);
            color: white;
        }
        .cr_card button::after {
            position: absolute;
            right: 15px;
            opacity: 0;
            transition: opacity 0.3s, right 0.3s;
        }

        .cr_card button:hover::after {
            opacity: 1;
            right: 10px;
        } */
