@import url('https://fonts.googleapis.com/css2?family=Patua+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');
:root {
  /* Brand colors (matched to logo) */
  --brand: #0D4F8B;        /* Logo blue (primary) */
  --brand-dark: #0A3B69;   /* Deeper blue for hover */
  --brand-light: #4FA3D1;  /* Soft sky blue for sections */

  /* Accent (warm yellow from logo text) */
  --accent: #F2B705;       /* Logo yellow */
  --accent-light: #FFE08A; /* Soft yellow background */

  /* Secondary accent (fresh medical green for icons/CTA) */
  --highlight: #1FB6A6;    /* Teal medical accent */

  /* Status */
  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #DC2626;

  /* Text */
  --ink: #0F172A;
  --ink-light: #6B7280;

  /* Neutral grays */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2933;
  --gray-900: #0B1220;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px rgb(0 0 0 / 0.12);
  --shadow-xl: 0 20px 25px rgb(0 0 0 / 0.15);
}




* {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}



h1, h2 ,h3 {
     font-family: "Roboto Flex", sans-serif;
}

/* Ensure anchored sections aren't hidden behind navbar */
:where(header, section, div, footer)[id] {
    scroll-margin-top: 96px; /* approx navbar height on desktop */
}

@media (max-width: 991.98px) {
    :where(header, section, div, footer)[id] {
        scroll-margin-top: 72px;
    }
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}



/* navbar */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-lg);
}

.nav-item a {
    color: var(--ink);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
}

/* Mobile navbar improvements */
@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        height: 86px;
        width: auto;
    }

    .navbar .navbar-toggler {
        border: 2px solid rgba(0, 0, 0, 0.1);
        padding: 0.35rem 0.5rem;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

    .navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }

    .navbar .navbar-toggler-icon {
        filter: invert(35%);
        width: 1.5rem;
        height: 1.5rem;
    }

    .navbar .collapse.show {
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        padding: 0.5rem 0.25rem;
        border-radius: 0 0 12px 12px;
    }

    #navMenu .nav-link {
        padding: 0.75rem 0.75rem !important;
        margin: 0.125rem 0.25rem;
        border-radius: 10px;
    }

    #navMenu .btn.btn-brand {
        width: 100%;
        margin-top: 0.25rem;
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }
}

.nav-item a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item a:hover::before,
.nav-item a.active::before {
    width: 80%;
}

.nav-item a.active {
    color: var(--brand);
    font-weight: 600;
    background: rgba(99, 102, 241, 0.05);
}

.nav-item a:hover {
    color: var(--brand);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-brand:hover::before {
    left: 100%;
}

.btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: #fff;
}

.btn-outline-dark {
    border: 2px solid var(--ink);
    color: var(--ink);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.badge-soft {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.1));
    color: var(--brand);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.badge-soft:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(245, 158, 11, 0.15));
}

.badge-soft span {
    white-space: normal;
    font-size: 0.85rem;
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--brand);
    position: relative;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    border-radius: 2px;
}

.shadow-soft {
    box-shadow: var(--shadow-lg);
}

/* Section backgrounds */
.bg-light {
    background: linear-gradient(135deg, var(--gray-50), rgba(255, 255, 255, 0.8)) !important;
    position: relative;
}

/* Mobile footer (bottom nav) */
.mobile-footer {
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.96)) !important;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
}

.mobile-footer .nav-item {
    flex: 1 1 0;
}

.mobile-footer a {
    position: relative;
    color: var(--ink);
    transition: all 0.25s ease;
}

.mobile-footer a i {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-footer a:active i,
.mobile-footer a.active i {
    transform: translateY(-2px) scale(1.05);
    color: var(--brand);
}

.mobile-footer a.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 28px;
    height: 3px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    transform: translateX(-50%);
}

.mobile-footer .call-fab {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
    position: relative;
    top: -18px;
    border: none;
    left: 4px;
}

.mobile-footer .call-fab::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,0,0,0.08), transparent 70%);
    z-index: -1;
}

@keyframes ringPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 106, 178, 0.35); }
    70% { box-shadow: 0 0 0 16px rgba(0, 106, 178, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 106, 178, 0); }
}

.mobile-footer .call-fab {
    animation: ringPulse 2.2s infinite;
}

