/* Custom Modern Core Properties */
:root {
    --primary-color: #0d6efd;
    --dark-neutral: #1e293b;
    --light-bg: #f8fafc;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-neutral);
    overflow-x: hidden;
}

/* Smooth transition presets for navigation links */
.nav-link {
    transition: color 0.25s ease-in-out;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Slider Base Section Sizing */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Takes up 80% of screen height layout dynamically */
    background-color: #0f172a;
}

.brethezy-hero-slider, .swiper-slide {
    width: 100%;
    height: 100%;
}

/* Slide 1: Left dark for text readability, right side completely clear and bright */
.slide-gradient-1 {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.2) 70%, rgba(0, 0, 0, 0) 100%), 
        url('/images/hero-bg-1.png') center/cover no-repeat;
}

/* Slide 2: Clearer representation for clinical/wellness visibility */
.slide-gradient-2 {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.2) 70%, rgba(0, 0, 0, 0) 100%), 
        url('/images/hero-bg-2.png') center/cover no-repeat;
}

/* Slide 3: Maximized brightness on the right for tech/diagnostic clarity */
.slide-gradient-3 {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.1) 70%, rgba(0, 0, 0, 0) 100%), 
        url('/images/hero-bg-3.png') center/cover no-repeat;
}
/* Ensure the slider section occupies proper structural viewport sizing */
.hero-slider-section,
.brethezy-hero-slider {
    width: 100%;
    height: 75vh; /* Sets a premium height; tweak to 65vh or 100vh based on layout preference */
    min-height: 550px;
    position: relative;
}

/* Base style mapping for your slide image elements */
.hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}



/* Ensure data-animated typography elements wait invisibly for their entrance triggers */
[data-swiper-animate] {
    opacity: 0;
    animation-fill-mode: forwards !important;
}

/* Staggered text delays for a clean cascading appearance */
.brethezy-hero-slider .swiper-slide-active .badge {
    animation: heroSlideDown 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s !important;
}

.brethezy-hero-slider .swiper-slide-active h1 {
    animation-delay: 0.4s !important; /* Heading triggers next */
}

.brethezy-hero-slider .swiper-slide-active p {
    animation-delay: 0.6s !important; /* Subtext triggers third */
}

.brethezy-hero-slider .swiper-slide-active .btn-wrap {
    animation: heroFadeUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.8s !important; /* Action buttons rise last */
}

/* Hardware-Accelerated Kinetic Animation Pathways */
@keyframes heroSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   HERO SCROLL INDICATOR ENGINE
   ========================================================================== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 50px; /* Elevated perfectly to rest gracefully right above the pagination dots */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none; /* Allows click events to pass right through to slider elements safely */
}

/* Outer physical outline shape of the designer mouse framework */
.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    position: relative;
    display: block;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* The tracking wheel node moving downwards within the frame */
.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelTrack 1.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* Soft text callout settings */
.scroll-text {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.4);
}

/* Loop Animation for the internal wheel stroke */
@keyframes scrollWheelTrack {
    0% {
        opacity: 0;
        top: 6px;
    }

    20% {
        opacity: 1;
    }

    60% {
        opacity: 1;
        top: 18px; /* Smoothly tracks down toward the center-bottom */
    }

    80%, 100% {
        opacity: 0;
        top: 22px;
    }
}



/* */
/* ==========================================================================
   TRENDY SMARTPHONE DEVICE MOCKUP ARCHITECTURE
   ========================================================================== */

/* Container adjusted to leave breathing room for the bottom ground shadow */
.phone-mockup-wrapper {
    position: relative;
    width: 280px;
    height: 500px; /* Expanded slightly to account for shadow depth */
    z-index: 5;
    padding-bottom: 20px;
}

