:root {
  --primary: #0077bd;
  --secondary: #e5b81f;
  --white: #ffffff;
  --dark: #333;
}
/* GLOBAL */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* SIGNUP */
.signup-btn {
  background: var(--secondary);
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  color: #fff;
  font-weight: 600;
  margin-left: 18px;
}
/* FEATURES */
.features {
  padding: 70px 0;
  background: #f7fbff;
}
/* TITLE */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.section-title span {
  flex: 1;
  height: 2px;
  background: #ddd;
}
.section-title h2 {
  padding: 0 18px;
  font-weight: 700;
  color: var(--secondary);
}
/* FOOTER */
.footer {
  background: var(--primary);
  padding: 10px 0;
  text-align: center;
}
.footer p {
  color: #fff;
  font-size: 14px;
  margin: 0;
}
/* WHY CHOOSE */
.why-choose {
  padding: 80px 0;
  background: #f7fbff;
}
.why-choose h2 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}
.why-text {
  color: #666;
  margin-bottom: 25px;
  max-width: 520px;
}
.why-img {
  max-width: 420px;
  width: 100%;
  animation: float 4s ease-in-out infinite;
}
/* LIST */
.why-list {
  list-style: none;
  padding: 0;
}
.why-list li {
  margin-bottom: 12px;
  font-weight: 500;
  color: #444;
}
.why-list i {
  color: var(--secondary);
  margin-right: 8px;
}
/* FLOAT ANIMATION */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
/* MOBILE */
@media(max-width:991px) {
  .why-choose {
    text-align: center;
  }
  .why-img {
    margin-bottom: 30px;
  }
}
/* APPOINTMENT CTA */
.appointment-cta {
  padding: 30px 0;
  background: linear-gradient(90deg, var(--primary), #005a8e);
  color: #fff;
}
.appointment-cta h2 {
  font-weight: 700;
  margin-bottom: 10px;
}
.appointment-cta p {
  max-width: 550px;
  opacity: .9;
  margin-bottom: 0;
}
.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: #000;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  transition: .3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.cta-btn i {
  margin-right: 6px;
}
.cta-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}
/* WHY CHOOSE PREMIUM */
/* WHY MODERN SECTION */
.why-modern {
  padding: 70px 0;
  /* background image + gradient */
  background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url("images/Spine-Rehab.webp");
  background-size: cover;
  background-position: center;
}
/* SUB TEXT */
.why-sub {
  color: #666;
  max-width: 620px;
  margin: auto;
}
/* CARD */
.why-modern-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
  height: 100%;
  border: 1px dashed var(--primary);
}
/* HOVER */
.why-modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--secondary);
}
/* ICON */
.why-modern-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary), #005a8e);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  transition: 0.4s;
}
.why-modern-card:hover .why-modern-icon {
  background: var(--secondary);
  transform: scale(1.1);
}
/* TEXT */
.why-modern-card h5 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.why-modern-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
/* MOBILE */
@media(max-width:768px) {
  .why-modern-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
/* OFFER SECTION */
.offer-section {
  padding: 70px 0;
  background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url("images/what-we-offer.webp");
  background-size: cover;
  background-position: center;
}
/* DESCRIPTION */
.offer-desc {
  max-width: 600px;
  margin: auto;
  color: #666;
}
/* CARD */
.offer-card {
  width: 330px;
  height: 330px;
  margin: auto;
  background: #fff;
  border-radius: 50%;
  padding: 40px 35px;
  text-align: center;
  border: 2px solid #eee;
  /* 3D SHADOW */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), 0 8px 15px rgba(0, 0, 0, 0.08), inset 0 2px 3px rgba(255, 255, 255, 0.7);
  transition: .4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  outline: 0 solid transparent;
}
/* HOVER EFFECT */
.offer-card:hover {
  transform: translateY(-10px) scale(1.04);
  outline: 4px solid var(--primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}
/* ICON */
.offer-img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #005a8e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.offer-img img {
  width: 45px;
}
/* TITLE */
.offer-card h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
/* TEXT */
.offer-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}
/* BUTTON */
.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: #fff;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: .3s;
}
.read-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
/* MOBILE */
@media(max-width:768px) {
  .offer-card {
    width: 280px;
    height: 280px;
  }
}
/* CAROUSEL FIX */
#offerCarousel .carousel-item {
  transition: transform 0.8s ease-in-out;
}
/* MAIN WRAPPER */
/* SLIDER CONTAINER */
.offer-slider {
  overflow: hidden;
}
/* TRACK */
.offer-track {
  display: flex;
  animation: scrollOffer 25s linear infinite;
}
/* ROW FIX */
.offer-track .row {
  flex-wrap: nowrap;
}
/* CARD SIZE */
.offer-card {
  width: 100%;
  max-width: 300px;
}
/* AUTO SCROLL */
@keyframes scrollOffer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* HOVER STOP */
.offer-slider:hover .offer-track {
  animation-play-state: paused;
}
/* MOBILE */
@media(max-width:768px) {
  .offer-card {
    max-width: 250px;
  }
}
/* CAROUSEL */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.carousel-item-custom {
  flex: 0 0 33.333%;
  padding: 15px;
}
/* CARD */
.service-card {
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  transition: .4s;
}
.service-card:hover {
  transform: translateY(-8px);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s;
}
.service-card:hover img {
  transform: scale(1.08);
}
/* title bar */
.card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 14px 20px;
  text-align: center;
  transition: .4s;
}
.card-title a {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  display: block;
}
.card-title a:hover {
  color: var(--secondary);
}
/* hide on hover */
.service-card:hover .card-title {
  opacity: 0;
  transform: translateY(10px);
}
/* overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .5s;
}
.service-card:hover .overlay {
  opacity: 1;
}

/* arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, .7);
  border: none;
  color: #fff;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
/* ===== SIGNUP SECTION ===== */
.signup-section {
  /*margin-top:80px;*/
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url("https://images.unsplash.com/photo-1576091160550-2173dba999ef");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.signup-section h3 {
  font-weight: 700;
  margin-bottom: 15px;
}
.signup-section p {
  margin-bottom: 25px;
}
/* BUTTON */
.signup_now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: #000;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius:40px;
  position: relative;
}
/* ANIMATION */
.signup_now::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 184, 31, .8);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(229, 184, 31, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 184, 31, 0);
  }
}
/* RESPONSIVE */
@media(max-width:768px) {
  .multi-carousel-item {
    flex: 0 0 100%;
  }
  .img-container {
    height: 320px;
  }
}
/* ================= HEADER ================= */
.creative-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary);
  padding: 12px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
