/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');



/* Apply Outfit font globally */
body {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
}




/* Topbar styling */
.topbar {
  background-color: #f8f9fa;
  font-size: 14px;
  padding: 5px 0;
}

.topbar a {
  text-decoration: none;
  color: #333;
}

/* Navbar styling */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 600;
  font-size: 20px;
}

.nav-link {
  color: #1F1A17;
  margin-right: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1C5B90;
}

.h2 {
  color: #1F1A17;
}



.fs-4 a:hover {
  transform: scale(1.1);
  transition: 0.2s ease-in-out;
}

.footer {
  font-family: 'Outfit', sans-serif;
}

.footer h4,
.footer h5 {
  color: #1F1A17;
}

.footer h5 :hover {
  color: #1F1A17
}


.footer .form-control {
  font-size: 14px;
}

.footer .btn-warning {
  background-color: #1F1A17;
  border: none;
}

.footer .btn-warning:hover {
  background-color: #1F1A17;
}

.social-links :hover {
  color: #1F1A17
}

.quick-links a:hover {
  color: #1F1A17 !important;
}

.social-links a:hover {
  color: #1F1A17 !important;
}

#backToTopBtn {
  background-color: #1C5B90;
  /* Green */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  border: none;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#backToTopBtn:hover {
  background-color: #1C5B90;
  /* Darker green on hover */
  transform: scale(1.1);
}

.clients-slider {
  position: relative;
  height: 100px;
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scroll-left 20s linear infinite;
  align-items: center;
}

.client-logo {
  flex: 0 0 auto;
  width: 150px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.btn-outline-custom {
  color: #1C5B90;
  border-color: #1C5B90;
}

.btn-outline-custom:hover {
  background-color: #1C5B90;
  color: white;
}

.bg-custom {
  background-color: #1C5B90 !important;
  color: #ffffff;
}

.text-custom {
  color: #1C5B90 !important;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.75;
  transition: all 0.3s ease;
}

.footer-links a i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #1F1A17;
}

.footer-links a:hover i {
  transform: translateX(5px);
}

#ambulanceBtn {
  animation: siren-flash 5s infinite alternate, pulse-red 5.5s infinite;
}

#whatsappBtn {
  animation: pulse-green 2s infinite;
}

@keyframes siren-flash {
  0% {
    background: red;
    box-shadow: 0 0 15px red;
  }

  50% {
    background: blue;
    box-shadow: 0 0 15px blue;
  }

  100% {
    background: red;
    box-shadow: 0 0 25px red;
  }
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
  }
}


/* ===============================
   Index GLASS SHIMMER / REFLECTION
================================ */
.glass-reflect::before,
.glass-animate::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 220%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.45),
      transparent);
  transform: rotate(25deg);
  animation: glassMove 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glassMove {
  0% {
    left: -80%;
  }

  60% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

/* ===============================
   ICON ANIMATION
================================ */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.gradient-icon {
  background-size: 300% 100%;
  background-clip: text;
  color: transparent;
  animation: gradientMove 10s ease-in-out infinite;
}

/* Doctors */
.gradient-doctor {
  background-image: linear-gradient(90deg,
      #1C5B91,
      #3DB5D0,
      #198754,
      #1C5B91);
}

/* Ambulance  */
.gradient-oxygen {
  background-image: linear-gradient(90deg,
      #dc2626,
      #2563eb,
      #dc2626);
}

/* Blood Bank */
.gradient-blood {
  background-image: linear-gradient(90deg,
      #7A0000,
      #C1121F,
      #E11D48,
      #7A0000);
}

/* Hospital */
.gradient-hospital {
  background-image: linear-gradient(90deg,
      #0b4b33,
      #01EFC3,
      #0b4b33);
}

/* Diagnostic */
.gradient-diagnostic {
  background-image: linear-gradient(90deg,
      #F77F00,
      #FCA311,
      #F77F00);
}

/* Organization */
.gradient-org {
  background-image: linear-gradient(90deg,
      #3A0CA3,
      #AA7EC5,
      #3A0CA3);
}


/* ===== About Sevalink ===== */
.animated-gradient-text {
  background: linear-gradient(90deg,
      #1C5B91,
      #3DB5D0,
      #198754,
      #1C5B91);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 4s ease-in-out infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* homepage sdepartment filter part */
/* Custom Select Styling */
.custom-premium-select select {
  cursor: pointer;
  transition: all 0.3s ease;
  padding-left: 10px;
}

/* For browsers that support styling select options */
.custom-premium-select select option {
  background-color: #ffffff;
  color: #1C5B91;
  padding: 10px;
}

/* Hover effect for the whole input group */
.custom-premium-select:hover i {
  transform: scale(1.1);
  transition: 0.3s;
  text-shadow: 0 0 8px rgba(61, 181, 208, 0.4);
}

/* Fixing the default focus border to match the Heart Pulse color */
.form-select:focus {
  border-color: #3DB5D0 !important;
  box-shadow: 0 0 0 0.25rem rgba(61, 181, 208, 0.15) !important;
}

/* =============================================
   ANDROID STUDIO / WEBVIEW NOTCH COMPATIBILITY
   ============================================= */
/* Safe area support */
@supports (padding-top: env(safe-area-inset-top)) {
    
    .navbar.fixed-top {
        padding-top: env(safe-area-inset-top);
        height: calc(56px + env(safe-area-inset-top));
    }

    body {
        padding-top: calc(56px + env(safe-area-inset-top));
    }
}

.navbar.fixed-top {
    background-color: #3A9942;
}


