:root {
    --primary-green: #198754;
    --navy-blue: #002D5B;
    --text-navy: #002D5B;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.text-navy { color: var(--navy-blue); }
.btn-success { background-color: var(--primary-green); border-color: var(--primary-green); }

.nav-link {
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255,255,255,0.1);
}

.treatment-grid-item {
    transition: 0.3s;
    cursor: pointer;
}

.treatment-grid-item:hover {
    background-color: #F8F9FA;
    transform: scale(1.02);
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.side-floating a {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.1);
}

.side-floating i {
    transform: rotate(180deg);
    margin-bottom: 5px;
}
/* Footer Links Hover effect */
.footer-links a:hover {
    color: #198754 !important; /* Green from the logo */
    padding-left: 5px;
    transition: 0.3s;
}

/* Floating WhatsApp Button */
.whatsapp-sticky {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    color: white;
}

/* White logo filter if needed */
.filter-white {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 15px;
        right: 15px;
    }
}
.facility-card {
    transition: all 0.3s ease-in-out;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
}

.facility-card .icon-circle {
    width: 60px;
    height: 60px;
    background-color: #eaf6ff;
    border-radius: 50%;
    margin: 0 auto;
    transition: 0.3s;
}

.facility-card:hover {
    transform: translateY(-5px);
    border-bottom-color: #198754 !important; /* Green border on hover */
    box-shadow: 0 10px 20px rgba(0, 45, 91, 0.1) !important;
}

.facility-card:hover .icon-circle {
    background-color: #198754;
}

.facility-card:hover i {
    color: #ffffff !important;
}

.text-navy {
    color: #002D5B;
}

/* For the extra icon used in Dental Braces */
.fa-teeth-pan:before {
    content: "\f8ff"; /* FontAwesome code for teeth */
}
/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(25, 135, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

/* Attractive Enhancements */
.hero-section {
    background: radial-gradient(circle at top right, #eaf6ff, #f8f9fa) !important;
    overflow: hidden;
}

.floating-doctor {
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,45,91,0.2));
}

.btn-success {
    background-color: #198754;
    border: none;
    transition: 0.3s;
}

.btn-success:hover {
    background-color: #157347;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.3);
}

.btn-navy {
    background-color: #002D5B;
    transition: 0.3s;
}

.btn-navy:hover {
    background-color: #001d3d;
    transform: translateY(-3px);
}

/* Side Floating Buttons Glassmorphism */
.side-floating a {
    backdrop-filter: blur(5px);
    border-left: 3px solid transparent;
    transition: 0.3s;
}

.side-floating a:hover {
    padding-right: 35px !important;
    border-left: 3px solid #fff;
}

/* Facility Card Hover */
.facility-card {
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.facility-card:hover {
    background: #002D5B !important;
    transform: scale(1.05);
}

.facility-card:hover h6, .facility-card:hover i {
    color: #fff !important;
}

/* Consultation Box Glow */
.timing-box {
    border: 2px solid #002D5B;
    box-shadow: 0 15px 35px rgba(0,45,91,0.1);
}


.btn-outline-navy {
    border: 2px solid #002D5B;
    color: #002D5B;
    font-weight: 600;
}

.btn-outline-navy:hover, 
.btn-outline-navy.active {
    background-color: #002D5B;
    color: #fff;
}

/* Premium Services Styling */
.premium-services {
    background-color: #f4faff; /* Very light blue tint background */
    overflow: hidden;
}

.clinic-image-wrapper img {
    height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 0 50px 50px 0; /* Creates the rounded corner on the right only */
}

/* Glassy Service Cards */
.service-glass-card {
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 102, 255, 0.1) !important;
}

/* Icon Box Styling - Matching Image 5 */
.ps-icon-box {
    width: 60px;
    height: 60px;
    background: #0066FF; /* Matching the blue in the user's images */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 15px rgba(0, 102, 255, 0.2);
}

