/* CSS Override to ensure all styles are applied correctly */

/* Force important declarations for critical styles */
.top_header {
    background-color: #253A7A !important;
    padding: 20px 40px !important;
}

.bottom_header {
    padding: 20px 40px !important;
}

.navbar {
    margin: 0 auto !important;
    width: 1600px !important;
    height: 152px !important;
    padding: 0px 160px !important;
    position: absolute !important;
    z-index: 2 !important;
    top: 3% !important;
}

.navbar .container-fluid {
    padding: 0 !important;
    background: #FFFFFF !important;
}

.footerbg {
    background-image: linear-gradient(rgba(37, 58, 122, 0.9), rgba(37, 58, 122, 0.9)), url(/img/general/footer.jpg) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 500px !important;
    width: 100% !important;
}

.bg-primary {
    background-color: #253A7A !important;
}

.bg-second {
    background-color: #0095D7 !important;
}

.text-primary {
    color: #253A7A !important;
}

.text-second {
    color: #0095D7 !important;
}

/* Ensure fonts are applied */
h1, h2, h3, h4, h5, h6 {
    color: #253A7A !important;
    font-family: 'Marcellus', serif !important;
}

p {
    font-size: 14px !important;
    color: #858585 !important;
    font-family: 'Plus Jakarta Sans' !important;
}

span {
    font-size: 14px !important;
    color: #253A7A !important;
    font-family: 'Plus Jakarta Sans' !important;
}

/* Button styles */
.btn-primary {
    color: #FFFFFF !important;
    background-color: #253A7A !important;
    border: none !important;
    font-family: 'Plus Jakarta Sans' !important;
}

.btn-primary:hover {
    color: #FFFFFF !important;
    background-color: #0095D7 !important;
}

/* Form styles */
.form-check-input:checked {
    background-color: #253A7A !important;
    border-color: #253A7A !important;
}

/* Carousel styles */
.carousel-caption {
    position: absolute !important;
    right: 15% !important;
    width: 545px !important;
    bottom: 26% !important;
    left: 8% !important;
    color: #fff !important;
    line-height: 3 !important;
    text-align: left !important;
}

.carousel-caption h5 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

/* Nav pills */
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #0095D7 !important;
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.nav .nav-link {
    color: white !important;
}

/* Accordion styles */
.accordion-button:not(.collapsed) {
    color: #ffffff !important;
    background-color: #253a7a !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125) !important;
}

.accordion-button::after {
    background-image: none !important;
    content: '+' !important;
    font-size: 1.5rem !important;
    color: rgb(0, 0, 0) !important;
    font-weight: bold !important;
    transform: none !important;
}

.accordion-button:not(.collapsed)::after {
    content: '–' !important;
    color: white !important;
}

/* Footer styles */
.footerbg ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.footerbg ul li a {
    color: #858585 !important;
}

.footerbg ul li a:hover {
    color: #0095D7 !important;
}

.foote-line {
    width: 100% !important;
    height: 2px !important;
    background-color: #0095D7 !important;
}

.footer_socialmedia i {
    color: white !important;
    font-size: 16px !important;
    width: 30px !important;
    border-radius: 50px !important;
    padding: 1.5% 1.1% !important;
    border: 1px solid white !important;
}

/* Service box styles */
.service-box {
    position: relative !important;
}

.service-box span {
    left: 43% !important;
    position: absolute !important;
    top: 45% !important;
    padding: 16px 23px !important;
    border-radius: 31px !important;
    text-align: center !important;
    font-size: large !important;
    font-weight: 600 !important;
}

.service-box .iconimage {
    width: 80px !important;
    height: 80px !important;
    padding: 10px !important;
    text-align: center !important;
    box-shadow: -4px 3px 2px 3px #e3e3e3 !important;
}

.service-box:hover span {
    background-color: #0095D7 !important;
}

.service-box:hover .iconimage {
    background-color: #0095D7 !important;
}

/* Calendar box styles */
.caleder-box {
    background-color: #F6F6F6 !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    margin-right: 1rem !important;
}

.caleder-box:hover {
    background-color: #253A7A !important;
}

.caleder-box:hover .separt p {
    color: #ffffff !important;
}

.caleder-box:hover .separt span {
    color: #ffffff !important;
}

.caleder-box:hover .separt img {
    filter: invert(1) !important;
}

/* Get trusted box */
.gettrusted-box {
    position: absolute !important;
    width: 98% !important;
    height: 191px !important;
    background: url(/img/home/gettrusted-box.png) !important;
    background-size: cover !important;
    padding: 5% 4% !important;
    background-color: #253A7A !important;
}

/* Section 3 background */
.section3 {
    background-image: linear-gradient(rgba(237, 237, 237, 0.7), rgba(237, 237, 237, 0.7)), url(/img/home/getstartedbg.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    padding: 100px 0 50px 0 !important;
}

/* Search page styles */
.searchpage_sidebar {
    background: #F5F5F5 !important;
    border-radius: 10px !important;
    height: 70vh !important;
}

.serch_sidebar_heading {
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
}

.bg-cyan {
    background-color: #0095D74D !important;
}

.bg-cyan input {
    border: none !important;
    background: transparent !important;
    color: #253A7A !important;
}

/* Packages page styles */
.packages-box {
    background-image: url(/img/packages/packages1.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Responsive styles */
@media (max-width: 576px) {
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .navbar {
        width: 100% !important;
        height: auto !important;
        padding: 0px !important;
        position: absolute !important;
        z-index: 2 !important;
        top: 0px !important;
    }
    
    .top_header {
        padding: 20px 12px !important;
        background-color: #253A7A !important;
    }
    
    .login-container {
        display: none !important;
        top: 61% !important;
        right: 8.5% !important;
        width: 298px !important;
    }
    
    .carousel {
        margin-top: 100px !important;
    }
    
    .carousel-caption {
        position: absolute !important;
        right: 15% !important;
        width: 350px !important;
        bottom: -2% !important;
        left: 4% !important;
        color: #fff !important;
        line-height: 3 !important;
        text-align: left !important;
    }
    
    .carousel-caption h5 {
        font-size: 17px !important;
    }
    
    h1 {
        font-size: 25px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
    
    h6 {
        font-size: 16px !important;
    }
    
    .btn {
        font-size: 14px !important;
    }
    
    .navserchmenu {
        width: 100% !important;
    }
    
    .gettrusted-box {
        height: auto !important;
        width: 87% !important;
        left: 9% !important;
    }
    
    .gettrusted-box h3 {
        font-size: 20px !important;
    }
    
    .section3 h3 {
        font-size: 20px !important;
    }
    
    .fourpont {
        font-size: 20px !important;
    }
    
    .section3 h3 br {
        display: none !important;
    }
    
    .footerbg {
        height: 100% !important;
    }
    
    .footer_location {
        margin-bottom: 0px !important;
    }
    
    .about-banner {
        width: 100% !important;
        margin-top: 100px !important;
        height: auto !important;
        background-size: cover !important;
    }
    
    .about-banner img {
        height: auto !important;
    }
    
    .banner-content {
        top: -27% !important;
    }
    
    .sectiontopbottom {
        margin-top: 50px !important;
        margin-bottom: 50px !important;
    }
    
    .sectiontop {
        margin-top: 50px !important;
    }
    
    .sectionbottom {
        margin-bottom: 50px !important;
    }
    
    .searchpage_sidebar {
        margin-bottom: 1rem !important;
        height: auto !important;
    }
}
