/* Custom Logo Sizing */

/* Main Header Logo */
.header-upper .logo-box img.main-logo,
.header-upper .logo-box img {
    max-width: 240px;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Mobile Menu Logo */
.mobile-menu .nav-logo img.mobile-logo,
.mobile-menu .nav-logo img {
    max-width: 180px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Sticky Header Logo */
.sticky-header .logo-box img {
    max-width: 170px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .header-upper .logo-box img {
        max-width: 200px;
        max-height: 90px;
    }
}

@media only screen and (max-width: 767px) {
    .header-upper .logo-box img {
        max-width: 140px;
        max-height: 60px;
    }
}

@media only screen and (max-width: 575px) {
    .header-upper .logo-box img {
        max-width: 120px;
        max-height: 50px;
    }
}

@media only screen and (max-width: 479px) {
    .header-upper .logo-box img {
        max-width: 110px;
        max-height: 45px;
    }
}

/* Ensure logo box doesn't overflow */
.header-upper .logo-box {
    display: flex;
    align-items: center;
    margin: 0;
}

.header-upper .logo-box a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

/* Mobile nav logo centering */
.mobile-menu .nav-logo {
    text-align: center;
    padding: 20px 0;
}

.mobile-menu .nav-logo a {
    display: inline-block;
    line-height: 0;
}

/* Adjust header upper padding if needed */
.header-upper .upper-inner {
    align-items: center;
}

/* Prominent Join Us Button Styling */
.header-top .right-info .join-us-btn {
    position: relative;
    display: inline-block;
    padding: 10px 28px;
    background: var(--theme-color);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 169, 149, 0.3);
}

.header-top .right-info .join-us-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 169, 149, 0.4);
}

.header-top .right-info .join-us-btn:before {
    display: none !important;
}

/* Ensure button stands out */
.header-top .right-info > li.join-us-item {
    margin-right: 0 !important;
}

@media only screen and (max-width: 991px) {
    .header-top .right-info .join-us-btn {
        padding: 8px 22px;
        font-size: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .header-top .right-info .join-us-btn {
        padding: 7px 18px;
        font-size: 14px;
    }
}

/* Banner Slider Styling */
.banner-section {
    padding: 0 !important;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.banner-section .banner-carousel .slide-item {
    position: relative;
    width: 100%;
    min-height: 390px;
    padding: 104px 0px 95px 0px;
}

.banner-section .banner-carousel .slide-item .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1) !important;
    transition: none !important;
    animation: none !important;
}

/* Hide pattern layer */
.banner-section .banner-carousel .slide-item .pattern-layer {
    display: none !important;
}

/* Disable zoom animation */
.banner-carousel .active .slide-item .bg-layer,
.banner-carousel .slide-item .bg-layer {
    -webkit-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    transform: scale(1) !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

/* Fix z-index for sections after banner */
.banner-section ~ section,
.banner-section + section,
section.insurance-section {
    position: relative;
    z-index: 10;
}

/* Make banner text more visible without changing design */
.banner-section .content-box .upper-text {
    background: rgba(255, 243, 237, 0.95) !important;
    color: var(--title-color) !important;
}

.banner-section .content-box h2 {
    color: #000 !important;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.banner-section .content-box h3 {
    color: #000 !important;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.banner-section .content-box .info-box p {
    color: #000 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.banner-section .content-box .info-box p a {
    color: #000 !important;
    font-weight: 600;
}

/* Insurance Form Tabs - Adjust for 11 tabs */
.insurance-form .tab-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.insurance-form .tab-btns li {
    float: none;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    flex: 0 0 calc(20% - 12px);
    max-width: calc(20% - 12px);
}

.insurance-form .tab-btns li .icon-box {
    width: 70px;
    height: 70px;
    line-height: 70px;
}

.insurance-form .tab-btns li span {
    font-size: 13px;
    line-height: 18px;
}

/* Responsive adjustments for tabs */
@media only screen and (max-width: 1199px) {
    .insurance-form .tab-btns li {
        flex: 0 0 calc(25% - 12px);
        max-width: calc(25% - 12px);
    }
}

@media only screen and (max-width: 991px) {
    .insurance-form .tab-btns li {
        flex: 0 0 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
    }
    
    .insurance-form .tab-btns li .icon-box {
        width: 65px;
        height: 65px;
        line-height: 65px;
    }
}

@media only screen and (max-width: 767px) {
    .insurance-form .tab-btns li {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
    
    .insurance-form .tab-btns {
        gap: 10px;
    }
}

@media only screen and (max-width: 479px) {
    .insurance-form .tab-btns li {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


.banner-section .banner-carousel .slide-item .pattern-layer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 220px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.banner-section .banner-carousel .slide-item .auto-container {
    position: relative;
    z-index: 2;
}

.banner-section .banner-carousel .content-box {
    position: relative;
    z-index: 3;
}

.banner-carousel .owl-nav {
    display: none !important;
}

.banner-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.banner-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.banner-carousel .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner-carousel .owl-dots .owl-dot.active span,
.banner-carousel .owl-dots .owl-dot:hover span {
    background: var(--theme-color);
    width: 30px;
    border-radius: 10px;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
    .banner-section .banner-carousel .slide-item {
        min-height: 300px;
        padding: 72px 0px 60px 0px;
    }
    
    .banner-carousel .owl-nav button.owl-prev,
    .banner-carousel .owl-nav button.owl-next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .banner-section .banner-carousel .slide-item {
        min-height: 270px;
        padding: 60px 0px 48px 0px;
    }
    
    .banner-carousel .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .banner-carousel .owl-nav button.owl-next {
        right: 10px;
    }
    
    .banner-carousel .owl-nav button.owl-prev,
    .banner-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 575px) {
    .banner-section .banner-carousel .slide-item {
        min-height: 240px;
        padding: 48px 0px 36px 0px;
    }
}

@media only screen and (max-width: 479px) {
    .banner-section .banner-carousel .slide-item {
        min-height: 210px;
        padding: 36px 0px 30px 0px;
    }
}

/* Benefits Section Content Box - Proper List Display */
.benefits-section .content-box ul.list-item {
    list-style: disc !important;
    padding-left: 25px !important;
    margin: 20px 0 !important;
}

.benefits-section .content-box ul.list-item li {
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    margin-bottom: 10px !important;
    padding-left: 5px !important;
}

.benefits-section .content-box ul.list-item li a,
.benefits-section .content-box ul.list-item li button {
    display: inline !important;
}

/* More specific override for the benefits section list items */
section.benefits-section .tabs-content .content-box ul {
    list-style: disc !important;
    list-style-type: disc !important;
    padding-left: 30px !important;
    margin: 20px 0 !important;
}

section.benefits-section .tabs-content .content-box ul li {
    display: list-item !important;
    list-style: disc !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    margin: 0 0 10px 0 !important;
    padding: 0 0 0 5px !important;
}

/* Footer Logo Styling */
.main-footer .footer-widget.logo-widget .footer-logo {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.main-footer .footer-widget.logo-widget .footer-logo img {
    max-width: 150px !important;
    max-height: 80px !important;
    width: auto;
    height: auto;
    display: block;
}

/* Service Details Page Adjustments */
.service-details .ml_50 {
    margin-left: 50px;
}

@media (max-width: 991px) {
    .service-details .ml_50 {
        margin-left: 0;
        margin-top: 30px;
    }
}

.service-details .single-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-details .single-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.service-details .single-item .icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.service-details .single-item .icon-box img {
    width: 100%;
    height: auto;
}

.service-details .list-item {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details .list-item li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.service-details .list-item li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--theme-color, #e54750);
    font-size: 14px;
}
