* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
}

/*body {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/
.subscription-badge {
    background: #ff4d4d;
    padding: 3px 8px;
    border-radius: 5px;
    margin-right: 20px;
    color: #fff;
    font-size: 12px;
}
.input-error {
    border: 2px solid red !important;
    background-color: #fff0f0;
}
.main-content {
    flex: 1;
}
/* profile view start */
.profile-photo{
    width:100%;
    max-width:280px;
    height:320px;
    object-fit:cover;
    border-radius:10px;
    border:4px solid #ff4d6d;
}

.profile-title{
    color:#0c3c60;
    font-weight:600;
    border-bottom:2px solid #eee;
    padding-bottom:10px;
}

.profile-info p{
    font-size:15px;
    margin-bottom:8px;
}

.profile-info strong{
    color:#0c3c60;
}
/* profile view end */


body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    /*text-align: center;*/
    line-height: 1.6;
}

/* Section Styling */
/*.search-section {*/
/*    padding: 50px 20px;*/
/*}*/

.search-section h2 {
    font-size: 32px;
    color: #c91c2c; /* Red */
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.divider span {
    font-size: 24px;
    margin: 0 15px;
    color: #c91c2c; /* Red */
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #0d1b4c; /* Dark Blue */
}

/* Form Container */
.form-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    border-radius: 12px;
   // background: linear-gradient(90deg, #c91c2c, #0d1b4c);
    background-color: #c91c2c;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    text-align: left;
}

/* Form Grid */
.search-section form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 40px;
}

/* Form Group */
.search-section .form-group {
    display: flex;
    flex-direction: column;
}

.search-section .form-group label {
    font-size: 16px;
    color: #fff; /* White text on dark background */
    margin-bottom: 8px;
    font-weight: 600;
}

.search-section .form-group select {
    padding: 12px 15px;
    border: 1px solid #0d1b4c;
    border-radius: 6px;
    font-size: 15px;
    width: 100%;
    outline: none;
    transition: 0.3s;
}

.search-section .form-group select:focus {
    border-color: #c91c2c;
    box-shadow: 0 0 6px rgba(201, 28, 44, 0.6);
}

/* Buttons */
.form-buttons {
    grid-column: span 3;
    text-align: center;
    margin-top: 20px;
}

.btn {
    background: #0d1b4c; /* Dark Blue */
    color: #fff;
    padding: 12px 35px;
    margin: 8px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.btn:hover {
    background: #c91c2c; /* Red on hover */
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    form {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-buttons {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    form {
        grid-template-columns: 1fr;
    }
    .form-buttons {
        grid-column: span 1;
    }
}



.slider-container {
    width: 100%;
    overflow: hidden;
    /*border: 2px solid #ff6f61;*/
    padding: 10px 0;
    background: #f5f5f5;
}

.slider {
    display: flex;
    gap: 20px;
    animation: scroll 25s linear infinite;
}

.card {
    background: #fff;
    border: 2px solid #ff6f61;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    min-width: 250px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}
.home-page .card img{
    height: 260px !important;
}
#profile-list .card img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.card h3 {
    margin: 10px 0 5px;
}

.card p {
    color: #555;
    margin: 3px 0;
}

.profile-btn {
    margin-top: 10px;
    background: #ff6f61;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.profile-btn:hover {
    background: #e9554b;
}

/* nonstop auto scroll */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}





/*slider*/

.custom-slider {
    width: 100%;
    height: 510px;
    position: relative;
}

.custom-slider img {
    width: 100%;
    height: 500px;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-slider img:first-child {
    z-index: 1;
}

.custom-slider img:nth-child(2) {
    z-index: 0;
}

.custom-navigation {
    text-align: center;
    position: relative;
}

.custom-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.custom-active,
.custom-dot:hover {
    background-color: #717171;
}


/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-primary) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary) !important;
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
    }

    /*** Top and Bottom borders go out ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--bs-primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}
/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 58, 102, 0.9), rgba(0, 58, 102, 0.8)), url(../img/breadcrumb.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    /*padding: 100px 0 60px 0;*/
}
/*** Single Page Hero Header End ***/
.card-header.bg-primary.text-white {
    background-color: #e02454 !important;
}
li.list-group-item.active a {
    color: #fff;
}
/* search profile start */
.btn-square{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
}
#profile-list .card-img-top{
    height:350px;
    object-fit:cover;
    object-position:top;
    border-bottom:3px solid #ff4d6d;
}
#profile-list .card{
    border-radius:12px;
    overflow:hidden;
    transition:0.3s;
}

/*.card:hover{*/
/*    transform:translateY(-5px);*/
/*    box-shadow:0 10px 20px rgba(0,0,0,0.2);*/
/*}*/

.card img{
    border-bottom:3px solid #f04e6e;
}