/* Hard shell phone modeling layout with a trendy right-tilt */
.phone-device-frame {
    width: 100%;
    height: 550px; /* Lock height to match original spec */
    background-color: #0f172a;
    border: 12px solid #0f172a;
    border-radius: 40px;
    overflow: hidden;
    transform: rotateZ(3deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Removed the heavy box shadow here since we are using a realistic ground shadow below */
    box-shadow: 0 0 0 4px rgba(71, 85, 105, 0.15);
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3D Realistic Ground Shadow Element */
.phone-mockup-wrapper::after {
    content: '';
    position: absolute;
    bottom: -32px;
    left: 6%;
    width: 80%;
    height: 25px;
    background: rgba(15, 23, 42, 0.25); /* Deep slate ambient color */
    border-radius: 50%;
    filter: blur(12px); /* Creates the soft, realistic shadow falloff */
    transform: rotateZ(3deg); /* Matches the exact lean of the smartphone */
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
}

/* Combined Hover States: As the phone straightens, the ground shadow adapts */
.phone-mockup-wrapper:hover .phone-device-frame {
    transform: rotateZ(1deg) translateY(-6px); /* Phone floats up slightly */
}

.phone-mockup-wrapper:hover::after {
    transform: rotateZ(1deg) scaleX(0.95); /* Shadow sharpens and compresses as phone lifts */
    background: rgba(15, 23, 42, 0.18);
}


/* Subtle interactive polish: levels out slightly when hovered */
.phone-device-frame:hover {
    transform: rotateZ(3deg) scale(1.02);
}

/* Internal glass layer displaying the targeted lung graphic */
.phone-screen-content {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

/* Micro Phone Notch Detail Element */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 18px;
    background-color: #0f172a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

/* Image optimization to keep colors vibrant and clean inside the screen slot */
.img-brighten {
    filter: brightness(1.02) contrast(1.02);
}

/* Beautiful soft glow behind the smartphone canvas */
.floating-blob-accent {
    width: 320px;
    height: 320px;
    top: 15%;
    left: -10%;
    z-index: -1;
    filter: blur(50px);
}

/* Premium Pill-Shaped Layout Accent for Action Item */
.btn-pill-premium {
    border-radius: 30px !important;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-pill-premium:hover {
        transform: translateX(3px);
    }

/* Typography Scale Tweak */
.lead-sm {
    font-size: 1.05rem;
    line-height: 1.6;
}


/* Service Card Base Configuration */
.service-card {
    background-color: #f8fafc; /* Ultra-light clean slate */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Iconic Container Formatting */
.service-card .icon-box {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

/* Trendy Hover Interactions: Lifting effect & deep soft shadow */
.service-card:hover {
    transform: translateY(-8px);
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
}

    .service-card:hover .icon-box {
        transform: scale(1.1) rotate(5deg);
    }

/* Subtle badge text tracking adjustment */
.tracking-wider {
    letter-spacing: 0.05em;
    font-size: 13px !important;
    color: crimson !important;
    margin-top: 30px;
    font-family: Cambria, Cochin, Georgia, Times, Times New Roman, serif;
}


/* Testimonial Card Enhancements */

/* Colorful Pastel Section Backdrop */
.testimonial-bg-gradient {
    background: linear-gradient(135deg, #eef2f7 0%, #e0eafd 50%, #dcfce7 100%);
}

/* Enhanced Glowing Testimonial Cards */
.testimonial-card {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Colored Top-Accent Borders for Each Card Type */
.border-accent-primary {
    border-top: 5px solid #0d6efd !important;
}

.border-accent-success {
    border-top: 5px solid #198754 !important;
}

.border-accent-warning {
    border-top: 5px solid #f59e0b !important;
}

.border-accent-danger {
    border-top: 5px solid #dc3545 !important;
}

.border-accent-info {
    border-top: 5px solid #0dcaf0 !important;
}

/* Subtle Interactive Hover State */
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(13, 110, 253, 0.1);
}

/* Bright Star Badges */
.text-gold-star {
    color: #f59e0b;
    font-size: 1.1rem;
}

/* User Profile Circular Avatars with High Contrast text */
.avatar-placeholder {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* User Profile Circular Avatars */
.avatar-placeholder {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

/* Text Size Tweaks for Clean Rhythm */
.small-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.text-mini {
    font-size: 0.75rem;
}

/* Custom Nav Arrow Positioning to break out of the slider bounds */
.testimonial-prev, .testimonial-next {
    color: #0d6efd !important;
    background: #ffffff;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    top: 45% !important;
}

.testimonial-prev {
    left: -15px !important;
}

.testimonial-next {
    right: -15px !important;
}

.testimonial-prev::after, .testimonial-next::after {
    font-size: 1.1rem !important;
    font-weight: bold;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: #198754 !important; /* Elegant green accent for trust element */
}
/* ==========================================================================
   TRENDY EXPANDED WHATSAPP CHAT BADGE WITH REAL IMAGE
   ========================================================================== */
.whatsapp-sticky-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 48px;
    background-color: #25D366; /* Official rich WhatsApp brand green */
    color: #ffffff !important;
    border-radius: 50px; /* Transforms the block into a sleek modern pill container */
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

    /* Micro-interaction hover effect */
    .whatsapp-sticky-badge:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
        background-color: #22c35e;
    }

/* Isolates the pulsing scale heartbeat animation strictly to the real SVG logo */
.whatsapp-blink-logo {
    animation: waRealHeartbeat 2.0s infinite ease-in-out;
    display: inline-block;
}

@keyframes waRealHeartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.18);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.18);
    }

    70% {
        transform: scale(1);
    }
}

/* 2. Middle Right Sticky Social Media Strip */
.social-sticky-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
}

/* Individual Social Link Base Anchor styling */
.social-link {
    width: 44px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
   /* border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;*/
    margin-bottom: 2px;
}

    /* Slide out slightly on hover to delight users */
    .social-link:hover {
        width: 54px;
        padding-right: 10px;
        transform: translateX(-4px);
    }

    /* Distinct Brand Accents for Each Platform */
    .social-link.facebook {
        background-color: #1877f2;
    }

    .social-link.instagram {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    }

    .social-link.linkedin {
        background-color: #0077b5;
    }

    .social-link.youtube {
        background-color: #ff0000;
    }

    .social-link.twitter {
        background-color: #000000;
    }
/* Modern minimal branding */


/* Responsive Optimization for Smaller Touchscreens */
@media (max-width: 576px) {
    .whatsapp-sticky-btn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }
    /* Hide or minimize social tray on small phones to preserve content read space */
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .social-link:hover {
        width: 40px;
    }
}


/* Bright Minimalist Counter Layout Styles */
.fw-black {
    /*font-weight: 850 !important;*/
    letter-spacing: -1.5px;
}

.tracking-wider {
    letter-spacing: 1.5px;
    font-size: 0.78rem;
}

/* Elegant, Interactive Medical Card Hover Feel */
.metric-bright-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .metric-bright-card:hover {
        background-color: #f0f5ff; /* Soft, professional medical-tint background */
        transform: translateY(-2px);
    }

/* Responsive Grid Border Resets */
@media (max-width: 767.98px) {
    .border-responsive-tablet-none {
        border-right: none !important;
    }
}

@media (max-width: 575.98px) {
    .border-responsive-none {
        border-right: none !important;
    }
}

/* ==========================================================================
   PREMIUM MODERN 3D METRICS STYLING
   ========================================================================== */

/* The primary slab container lifted heavily off the flat light-gray background */
.metrics-3d-slab {
    position: relative;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 30px 60px -30px rgba(15, 23, 42, 0.08), inset 0 1px 0 #ffffff; /* Creates a clean, realistic top lighting edge */
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* Individual inner cards styled like tactile buttons floating on the slab */
.metric-3d-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* The 3D spinning numbers project forward with subtle light shadow depth */
.metric-3d-num {
    text-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Tactile 3D Hover Interaction: Gives a responsive "click down" physical feel */
@media (min-width: 768px) {
    .metric-3d-card:hover {
        transform: translateY(3px); /* Physically settles downward when pressed */
        background-color: #f8fafc;
        border-color: #cbd5e1;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), inset 0 2px 4px 0 rgba(148, 163, 184, 0.15); /* Internal shadow mimics physical depth */
    }
}

/* ==========================================================================
   TRENDY PILL-STYLE SCROLL TO TOP UTILITY
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    /* Removed the fixed round width to let the text expand comfortably */
    height: 46px;
    background-color: blue;
    border: 1px solid rgba(13, 110, 253, 0.15); /* Light blue matching border accent */
    border-radius: 30px; /* Transforms the shape into a clean, smooth modern pill */
    z-index: 1050;
    cursor: pointer;
    text-decoration: none !important;
    /* Elegant initial state: hidden, lowered, and completely transparent */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Premium hardware-accelerated transitions */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

    /* Core styling for the new 'Go to Top' typography label */
    .scroll-top-btn .scroll-text {
        font-size: 0.78rem;
        letter-spacing: 1px;
        color: white;
        transition: color 0.3s ease;
    }

    /* Forces the arrow mark icon to be the distinct medical blue theme */
    .scroll-top-btn .scroll-icon {
        font-size: 1rem;
        color: white;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    /* Active Display Trigger State */
    .scroll-top-btn.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Elegant Hover States: Text turns white, button fills blue, arrow jumps up slightly */
    .scroll-top-btn:hover {
        background-color: blue;
        border-color: #0d6efd;
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(13, 110, 253, 0.25);
    }

    .scroll-top-btn:hover .scroll-text {
        color: #ffffff; /* Text turns white on hover */
    }

    .scroll-top-btn:hover .scroll-icon {
        color: yellow; /* Arrow turns white on hover */
        transform: translateY(-2px); /* Subtle physical 3D jump */
    }

/* Layout optimization for smaller smartphone touch screens */
@media (max-width: 576px) {
    .scroll-top-btn {
        bottom: 85px;
        right: 20px;
        height: 40px;
    }

    .scroll-top-btn .scroll-text {
        font-size: 0.72rem;
    }
}


.threeD {
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.24);
    border: 2px solid rgba(7, 7, 7, 0.12);
}
