/* Public Landing Page Styles - Converted from SCSS */

/* ===================== CSS Variables ===================== */
:root {
  --bs-primary: #355fd3;
  --bs-primary-rgb: 53, 95, 211;
  --bs-secondary: #2e987b;
  --bs-secondary-rgb: 46, 152, 123;
  --bs-black: #161616;
  --bs-white: #ffffff;
  --bs-soft-primary: rgba(53, 95, 211, 0.2);
  --bs-primary-bg-subtle: rgba(53, 95, 211, 0.1);
    --landing-header-height: 4.3rem;
  --landing-header-space: 2rem;
}

/* ===================== Base Styles ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  color: #525252;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: var(--bs-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================== Utility Classes ===================== */
.transition {
  transition: all 0.2s ease-in-out;
}

.hover-opacity:hover {
  opacity: 0.8;
}

/* Icon Sizes */
.icon-size-12 {
  width: 0.75rem;
  height: 0.75rem;
}

.icon-size-14 {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-size-16 {
  width: 1rem;
  height: 1rem;
}

.icon-size-18 {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-size-30 {
  width: 1.875rem;
  height: 1.875rem;
}

.icon-size-32 {
  width: 2rem;
  height: 2rem;
}

.icon-size-70 {
  width: 4.375rem;
  height: 4.375rem;
}

.icon-size-80 {
  width: 5rem;
  height: 5rem;
}

/* Custom Spacers */
.py-20 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.pt-20 {
  padding-top: 1.25rem !important;
}

.pb-20 {
  padding-bottom: 1.25rem !important;
}

.mb-20 {
  margin-bottom: 1.25rem !important;
}

.mt-20 {
  margin-top: 1.25rem !important;
}

.py-50 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.py-70 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.pb-70 {
  padding-bottom: 4.5rem !important;
}

.pt-70 {
  padding-top: 4.5rem !important;
}

.px-50 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.my-20 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

.mt-50 {
  margin-top: 3rem !important;
}

.mb-50 {
  margin-bottom: 3rem !important;
}

.gap-20 {
  gap: 1.25rem !important;
}

.row-gap-20 {
  row-gap: 1.25rem !important;
}

.mt-n4 {
  margin-top: -1.5rem !important;
}

.mt-n5 {
  margin-top: -3rem !important;
}

.ms-n4 {
  margin-left: -1.5rem !important;
}

.me-n5 {
  margin-right: -3rem !important;
}

.mx-n2 {
  margin-left: -0.5rem !important;
  margin-right: -0.5rem !important;
}

.mx-n4 {
  margin-left: -1.5rem !important;
  margin-right: -1.5rem !important;
}

.w-100px {
  width: 100px;
}

/* Font Sizes */
.fs-2 {
  font-size: 1.75rem !important;
}

.fs-4 {
  font-size: 1.25rem !important;
}

.fs-5 {
  font-size: 1.125rem !important;
}

.fs-7 {
  font-size: 0.875rem !important;
}

.fs-8 {
  font-size: 0.7rem !important;
}

.fs-16 {
  font-size: 1.6rem !important;
}

.fs-36 {
  font-size: 3.6rem !important;
}

/* Line Clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fill Colors */
.fill-primary {
  fill: var(--bs-primary);
}

.fill-white {
  fill: var(--bs-white);
}

.fill-black {
  fill: var(--bs-black);
}

.fill-soft-primary {
  fill: var(--bs-soft-primary);
}

/* Background Colors */
.bg-soft-primary {
  background-color: rgba(53, 95, 211, 0.15) !important;
}

.text-soft-primary {
  color: rgba(255, 255, 255, 0.7) !important;
}

.text-dark-custom {
  color: var(--bs-black) !important;
}

/* ===================== Header / Navbar Styles ===================== */
.navbar-custom {
  padding: 0 !important;
  height: 6rem;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-toggler:focus {
  box-shadow: none;
}

@media (min-width: 992px) {
  .navbar-custom {
    height: var(--landing-header-height);
  }

  .navbar-custom:not(.navbar-fixed-top) {
    top: var(--landing-header-space);
  }
}

.navbar-custom.navbar-fixed-top {
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
}

.navbar-custom .navbar-brand img {
  max-height: 4.6rem;
  width: auto;
  max-width: 50%;
}

.navbar-custom .navbar-nav .nav-link {
  text-transform: uppercase;
  color: var(--bs-black);
  position: relative;
  font-weight: 500;
}

.navbar-custom .navbar-nav .nav-link:hover {
  color: var(--bs-primary);
}

@media (min-width: 992px) {
  .navbar-custom .navbar-nav .nav-link::before {
    content: '[';
    margin: 0 0.5rem 0 0;
    translate: 0.5rem 0 0;
  }

  .navbar-custom .navbar-nav .nav-link::after {
    content: ']';
    margin: 0 0 0 0.5rem;
    translate: -0.5rem 0 0;
  }

  .navbar-custom .navbar-nav .nav-link::after,
  .navbar-custom .navbar-nav .nav-link::before {
    display: inline-block;
    opacity: 0;
    transition: all 0.2s ease;
  }

  .navbar-custom .navbar-nav .nav-link.active {
    color: var(--bs-primary);
  }

  .navbar-custom .navbar-nav .nav-link.active::after,
  .navbar-custom .navbar-nav .nav-link.active::before {
    opacity: 1;
    translate: 0 0 0;
  }
}

/* Mobile Menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    display: block !important;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 270px;
    background-color: #f8f9fa;
    z-index: 1050;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.2s ease-in-out;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }
}

/* ===================== Hero Section Styles ===================== */
.public-landing__hero-section {
  padding-top: 6rem !important;
  /* min-height: 100vh; */
}

@media (min-width: 992px) {
  .public-landing__hero-section {
    padding-top: calc(var(--landing-header-height) + var(--landing-header-space));
  }
}

@media (max-width: 991.98px) {
  .public-landing__hero-section .hero-background__img {
    width: 60% !important;
    position: relative !important;
    margin: 0 auto;
  }

  .public-landing__hero-section .gradient-bg-abstract {
    height: 75vh !important;
    bottom: 0 !important;
    position: absolute !important;
    left: 50% !important;
    translate: -50% 0 0;
    width: 90% !important;
  }
}

.heroSwiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .heroSwiper .display-1 {
    font-size: 2.8vw;
  }
}

@media (max-width: 991.98px) {
  .heroSwiper .swiper-slide {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

.public-landing__hero-section.public-landing__hero-section--inner {
  height: 130px;
}

.floating-element {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===================== Section Title Indicator ===================== */
.section-title-indicator {
  display: inline-block;
}

.section-title-indicator.bg-primary {
  box-shadow: 0px 3px 11px 0px rgba(53, 95, 211, 0.25);
}

.section-title-indicator.bg-secondary {
  box-shadow: 0px 2px 10px 0px rgba(46, 152, 123, 0.35);
}

/* ===================== Gradient Backgrounds ===================== */
.gradient-horizontal--bottom {
  background-image: linear-gradient(to bottom, var(--bs-primary) 0%, var(--bs-primary-bg-subtle) 100%);
  opacity: 0.08;
}

.gradient-horizontal--top {
  background-image: linear-gradient(to top, var(--bs-primary) 0%, var(--bs-primary-bg-subtle) 100%);
  opacity: 0.08;
}

.gradient-bg-abstract__item {
  width: 75%;
  border-radius: 40rem 40rem 0 0;
}

.gradient-bg-abstract__item.gradient-horizontal--top {
  border-radius: 0 0 40rem 40rem;
}

/* ===================== What We Do Section ===================== */
.whatwedo-section {
  /* background: linear-gradient(104deg, #fff 10.07%, rgba(53, 95, 211, 0.2) 108.83%); */
  /* background-color: var(--bs-primary) !important; */
  background: linear-gradient(
    104deg,
    #ffffff 10.07%,
    #e1e7f8 108.83%
  );
}

.logo {
  max-height: 3rem;
}

.logo-footer {
  filter: brightness(0) invert(1);
}

.whatwedo-section__logo {
  top: -4rem;
  right: -4rem;
}

@media (max-width: 575.98px) {
  .whatwedo-section__floating-img {
    max-width: 200px !important;
  }

  .whatwedo-section__container {
    max-width: calc(100% - 6rem);
  }

  .whatwedo-section .whatwedo-section__logo {
    top: -2rem;
    right: -2rem;
  }

  .whatwedo-section .whatwedo-section__logo > div {
    width: 5rem !important;
    height: 5rem !important;
  }
}

/* ===================== Recently Added Section ===================== */
.recently-added .clr_v3_card {
  box-shadow: 0rem 0rem 1.5rem 0 rgba(22, 22, 22, 0.1);
}

/* Card Styles */
.clr_v3_card {
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.clr_v3_card:hover {
  transform: translateY(-5px);
  box-shadow: 0rem 0.5rem 2rem 0 rgba(22, 22, 22, 0.15);
}

.clr_v3_card .card-img {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.clr_v3_card .card-body {
  padding: 1.25rem;
}

/* ===================== Download App Section ===================== */
.download-App-section::after,
.download-App-section::before {
  content: '';
  position: absolute;
  height: 6rem;
  left: 0;
  right: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(53, 95, 211, 1) 0%, rgba(53, 95, 211, 0.8) 50%, rgba(0, 0, 0, 0) 100%);
}

.download-App-section::after {
  top: 0;
  background: linear-gradient(180deg, rgba(53, 95, 211, 1) 0%, rgba(53, 95, 211, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
}

.download-App-section::before {
  bottom: -1px;
}

@media (max-width: 767.98px) {
  .download-App-section::before {
    height: 60%;
  }
}

.mt-n3 {
  margin-top: -1.5rem !important;
}

.bg-newsletter {
  background: #253a74
}

/* Doctor Animated Section */
.doctor-animated-section {
  height: 40rem;
  position: relative;
  overflow: hidden;
}

.doctor-animated-item-row {
  animation: scrolling 35s linear infinite;
}

.doctor-animated-item-row .doctor-animated-item {
  width: 7rem;
  background-color: rgba(22, 22, 22, 0.25) !important;
}

.doctor-animated-item__pic {
  height: 5rem;
  width: 5rem;
}

.doctor-animated-item:nth-child(even) {
  margin-bottom: 1rem !important;
}

.doctor-animated-item:nth-child(odd) {
  margin-top: 1rem !important;
}

@media (max-width: 767.98px) {
  .doctor-animated-section {
    height: 30rem;
  }

  .doctor-animated-item-row {
    height: 20rem;
  }

  .doctor-animated-item {
    width: 7.5rem;
  }

  .doctor-animated-item__pic {
    height: 4.5rem;
    width: 4.5rem;
  }
}

@keyframes scrolling {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Get App Button */
.getAppBtn {
  padding: 0.75rem 1.5rem;
}

.getAppBtn:hover {
  background-color: #333 !important;
}

/* ===================== Testimonials Section ===================== */
.testimonials-section .quotation-icon {
  z-index: 1;
}

.testimonials-section .swiper {
  overflow: visible;
}

.testimonials-section .swiper-slide {
  height: auto;
}

/* Swiper Navigation */
.clr_v3_scroll-nav .swiper-button-prev,
.clr_v3_scroll-nav .swiper-button-next {
  width: 3rem;
  height: 3rem;
  background: var(--bs-white);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.clr_v3_scroll-nav .swiper-button-prev::after,
.clr_v3_scroll-nav .swiper-button-next::after {
  font-size: 1rem;
  color: var(--bs-black);
}

/* ===================== Newsletter Section ===================== */
.newsletter_graphics {
  max-width: 200px;
}

@media (max-width: 991.98px) {
  .newsletter_graphics {
    position: relative !important;
    margin: auto;
    max-height: 10rem;
  }
}

/* ===================== Footer Styles ===================== */
.landing-footer .footer-devider {
  height: 2px;
  background: linear-gradient(90deg, rgba(53, 95, 211, 0.1) 0%, rgba(53, 95, 211, 0.34) 49.5%, rgba(53, 95, 211, 0.1) 100%);
}

.landing-footer .footer-social:hover {
  background-color: var(--bs-black) !important;
}

/* ===================== Button Styles ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}

.btn-primary:hover {
  background-color: #2a4cb0;
  color: var(--bs-white);
}

.btn-dark {
  background-color: var(--bs-black);
  color: var(--bs-white);
}

.btn-dark:hover {
  background-color: #333;
}

.btn-light {
  background-color: var(--bs-white);
  color: var(--bs-black);
}

.btn-light:hover {
  background-color: #f0f0f0;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* ===================== Form Styles ===================== */
.form-control {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.6rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  outline: none;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(53, 95, 211, 0.25);
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
}

/* ===================== Display Headings ===================== */
.display-1 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}



@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.1rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }
}

/* ===================== Responsive Utilities ===================== */
@media (min-width: 768px) {
  .px-md-50 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }

  .py-md-50 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-md-70 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .mb-md-20 {
    margin-bottom: 1.25rem !important;
  }

  .mb-md-3 {
    margin-bottom: 1rem !important;
  }

  .my-md-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .my-md-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .ps-lg-70 {
    padding-left: 4.5rem !important;
  }

  .pt-lg-70 {
    padding-top: 4.5rem !important;
  }

  .pe-lg-70 {
    padding-right: 4.5rem !important;
  }

  .py-lg-70 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .px-lg-70 {
    padding-left: 4.5rem !important;
    padding-right: 4.5rem !important;
  }

  .mb-lg-50 {
    margin-bottom: 3rem !important;
  }

  .mt-lg-50 {
    margin-top: 3rem !important;
  }

  .mt-lg-0 {
    margin-top: 0 !important;
  }

  .mt-lg-4 {
    margin-top: 1.5rem !important;
  }

  .ms-lg-5 {
    margin-left: 3rem !important;
  }

  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
}

/* ===================== Scroll Snap Navigation ===================== */
.scroll-snap-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.scroll-snap-nav button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: var(--bs-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.scroll-snap-nav button:hover:not(:disabled) {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-white);
}

.scroll-snap-nav button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Swiper Custom Styles */
.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: calc(33.333% - 10px);
}

@media (max-width: 991.98px) {
  .swiper-slide {
    width: calc(50% - 10px);
  }
}

@media (max-width: 767.98px) {
  .swiper-slide {
    width: calc(100% - 10px);
  }
}

/* ===================== Public Landing Specific ===================== */
.public-landing {
  overflow-x: hidden;
}

/* Hero Right Column */
.hero-right {
  position: relative;
}

/* Introducing Section */
.introducing-section .icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Recently Added Cards */
.recently-added-card .card {
  height: 100%;
}

/* ===================== Additional Bootstrap Overrides ===================== */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.rounded-3 {
  border-radius: 0.6rem !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

.rounded-5 {
  border-radius: 1.5rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-bottom-5 {
  border-bottom-left-radius: 1.5rem !important;
  border-bottom-right-radius: 1.5rem !important;
}

.object-fit-cover {
  object-fit: cover !important;
}

.lh-1 {
  line-height: 1 !important;
}

.mw-100 {
  max-width: 100% !important;
}

.mh-100 {
  max-height: 100% !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.bg-opacity-10 {
  --bs-bg-opacity: 0.1;
}

.bg-opacity-25 {
  --bs-bg-opacity: 0.25;
}

.bg-opacity-50 {
  --bs-bg-opacity: 0.5;
}

.border-0 {
  border: 0 !important;
}

.border-2 {
  border-width: 2px !important;
}

.border-light {
  border-color: #e5e5e5 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-fill {
  flex: 1 1 auto !important;
}

/* Z-index utilities */
.z-1 {
  z-index: 1 !important;
}

.z-2 {
  z-index: 2 !important;
}

/* Additional color variations */
/* .bg-primary {
  
} */
.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.bg-success {
  background-color: #198754 !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-black {
  color: var(--bs-black) !important;
}

.text-white {
  color: var(--bs-white) !important;
}

/* Background with opacity using CSS variables */
.bg-black {
  background-color: var(--bs-black) !important;
}

.bg-white {
  background-color: var(--bs-white) !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-transparent {
  background-color: transparent !important;
}