#load-more{
    padding:10px 40px;
    border-radius:30px;
}

/* search profile end */

/*** Carousel Hero Header Start ***/
/*** Carousel Hero Header Start ***/

.carousel-header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-header .carousel,
.carousel-header .carousel-inner,
.carousel-header .carousel-item {
    width: 100%;
    height: 650px;
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
}

.carousel-header .carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Caption */
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 20px;
}

/* Arrows */
.carousel-header .carousel-control-prev-icon,
.carousel-header .carousel-control-next-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-size: 50%;
}

/* Indicators */
.carousel-header .carousel-indicators {
    bottom: 15px;
}

.carousel-header .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Tablet */
@media (max-width: 991px) {

    .carousel-header .carousel,
    .carousel-header .carousel-inner,
    .carousel-header .carousel-item {
        height: 500px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .carousel-header .carousel,
    .carousel-header .carousel-inner,
    .carousel-header .carousel-item {
        height: 320px;
    }

    .carousel-header .carousel-inner .carousel-item img {
        object-fit: cover;
    }

    .carousel-header .carousel-control-prev-icon,
    .carousel-header .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }

    .carousel-caption h1 {
        font-size: 24px !important;
    }

    .carousel-caption p {
        font-size: 14px !important;
    }
}

/* Small Mobile (iPhone etc) */
@media (max-width: 480px) {

    .carousel-header .carousel,
    .carousel-header .carousel-inner,
    .carousel-header .carousel-item {
        height: 188px;
    }

    .carousel-header .carousel-control-prev,
    .carousel-header .carousel-control-next {
        display: none;
    }

    .carousel-caption {
        padding: 10px;
    }
}

/*** Carousel Hero Header End ***/


/*** Counter Facts Start ***/
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/breadcrumb.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);

}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px;
    }
}
/*** Counter Facts End ***/


/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/


/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--bs-secondary) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/


/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}
/*** Country End ***/


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}
/*** training End ***/


/*** Contact Start ***/
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-secondary) !important;
}
/*** copyright end ***/





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #f2f6ff, #eaf3ff);
    color: #333;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.4s ease;
}

.about-container:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.about-image {
    flex: 1;
    min-width: 350px;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1.2;
    padding: 40px;
}

.about-text h2 {
    font-size: 34px;
    color: #1e40af; /* main heading blue */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-text h2 span {
    color: #e53935; /* red name color */
}

.divider {
    width: 80px;
    height: 4px;
    background: #1e40af; /* blue divider */
    border-radius: 5px;
    margin-bottom: 25px;
}

.about-text h3 {
    color: #1e40af;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    text-align: justify;
}

.highlight {
    color: #e53935; /* red highlight for name */
    font-weight: 600;
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-text {
        padding: 25px;
    }
    .divider {
        margin: 0 auto 20px auto;
    }
    .about-image img {
        width: 90%;
        max-width: 400px;
    }
}
/* Section Styling */
/*.search-section {*/
/*    padding: 50px 20px;*/
/*}*/

.search-section h2 {
    font-size: 32px;
    color: #c91c2c; /* Red */
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.divider span {
    font-size: 24px;
    margin: 0 15px;
    color: #c91c2c; /* Red */
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #0d1b4c; /* Dark Blue */
}

/* Form Container */
.form-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    border-radius: 12px;
    //background: linear-gradient(90deg, #c91c2c, #0d1b4c);
    background-color: #c91c2c;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
    text-align: left;
}

/* Form Grid */
/*form {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, 1fr);*/
/*    gap: 25px 40px;*/
/*}*/

/*!* Form Group *!*/
/*.form-group {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

.form-group label {
    font-size: 16px;
    color: #fff; /* White text on dark background */
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group select {
    padding: 12px 15px;
    border: 1px solid #0d1b4c;
    border-radius: 6px;
    font-size: 15px;
    width: 100%;
    outline: none;
    transition: 0.3s;
}

.form-group select:focus {
    border-color: #c91c2c;
    box-shadow: 0 0 6px rgba(201, 28, 44, 0.6);
}

/* Buttons */
.form-buttons {
    grid-column: span 3;
    text-align: center;
    margin-top: 20px;
}

