/* Critical CSS for above-the-fold content */
/* Base styles for initial render */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}
body {
  background-color: #fff;
  overflow-x: hidden;
}

/* Layout grid for container, row, col */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}
@media (max-width: 991px) {
  .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sticky header */
.sticky-wrapper {
  position: relative;
  z-index: 1000;
}
.sticky-body {
  background: transparent;
  transition: background 0.3s ease;
}
.sticky-wrapper-transparent .sticky-body {
  background: transparent;
}
.logo {
  display: inline-block;
  line-height: 0;
}
.logo a {
  display: inline-block;
  line-height: 0;
}
.logo img {
  display: block;
  width: 160px;
  height: auto;
  max-width: 160px;
  max-height: none;
}

/* Owl Carousel for banner */
.owl-carousel {
  position: relative;
  width: 100%;
  height: 670px;
  overflow: hidden;
  display: block;
}
.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  background-size: cover;
  background-position: center;
}
.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: pan-Y;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  padding: 2px 0 0 0;
}
.owl-carousel .owl-dot {
  display: inline-block;
  zoom: 1;
}
.owl-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  display: block;
  background: #eee;
  border-radius: 20px;
  transition: opacity 0.2s ease;
}
.owl-carousel .owl-dot.active span {
  background: #ff6600;
}
.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
}
.owl-carousel .owl-prev, .owl-carousel .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
.owl-carousel .owl-prev { left: 10px; }
.owl-carousel .owl-next { right: 10px; }
@media (max-width: 1200px) { .owl-carousel { height: 500px; } }
@media (max-width: 768px) { .owl-carousel { height: 400px; } }

/* Banner content */
.d-flex {
  display: flex !important;
}
.flex-column {
  flex-direction: column !important;
}
.align-items-center {
  align-items: center !important;
}
.justify-content-center {
  justify-content: center !important;
}
.w-100 {
  width: 100% !important;
}
h1, h2 {
  margin: 0;
  font-weight: bold;
  text-align: center;
}
.custom-font-slider-2 {
  font-size: 3rem;
  color: #fff;
  animation: smoothFadeIn 1.5s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}
.custom-font-slider-1 {
  font-size: 3rem;
  color: #fff;
  text-transform: uppercase;
  animation: fadeInUp 1.5s ease-out 0.5s forwards;
  opacity: 0;
  transform: translateY(20px);
}
@media (max-width: 768px) {
  .custom-font-slider-1, .custom-font-slider-2 { font-size: 2rem; }
}

/* Divider */
.divider {
  height: 3px;
  background: #ff6600;
  margin: 20px auto;
}
.divider-primary {
  background: #ff6600;
  animation: fadeInUp 1.5s ease-out 0.8s forwards;
  opacity: 0;
  transform: translateY(20px);
}
.divider-small {
  width: 100px;
}
.text-start {
  text-align: left !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.btn-3d {
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-orange-banner {
  background: #ff6600;
  color: #fff;
}
.btn-green-banner {
  background: #28a745;
  color: #fff;
}
.btn-modern {
  border-radius: 0;
}
.btn:hover {
  background-color: #ff6600;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  color: #fff;
}
.ms-4 {
  margin-left: 1.5rem;
}
.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.btn-px-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
.rounded-0 {
  border-radius: 0 !important;
}
.text-color-light {
  color: #fff !important;
}

/* Animations */
.appear-animation {
  opacity: 0;
  animation: fadeInUp 1.5s ease-out 1s forwards;
}
@keyframes smoothFadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Video in banner */
.ratio {
  position: relative;
  width: 100%;
}
.ratio-16x9 {
  padding-bottom: 56.25%;
}
video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.float-start {
  float: left !important;
}

/* Play button overlay */
.position-absolute {
  position: absolute;
}
.top-50pct {
  top: 50%;
}
.left-50pct {
  left: 50%;
}
.transform3dxy-n50 {
  transform: translate(-50%, -50%);
}
.bg-light {
  background-color: #fff !important;
}
.rounded-circle {
  border-radius: 50% !important;
}
.play-button-md {
  width: 60px;
  height: 60px;
}
.pulseAnim {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,102,0,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,102,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,102,0,0); }
}
.text-5 {
  font-size: 1.25rem;
}

/* Background for banner items */
.owl-item {
  background-color: #2e3136;
}
.position-relative {
  position: relative;
}
.z-index-3 {
  z-index: 3;
}
.h-100 {
  height: 100%;
}

/* Patient reviews background image */
.patient-reviews {
  background: var(--bg-image, none) center / cover no-repeat;
}