/* NAVBAR */
.custom-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* LOGO */
.logo {
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
}
.logo img {
  height: 60px;
}
/* MENU */
.menu {
  display: flex;
  gap: 15px;
}
/* BUTTON */
.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  color: var(--white);
  background: var(--secondary);
  transition: .3s;
}
.nav-btn:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
/* TOGGLE BUTTON */
.toggle-btn {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}
/* ================= RESPONSIVE ================= */
@media(max-width:768px) {
  .toggle-btn {
    display: block;
  }
  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    display: none;
  }
  .menu.active {
    display: flex;
  }
  .nav-btn {
    width: 90%;
    justify-content: center;
  }
}
/* HERO FIX */
.hero {
  margin-top: 90px;
}
/* HERO */
.hero {
  padding: 60px 0;
}
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
}
.hero h1 span {
  color: var(--secondary);
}
.hero p {
  color: #333;
  margin-bottom: 20px;text-align: justify;
}
/* BUTTON */
.hero-btn {
  padding: 12px 26px;
  border: none;
  border-radius:40px;
  margin-right: 10px;
}
.btn-start {
  background: var(--secondary);
}
.btn-start:hover {
  background: var(--primary);
  color: #fff;
}
.btn-learn {
  background: var(--primary);
  color: #fff;
}
/* ORBIT WRAPPER */
.doctor-orbit-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* CONTAINER */
.orbit-container {
  position: relative;
  width: 420px;
  height: 420px;
}
/* GLOW RING */
.orbit-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  transform: translate(-50%, -50%);
  animation: spin 40s linear infinite;
}
/* ORBIT */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 35s linear infinite;
}
/* HOVER PAUSE */
.orbit-container:hover .orbit, .orbit-container:hover .orbit-glow {
  animation-play-state: paused;
}
/* CENTER DOCTOR */
.doctor-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
  transform: translate(-50%, -50%);
  z-index: 5;
  animation: pulse 2.5s infinite;
}
.doctor-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ORBIT ITEMS */
.orbit-item {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  transition: .4s;
}
.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* POSITIONS */
.orbit-item:nth-child(1) {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-item:nth-child(2) {
  top: 60px;
  right: -40px;
}
.orbit-item:nth-child(3) {
  bottom: 60px;
  right: -40px;
}
.orbit-item:nth-child(4) {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-item:nth-child(5) {
  bottom: 60px;
  left: -40px;
}
.orbit-item:nth-child(6) {
  top: 60px;
  left: -40px;
}
/* ANIMATIONS */
@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 119, 189, .5);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(0, 119, 189, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 119, 189, 0);
  }
}
/* ================= MOBILE ================= */
@media(max-width:991px) {
  .hero {
    text-align: center;
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 28px;
  }
  .doctor-orbit-wrapper {
    margin-top: 30px;
  }
  /* REMOVE ROTATION */
  .orbit, .orbit-glow {
    animation: none;
    transform: translate(-50%, -50%);
  }
  .orbit-container {
    width: 260px;
    height: 260px;
  }
  .orbit {
    width: 220px;
    height: 220px;
  }
  .doctor-center {
    width: 100px;
    height: 100px;
  }
  .orbit-item {
    width: 60px;
    height: 60px;
  }
  /* POSITIONS FIX */
  .orbit-item:nth-child(1) {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .orbit-item:nth-child(2) {
    top: 30px;
    right: -15px;
  }
  .orbit-item:nth-child(3) {
    bottom: 30px;
    right: -15px;
  }
  .orbit-item:nth-child(4) {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .orbit-item:nth-child(5) {
    bottom: 30px;
    left: -15px;
  }
  .orbit-item:nth-child(6) {
    top: 30px;
    left: -15px;
  }
}
#scrollBtn {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(45deg, #0077bd, #e5b81f);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
#scrollBtn.show {
  opacity: 1;
  visibility: visible;
}
#scrollBtn:hover {
  transform: translateY(-5px) scale(1.1);
}
#scrollBtn:hover {
  transform: translateY(-5px) scale(1.1);
}
/* SECTION */
.offer-section {
  padding: 60px 0;
  background: #f8f9fb;
}
/* CAROUSEL */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}
.carousel-item-custom {
  flex: 0 0 25%;
  padding: 8px;
}
/* CARD */
.service-card {
  position: relative;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  transition: .3s;
}
.service-card:hover {
  transform: translateY(-6px);
}
/* IMAGE */
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}
.service-card:hover img {
  transform: scale(1.08);
}
/* TITLE */

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 119, 189, 0.9), rgba(0, 0, 0, 0.85));
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: .5s;
}
/* SHOW */
.service-card:hover .overlay {
  opacity: 1;
}
/* CONTENT */
.overlay-box {
  text-align: center;
  color: #fff;
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  transition: .4s ease;
}
.service-card:hover .overlay-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* ICON */
.overlay-box i {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--secondary);
}
/* TEXT */
.overlay-box h4 {
  font-size:21px;
  margin-bottom: 8px;
}
.overlay-box p {
  font-size: 15px;
  margin-bottom: 12px;
}
/* BUTTON */
.overlay-box a {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  transition: .3s;
}
.overlay-box a:hover {
  background: var(--secondary);
  color: #000;
  transform: scale(1.05);
}
/* BUTTON */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
}
.prev {
  left: 5px;
}
.next {
  right: 5px;
}
/* RESPONSIVE */
@media(max-width:992px) {
  .carousel-item-custom {
    flex: 0 0 50%;
  }
}
@media(max-width:768px) {
  .carousel-item-custom {
    flex: 0 0 100%;
  }
  .carousel-btn {
    display: none;
  }
}