/* Safe area for iOS */
@supports (padding: max(0px)) {
    .mobile-footer {
        padding-bottom: max(env(safe-area-inset-bottom), 8px);
    }
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%236366f1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.rounded-4 {
    border-radius: 1.25rem
}

/* Hero */
.hero {
    background:
        radial-gradient(1200px 700px at 80% -20%, rgba(99, 102, 241, 0.15), transparent 60%),
        radial-gradient(800px 500px at 20% 100%, rgba(245, 158, 11, 0.1), transparent 50%),
        linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(245, 158, 11, 0.05)),
        linear-gradient(180deg, var(--gray-50), rgba(255, 255, 255, 0.8));
    position: relative;
    overflow: hidden;
}

/* Headline and sub-headline colors */
.hero h1,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand);
}

.lead {
    color: var(--brand-dark) !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%236366f1" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23f59e0b" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%236366f1" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23f59e0b" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero .doc-card {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.hero .doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.doc-card img {
    width: 205px;
    height: 210px;
}

.checklist i {
    color: var(--brand);
}

/* Sticky CTA */
.floating-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1030;
}

.floating-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-cta a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.floating-cta a:hover::before {
    left: 100%;
}

.floating-cta a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-2xl);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

@media (max-width: 576px) {
    .floating-cta a {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
        border-radius: 50px;
    }

    .floating-cta i {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Prevent content hidden behind mobile footer */
    body {
        padding-bottom: 84px; /* mobile footer height + spacing */
    }
}

/* Navbar */
.navbar-brand b {
    color: var(--brand-dark)
}

/* Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--brand);
    background: rgba(255, 255, 255, 0.95);
}

.feature-card i {
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
    color: var(--brand) !important;
}

/* Small utilities */
.text-brand {
    color: var(--brand)
}



#about p {
    text-align: justify;
    font-size: 16px;
}


.hover-shadow:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-3px);
}

.transition {
    transition: all 0.3s ease-in-out;
}



.condition-badge {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--brand);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.condition-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.condition-badge:hover::before {
    left: 100%;
}

.condition-badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.1));
    border-color: var(--brand);
    color: var(--brand-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
}




@media (max-width: 576px) {

    /* Make badge text wrap nicely and center */
    .hero .badge {
        display: block;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
    }

    /* Reduce heading size for mobile */
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    /* Reduce lead paragraph padding */
    .hero p.lead {
        font-size: 0.95rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Make doc-card take full width and add margin */
    .hero .doc-card {
        margin-top: 1.5rem;
        padding: 1.25rem;
    }

    /* Adjust phone number size for smaller screens */
    .hero .doc-card span.fw-bold {
        font-size: 1.4rem !important;
    }

    /* Checklist items - smaller text & spacing */
    .hero .doc-card ul.checklist li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    /* Make icons and text features align nicely */
    .hero .row.g-3.small.text-muted>div {
        font-size: 0.85rem;
    }


}


@media (max-width: 768px) {
    .logo img {
        height: 56px !important;
        width: auto;
    }
}


@media (max-width: 767.98px) {
    /* Disable sticky navbar on mobile */
    #mainNav.sticky-top,
    .navbar.sticky-top {
        position: static !important;
        top: auto !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
}

.gallery-box {
  height: 220px;           /* adjust height if needed */
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* makes all images same height nicely */
  transition: transform .3s ease;
}

.gallery-box:hover img {
  transform: scale(1.05);
}




.fixed-buttons {
  position: fixed;
  left: 20px; 
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}


.fixed-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}


.btn-call {
  background-color: #13C5DD; 
}



.fixed-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

@media (max-width: 576px) {
  .fixed-buttons a {
    width: 50px;
    height: 50px;
  }

  .btn-call i,
  .btn-whatsapp i {
    font-size: 1.2rem; /* adjust to fit inside smaller buttons */
  }
}

/* Widget Container */
#whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

/* Floating Button */
#open-chat.btn-floating {
  background-color: #25D366;
  color: #fff;
  border: none;
  padding: 13px 12px;
   width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Chat Box */
#whatsapp-chat {
  width: 280px;
  background: #f5f0eb;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.whatsapp-header {
  background: #075E54;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-header .profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.whatsapp-header .info .name {
  font-weight: bold;
}

.whatsapp-header .info .status {
  font-size: 12px;
  color: #b8f1e3;
}

/* Body */
.whatsapp-body {
  padding: 10px;
  min-height: 200px;
}

.whatsapp-body .message {
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
}

/* Footer Button */
.whatsapp-footer {
  padding: 10px;
  background: #f5f0eb;
  text-align: center;
}

.btn-chat {
  background: #25D366;
  color: #fff;
  padding: 8px 12px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

/* Close button */
#close-chat {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 576px) {
  #whatsapp-chat {
    width: 90%;
    right: 5%;
    bottom: 80px;
  }
}