.btn {
    background: #0d1b4c; /* Dark Blue */
    color: #fff;
    padding: 12px 35px;
    margin: 8px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.btn:hover {
    background: #c91c2c; /* Red on hover */
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    form {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-buttons {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    form {
        grid-template-columns: 1fr;
    }
    .form-buttons {
        grid-column: span 1;
    }
}

.register {
    width: 85%;
    max-width: 900px;
    margin: 40px auto;
    padding: 25px 35px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: "Poppins", sans-serif;
}

.register h2 {
    text-align: center;
    color: #222;
}

.register .matri-upload {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.register .matri-upload label {
    flex: 1;
    font-weight: bold;
}

.register .matri-upload input[type="file"] {
    flex: 2;
}

.register .matri-upload button {
    padding: 6px 15px;
    background-color: #004aad;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.register .matri-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.register .matri-field label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.register .matri-field input,
.register .matri-field select,
.register .matri-field textarea {
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

.register .matri-field input:focus,
.register .matri-field select:focus,
.register .matri-field textarea:focus {
    border-color: #004aad;
}

.register .matri-full {
    grid-column: span 2;
}

.register .matri-btn {
    background-color: #004aad;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.register .matri-btn:hover {
    background-color: #003780;
}

@media (max-width: 768px) {
    .register {
        width: 95%;
        padding: 20px;
    }
}
.required {
    color: red;
    font-weight: bold;
}
.error {
    color: red;
    font-size: 13px;
    margin-top: 3px;
}
.contact .success {
    color: green;
}
p.signin-continue {
    text-align: center;
}
.profile-card {
    position: relative;
    /*border: 2px solid #ff4d6d;*/
    border-radius: 10px;
    padding: 15px;
    overflow: hidden;
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 15px;
    left: -40px;
    width: 150px;
    background: #28a745; /* GREEN */
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 10;
}
.profile-info {
    text-align: left;   /* force left alignment */
}

.profile-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* Label (Caste, Education...) */
.profile-info strong {
    min-width: 140px;   /* FIX alignment column */
    display: inline-block;
    color: #0c2d60;
}

/* Value spacing */
.profile-info p span {
    flex: 1;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.gallery-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.slider-img {
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
#modalCarousel img {
    width: 100%;
    height: 80vh;        /* control modal height */
    object-fit: contain; /* IMPORTANT */
    background: black;   /* optional for empty space */
}

.profile-card {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-family: 'Poppins', sans-serif; /* match existing profile font */
}

.profile-card h4 {
    color: #333;
    font-weight: 600;
}

.profile-card p {
    color: #555;
    font-size: 15px;
}

.profile-card .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}
p.card-text {
    text-align: left;
}
.profile-card {
    min-width: 250px;
    flex: 0 0 auto;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.ribbon {
    position: absolute;
    top: 10px;
    left: -5px;
    background: red;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-15deg);
}

@media (max-width: 768px) {
    .owl-carousel .owl-item img {
        display: block;
        max-width: 262px !important;
    }
    .search-section form{
        display:flex;
        flex-direction:column;
    }

    .search-section .form-group{
        width:100%;
        margin-bottom:15px;
    }

    .search-section select,
    .search-section input,
    .search-section button{
        width:100%;
    }
}
.topbar-link {
    color: #fff;
}

/*Slider code*/

.profile-slider,
.owl-stage-outer {
    overscroll-behavior: contain;
    touch-action: pan-y;
}
body {
    overscroll-behavior-y: contain;
}
.profile-card {
    border-radius: 10px;
    overflow: hidden;
}

.profile-card img {
    height: 250px;
    object-fit: cover;
}

.owl-nav {
    text-align: center;
    margin-top: 15px;
}

.owl-nav button {
    font-size: 24px !important;
    margin: 0 10px;
}

.owl-nav button:hover {
    background: transparent !important;
    color: #007bff !important;
}
.profile-slider {
    position: relative;
}

.profile-slider .owl-nav {
    margin-top: 0;
}

.profile-slider .owl-nav button.owl-prev,
.profile-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    font-size: 24px !important;
    color: #333 !important;
    z-index: 10;
}

.profile-slider .owl-nav button.owl-prev {
    left: -20px;
}
.owl-carousel {
    padding: 0 40px;
}
.profile-slider .owl-nav button.owl-next {
    right: -20px;
}

.profile-slider .owl-nav button:hover {
    background: #007bff !important;
    color: #fff !important;
}
.profile-slider {
    position: relative;
    padding: 0 50px; /* space for arrows */
}

/* Navigation Container */
.profile-slider .owl-nav {
    margin: 0;
}

/* Common Arrow Style */
.profile-slider .owl-nav .owl-prev,
.profile-slider .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    color: #333 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

/* Left Arrow */
.profile-slider .owl-nav .owl-prev {
    left: 0;
}

/* Right Arrow */
.profile-slider .owl-nav .owl-next {
    right: 0;
}

.profile-slider .owl-nav .owl-prev:hover,
.profile-slider .owl-nav .owl-next:hover {
    background: #e02454 !important;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 767px) {
    .profile-slider {
        padding: 0 35px;
    }

    .profile-slider .owl-nav .owl-prev,
    .profile-slider .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 16px !important;
    }
}

a.topbar-link:hover {
    color: #e02454 !important;
}