	    .bg-gray{
            background-color: #e0e0e0;
            color: #424242;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
         .bg-sky{
            background-color: #ddf7ff;
            color: #424242;
            line-height: 1.9em;
            box-shadow: 0 4px 16px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        body.dark-mode .bg-gray{
            background-color: #161616;
            color: #f7f7f7;
        }
        body.dark-mode .bg-sky{
            background-color: #171717;
            color: #ffffff;
        }

        .hero-section {
            position: relative;
            min-height: 60vh;
            display: flex;
            align-items: center;
            overflow: hidden;
            padding-top: 80px;
        }

        .hero-bg {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        .hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
            z-index: 0;
        }
        .glass-panel {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(6px);
            padding: 3rem;
            border-radius: 1rem;
            border-left: 5px solid #73c1fc;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }
        .dark .glass-panel {
            background: rgba(30, 30, 30, 0.85);
        }

@media screen and (max-width: 576px) {
	    .hero-section {
            max-height: 20vh!important;
            padding-top: 20px;
        }
    .display-5{
        font-size: 20px;
    }

    .hero-bg {
            position: absolute;
            object-fit:cover;
             object-position: right center; 
            
        }
        .glass-panel {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(2px);
            padding: 3rem;
            border-radius: 1rem;
            border-left: 5px solid #ffffff;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }

    .hero-section h2{
        color: #ddf7ff!important;
    }
    .hero-section .text-secondary-brand{
        color: #ffffff!important;
    }
   
    .hero-section .lead{
        color: #ffffff!important;
    }

}
        /* Sections */
        .section-padding { padding: 100px 0; }
        
        .value-card {
            background: var(--white);
            border: 1px solid rgba(0,0,0,0.1);
            border-radius: 1rem;
            padding: 2.5rem;
            height: 100%;
            transition: all 0.3s ease;
        }
        .value-card:hover {
            border-color: var(--secondary);
            transform: translateY(-5px);
        }
        .icon-box {
            width: 64px;
            height: 64px;
            background: rgba(35, 105, 142, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        /* Team */
        .team-card img {
            border-radius: 1rem;
            aspect-ratio: 4/5;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .team-card:hover img { transform: scale(1.03); }
        .team-overlay {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            background: rgba(35, 105, 142, 0.9);
            color: white;
            padding: 1rem;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            border-bottom-left-radius: 1rem;
            border-bottom-right-radius: 1rem;
        }
        .team-card:hover .team-overlay { transform: translateY(0); }
        
        .btn-brand {
            background-color: var(--primary);
            color: white;
            padding: 10px 25px;
            font-family: 'Montserrat', sans-serif;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            border-radius: 4px;
            border: none;
        }
        .btn-secondary-brand {
            background-color: var(--secondary);
            border-radius: 50px;
            padding: 15px 35px;
        }
        .text-primary-brand { color: var(--primary) !important; }
        .text-secondary-brand { color: var(--secondary) !important; }
        .bg-primary-brand { background-color: var(--primary) !important; }
        .bg-secondary-brand { background-color: var(--secondary) !important; }

/* Before After */
/* Container aspect ratio management for perfect responsiveness */
.ba-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* Maintains layout structure across breakpoints */
    overflow: hidden;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
}

.ba-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Default state for the foreground clip (overridden dynamically by JS) */
.ba-before-image {
    width: 100%;
    clip-path: inset(0 50% 0 0); /* Default to 50% split */
}

/* Instance 2 overrides default to match initial HTML slider value of 30% */
.ba-slider-container:nth-of-type(1) .ba-before-image { clip-path: inset(0 50% 0 0); }
/* Custom inline styling or hardcoded fallback for unique starting positions: */
.ba-slider-container:has(input[value="30"]) .ba-before-image { clip-path: inset(0 70% 0 0); }

/* UI Labels */
.ba-label {
    position: absolute;
    top: 12px;
    padding: 4px 10px;
    background: rgba(33, 37, 41, 0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}
.ba-before-label { left: 12px; }
.ba-after-label { right: 12px; }

/* The Native Range Input covering the whole container area */
.ba-input-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    margin: 0;
}

/* Visual Separation Line */
.ba-slider-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Adjusted dynamically by JS */
    width: 3px;
    background-color: #ffffff;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Center Handle Thumb Control icon */
.ba-slider-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23495057' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7.5 21L3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5'/%3E%3C/svg%3E");
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
    .ba-label {
        top: 8px;
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .ba-slider-button::after {
        width: 32px;
        height: 32px;
    }
}
/* Before After */