@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&family=Poppins:wght@400;500;600;700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400 !important;
}

body,
p,
small {
    font-family: 'Poppins', sans-serif;
}

/* .fw-bold,
h3,
body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
} */

/* Custom Variables & Color Scheme */
:root {
    --primary-color: #03743c;
    --primary-dark: #025a2f;
    --primary-light: #ebf7ed;
    --gradient-banner: linear-gradient(135deg, #03743c 0%, #014d27 100%);

    /* Bootstrap overrides */
    --bs-primary: #03743c;
    --bs-primary-rgb: 3, 116, 60;
    --bs-primary-bg-subtle: #ebf7ed;
    --bs-link-color: #03743c;
    --bs-link-hover-color: #025a2f;
}

body {
    /* font-family: 'Open Sans', Roboto, sans-serif !important; */
    color: #333;
}

/* Global Heading Colors */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #9b3654 !important;
}

/* Ensure headings inside text-white or dark containers remain white/light */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white,
.text-light h1,
.text-light h2,
.text-light h3,
.text-light h4,
.text-light h5,
.text-light h6,
h1.text-light,
h2.text-light,
h3.text-light,
h4.text-light,
h5.text-light,
h6.text-light,
.hero-banner h1,
.hero-banner h2,
.hero-banner h3,
.hero-banner h4,
.hero-banner h5,
.hero-banner h6,
.page-header h1,
.page-header h2,
.page-header h3,
.page-header h4,
.page-header h5,
.page-header h6,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
    color: #fff !important;
}

/* Bootstrap Utility Overrides */
.text-primary {
    color: #03743c !important;
}

.bg-primary {
    background-color: #03743c !important;
}

.btn-primary {
    background-color: #03743c !important;
    border-color: #03743c !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #025a2f !important;
    border-color: #025a2f !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(3, 116, 60, 0.25) !important;
}

.btn-outline-primary {
    color: #03743c !important;
    border-color: #03743c !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #03743c !important;
    border-color: #03743c !important;
    color: #fff !important;
}

.start-50 {
    left: 44% !important;
}

/* ==========================================
   ANIMATED HERO BANNER STYLING
========================================== */
.hero-banner {
    position: relative;
    min-height: 85vh;
    padding: 80px 0;
    background: #040404;
    overflow: hidden;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.14) 0%, transparent 28%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.96) 0%, rgba(12, 12, 12, 0.92) 45%, rgba(0, 0, 0, 0.98) 100%);
    z-index: 0;
}

/* Floating Animated Background Circles */
.animated-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: floatCircle 12s infinite ease-in-out alternate;
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
}

.circle-2 {
    width: 450px;
    height: 450px;
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}

/* Floating Glassmorphism Hero Card */
.hero-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    animation: floatingCard 4s ease-in-out infinite alternate;
}

.hero-glass-card .text-dark,
.hero-glass-card .text-muted,
.hero-glass-card .small {
    color: #f5f5f5 !important;
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.hero-badge-row .badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.icon-shape {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Keyframe Animations */
@keyframes floatCircle {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(40px) scale(1.1);
    }
}

@keyframes floatingCard {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

/* Hero Entrance Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* General scroll animations for index sections (excluding hero/banner) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms cubic-bezier(.2, .8, .2, 1), transform 520ms cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger visible children inside a container (JS will set delays) */
.animate-on-scroll .stagger-child {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 480ms ease, transform 480ms ease;
}

.animate-on-scroll.visible .stagger-child {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   CARDS & UTILITY STYLES
========================================== */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 30px rgba(3, 116, 60, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 116, 60, 0.06), transparent 70%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(3, 116, 60, 0.15) !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #03743c !important;
}

.service-icon-wrap {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #03743c, #26a669);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(3, 116, 60, 0.2);
}

.bg-brimary {
    background: linear-gradient(135deg, #c31026 0%, #932c4a 50%, #03743c 100%) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background-color: var(--primary-light);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Navigation */
.navbar-nav .nav-link {
    color: #2f2f2f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #03743c;
}

.navbar-nav .nav-link.active {
    color: #03743c !important;
    font-weight: 700;
}

/* Hero Image Background & Overlay */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.24;
    filter: grayscale(100%) brightness(0.6);
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(45 76 203 / 78%) 0%, rgb(18 27 66 / 92%) 100%);
    z-index: 1;
}

.hero-image-wrapper {
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Customizing Carousel Indicators */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}

/* Legacy medical-treatments specific rules removed in favor of general animate-on-scroll
   The following rules ensure service-card elements animate when their section gains .visible */
.animate-on-scroll .service-card {
    transition: opacity 600ms ease, transform 600ms ease;
    opacity: 0;
    transform: translateY(8px);
}

.animate-on-scroll.visible .service-card {
    opacity: 1;
    transform: translateY(0);
}

.about-feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid #e8eef8;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 140px;
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(3, 116, 60, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(3, 116, 60, 0.14);
}

.feature-box i {
    font-size: 1.5rem;
}

.feature-box span {
    font-weight: 600;
    color: #1f2937;
}

/* ==========================================
   PAGE HEADER BANNER STYLING
   ========================================== */
.page-header {
    position: relative;
    overflow: hidden;
    background-color: #0a2240;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.22;
    filter: grayscale(30%) brightness(0.6);
    z-index: 0;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8) 0%, rgba(10, 34, 64, 0.92) 100%);
    z-index: 1;
}

/* ==========================================
   SERVICE SECTION: BACKGROUND BANNER WITH OVERLAY
   ========================================== */
