
     /* Fix Flip Card Link Click Issues */
.simple-flip-card {
    position: relative;
    transform-style: preserve-3d;
}

.simple-flip-card .front-content,
.simple-flip-card .back-content {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

/* Front side should NOT block clicks */
.simple-flip-card .front-content {
    pointer-events: none !important;
    z-index: 1;
}

/* Back side should allow clicks */
.simple-flip-card .back-content {
    transform: rotateY(180deg);
    pointer-events: auto !important;
    z-index: 2;
}

/* Ensure the card container flips correctly */
.simple-flip-card:hover {
    transform: rotateY(180deg);
    transition: 0.6s ease;
}
   
    /* ================================
       MEGA MENU MAIN WRAPPER
    ================================ */
    .navbar-nav .dropdown-menu.mega-menu {
        background: #131c58;
        padding: 40px 20px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Mega menu scroll container */
    .mega-menu-scroll {
        max-height: 70vh;
        overflow-y: auto;
        padding-right: 10px;
    }
    
    /* Category columns - responsive grid */
    .mega-menu .category-column {
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    /* Category title styling */
    .mega-menu .category-title {
        color: #fff;
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 8px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .mega-menu .category-title a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .mega-menu .category-title a:hover {
        color: #2ea7ff;
    }
    
    /* Subcategory list - FULL LIST visible */
    .mega-menu .subcategory-list {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }
    
    .mega-menu .subcategory-item {
        margin-bottom: 5px;
    }
    
    /* Subcategory links - FULL VISIBILITY */
    .mega-menu .subcategory-link {
        display: flex;
        align-items: center;
        color: #d2d7ff;
        font-size: 15px;
        padding: 8px 10px;
        text-decoration: none;
        transition: all 0.3s;
        border-left: 3px solid transparent;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .mega-menu .subcategory-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
        border-left-color: #2ea7ff;
        padding-left: 15px;
        transform: translateX(5px);
    }
    
    .mega-menu .subcategory-link i {
        margin-right: 10px;
        font-size: 14px;
        color: #2ea7ff;
        transition: transform 0.3s;
    }
    
    .mega-menu .subcategory-link:hover i {
        transform: translateX(3px);
        color: #4ac0ff;
    }
    
    /* Desktop: 5 columns */
    @media (min-width: 992px) {
        .mega-menu .row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
        }
        
        .mega-menu .category-column {
            margin-bottom: 0;
        }
    }
    
    /* Tablet: 3 columns */
    @media (max-width: 991px) and (min-width: 768px) {
        .mega-menu .row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        
        .navbar-nav .dropdown-menu.mega-menu {
            padding: 25px 15px;
            max-height: 70vh;
        }
    }
    
    /* Mobile: 1 column with full width */
    @media (max-width: 767px) {
        .navbar-nav .dropdown-menu.mega-menu {
            padding: 15px 10px;
            max-height: 60vh;
            position: fixed !important;
            top: 60px !important;
            left: 10px !important;
            right: 10px !important;
            width: calc(100% - 20px) !important;
        }
        
        .mega-menu .row {
            display: block;
        }
        
        .mega-menu .category-column {
            padding: 15px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 15px;
        }
        
        .mega-menu .category-column:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }
        
        .mega-menu .category-title {
            font-size: 16px;
            margin-bottom: 12px;
        }
        
        .mega-menu .subcategory-link {
            font-size: 14px;
            padding: 7px 10px;
            margin-bottom: 5px;
        }
        
        .mega-menu .subcategory-link i {
            font-size: 13px;
            margin-right: 8px;
        }
    }
    
    /* Small mobile devices */
    @media (max-width: 480px) {
        .navbar-nav .dropdown-menu.mega-menu {
            top: 50px !important;
            left: 5px !important;
            right: 5px !important;
            width: calc(100% - 10px) !important;
        }
        
        .mega-menu .subcategory-link {
            font-size: 13px;
            padding: 6px 8px;
        }
    }
    /* Service Card with Full Image */
.service-card-full-image {
    position: relative;
    width: 100%;
    height: 350px; /* Adjust height as needed */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-full-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.service-card-full-image:hover .service-full-image {
    transform: scale(1.05);
}

/* Service name overlay at bottom */
.service-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(19, 28, 88, 0.9) 0%, rgba(19, 28, 88, 0.7) 70%, transparent 100%);
    color: white;
    padding: 25px 20px 20px;
    transition: all 0.3s ease;
}

.service-card-full-image:hover .service-name-overlay {
    padding-bottom: 25px;
    background: linear-gradient(to top, rgba(8, 157, 163, 0.9) 0%, rgba(8, 157, 163, 0.7) 70%, transparent 100%);
}

.service-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.service-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card-full-image {
        height: 280px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
}

       /* Enhanced Banner Section */
        .service-banner {
            background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            padding: 120px 0 100px;
            position: relative;
            overflow: hidden;
        }
        
        .service-banner::before {
             background: url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        
        .banner-content {
            max-width: 900px;
            position: relative;
            z-index: 2;
            animation: fadeInUp 1s ease-out;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .breadcrumb {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            font-size: 16px;
            flex-wrap: wrap;
        }
        
        .breadcrumb a {
            color: #ddd;
            text-decoration: none;
            transition: all 0.3s;
            padding: 5px 0;
        }
        
        .breadcrumb a:hover {
            color: #ffd166;
            transform: translateY(-2px);
        }
        
        .breadcrumb span {
            margin: 0 12px;
            color: #aaa;
        }
        
      
        /* Enhanced Title Styling */
        .service-title {
            font-size: 3.8rem;
            font-weight: 900;
            margin-bottom: 15px;
            line-height: 1.1;
            text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
            position: relative;
            display: inline-block;
            letter-spacing: 1px;
        }
        
        .service-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 120px;
            height: 5px;
            background: linear-gradient(to right, #e63946, #ffd166);
            border-radius: 3px;
        }
        
        .service-subtitle {
            font-size: 2rem;
            font-weight: 700;
            margin: 30px 0 20px;
            color: #ffd166;
            text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
            position: relative;
            padding-left: 20px;
        }
        
        .service-subtitle::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 80%;
            background: #e63946;
            border-radius: 4px;
        }
        
        .service-highlight {
            color: #ffd166;
            font-weight: 800;
            font-size: 1.35rem;
            position: relative;
            display: inline-block;
        }
        
        .service-highlight::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #e63946;
            border-radius: 2px;
        }
        /* Enhanced Responsive Design */
        @media (max-width: 1200px) {
            .container {
                max-width: 95%;
            }
        }
        
        @media (max-width: 1100px) {
            .service-title {
                font-size: 3.2rem;
            }
            
            .service-subtitle {
                font-size: 1.8rem;
            }
        }
        
        @media (max-width: 992px) {
          
            
            .service-title {
                font-size: 2.8rem;
            }
            
            .service-subtitle {
                font-size: 1.6rem;
            }
        }
        
        @media (max-width: 768px) {
            .service-banner {
                padding: 100px 0 80px;
                background-attachment: scroll;
            }
            
            .service-title {
                font-size: 2.4rem;
            }
            
            .service-title::after {
                width: 90px;
                height: 4px;
            }
            
            .service-subtitle {
                font-size: 1.4rem;
                margin: 25px 0 15px;
                padding-left: 15px;
            }
            
            .service-subtitle::before {
                width: 6px;
            }
         }
        
        @media (max-width: 576px) {
           
             .service-title {
                font-size: 2rem;
            }
            
            .service-subtitle {
                font-size: 1.2rem;
            }
            
            .breadcrumb {
                font-size: 15px;
                justify-content: center;
            }
            
            .breadcrumb span {
                margin: 0 8px;
            }
            
            .banner-content {
                text-align: center;
            }
            
            .service-title::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .service-subtitle::before {
                display: none;
            }
            
            .service-subtitle {
                padding-left: 0;
            }
         }
        
        @media (max-width: 400px) {
            .service-title {
                font-size: 1.8rem;
            }
            
            .service-subtitle {
                font-size: 1.1rem;
            }
             .container {
                padding: 0 15px;
            }
        }
