.inp-1 {
    padding: 8px 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 5px 0 0 5px !important;
    min-width: 250px !important;
    outline: none !important;
}

.search-btn {
    padding: 8px 20px !important;
    background-color: #dc3545 !important;
    /* red */
    color: #fff !important;
    border: none !important;
    border-radius: 0 5px 5px 0 !important;
    transition: 0.3s !important;
}

.search-btn:hover {
    background-color: #b52a37 !important;
    /* darker red */
}


.course-img {
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
}

.course-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* fills box without stretching */
    display: block !important;
}

/* .sub-heading h3::before {
    content: "";
    position: absolute;
    top: 50%;
    margin-left: -60px;
    width: 44px;
    height: 1px;
    background: black;
} */



.course-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    /* desktop: right-aligned */
    gap: 40px !important;
    /* desktop gap */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.course-tabs .nav-item {
    flex: 0 1 auto !important;
    /* allow shrinking */
    text-align: center !important;
}

.course-tabs .veiw-cource {
    background: transparent !important;
    border: none !important;
    color: #002D62 !important;
    padding: 0 0 5px 0 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    transition: color 0.3s, border-bottom 0.3s !important;
    border-radius: 0 !important;
    border-bottom: 2px solid #002D62 !important;
}

.course-tabs .veiw-cource:hover {
    color: #002D62 !important;
}

.course-tabs .veiw-cource.active {
    color: #ff3131 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid transparent !important;
    /* keep same height */
}



.sub-heading-box {
    display: inline-block !important;
    background: #fff4f4 !important;
    color: #333 !important;


    padding: 6px 14px !important;
    border-radius: 6px !important;
    border: 1px solid #fff4f4 !important;
}

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
}

.testimonial-thumb {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e63946;
}

.testimonial-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fill container, maintain aspect */
    display: block;
}



.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-name {
    font-weight: bold;
    margin-bottom: 3px;
    color: #222;
}

.testimonial-position {
    font-size: 14px;
    color: #888;
}


/* ensure consistent box-sizing inside the carousel */
.owl-placement,
.owl-placement *,
.owl-placement *::before,
.owl-placement *::after {
    box-sizing: border-box;
}

/* give each owl item a small left/right padding (half of margin) */
.owl-placement .owl-item {
    padding: 0 7.5px;
    /* if your owl margin is 15px */
}

/* style for the card */
.placement-item {
    margin: 0;
    /* avoid extra margins that push content out */
    padding: 18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* image container - forces image to stay inside the card */
.placement-item .course-img {
    width: 100%;
    height: 180px;
    /* choose a fixed box height so images are consistent */
    overflow: hidden;
    /* crop inside box, not outside it */
    border-radius: 8px;
    display: block;
}

/* image fills its container cleanly */
.placement-item .course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* keeps aspect, fills box */
    display: block;
}





.student-enquiry {

    padding: 60px 0;
}

.enquiry-form {
    border: 1px solid #eee;
    transition: all 0.3s ease-in-out;
}

.enquiry-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.enquiry-form .form-control {
    border-radius: 8px;
    padding: 27px 16px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.enquiry-form .form-control:focus {
    border-color: #5762e2;
    box-shadow: 0 0 8px rgba(87, 98, 226, 0.2);
}

.enquiry-form label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.enquiry-form .text-center {
    text-align: center !important;
}

.enquiry-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.counter-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.counter-box h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #002D62;
    /* updated color */
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.counter-box p {
    color: #333;
    transition: color 0.3s ease;
}

.counter-box:hover {
    background: #002D62;
    /* blue background */
    color: #fff;
    /* text white */
    box-shadow: 0 8px 25px rgba(0, 45, 98, 0.3);
}

.counter-box:hover h2,
.counter-box:hover p {
    color: #fff;
    /* make all text white on hover */
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    gap: 15px;
}

.social-icons li {
    display: inline-block;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #002D62;
    /* brand color */
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

/* .social-icons a:hover {
    background: #fff;
    color: red;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
} */

.rotate-icon {
    transform: rotate(90deg);
    display: inline-block;
}



.entertainment-img {
    height: 450px !important;
}


.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
}

.faq-btn {
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 1.1rem;
    color: #002D62;
    /* question color */
    background: none;
    border: none;
    padding: 15px 0;
    position: relative;
    outline: none;
    transition: color 0.3s;
}

.faq-btn:hover {
    color: #5762e2;
    /* optional hover color */
}

.faq-btn::after {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s, content 0.3s;
}

.faq-btn.collapsed::after {
    content: '+';
}

.faq-btn:not(.collapsed)::after {
    content: '−';
}

.faq-content {
    padding: 10px 0 20px 0;
    color: #555;
    font-size: 0.95rem;
}

.top-section1 {
    margin-top: 51px !important;
}

/* Mobile: adjust spacing and alignment */


.mv-box {
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mv-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 45, 98, 0.2);
}