/* Arrow Button Styling */
.ps-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f7ff;
    color: #0066FF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    margin-top: auto;
}

.ps-arrow-btn:hover {
    background-color: #0066FF;
    color: #fff;
}

.see-all-btn {
    border: 1.5px solid #0066FF;
    color: #0066FF;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.see-all-btn:hover {
    background-color: #0066FF;
    border-color: #0066FF;
}

@media (max-width: 991px) {
    .clinic-image-wrapper img {
        height: 300px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
}
.comparison-slider-wrapper {
    position: relative;
    width: 100%;
    height: 450px; /* Adjust this to your preferred height */
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 20px;
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-img img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Ensures both images fill the space identically */
    display: block;
}

/* The TOP container (After) that gets clipped */
.after-img {
    width: 50%; /* Initial split */
    z-index: 2;
    border-right: 3px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden; /* This creates the 'cut' effect */
}

/* CRITICAL FIX: The image inside the 'After' div 
   must NOT shrink. It must stay the full width of the wrapper. */
#after-img-actual {
    width: 100%; 
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Range Input - The invisible interaction layer */
.comparison-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
}

/* The Vertical White Line */
.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #fff;
    z-index: 3;
    pointer-events: none;
}

/* The Circle Button */
.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002D5B;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 4;
    pointer-events: none;
}
/* Custom Curve for the Clinic Image */
.clinic-image-wrapper img {
    border-top-right-radius: 100px !important;
    border-bottom-right-radius: 100px !important;
}

/* Service Card Hover Effect */
.service-glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.12) !important;
    background-color: #ffffff;
}

/* Icon Box Animation */
.service-glass-card:hover .ps-icon-box {
    transform: rotate(-10deg) scale(1.1);
    transition: 0.3s;
}

/* Arrow Button Hover */
.ps-arrow-btn:hover {
    background-color: #0066FF !important;
    color: #ffffff !important;
}

/* See All Button Glow */
.see-all-btn {
    border: 1.5px solid #0066FF !important;
    color: #0066FF !important;
    transition: 0.3s;
}
.see-all-btn:hover {
    background-color: #0066FF !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

/* Luxury Service Section Styles */
.ls-2 { letter-spacing: 2px; }

.service-luxury-card {
    border-radius: 30px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.service-luxury-card:hover {
    transform: translateY(-15px);
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 45, 91, 0.12) !important;
}

/* Gradient Icon Box */
.ps-icon-gradient {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066FF 0%, #002D5B 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.25);
    transition: 0.4s;
}

.service-luxury-card:hover .ps-icon-gradient {
    transform: rotateY(180deg);
}

/* Decorative Link Line */
.link-line {
    width: 30px;
    height: 2px;
    background: #0066FF;
    transition: 0.4s;
}

.service-luxury-card:hover .link-line {
    width: 60px;
}

/* Organic Image Shape Animation */
.organic-image-wrapper img {
    animation: morph 8s ease-in-out infinite;
    border: 8px solid #fff;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}
/* Modern Arch Styling */
.modern-arch-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* The Arch Frame */
.arch-image-container {
    width: 100%;
    height: 480px;
    border-radius: 20px 20px 20px 20px; /* Perfect Arch */
    overflow: hidden;
    border: 8px solid #fff;
    position: relative;
    z-index: 2;
}

.arch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arch-image-container:hover .arch-img {
    transform: scale(1.1);
}

/* The Floating Badge */
.floating-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #19A974 0%, #0A6EBD 100%); /* Green to Blue Gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    border: 6px solid #fff;
}

.ls-1 { letter-spacing: 1px; line-height: 1.2; font-size: 0.65rem; }

.badge-icon {
    position: absolute;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Background Decoration */
.arch-bg-decoration {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #0A6EBD;
    border-radius: 20px 20px 20px 20px;
    opacity: 0.2;
    z-index: 1;
}
/* Premium Facility Section */
.clinical-services-section {
    position: relative;
    overflow: hidden;
}

/* Card Styling */
.premium-facility-card {
    background: #ffffff;
    border: 1px solid rgba(0, 45, 91, 0.06);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.premium-facility-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 24px;
    background: linear-gradient(135deg, #002D5B 0%, #004a99 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

/* Hover State */
.premium-facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 45, 91, 0.15);
}

.premium-facility-card:hover::before {
    opacity: 1;
}

.premium-facility-card:hover h6, 
.premium-facility-card:hover .learn-more-link,
.premium-facility-card:hover .card-tag {
    color: #ffffff !important;
}

/* Icon Wrapper */
.facility-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #002D5B;
    transition: 0.4s;
}

.premium-facility-card:hover .facility-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.1) rotate(-5deg);
}

