.custom-carousel-logo {
    max-height: 70px; /* Reduced for a cleaner look */
    width: auto !important;
    margin: 0 auto;
    display: block; /* Better for centering than inline-block */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-carousel .owl-item > div {
    display: flex !important;
    align-items: center; 
    justify-content: center; 
    min-height: 120px; /* Lowered from 180px to reduce wasted white space */
    margin: 10px;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.logo-carousel .owl-item > div:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}



.owl-carousel.nav-bottom.rounded-nav .owl-item > div:hover {
    box-shadow: none !important;
}

/* Container for each logo in the carousel (INSURANCE) */
.owl-item > div {
    display: flex !important;
    align-items: center; 
    justify-content: center; 
    min-height: 180px; 
    /*background: #fff;*/
    /*border: 1px solid #f0f0f0;*/
    margin: 10px;
    border-radius: 8px;
    padding: 20px; 
}

/*  logo image style */
.custom-carousel-logo {
    max-height: 110px; 
    width: auto !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover effect  */
.logo-carousel .owl-item > div:hover .custom-carousel-logo {
    transform: scale(1.05);
}

/* Logo */
.custom-carousel-logo[alt*="Life & Health"],
.custom-carousel-logo[alt*="Dynamic Care"],
.custom-carousel-logo[alt*="Health Maintenance"] {
    max-height: 90px; 
}

/* Map */
#googlemaps {
    background-color: transparent !important; 
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}
#googlemaps iframe {
    width: 100% !important;
    display: block;
}



/*----------------------- Loading Screen ----------------------------*/
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    padding: 20px;
}

.loading-logo {
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease;
}

.loading-logo-img {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.loading-tagline p {
    font-size: 18px;
    color: #2baab1;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    animation: fadeInUp 0.5s ease 0.2s both;
}

/* Dot Spinner Animation */
.loading-spinner-wrapper {
    margin-top: 40px;
    animation: fadeInUp 0.5s ease 0.4s both;
}

.loading-dot-spinner {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.loading-dot-spinner .dot {
    width: 10px;
    height: 10px;
    background: #2baab1;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-dot-spinner .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dot-spinner .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .loading-logo-img {
        max-width: 200px;
    }
    
    .loading-tagline p {
        font-size: 14px;
    }
}


/*---------------------------------- Drop Down ---------------------------------------*/
/* Simple Fade-in Animation for Navigation */
.header-nav-main nav > ul > li {
    opacity: 1;
    transform: translateY(0);
    animation: subtleFadeIn 0.5s ease forwards;
    animation-fill-mode: both;
}

/* Staggered delays */
.header-nav-main nav > ul > li:nth-child(1) { animation-delay: 0.2s; }
.header-nav-main nav > ul > li:nth-child(2) { animation-delay: 0.3s; }
.header-nav-main nav > ul > li:nth-child(3) { animation-delay: 0.4s; }
.header-nav-main nav > ul > li:nth-child(4) { animation-delay: 0.5s; }
.header-nav-main nav > ul > li:nth-child(5) { animation-delay: 0.6s; }
.header-nav-main nav > ul > li:nth-child(6) { animation-delay: 0.7s; }
.header-nav-main nav > ul > li:nth-child(7) { animation-delay: 0.8s; }

@keyframes subtleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



