@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Jost:ital,wght@0,100..900;1,100..900&family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap');

* {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    text-decoration: none !important;
}

@media(max-width:425px) {
    .row {
        --bs-gutter-x: 0px;
    }
}

body {
    overflow-x: hidden !important;

}

#about_section {
    scroll-margin-top: 100px !important;
}

#about_section,
#our_facilities,
#event-section {
    scroll-margin-top: 80px;
    /* Apne navbar ki height ke hisab se adjust karein */
}

span {
    color: #002147;
}

.span_2 {
    color: #ff7300;
    font-size: 20px;
}

.span_3 {
    color: #ff7300;
    font-size: 30px;
}

@media(max-width:500px) {
   .span_2 {
    font-size: 12px;
  }
 .span_4 {
      font-size: 12px;
 }
 .span_3 {
     font-size: 12px;
 }
}
.top-header {
    background: #002147;
    font-size: 0.9rem;
}

.top-left a {
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.top-left a:hover {
    color: #2eca7f;
}

.top-right i {
    font-size: 1.2rem;
}

.text-accent {
    color: #ff7300;
}

@media (max-width: 991px) {
    .top-header {
        display: none !important;
    }
}

.announcement-bar {
    display: flex;
    align-items: center;
    background-color: #002147;
    color: white;
    padding: 0px 20px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.announcement-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 20px;
}

.announcement-text {
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

.announcement-text p {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
    white-space: nowrap;
    text-align: center;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* custome button design  */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    position: relative;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
    text-decoration: none !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(0, 200, 150, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 200, 150, 0);
    }
}

.btn-11 {
    background: var(--green);
}

.btn-11:hover {
    animation: pulse 1s ease infinite;
    color: white;
    text-decoration: none;
}


@media(max-width:1024px) {
    .head_center_right button {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

@media(max-width:768px) {
    .haeder_center {
        display: none;
    }
}

/* header center css end */
/* header bottom css stert */
.head_bootom {
    background-color: #fff;
    color: #002147 !important;
}



/* Individual items */
.nav_bar_dropdown .dropdown-item {
    font-size: 15px;
    color: #333;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-bottom: 1px dashed #ddd;
}

/* Remove last item border */
.nav_bar_dropdown .dropdown-item:last-child {
    border-bottom: none;
}

/* Hover effect */
.nav_bar_dropdown .dropdown-item:hover {
    background-color: #2eca7f;
    color: #002147 !important;
}

/* Arrow toggle fix (Bootstrap 5) */
.navbar-nav .dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: middle;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav_bar_dropdown li a:hover {
    background-color: #f9be4d !important;
}

.nav_bar i {
    font-size: 13px;
}

.nav_bar li a {
    font-size: 13px;
    font-weight: 500;
    color: #002147 !important;
}

.nav_bar {
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
}


.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.nav-item.dropdown .dropdown-menu {
    transition: all 0.9s;
}

.nav_bar i {
    font-size: 13px;
}

.nav_bar li a {
    font-size: 16px;
    font-weight: 500;
}

.nav_bar_dropdown li a:hover {
    background-color: #e9f0f9 !important;
}

@media(max-width:1024px) {
    .searchBox:hover input {
        width: 175px;
    }
}

.head_bootom {
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

/* When scrolled — sticky with shadow + animation */
.head_bootom.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0px 0px !important;
}
@media(max-width:500px) {
   .navbar-expand-lg .navbar-nav .nav-link {
    padding: 5px 2px !important;
 }
   
}
/* Navbar background with gradient */
/* .navbar {
  background: linear-gradient(135deg, #002147, #005f9e);
  padding: 12px 0;
} */

/* Main nav links */
.navbar .nav-link {
    color: #002147 !important;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Hover effect for nav links */
.navbar .nav-link:hover {
    color: #ff7300 !important;
    transform: translateY(-2px);
}

/* Dropdown menu */
.nav_bar_dropdown {
    border: none;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Hover underline + shift */
.dropdown-menu .dropdown-item:hover {
    color: #002147;
    padding-left: 28px;
}

.dropdown-menu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 0;
    height: 2px;
    background-color: #ff7300;
    transition: width 0.3s ease;
}

.dropdown-menu .dropdown-item:hover::before {
    width: 15px;
}

/* Sidebar popup hidden initially */
.apply-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    /* hidden */
    width: 400px;
    height: 100%;
    background: linear-gradient(200deg, #002147, #005c80ff);
    color: white;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.6);
    transition: right 0.4s ease;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    border-left: 4px solid #ff6600;
}
@media (max-width: 575px) {
  .apply-sidebar {
     width: 385px;
  }
}
/* Show sidebar */
.apply-sidebar.active {
    right: 0;
    top: 0;
}

/* Header */
.apply-sidebar .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.apply-sidebar .sidebar-header h4 {
    font-weight: bold;
    color: #ffcc00;
}

.apply-sidebar .close-btn {
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    transition: 0.3s;
}

.apply-sidebar .close-btn:hover {
    color: #ff6600;
}

/* Input fields - Stylish */
.apply-sidebar .form-control,
.apply-sidebar .form-select,
.apply-sidebar textarea {
    background: rgba(250, 250, 250, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease-in-out;
}

/* Placeholder White */
.apply-sidebar .form-control::placeholder,
.apply-sidebar .form-select::placeholder,
.apply-sidebar textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

/* On focus animation */
.apply-sidebar .form-control:focus,
.apply-sidebar .form-select:focus,
.apply-sidebar textarea:focus {
    background: linear-gradient(135deg, #003d66, #005c80);
    border-color: #ffecdf;
    box-shadow: 0 0 15px rgba(255, 207, 175, 0.5);
    transform: scale(1.02);
}

/* Label styling */
.apply-sidebar .form-label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.5px;
}


/* header bottom css end */
/* hero_section css start  */
.hero_section {
    position: relative;
}


.carousel-item img {
    height: 80vh;
    object-fit: cover;
    filter: brightness(20%);
}

.carousel-caption {
    bottom: 10%;
}

/*.carousel-caption h1 {*/
/*    font-size: clamp(1.5rem, 4vw, 3rem);*/
    /* Responsive font size */
/*}*/

/*.carousel-caption p {*/
/*    font-size: clamp(1rem, 2vw, 1.25rem);*/
/*}*/

.carousel-caption h1 {
  font-size: 28px; /* default (desktop/laptop) */
}

.carousel-caption p {
  font-size: 16px;
}

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
     .carousel-caption h6 {
    font-size: 20px;
  }
  .carousel-caption h1 {
    font-size: 24px;
  }
  .carousel-caption p {
    font-size: 15px;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
     .carousel-caption h6 {
    font-size: 18px;
  }
  .carousel-caption h1 {
    font-size: 20px;
  }
  .carousel-caption p {
    font-size: 14px;
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
      .carousel-caption h6 {
    font-size: 13px;
  }
  .carousel-caption h1 {
    font-size: 15px;
  }
  .carousel-caption p {
    font-size: 13px;
  }
}

@media (max-width: 500px) {
  .hero_section {
    height: 50vh;
  }
  .carousel-item img {
    height: 50vh;
    object-fit: cover;
    filter: brightness(20%);
 }
}
/* hero_section css end  */
/* about section css start */


.underline {
    background-color: #000000;
    height: 2px;
    width: 120px;
}

.underline1 {
    background-color: #000000;
    height: 2px;
    width: 140px;
}

.cstm_about_text {
    position: relative;
}

.cstm_about_text p:last-child {
    position: absolute;
    bottom: -20px;
    background-color: white;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    color: #f9be4d;
}

.cstm_about p:nth-child(2),
.cstm_about p:last-child {
    font-size: 18px;
}

.about_coures i {
    color: #002147;
}



@media(max-width:1024px) {


    .cstm_about p:nth-child(2),
    .cstm_about p:last-child {
        font-size: 15px;
        padding: 0px !important;
    }
}



/* about section css end */
.cstm_cards {
    position: relative;
    overflow: hidden;
    /* overlay andar hi rahe */
    z-index: 1;
    transition: transform .3s ease, box-shadow .3s ease;
    width: auto;
    height: 250px;
}

/* Overlay shutter */
.cstm_cards::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(80deg, #013d83, #ff7300) !important;
    transform: translateY(-100%);
    /* card ke upar hidden */
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    z-index: -1;
    /* text ke neeche */
}

/* Hover state */
.cstm_cards:hover::before {
    transform: translateY(0);
    /* neeche slide ho jaayega */
}

.cstm_cards:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
    /* text white for contrast */
}

.cstm_cards:hover i {
    color: #fff !important;
}

.cstm_cards i {
    font-size: 40px;
    padding: 20px 0px;
    color: #002550;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cstm_cards i,
.cstm_cards p {
    position: relative;
    z-index: 2;
    /* content hamesha overlay ke upar dikhe */
    transition: color .3s ease;
}

/* section 3 css start */
.cstm_coures_btn {
    background-color: white;
    color: black !important;
    border: 1px solid gray;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: capitalize;
    transition: all 0.5s;
    padding: 10px 20px !important;
    border-radius: 10px !important;
}

.cstm_coures_btn.active {
    background-color: #002147;
    color: white !important;
    border-color: #002147;
}

.cstm_coures_btn:hover {
    background-color: #002147;
    color: white !important;
}

.card-body ul {
    padding-left: 0;
    margin-bottom: 0.75rem;
}

.card-body ul li {
    font-size: 14px;
    margin-bottom: 4px;
}

.card-img-top {
    position: relative;
    display: block;
}


.cstm_card_text {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    cursor: pointer;
    transition: all.6s;
}

.cstm_card_text:hover {
    color: #002147;
}

.cstm_coures_icon p {
    font-size: 15px;
}

.cstm_coures_icon p i {
    color: #f9be4d;
    font-size: 20px;
}

.course_card {
    border: none;
    box-shadow: 2px 2px 5px rgb(235, 235, 235);
    width: auto;
    height: 400px;
}

.cou_img_box {
    width: 100%;
    height: 230px;
}

.cou_img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width:1024px) {
    .course_card {
        /* padding: 10px !important; */
    }

    .cstm_coures_icon p {
        font-size: 13px;
    }

    .cstm_coures_btn {
        margin: 0px !important;
        padding-left: 19px !important;
        padding-right: 19px !important;
    }
}

@media (max-width:768px) {
    .cstm_coures_text {
        text-align: center;
    }

}

@media(max-width:426px) {
    .cstm_coures_btn {
        margin-top: 20px !important;
        display: block;
        width: 100%;
        margin: 6px auto;
    }

}

@media (max-width: 375px) {
    .cstm_coures_btn {
        display: block;
        width: 100%;
        margin: 6px auto;
    }
}

/* section 3 css end */
/* section 4 css start */
.cstm_bg_img {
    position: relative;
    /* background-image: url("./img/bg.jpg"); */
    background-size: cover;
    background-position: top;
    z-index: 1;
}

.cstm_bg_img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.cstm_text p:first-child {
    font-size: 40px;
    font-weight: 600;
}

.cstm_text p:last-child {
    font-weight: 600;
}

.cstm_ser_btn {
    text-align: center;
    width: 100%;
}

.prev_btn,
.next_btn {
    background-color: #f36371;
    border: none;
    color: white;
    padding: 8px 16px;
}

.slider-wrapper {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.cstm_service_card,
.cstm_service_book {
    background-color: transparent;
    border: 2px solid white;
    transition: all 0.6s;
    text-align: center;
    color: white;
    padding: 20px;
    margin: 0 10px;
}

.cstm_service_card:hover {
    border-color: #f36371;
}

.cstm_service_book:hover {
    border-color: #f9be4d;
}

.cstm_service_card h5:hover,
.cstm_service_book h5:hover {
    color: #f36371;
}

.cstm_service_atom,
.cstm_service_icon {
    font-size: 50px;
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
}

.cstm_service_atom {
    background-color: #f9be4d;
}

.cstm_service_icon {
    background-color: #f36371;
}

.cstm_service_card a,
.cstm_service_book a {
    color: white;
    text-decoration: none;
}

.cstm_service_card a:hover {
    color: #f36371;
}

.cstm_service_book a:hover {
    color: #f9be4d;
}

/* Responsive adjustments */
@media(max-width: 768px) {
    .cstm_text p:first-child {
        font-size: 24px;
    }

    .cstm_text p:last-child {
        font-size: 14px;
        padding: 0 10px;
    }

    .cstm_service_card,
    .cstm_service_book {
        margin: 0 5px;
    }
}

/* section 4 css end */
/* section 5 css start */
.cstm_img_bg {
    position: relative;
    background-image: url('../img/course-search-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

.cstm_img_bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.cstm_img_bg>* {
    position: relative;
    z-index: 3;
}


.cstm_search {
    clip-path: polygon(83% 0, 100% 50%, 83% 100%, 0 100%, 0 0);
    background-color: #f9be4d;
}

.cstm_search p:last-child {
    font-size: 25px;
    font-weight: 600;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: transparent !important;
}


.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .fa-folder-open,
.has-search .fa-server {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #f9be4d;
}

.cstm_form {
    padding-left: 40px !important;
}

.cstm_btn {
    background-color: #f9be4d;
    border-color: transparent;
    font-weight: 600;
    transition: all .6s;
}

.cstm_btn:hover {
    background-color: #f36371;
    color: white;
}


@media(max-width:1024px) {
    .cstm_search {
        padding: 0px 39px !important;
    }

    .cstm_cs {
        padding: 20px !important;
    }
}

@media(max-width:768px) {
    .cstm_search {
        clip-path: none;
        width: 100%;
        margin: 0px !important;
    }


}

/* section 5 css end */
/* section 6 css start */
.img_bg {
    background-image: url('..//img/counter_background.jpg');
}

.cstm_counter p:last-child {
    font-weight: 500;
}

.cstm_count p:first-child {
    font-size: 35px;
    font-weight: 600;
    color: #f36371;
}

.text {
    font-size: 15px;
    text-transform: uppercase;
}

.glow-on-hover {
    border-color: transparent;
    background: #f36371 !important;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;

}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f36371;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* section 6 css end */

/* Why Choose Us section css start  */
.why_choose_section {
    background: linear-gradient(135deg, #0021471b, rgba(0, 92, 128, 0.079));
}

/* Card styling */
.choose-card {
    background: #fafcfe;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 0px 20px;
}

.choose-card i {
    font-size: 70px;
    padding: 20px 0px;
    color: #00244d;
}

.choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.choose-card h5 {
    margin-top: 8px;
}

/* Icon Image with orange accent */
.icon-img {
    width: 65px;
    filter: invert(42%) sepia(98%) saturate(2200%) hue-rotate(5deg) brightness(100%) contrast(95%);
}

/* Button */
.btn-learn {
    display: inline-block;
    margin-top: 10px;
    background-color: #ff7300;
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-learn:hover {
    background-color: #e85f00;
    transform: translateY(-2px);
}

.why_img_box {
    width: 100%;
    height: 190px;
}

.why_img_box .why_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Choose Us section css end  */

/* section 8 css start */
.event_section {
    background-color: #f2f2f2;
}

.event-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-img-container {
    overflow: hidden;
    height: 250px;
}

.event-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-img-container:hover img {
    transform: scale(1.05);
}

.event-date {
    background-color: #002147 !important;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    width: 100px;
    height: 80px;
    border-radius: 5px;
}

.event-details {
    padding: 20px;
}

.event-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.event-info {
    font-size: 0.9rem;
    color: #333;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.event-description {
    margin-top: 10px;
    color: #444;
    font-size: 0.9rem;
}


/* about us css start */
.cstm_about_bg {
    position: relative;
    background-image: url('../img/back.webp');
    background-size: cover;
    background-position: top;
    z-index: 0;
}

.cstm_about_bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 4, 16, 0.8);
    z-index: 1;
}

.cstm_about_bg>* {
    position: relative;
    z-index: 2;
}


.cstm_about_bg h1 {
    font-weight: 600;
}

.cstm_about_bg a:first-child {
    font-weight: 600;
    font-size: 18px;
}

.cstm_about_bg a:nth-child(2) {
    font-weight: 600;
    font-size: 18px;
    color: #ff7300;
}

.cstm_about_bg a:last-child {
    font-weight: 600;
    font-size: 18px;
    color: #ff7300;
}

/* about us css end */



/* contact css start */
.cstm_head_lft button {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: rgb(137, 137, 137);
    border-color: transparent;
    transition: all .6s;
    color: #fff !important;
}

.cstm_head_lft button:hover {
    color: #fff;
    background-color: #002147;
}

/* custome button design  */
.custom-input {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15),
        -3px -3px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    background: #f9f9f9;
}

/* Hover effect */
.custom-input:hover {
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.2),
        -5px -5px 12px rgba(255, 255, 255, 0.9);
}

/* Bounce animation on focus */
.custom-input:focus {
    outline: none;
    border-color: #007bff;
    animation: bounce 0.3s ease;
    box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.2),
        inset -2px -2px 6px rgba(255, 255, 255, 0.9);
}

/* Bounce Keyframe */
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.info-card h6 {
    color: #fff !important;
    font-size: 25px !important;
}

.info-card {
    transition: all 0.3s ease;
    background: #002147;
    border: 1px solid #eee;
    height: 150px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #ddd;
}
@media (max-width: 500px) {
 .info-card {
    height: 180px;
   }

  }

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-box i {
    transition: transform 0.3s ease;
}

.info-card:hover .icon-box i {
    transform: scale(1.2);
}

/* contact css end */

/* gallery css start */
.cstm_gallery_img {
    position: relative;
    overflow: hidden;
    width: 300px;
}
@media (max-width: 500px) {
  .cstm_gallery_img {
    width: 350px;
    
   }
  }
.cstm_gallery_img img {
    width: 100%;
    display: block;
}

.cstm_gallery_img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002147;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transform: scale(0);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.cstm_gallery_img:hover .overlay {
    transform: scale(1);
    opacity: 0.8;
}

.cstm_gallery_img .plus-icon {
    position: absolute;
    bottom: 0px;
    right: 0px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease 0.2s;
    pointer-events: none;
    background-color: #002147;
}

.cstm_gallery_img:hover .plus-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Popup background */
.img-popup {
    display: none;
    /* initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup content image */
.img-popup img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

/* Close button */
.img-popup .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

/* Zoom animation */
@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* gallery css end */



/* contact us css start */
.faculty-section {
    padding: 50px 20px;
    background: #f9fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #2c3e50;
    /* Dark heading color */
}

.table-container {
    overflow-x: auto;
}

.faculty-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Table Header */
.faculty-table thead {
    background: #ff7300;
    /* Bright Red-Pink */
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Table Cells */
.faculty-table th,
.faculty-table td {
    padding: 12px 15px;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid #e0e0e0;
}

/* Alternate Row Color */
.faculty-table tbody tr:nth-child(even) {
    background: #f4f6f9;
    /* Light grey instead of muddy brown */
}

/* Hover Effect */
.faculty-table tbody tr:hover {
    background: #ffe082;
    /* Soft yellow highlight */
    transition: 0.3s ease;
    cursor: pointer;
}

.contact-section {
    background: url('../img/side-contact-image.png') no-repeat right center;
    background-size: 400px auto;
    /* image size */
    border-radius: 15px;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    .contact-section{
    padding: 60px 15px !important;

    }
}
.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    /* overlay effect */
    z-index: 1;
}

.contact-section .info-card {
    position: relative;
    z-index: 2;
    /* content upar rahe */
}

.contact-section h6 {
    position: relative;
    z-index: 2;
    /* content upar rahe */
}

/* contact us css end */




/* main_btn start*/
.main_btn {
    background: linear-gradient(80deg, #013d83, #ff7300) !important;

    &::before,
    &::after {
        content: "" !important;
        display: block !important;
        margin: 0 !important;
        opacity: 1 !important;
        transition: var(--transition);
        position: absolute;
        width: 50%;
        height: 100%;
        background: linear-gradient(135deg, #ff7300d6, #004ea7);
        border-radius: 50px;
        transition: all 0.6s ease;
        z-index: -1;
        top: 0;
    }

    &:before {
        --n: 1;
        left: calc((var(--n) - 1)* 50%);
        transform: translateY(150%);
        transition-delay: calc((var(--n) - 1)* 0.1s);
    }

    &:after {
        --n: 2;
        left: calc((var(--n) - 1)* 50%);
        transform: translateY(150%);
        transition-delay: calc((var(--n) - 1)* 0.1s);
    }

    &:hover {

        &::before,
        &::after {
            transform: translateY(0) scale(2);
        }
    }

}

.main_btn_2 {
    background: #ff7300;

    &::before,
    &::after {
        content: "" !important;
        display: block !important;
        margin: 0 !important;
        opacity: 1 !important;
        transition: var(--transition);
        position: absolute;
        width: 50%;
        height: 100%;
        background: #00244d;
        border-radius: 50px;
        transition: all 0.6s ease;
        z-index: -1;
        top: 0;
    }

    &:before {
        --n: 1;
        left: calc((var(--n) - 1)* 50%);
        transform: translateY(150%);
        transition-delay: calc((var(--n) - 1)* 0.1s);
    }

    &:after {
        --n: 2;
        left: calc((var(--n) - 1)* 50%);
        transform: translateY(150%);
        transition-delay: calc((var(--n) - 1)* 0.1s);
    }

    &:hover {

        &::before,
        &::after {
            transform: translateY(0) scale(2);
        }
    }

}

/* main_btn close-- */

/* hero_section css start  */


.item {
    width: 100%;
    height: 80vh !important;
    position: relative;
}

/* Carousel navigation */
.owl-carousel .owl-nav [class*='owl-'] {
    transition: all 0.3s ease;
}

.owl-carousel .owl-nav [class*='owl-'].disabled:hover {
    background-color: #D6D6D6;
}

.owl-carousel {
    position: relative;
}

.owl-carousel .owl-next,
.owl-carousel .owl-prev {
    width: 22px;
    height: 40px;
    margin-top: -20px;
    position: absolute;
    top: 45%;
    color: #fff;
    font-size: 2rem;
}

.owl-carousel .owl-prev {
    left: 10px;
}

.owl-carousel .owl-next {
    right: 10px;
}

/* Slide container */
.slider-item {
    position: relative;
    height: 100%;
    overflow: hidden;
}

/* Slide image */
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay effect using separate div */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.712);
    z-index: 1;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 20%;
    z-index: 2;
    transform: translate(-50%, -50%);
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
}

/* === Responsive text for smaller screens === */
.slider-caption h1 {
    font-size: 3rem;
    line-height: 2.4rem;
    font-weight: bold;
}

.slider-caption p {
    font-size: 0.95rem;
    margin-top: 10px;
}

/* === Button stacking on small screens === */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.btn-group .btn {
    min-width: 130px;
    font-size: 0.9rem;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* === Media query for small screens (≤ 576px) === */
@media (max-width: 576px) {
    .slider-caption h1 {
        font-size: 1.6rem;
        line-height: 2rem;
    }

    .slider-caption p {
        font-size: 0.85rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slider-caption h1 {
        font-size: 1.8rem;
    }

    .slider-caption p {
        font-size: 0.9rem;
    }


}

/* .zoom-wrapper {
  overflow: hidden;
}

.zoom-wrapper img {
  transform: scale(1);
  transition: transform 8s ease;
}

.carousel-item.active:nth-child(odd) .zoom-wrapper img {
  transform: scale(1.1);
}

.carousel-item.active:nth-child(even) .zoom-wrapper img {
  transform: scale(0.9);
} */

.zoom-wrapper {
    overflow: hidden;
}

.zoom-wrapper img {
    transform: scale(1);
    transition: transform 8s ease;
}

.carousel-item.active .zoom-wrapper img {
    transform: scale(1.4);
}

/* hero_section css end  */
/* counter_section css start  */
.stats-section {
    background-color: #fff;
    color: #333;
}

.stats-section h1.counter {
    font-size: 48px;
    font-weight: bold;
    color: #ff7300;
    /* orange color */
}

.stats-section p {
    margin-top: 10px;
    font-weight: 500;
}

/* counter_section css end  */

.dropdown-toggle.active {
    color: #ff7300 !important;
}

.dropdown-toggle:hover {
    color: #ff7300 !important;
}

.navbar-nav a.active {
    color: #ff7300 !important;
}

.dropdown-item.active {
    background-color: #d2e7ff8b;

}



/*notice board css start */
.notice-board {
  background: #fff3e9;
  border: 2px solid #002147 !important;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.notice-board ul li a {
  text-decoration: none;
  color: #002147; 
  font-weight: 500;
  display: inline-block;
}

.notice-board ul li a:hover {
  text-decoration: underline !important;
  color: #ff7300; 
}
.view_all{
    text-decoration: underline !important;
    color: black !important;
}

/*notice board css end */