/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ===== SERVICES GLASS CARD EFFECT ===== */

/* Main services row - scoped to avoid conflicts */
.section.services-bg {
    background: url("/wp-content/uploads/2025/09/Frame-93.webp") center no-repeat;
    position: relative;
    isolation: isolate;
    pointer-events: none; /* Allow mouse events to pass through to child elements */
}

/* Text styling - scoped to services section */
.section.services-bg .aftercad-white { 
    color: #F1F1F8;
    text-align: center;
    font-family: Manrope, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 42px; 
}

/* Glass card base styling - scoped to services section */
.section.services-bg .glass-card {
    position: relative;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #f1f1f8;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto; /* Ensure cards can receive mouse events */
}

/* Glass overlay effect - scoped to services section */
.section.services-bg .glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.10) 100%);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Content above glass - scoped to services section */
.section.services-bg .glass-card > * {
    position: relative;
    z-index: 2;
}

/* Background overlay for hover images */
.services-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* This prevents it from blocking mouse events */
    
}

/* Show hover background */
.services-bg.show-hover .services-hover-bg {
    opacity: 1;
    
}

/* Dimmed state */
.glass-card.dimmed {
    opacity: 0.3;
    pointer-events: none;
}

/* Active state */
.glass-card.active {
    opacity: 1;
    pointer-events: auto;
}

/* Remove glass effect on active card */
.glass-card.active::before {
    opacity: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}