/* --- Luxury Blue & Gold Theme - Complete Style --- */

:root {
    --luxury-blue: #0A192F;    /* තද රාජකීය නිල් (Deep Navy Blue) */
    --luxury-blue-light: #112240;
    --luxury-gold: #D4AF37;    /* සම්භාව්‍ය රන්වන් (Classic Gold) */
    --luxury-gold-hover: #F3E5AB;
    --bg-light-grey: #F8F9FA;
    --text-dark: #1E293B;
    --neon-blue: #00ffff;      /* Futuristic Neon Blue */
}

body {
    font-family: 'Noto Sans Sinhala', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light-grey);
    overflow-x: hidden;
}

.tracking-wide { letter-spacing: 2px; }
.text-luxury-blue { color: var(--luxury-blue) !important; }
.text-luxury-gold { color: var(--luxury-gold) !important; }
.text-luxury-light { color: #E2E8F0 !important; }
.bg-luxury-blue { background-color: var(--luxury-blue) !important; }
.bg-luxury-gold { background-color: var(--luxury-gold) !important; }
.bg-luxury-light { background-color: #F0F4F8 !important; }

/* 1. Header & Navigation */
#headerWrapper {
    transition: padding 0.4s ease-in-out;
}

.luxury-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.05);
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.4s ease-in-out;
}

.luxury-header.shrink {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.1);
    max-width: 95%;
    margin: 0 auto;
}

.brand-logo {
    transition: all 0.4s ease-in-out;
}

.luxury-header.shrink .brand-logo {
    font-size: 1.5rem !important;
}

.nav-link {
    color: var(--luxury-blue) !important;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 50%;
    background-color: var(--luxury-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

/* 2. Hero Section */
.hero-luxury {
    min-height: 90vh;
    background-color: var(--luxury-blue);
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(17, 34, 64, 0.8) 0%, var(--luxury-blue) 100%);
    z-index: 1;
}

.luxury-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--luxury-gold);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* 3. Master Glass Card */
.master-card-container {
    margin-top: -120px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.master-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(10, 25, 47, 0.1) !important;
    overflow: hidden;
}

.master-glass-card section {
    background-color: transparent !important;
}

/* Inside Master Card Counters */
.stat-card-inside-glass {
    border: none;
    background: transparent;
}

.count-number {
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

/* ==== 2050 Futuristic Steps UI ==== */
.futuristic-step-card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.futuristic-step-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--luxury-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.step-glow-number {
    position: absolute;
    top: -15px;
    right: 5px;
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(10, 25, 47, 0.05);
    transition: all 0.6s ease;
    z-index: 0;
    pointer-events: none;
}

.futuristic-step-card:hover .step-glow-number {
    color: rgba(212, 175, 55, 0.08);
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.icon-sphere {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--luxury-blue), var(--luxury-blue-light));
    color: var(--luxury-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2);
}

.icon-sphere::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--luxury-gold);
    top: 0; left: 0;
    animation: pulse-ring 2.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 0;
}

.futuristic-step-card:hover .icon-sphere {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--luxury-gold), #B8860B);
    color: var(--text-dark);
}

.futuristic-step-card:hover .icon-sphere::after {
    border-color: var(--luxury-blue);
}

@keyframes pulse-ring {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.futuristic-line {
    animation: glowing-line 3s infinite alternate ease-in-out;
}

@keyframes glowing-line {
    0% { opacity: 0.1; filter: blur(2px); }
    100% { opacity: 0.7; filter: blur(0px); box-shadow: 0 0 15px var(--luxury-gold); }
}

.z-index-1 {
    z-index: 1;
}

/* ==== 5. Select Service - 2050 Holographic UI (NO IMAGES) ==== */
.holographic-card {
    background: rgba(255, 255, 255, 0.1); /* Very transparent */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(10, 25, 47, 0.08);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    min-height: 400px;
}

/* Different panel accents */
.baby-panel {
    border-left: 3px solid rgba(0, 255, 255, 0.2);
}
.business-panel {
    border-right: 3px solid rgba(212, 175, 55, 0.2);
}

.holographic-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.1);
}

.baby-panel:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.1);
}

.business-panel:hover {
    border-color: var(--luxury-gold);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.1);
}

/* Holographic Icons */
.holo-icon-wrap {
    font-size: 4rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

/* Neon Glow Effects */
.blue-glow {
    color: #008080; /* Base color */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}
.holographic-card:hover .blue-glow {
    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.4);
    transform: scale(1.1);
}

.gold-glow {
    color: #B8860B; /* Base color */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.holographic-card:hover .gold-glow {
    color: var(--luxury-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 30px rgba(212, 175, 55, 0.4);
    transform: scale(1.1);
}

/* Digital Scanline Effect */
.scanline {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 50%,
        rgba(10, 25, 47, 0.02) 50%,
        rgba(10, 25, 47, 0.02) 100%
    );
    background-size: 100% 4px;
    z-index: 0;
    opacity: 0.5;
}

.holographic-card:hover .scanline {
    animation: scanline-move 0.2s linear infinite;
    opacity: 1;
}

@keyframes scanline-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

/* Service icon float is removed from HTML, so CSS is not needed for it here anymore */

/* Buttons */
.btn-luxury-solid {
    background-color: var(--luxury-gold);
    color: var(--luxury-blue);
    border: 2px solid var(--luxury-gold);
    transition: all 0.3s ease;
}

.btn-luxury-solid:hover {
    background-color: #B8860B;
    border-color: #B8860B;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-luxury-outline {
    background-color: transparent;
    color: var(--luxury-blue);
    border: 2px solid var(--luxury-blue);
    transition: all 0.3s ease;
}

.btn-luxury-outline:hover {
    background-color: var(--luxury-blue);
    color: white !important;
    transform: translateY(-3px);
}

/* ==== Free Link Hover Effect ==== */
.free-link {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.free-link:hover {
    color: var(--luxury-blue) !important;
}

.free-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--luxury-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.free-link:hover::after {
    width: 100%;
}

/* Testimonials */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.08) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.testimonial-card:hover .bi-quote {
    color: rgba(212, 175, 55, 0.15) !important;
}

/* Contact Us Pattern Overlay */
.stats-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23d4af37" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 1;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .master-card-container {
        margin-top: -80px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .master-glass-card {
        padding: 30px 20px !important;
    }
}

@media (max-width: 767px) {
    .stat-card-inside-glass {
        border-start: none !important;
        border-end: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .stat-card-inside-glass:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}