/* ─ Hero Styles ─ */
.service-section {
    /* background-image: url('/version-2/assets/images/service-banner.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top:115px;
    padding-bottom: 130px;
}

/* Light washed overlay matching your layout */
.service-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to bottom, rgb(21 50 80 / 50%) 0%, rgb(0 0 0 / 60%) 100%);
    backdrop-filter: blur(5px);
}
.banner-hover-btn:hover{
    color:#0d6efd ;
}

/* Z-index utility to keep text above overlay */
.z-1 { z-index: 1; }

/* ─ Mobile Tweaks ─ */
@media (max-width: 576px) {
    .display-2 { font-size: 2.5rem; }
    .service-section { height: auto !important; padding: 120px 0 80px; }
}


.info-badge {
    background-color: #134fd2;
    border: 2px solid #e8eefd;
    border-radius: 30px;
    padding: 30px 22px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* Curved blue left side */
.info-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #007bff; /* Blue color */
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

/* Styling for the text */
.info-badge p {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.drs-eval-box {
        border: 2px dashed #2563eb;
}


.case-pill {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        transition: all 0.3s ease;
        color: #ffffff;
        cursor: default;
    }
    
    .case-pill:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

    .check-icon {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #0d6efd; /* Bootstrap Primary Blue */
        border-radius: 50%;
        font-size: 11px;
        color: #0d6efd;
        flex-shrink: 0;
    }

/* Glassmorphism Styles */
.badge-card {
    background: rgba(255, 255, 255, 0.05); /* Very light fill */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* This creates the distinct thin border seen in the image */
    border: 1px solid rgba(255, 255, 255, 0.2); 
    
    /* Subtle outer glow to make it pop from the background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cta-glass-box {
    /* Matching the deep blue/navy translucent box in the image */
    background: rgb(57 96 165 / 40%); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Brighter border for the main CTA container */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    
    /* Stronger shadow for the main container */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Icon Color Match */
.badge-card i.text-primary {
    color: #4a90e2 !important; /* A softer blue to match the UI */
}

/* Hover effects for Desktop */
@media (min-width: 992px) {
    .badge-card:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-2px);
    }
}

/* Circular Number Styling */
.step-number {
    width: 45px;
    height: 45px;
    min-width: 45px; /* Prevents shrinking in flexbox */
    background-color: #f0f7ff; /* Very light blue */
    color: #0d6efd; /* Bootstrap Primary Blue */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.1);
}

/* Typography refinement */
.small-text {
    line-height: 1.6;
    font-size: 16px;
    color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .step-number {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 0.9rem;
    }
    .img-fluid {
        margin-bottom: 2rem;
    }
}

/* Custom rounded corners for the image */
.rounded-5 {
    border-radius: 2.5rem !important;
}



/* Optional: Slight hover effect to match the modern UI */
.second-banner li:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}



@media (max-width: 991px) {
    .custom-banner-row {
        margin-right: 0 !important;
        margin-left: 0 !important;
        --bs-gutter-x: 0; 
    }
    .custom-banner-row > * {
        padding-right: 0 !important;
        padding-left: 0 !important;
        /* margin-bottom: 1.5rem;  */
    }
}




.transition-alls:hover {
        transform: translateY(-5px);
        /* background: #007bff  !important; */
        border-color: #007bff !important;
        transition: all 0.3s ease-in-out;
    }

 .glass-card {
    /* Use a gradient instead of a flat color for a more dynamic look */
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0.05)
    ) !important;
    
    /* Increase blur for a smoother frosted look */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    /* High-end border: slightly brighter white with more transparency */
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    
    /* Stronger shadow to lift the card off the dark background */
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.3);
    
    /* Smooth transition for hover effects */
    transition: all 0.3s ease;
}

/* Add a hover effect to make it interactive */
.glass-card:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.4);
}

/* Ensure the text is pure white for maximum legibility */
.glass-card h5, .glass-card p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}