.about-contents ul {
    list-style: none;
    /* remove default bullets */
    padding: 0;
    margin: 15px 0 0 0;
    /* top margin 15px, bottom 0 */
}

.about-contents ul li {
    position: relative;
    padding-left: 28px;
    /* space for icon */
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: #666666;
    line-height: 30px;
}

.about-contents ul li::before {
    content: "\f00c";
    /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 14px;
    color: #002D62;
    /* your theme color */
}

/* .contact-section {
    padding: 60px 0;
} */

.enquiry-form,
.contact-details-box {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

}

.contact-details-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details-box li {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-details-box li i {
    color: #002D62;
    font-size: 20px;
    margin-right: 12px;
    margin-top: 3px;
}

.contact-details-box a {
    color: #002D62;
    text-decoration: none;
    font-weight: 500;
}

.contact-details-box a:hover {
    text-decoration: underline;
}

/* Gap between Form and Address */
.contact-section .col-md-6 {
    margin-bottom: 30px;
}

.entertainment-section {
    margin-top: 60px !important;

}

.student-corner1 {
    padding-bottom: 50px !important;

}

.student-corner {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.student-work {

    padding-top: 0px !important;
    padding-bottom: 50px !important;
}


.blog-card img {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.blog-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #002D62;
    margin-bottom: 12px;
}

.blog-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.blog-card .btn {
    background-color: #f55656;
    border-color: #f55656;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.blog-card .btn:hover {
    background-color: #d94444;
    border-color: #d94444;
    color: #fff;
}






.course-detail {
    padding: 60px 0 !important;
}

.course-detail h1 {
    font-size: 30px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #002D62 !important;
}

.course-detail .course-img img {
    border-radius: 10px !important;
    margin-bottom: 20px !important;
}

.course-detail p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #444 !important;
}

.sidebar-box {
    background: #f8f9fa !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
}

.sidebar-box h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: #002D62 !important;
}

.related-course-item {
    margin-bottom: 23px !important;
}

.related-course-item a {
    color: #333 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.related-course-item a:hover {
    color: #f55656 !important;
}

.btn-enquire {
    background: #002D62 !important;
    color: #fff !important;
    padding: 12px 20px !important;

    font-weight: 600 !important;
    display: block !important;
    text-align: center !important;
    margin-top: 15px !important;
    transition: 0.3s !important;
    text-decoration: none !important;
}



/* .related-course-item:hover {
    border-color: #f55656!important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1)!important;
} */

.related-course-item.active-course {
    background-color: #f55656 !important;

}

.related-course-item.active-course a {
    color: #fff !important;
}

/* .related-course-item:hover {
    border-color: #f55656!important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1)!important;
} */

.course-description ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 15px 0 !important;
}

.course-description ul li {
    position: relative !important;
    padding-left: 25px !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #444 !important;
}

.course-description ul li::before {
    content: "\2022" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #f55656 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
}



.breadcrumb {
    background: none !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
    margin-top: -52px !important;
    font-size: 14px !important;
}

.breadcrumb a {
    color: #002D62 !important;
    text-decoration: none !important;
}

.breadcrumb a:hover {
    text-decoration: underline !important;
}

.breadcrumb .active {
    color: #f55656 !important;
    font-weight: 600 !important;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #002D62 !important;
}

.placement-content p {
    margin-top: 0px !important;
}


/* Scoped styles for only this section */
.courses-section .acadamic-box {
    width: 100%;
    height: 450px;
    /* fixed height */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: 0.3s;
}

.courses-section .acadamic-box .course-img {
    width: 100%;
    height: 250px;
    /* image height */
    overflow: hidden;

    margin-bottom: 15px;
}

.courses-section .acadamic-box .course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.courses-section .acadamic-box h4 {

    line-height: 1.4;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.courses-section .acadamic-box p {
    margin-top: auto;

}

.m-top {
    margin-top: 100px !important;
}

.twitter-icon{

    margin-top: -3px !important;
}
.blender-img{

    max-width: 81% !important;
}


@media (max-width: 767px) {
    .course-tabs {
        justify-content: center !important;
        /* center tabs */
        gap: 10px !important;
        /* reduce gap */
        flex-wrap: wrap !important;
        /* allow wrapping */
    }

    .course-tabs .nav-item {
        flex: 1 1 auto !important;
        /* allow tabs to shrink and fit evenly */
        max-width: 45% !important;
        /* optional: 2 per row if more tabs */
        margin-bottom: 5px !important;
        /* small spacing for wrapping */
    }

    .counter-box {

        padding: 10px !important;
    }

    .client-carousel {
        margin-top: -59px !important;
    }

    .course-tabs .veiw-cource {
        font-size: 15px !important;
    }
}

@media (max-width: 768px) {
    /* .clnt-sectn {
        margin-bottom: -143px;
    } */

    .about-sec {
        margin-top: 24px;


    }

    .mission-vision-goal {

        margin-top: 26px !important;
    }

    .contact-section {
        padding: 0px 0;
    }
    .faq-btn {

        font-size: 16px !important;  
    }
}