.bg-banner {
    position: relative;
    background-image: linear-gradient(135deg, rgb(106 129 223 / 0%) 0%, rgb(18 27 66 / 92%) 100%), url(../img/banner.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.bg-banner .container {
    position: relative;
    z-index: 2;
}

.bg-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    /* keeps the gradient above the image already defined but provides a consistent overlay layer */
    z-index: 1;
    pointer-events: none;
}

.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #96eec3 !important;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.8) !important;
}

.contact-card .icon-circle {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.contact-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
}

/* --- Success Stories Slider Styling --- */

/* Card Styling & Hover Animation */
.testimonial-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Custom Prev/Next Buttons */
.carousel-control-prev-icon-custom,
.carousel-control-next-icon-custom {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    color: #0d6efd;
    /* Your Primary Color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon-custom,
.carousel-control-next:hover .carousel-control-next-icon-custom {
    background-color: #0d6efd;
    color: #ffffff;
}

/* Indicators (Dots) Styling */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #0d6efd;
    opacity: 0.3;
    transition: opacity 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    width: 28px;
    border-radius: 10px;
}

/* Light Background Helper for Badges & Icons */
.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.text-primary-light {
    color: rgba(13, 110, 253, 0.3);
}

/* --- Background Image Section with Overlay --- */
.bg-overlay-section {
    background-image: url('../img/banner.jpg');
    /* Insert your image URL here */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect (optional) */
    position: relative;
}

/* Semi-transparent overlay to ensure top-notch content readability */
.bg-overlay-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.88);
    /* Light tint (90% opacity) */
    z-index: 1;
}

/* Ensure text and cards stay on top of overlay */
.z-1 {
    z-index: 1;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1);
}

/* --- MEDICAL SERVICES SECTION ANIMATIONS --- */

/* Base Card Styling */
.service-card {
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        background-color 0.3s ease;
    cursor: pointer;
}

/* Subtle Top Primary Line Glow on Hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #03743c, #0d6efd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Card Hover State (Elevation Effect) */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(3, 116, 60, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

/* Icon Container Animation */
.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(3, 116, 60, 0.08);
    /* Matches primary green */
    color: #03743c;
    font-size: 1.5rem;
    transition: transform 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Icon Animation on Card Hover */
.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(-6deg);
    background-color: #03743c;
    color: #ffffff;
}

/* Title Transition */
.service-card .card-title {
    transition: color 0.3s ease;
}

.service-card:hover .card-title {
    color: #03743c;
}

/* Letter Spacing Utility */
.tracking-wider {
    letter-spacing: 1.5px;
}

.trusted-section {
    background-color: #ffffff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.trusted-title {
    color: #009688;
    /* Teal color matching the screenshot */
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
}

/* Flag Card Styling */
.flag-card {
    text-align: center;
    padding: 10px;
    outline: none;
}

.flag-img-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 10px;
}

.flag-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    margin-top: 5px;
}

/* Slider Arrows Styling */
.slick-prev:before,
.slick-next:before {
    color: #009688;
    font-size: 24px;
}

/* Main Footer Container */
.custom-footer {
    background-color: rgb(11 28 103 / 92%);
    color: #ffffff;
    padding-top: 80px !important;
    padding-bottom: 20px;
    font-family: Arial, sans-serif;
}

/* Headings */
.custom-footer h5 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.custom-footer h6 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

/* Navigation Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Office Addresses */
.office-info {
    font-size: 0.85rem;
    color: #d1d5db;
    line-height: 1.4;
}

.office-info strong {
    color: #ffffff;
}

/* Bottom Light Blue Banner */
.footer-contact-banner {
    background-color: #d8ecf8;
    color: #1a202c;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 25px 30px;
    margin-top: 50px;
}

/* Circular Icons */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.icon-circle.phone-icon {
    background-color: #ffffff;
    color: #25d366;
}

/* Social Media Icons */
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.social-youtube {
    background-color: #ff0000;
    font-size: 13px;
    font-weight: bold;
}

.social-linkedin {
    background-color: #0077b5;
}

.social-facebook {
    background-color: #1877f2;
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Badges / Logos */
.badge-img {
    max-height: 75px;
    width: auto;
    object-fit: contain;
}

/* Optional: Pulse Effect Animation */
/* Fixed WhatsApp Floating Button */
.whatsapp-fixed-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-fixed-btn:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: #ffffff !important;
}

/* Optional Pulse Wave Animation Effect */
.whatsapp-fixed-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 576px) {
    .whatsapp-fixed-btn {
        bottom: 18px;
        right: 50px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

.service-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    /* Remove padding to let image flush to edges */
    padding: 0 !important;
}

.service-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-5px);
}

/* Container for the image to maintain aspect ratio */
.card-image-wrap {
    width: 100%;
    height: 270px;
    /* Adjust height as needed */
    overflow: hidden;
    position: relative;
}

/* The actual image styling */
.card-service-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    /* Ensures image covers area without stretching */
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

/* Hover animation: Image scales up slightly and fades */
.service-card:hover .card-service-img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Add padding back to the text area */
.service-card .card-body {
    padding: 1.5rem !important;
}

.trusted-section {
    background-color: #e3e7f9;
    /* background-image: url(./assets/img/banner.jpg); */
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.trusted-title {
    color: #009688;
    /* Teal color matching the screenshot */
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
}

/* Flag Card Styling */
.flag-card {
    text-align: center;
    padding: 10px;
    outline: none;
}

.flag-img-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 10px;
}

.flag-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    margin-top: 5px;
}

/* Slider Arrows Styling */
.slick-prev:before,
.slick-next:before {
    color: #009688;
    font-size: 24px;
}