/* Category Tag */
.card-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Learn More Link */
.learn-more-link {
    color: #19A974;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.learn-more-link i {
    font-size: 0.7rem;
    transition: 0.3s;
}

.premium-facility-card:hover .learn-more-link i {
    transform: translateX(5px);
}
/* Ensure the Logo turns white if you only have a colored version */
.filter-white {
    filter: brightness(0) invert(1);
}

/* Modal Input Styling to match the 'Premium' look */
.booking-form-input {
    background-color: #f8fbff !important;
    border: 1px solid #e1e9f1 !important;
    padding: 12px 20px !important;
}

.booking-form-input:focus {
    border-color: #19A974 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 169, 116, 0.1) !important;
}

/* Footer Link Hover Animation */
.footer-links a {
    transition: 0.3s;
}

.footer-links a:hover {
    color: #19A974 !important;
    padding-left: 5px;
}

/* WhatsApp Button Positioning */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    text-decoration: none;
}
.whatsapp-sticky:hover { color: white; transform: scale(1.1); }
/* Gallery Ticker Container */
.gallery-ticker {
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* The Track that moves */
.gallery-track {
    display: flex;
    width: calc(300px * 16); /* 300px width * 16 images */
    animation: scroll 40s linear infinite; /* Adjust 40s to speed up/slow down */
}

.gallery-track:hover {
    animation-play-state: paused; /* Gallery stops when user hovers */
}

/* Individual Image Styling */
.gallery-item {
    width: 300px;
    height: 200px;
    padding: 0 10px;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(20%); /* Soft aesthetic */
}

.gallery-item img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    cursor: pointer;
}

/* The Animation Logic */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8)); /* Move exactly half the track width */
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .gallery-item {
        width: 200px;
        height: 150px;
    }
    .gallery-track {
        width: calc(200px * 16);
    }
    @keyframes scroll {
        100% { transform: translateX(calc(-200px * 8)); }
    }
}
/* Premium CTA Styling */
.premium-cta-section {
    border-top: 5px solid #19A974; /* Green accent top border */
}

/* Glowing Button Effect */
.glow-button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(25, 169, 116, 0.4);
    background-color: #157347;
}

/* Background Shapes for Depth */
.cta-bg-shape-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 169, 116, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    border-radius: 50%;
}

.cta-bg-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 110, 189, 0.1) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
}

/* Letter Spacing Utility */
.ls-2 {
    letter-spacing: 2px;
}
/* Premium Timing Box Styling */
.timing-box-premium {
    transition: 0.3s;
    z-index: 1;
}

.timing-box-premium:hover {
    box-shadow: 0 15px 35px rgba(0, 45, 91, 0.08);
    transform: translateY(-5px);
}

.icon-circle-bg {
    width: 60px;
    height: 60px;
    background: #eaf6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sunday Ribbon */
.sunday-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #19A974;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Update to your existing pulse-red for better contrast */
.pulse-red {
    width: 10px;
    height: 10px;
    background: #ff4d4d;
    border-radius: 50%;
    animation: pulse-red-effect 2s infinite;
}

@keyframes pulse-red-effect {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.italic { font-style: italic; }

