/* Modern Glassmorphism Theme - Enhanced */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --text-main: #333;
    --text-light: #fff;
    --blur-amt: 16px;
}

/* Base Reset & Typography */
body, body.pagelayer-body {
    font-family: 'Outfit', sans-serif !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    color: var(--text-light) !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Enhanced text colors */
body.pagelayer-body p, 
body.pagelayer-body h1, 
body.pagelayer-body h2, 
body.pagelayer-body h3, 
body.pagelayer-body h4, 
body.pagelayer-body h5, 
body.pagelayer-body h6,
body.pagelayer-body a,
body.pagelayer-body li,
body.pagelayer-body span,
.pagelayer-heading-holder,
.pagelayer-heading-holder *,
.pagelayer-text-holder,
.pagelayer-text-holder * {
    font-family: 'Outfit', sans-serif !important;
    color: var(--text-light) !important;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(252, 70, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(103, 178, 111, 0.3) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Glass Cards - Enhanced */
.pagelayer-row-holder,
.pagelayer-col-holder,
.pagelayer-inner_row {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--blur-amt)) !important;
    -webkit-backdrop-filter: blur(var(--blur-amt)) !important;
    border-radius: 20px !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

/* Hover effects for cards */
.pagelayer-row-holder:hover,
.pagelayer-col-holder:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Icon boxes - Premium styling */
.pagelayer-iconbox {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.pagelayer-iconbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pagelayer-iconbox:hover::before {
    opacity: 1;
}

.pagelayer-iconbox:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Service icons - Gradient effect */
.pagelayer-service-icon i {
    background: var(--primary-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.5));
    transition: all 0.3s ease !important;
}

.pagelayer-iconbox:hover .pagelayer-service-icon i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.7));
}

/* Buttons */
button, .pagelayer-btn-holder, a.pagelayer-button {
    background: var(--primary-gradient) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 32px !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

button::before, .pagelayer-btn-holder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before, .pagelayer-btn-holder:hover::before {
    width: 300px;
    height: 300px;
}

button:hover, .pagelayer-btn-holder:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6) !important;
}

/* Navigation */
.pagelayer-wp_menu-ul > li > a {
    color: var(--text-light) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    position: relative;
}

.pagelayer-wp_menu-ul > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.pagelayer-wp_menu-ul > li > a:hover::after,
.pagelayer-wp_menu-ul > li.current-menu-item > a::after {
    width: 80%;
}

/* Header */
.pagelayer-header {
    background: rgba(26, 26, 46, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Footer */
.pagelayer-row-holder {
    background: rgba(0,0,0,0.3) !important;
}

/* Hero/Banner Image Sections - Fixed Height for Consistent Look */
.pagelayer-row[style*="background-image"] {
    min-height: 400px !important;
    max-height: 500px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    overflow: hidden;
}

/* Specific fix for services page hero */
.p-oep9593 {
    min-height: 400px !important;
    max-height: 500px !important;
}

/* Ensure background images don't stretch awkwardly */
[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
}

/* Make sure images in the page maintain aspect ratio */
.pagelayer-row img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.pagelayer-row img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagelayer-row[style*="background-image"] {
        min-height: 300px !important;
        max-height: 400px !important;
    }
    
    .p-oep9593 {
        min-height: 300px !important;
        max-height: 400px !important;
    }
}

@media (max-width: 500px) {
    .pagelayer-row[style*="background-image"] {
        min-height: 250px !important;
        max-height: 350px !important;
    }
    
    .p-oep9593 {
        min-height: 250px !important;
        max-height: 350px !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

/* Loading animation for content */
.pagelayer-row, .pagelayer-col {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.whatsapp-float i {
    margin-top: 0; /* Centering fix */
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

