/********** Template CSS **********/
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    padding: 35px 15px;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    /* height: 650px; */
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}


.philosophy-item {
    position: relative;
    overflow: hidden;
    /* height: 600px; */
    display: flex;
    flex-direction: column;
    /* align-items: center;
    justify-content: center; */
    transition: .3s;
}

.philosophy-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.philosophy-item:hover::after {
    bottom: -25px;
}

.philosophy-item p {
    transition: .3s;
}

.philosophy-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}


/* Modal Image Styling */
   /* Modal Image Styling */
   .team-member-modal-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 2rem;
}

/* On Mobile Devices (max-width: 768px), Stack the Image and Content Vertically */
@media (max-width: 768px) {
    .modal-body {
        display: flex;
        flex-direction: column; /* Stack the content vertically */
        text-align: center; /* Center-align the content */
    }

    .team-member-modal-img {
        width: 150px; /* Smaller image on mobile */
        height: 150px;
    }

    .modal-body .ms-5 {
        margin-left: 0; /* Remove left margin on small screens */
    }

    .modal-body .mt-sm-0 {
        margin-top: 0; /* Remove top margin on small screens */
    }

    .modal-body .mt-3 {
        margin-top: 20px; /* Add spacing between image and content on mobile */
    }
}

/* On Larger Screens (min-width: 768px), Keep the Image and Content Side by Side */
@media (min-width: 768px) {
    .modal-body {
        display: flex;
        flex-direction: row; /* Side by side layout */
        align-items: center; /* Align items in the center */
    }

    .modal-body .ms-5 {
        margin-left: 20px; /* Space between image and content */
    }

    .modal-body .mt-3 {
        margin-top: 0;
    }

    .modal-body .text-center {
        text-align: left; /* Align the content to the left on larger screens */
    }
}



.testimonial-item {
    border-radius: 20px;
    /* Rounded corners */
    overflow: hidden;
    /* Keeps content inside rounded corners */
    box-shadow: 0 6px 10px rgba(169, 169, 169, 0.2);
    /* Light gray bottom shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
     display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 270px;
}

.testimonial-item:hover {
    box-shadow: 0 12px 20px rgba(169, 169, 169, 0.5);
    /* Deeper shadow on hover */
    transform: translateY(-10px);
    /* Subtle lift effect */
}

.testimonial-carousel {
padding-bottom: 50px; /* adjust if needed */
position: relative;
}

/* Center dots */
.owl-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

.owl-dots .owl-dot {
    display: inline-block; /* 🔥 THIS fixes vertical stacking */
    margin: 0 5px;
}

/* Dot style */
.owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #536188;
    opacity: 0.4;
    border-radius: 50%;
    display: inline-block;
    transition: opacity 0.3s;
}

.owl-dots .owl-dot.active span {
    opacity: 1;
}
    

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
    /* margin-left: 50%; */
    
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center !Important;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.blog-carousel .owl-nav .owl-prev,
.blog-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.blog-carousel .owl-nav .owl-prev:hover,
.blog-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/* .blog-carousel .owl-item img {
    width: 360px;
    height: 360px;
} */

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.accordion-button {
    color:black !important;
    background-color: white !important;
    box-shadow: none Impo !important;
    /* border: 2px solid #ccc !important;  */
    transition: border-color 0.3s ease;
}

.accordion-button:click {
    border-color: white imporat !important;
}

.accordion-button:focus,
.accordion-button:active {
    border-color: #f8f9fa; /* Your desired click border color */
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0); /* Optional glow */
}

/* When accordion is expanded */
.accordion-button:not(.collapsed) {
    border-color: #007bff; /* Your desired expanded border color */
    background-color: #f8f9fa; /* Optional background */
}

.accordion-button::after {
    display: none !important; /* Removes the default right chevron */
  }


.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}


/* Zoom-in effect for modal */
.modal.zoom-in .modal-dialog {
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.zoom-in.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}


/* Blog Pagination  */

/* Pagination Wrapper */
.custom-pagination nav {
    display: flex;
    justify-content: center;
}

.custom-pagination .pagination {
    gap: 0.5rem;
}

/* Each page link */
.custom-pagination nav {
    display: flex;
    justify-content: center;
}

/* Pagination container */
.custom-pagination .pagination {
    display: flex;
    gap: 8px;
}

/* Page item */
.custom-pagination .page-item {
    transition: all 0.3s ease;
}

/* Page link */
.custom-pagination .page-link {
    border: none;
    background-color: #eaeaf6;
    color: #536188;
    font-weight: 500;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: all 0.2s ease-in-out;
}

/* Hover effect */
.custom-pagination .page-link:hover {
    background-color: #c3c6e8;
    color: #536188;
}

/* Active page */
.custom-pagination .page-item.active .page-link {
    background-color: #536188;
    color: #fff;
    font-weight: 600;
}

/* Disabled arrows */
.custom-pagination .page-item.disabled .page-link {
    background-color: #f1f1f1;
    color: #aaa;
    cursor: not-allowed;
}

.custom-pagination p {
    margin-right: 10px;
    
}

.b-card:hover {
    background-color: #c3c6e8; /* light blue-ish */
    transition: background-color 0.3s ease;
}

.input-group input:focus,
.input-group input:hover,
.input-group .btn:focus,
.input-group .btn:hover {
    outline: none;
    box-shadow: none;
    border-color: #ced4da; /* default Bootstrap border color */
}

/* BLog Recent Item */
.recent-post-item {
    transition: box-shadow 0.3s, background-color 0.3s;
}

.recent-post-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.recent-post-title {
    color: #212529;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-title:hover {
    color: #0d6efd; /* Bootstrap primary color */
    text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; /* FontAwesome right arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #f89b55;
}