* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #54236d;
  --purple-dark: #3f1854;

  --gold: #c8a646;
  --gold-light: #e0c878;

  --cream: #f5f1e8;

  --white: #ffffff;

  --text: #29252a;
  --text-light: #68616a;

  --sidebar-width: 72px;
  --sidebar-expanded: 260px;
}

.phone {
  color: #54236d;
}
footer .phone {
  color: white;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;

  background: var(--cream);

  color: var(--text);

  overflow-x: hidden;

  padding-top: 158px;
}

a {
  text-decoration: none;
}

.top-bar {
  height: 58px;

  display: flex;

  align-items: center;

  background: var(--cream);

  border-bottom: 1px solid rgba(84, 35, 109, 0.08);

  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;
}

.top-bar-content {
  display: flex;

  align-items: center;

  justify-content: space-between;
}

.offer-text {
  font-size: 15px;

  color: var(--purple);

  font-weight: 600;
}

.social-icons {
  display: flex;

  align-items: center;

  gap: 20px;
}

.social-icons a {
  color: var(--purple);

  font-size: 17px;

  transition: 0.3s ease;
}

.social-icons a:hover {
  color: var(--gold);

  transform: translateY(-2px);
}

.main-navbar {
  position: fixed;

  top: 53px;

  left: 0;
  right: 0;

  z-index: 999;

  padding: 0 3%;

  transition: 0.3s ease;
}

.main-navbar.scrolled {
  padding-top: 5px;

  padding-bottom: 5px;
}

.navbar-inner {
  min-height: 100px;

  background: var(--white);

  border-radius: 0 0 22px 22px;

  padding: 0 35px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  box-shadow: 0 8px 35px rgba(84, 35, 109, 0.08);

  transition: 0.3s ease;
}

.main-navbar.scrolled .navbar-inner {
  min-height: 85px;

  box-shadow: 0 10px 30px rgba(84, 35, 109, 0.12);
}

.logo {
  display: flex;

  align-items: center;

  flex-shrink: 0;
}

.logo img {
  width: 185px;

  height: auto;

  display: block;

  transition: 0.3s ease;
}

.main-navbar.scrolled .logo img {
  width: 165px;
}

.nav-links {
  display: flex;

  align-items: center;

  gap: 32px;
}

.nav-links a {
  position: relative;

  color: var(--text);

  font-size: 16px;

  font-weight: 500;

  padding: 37px 0;

  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
}

.nav-links a.active::before {
  content: "";

  position: absolute;

  top: 0;

  right: 0;
  left: 0;

  height: 3px;

  background: var(--gold);
}

.appointment-btn {
  background: var(--purple);

  color: var(--white);

  padding: 16px 27px;

  min-width: 180px;

  border-radius: 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 15px;

  font-size: 15px;

  font-weight: 600;

  transition: 0.3s ease;

  flex-shrink: 0;
}

.appointment-btn:hover {
  background: var(--gold);

  color: var(--white);

  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(200, 166, 70, 0.25);
}

.mobile-menu-btn {
  display: none;

  width: 45px;
  height: 45px;

  border: none;

  border-radius: 12px;

  background: rgba(84, 35, 109, 0.08);

  color: var(--purple);

  font-size: 21px;

  align-items: center;

  justify-content: center;

  cursor: pointer;
}

.mobile-sidebar {
  display: none;
}

.hero {
  position: relative;

  min-height: calc(100vh - 158px);

  padding: 75px 0 70px;

  overflow: hidden;

  background: radial-gradient(
      circle at 15% 40%,
      rgba(200, 166, 70, 0.07),
      transparent 25%
    ),
    radial-gradient(circle at 85% 20%, rgba(84, 35, 109, 0.05), transparent 25%),
    linear-gradient(rgba(245, 241, 232, 0.85), rgba(245, 241, 232, 0.85)),
    url("../images/header-2.jpg");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;
}

.hero-decoration {
  position: absolute;

  border: 1px solid rgba(84, 35, 109, 0.07);

  border-radius: 50%;

  pointer-events: none;
}

.decoration-one {
  width: 420px;
  height: 420px;

  top: -180px;
  left: -180px;
}

.decoration-two {
  width: 250px;
  height: 250px;

  bottom: 100px;
  right: -100px;
}

.decoration-three {
  width: 80px;
  height: 80px;

  top: 35%;

  right: 15%;

  border-color: rgba(200, 166, 70, 0.18);
}

.hero-content {
  margin: auto;

  text-align: center;

  position: relative;

  z-index: 2;
}

.hero-label {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  margin-bottom: 20px;

  color: var(--purple);

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 2px;
}

.label-line {
  width: 28px;

  height: 1px;

  background: var(--gold);
}

.hero h1 {
  font-family: "Playfair Display", serif;

  font-size: 72px;

  line-height: 1.15;

  font-weight: 700;

  color: var(--text);

  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--purple);
}

.hero-description {
  max-width: 780px;

  margin: auto;

  color: var(--text-light);

  font-size: 18px;

  line-height: 2;

  font-weight: 500;
}

.hero-buttons {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 15px;

  margin-top: 35px;
}

.primary-btn {
  background: var(--purple);

  color: var(--white);

  padding: 15px 30px;

  border-radius: 35px;

  display: flex;

  align-items: center;

  gap: 15px;

  font-weight: 600;

  transition: 0.3s ease;
}

.primary-btn:hover {
  background: var(--gold);

  color: var(--white);

  transform: translateY(-3px);
}

.secondary-btn {
  border: 1px solid rgba(84, 35, 109, 0.25);

  color: var(--purple);

  padding: 14px 28px;

  border-radius: 35px;

  display: flex;

  align-items: center;

  gap: 12px;

  font-weight: 600;

  transition: 0.3s ease;
}

.secondary-btn:hover {
  background: var(--white);

  border-color: var(--gold);

  color: var(--gold);
}

.hero-image-wrapper {
  position: relative;

  margin-top: 60px;

  width: 100%;

  height: 520px;

  overflow: hidden;

  border-radius: 30px;

  z-index: 2;
}

.hero-image {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.8s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

.hero-card {
  position: absolute;

  bottom: 30px;

  right: 30px;

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(10px);

  border-radius: 18px;

  padding: 16px 20px;

  display: flex;

  align-items: center;

  gap: 13px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.hero-card-icon {
  width: 48px;
  height: 48px;

  border-radius: 50%;

  background: rgba(84, 35, 109, 0.1);

  color: var(--purple);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 20px;
}

.hero-card strong {
  display: block;

  color: var(--purple);

  font-size: 14px;
}

.hero-card span {
  display: block;

  color: #777;

  font-size: 12px;

  margin-top: 3px;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .appointment-btn {
    min-width: 155px;

    padding: 14px 18px;

    font-size: 14px;
  }

  .logo img {
    width: 160px;
  }
}

@media (max-width: 992px) {
  .top-bar {
    height: 50px;
  }

  .offer-text {
    font-size: 12px;
  }

  .social-icons {
    gap: 12px;
  }

  .social-icons a {
    font-size: 14px;
  }

  .main-navbar {
    display: none;
  }

  .nav-links,
  .appointment-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .navbar-inner {
    min-height: 80px;

    padding: 0 22px;

    border-radius: 0 0 18px 18px;
  }

  .logo img {
    width: 145px;
  }

  body {
    padding-top: 130px;
  }

  .mobile-sidebar {
    position: fixed;

    top: 50px;

    right: -10px;

    width: 62px;

    height: calc(100vh - 50px);

    background: var(--white);

    z-index: 2000;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border-left: 1px solid rgba(84, 35, 109, 0.08);

    box-shadow: -5px 0 25px rgba(84, 35, 109, 0.08);

    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-sidebar:hover {
    width: 400px;
    right: 0px;
  }

  .sidebar-header {
    height: 82px;

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 12px;

    border-bottom: 1px solid rgba(84, 35, 109, 0.08);
  }

  .sidebar-logo {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;
  }

  .sidebar-logo img {
    width: 45px;

    height: 45px;

    object-fit: contain;

    transition: 0.3s ease;
  }

  .mobile-sidebar:hover .sidebar-logo {
    justify-content: flex-start;

    padding-right: 8px;
  }

  .mobile-sidebar:hover .sidebar-logo img {
    width: 125px;

    height: auto;
  }

  .sidebar-navigation {
    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 20px 10px;

    overflow-y: auto;

    overflow-x: hidden;
  }

  .sidebar-link {
    position: relative;

    width: 100%;

    min-height: 42px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 8px 10px;

    border-radius: 12px;

    color: var(--text);

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    transition: 0.3s ease;
  }

  .sidebar-icon {
    width: 32px;

    min-width: 32px;

    height: 32px;

    border-radius: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(84, 35, 109, 0.07);

    color: var(--purple);

    font-size: 16px;

    transition: 0.3s ease;
  }

  .sidebar-text {
    opacity: 0;

    visibility: hidden;

    transform: translateX(10px);

    transition: opacity 0.2s ease, transform 0.3s ease, visibility 0.2s ease;

    white-space: nowrap;
  }

  .mobile-sidebar:hover .sidebar-text {
    opacity: 1;

    visibility: visible;

    transform: translateX(0);
  }

  .sidebar-link:hover {
    background: rgba(84, 35, 109, 0.06);

    color: var(--purple);
  }

  .sidebar-link:hover .sidebar-icon {
    background: rgba(200, 166, 70, 0.14);

    color: var(--gold);

    transform: scale(1.05);
  }

  .sidebar-link.active {
    background: var(--purple);

    color: var(--white);

    box-shadow: 0 8px 20px rgba(84, 35, 109, 0.18);
  }

  .sidebar-link.active .sidebar-icon {
    background: rgba(255, 255, 255, 0.15);

    color: var(--gold-light);
  }

  .sidebar-bottom {
    padding: 12px 10px 18px;
  }

  .sidebar-appointment {
    width: 100%;

    min-height: 52px;

    padding: 8px 10px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    gap: 13px;

    background: var(--purple);

    color: var(--white);

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.3s ease;
  }

  .sidebar-appointment .sidebar-icon {
    background: transparent;
    color: var(--gold-light);
  }

  .sidebar-appointment:hover {
    background: var(--gold);

    color: var(--white);
  }

  .sidebar-divider {
    width: 100%;

    height: 1px;

    background: rgba(84, 35, 109, 0.08);

    margin: 15px 0;
  }

  .sidebar-social {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;
  }

  .sidebar-social a {
    width: 34px;

    height: 34px;

    flex-shrink: 0;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(84, 35, 109, 0.07);

    color: var(--purple);

    font-size: 12px;

    opacity: 0;

    visibility: hidden;

    transition: 0.25s ease;
  }

  .mobile-sidebar:hover .sidebar-social a {
    opacity: 1;

    visibility: visible;
  }

  .sidebar-social a:hover {
    background: var(--purple);

    color: var(--white);

    transform: translateY(-3px);
  }

  .hero {
    top: -80px;
    padding-top: 60px;

    padding-right: 85px;

    padding-left: 60px;
  }

  body section {
    padding-right: 52px !important;
  }
  .hero-image-wrapper {
    height: 350px;
  }

  .hero h1 {
    font-size: 58px;
  }
}

@media (max-width: 576px) {
  .top-bar {
    height: 45px;
  }

  .offer-text {
    font-size: 9px;

    white-space: nowrap;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icons a {
    font-size: 11px;
  }

  .main-navbar {
    top: 45px;

    padding: 0 2%;
  }

  .navbar-inner {
    min-height: 72px;

    padding: 0 16px;

    border-radius: 0 0 16px 16px;
  }

  .logo img {
    width: 125px;
  }

  .mobile-menu-btn {
    width: 40px;

    height: 40px;

    font-size: 18px;
  }

  body {
    padding-top: 117px;
  }

  .mobile-sidebar {
    top: 45px;

    width: 62px;

    height: calc(100vh - 45px);
  }

  .mobile-sidebar:hover {
    width: 235px;
  }

  .sidebar-header {
    height: 75px;

    min-height: 75px;
  }

  .sidebar-logo img {
    width: 38px;

    height: 38px;
  }

  .mobile-sidebar:hover .sidebar-logo img {
    width: 110px;
  }

  .sidebar-navigation {
    padding: 15px 7px;

    gap: 5px;
  }

  .sidebar-link {
    min-height: 48px;

    padding: 7px;

    gap: 10px;

    font-size: 12px;
  }

  .sidebar-icon {
    width: 24px;

    min-width: 24px;

    height: 24px;

    border-radius: 9px;

    font-size: 14px;
  }

  .sidebar-bottom {
    padding: 10px 7px 15px;
  }

  .sidebar-appointment {
    min-height: 48px;

    padding: 7px;
  }

  .sidebar-social {
    gap: 5px;
  }

  .sidebar-social a {
    width: 30px;

    height: 30px;

    font-size: 10px;
  }

  .hero {
    padding: 50px 20px 50px 70px;
  }

  .hero h1 {
    font-size: 42px;

    line-height: 1.25;
  }

  .hero-description {
    font-size: 14px;

    line-height: 1.9;
  }

  .hero-buttons {
    flex-direction: column;

    width: 100%;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;

    justify-content: center;
  }

  .hero-image-wrapper {
    height: 280px;

    margin-top: 45px;

    border-radius: 20px;
  }

  .hero-card {
    right: 15px;

    bottom: 15px;

    padding: 10px 14px;
  }

  .hero-card-icon {
    width: 40px;

    height: 40px;
  }

  .hero-card strong {
    font-size: 12px;
  }

  .hero-card span {
    font-size: 10px;
  }
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--cream);
}

.about-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(84, 35, 109, 0.08);
  border-radius: 50%;
  top: -280px;
  right: -180px;
}

.about-section::after {
  content: "";
  position: absolute;
  width: 850px;
  height: 850px;
  background-image: url("../images/bg-overlay.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  bottom: -120px;
  left: -100px;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.about-shape-one {
  width: 100px;
  height: 100px;
  background: rgba(200, 166, 70, 0.08);
  top: 25%;
  left: 5%;
}

.about-shape-two {
  width: 70px;
  height: 70px;
  background: rgba(84, 35, 109, 0.07);
  bottom: 25%;
  right: 7%;
}

.about-image-wrapper {
  position: relative;
  width: 90%;
  margin: auto;
  padding: 10px 10px 25px 25px;
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 4px;
  bottom: 5px;
  border: 2px dashed var(--gold);
  border-radius: 195px 195px 5px 5px;
  z-index: 0;
}

.about-image-frame {
  position: relative;
  height: 570px;
  border-radius: 195px 195px 5px 5px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 30px 70px rgba(63, 24, 84, 0.16);
}

.about-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(84, 35, 109, 0.02) 40%,
    rgba(63, 24, 84, 0.3)
  );
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image-wrapper:hover .about-image-frame img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  z-index: 3;
  right: -25px;
  top: 55px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(63, 24, 84, 0.13);
}

.about-badge i {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(200, 166, 70, 0.12);
  color: var(--gold);
}

.about-badge strong,
.about-badge span {
  display: block;
}

.about-badge strong {
  color: var(--purple);
  font-size: 16px;
  margin-bottom: 4px;
}

.about-badge span {
  color: var(--text-light);
  font-size: 11px;
}

.about-experience {
  position: absolute;
  z-index: 3;
  bottom: 5px;
  left: 0;
  width: 115px;
  height: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  border: 7px solid var(--cream);
  box-shadow: 0 15px 35px rgba(84, 35, 109, 0.2);
}

.about-experience span {
  color: var(--gold-light);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.about-experience small {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
}

.about-content {
  padding-right: 25px;
}

.about-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.about-label span {
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.about-content h2 {
  color: var(--purple);
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 25px;
}

.about-content h2 em {
  display: block;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  font-style: italic;
}

.about-content .primary-btn {
  display: inline-block;
}

.about-description {
  max-width: 570px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 14px;
}

.about-description.secondary {
  font-size: 14px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(84, 35, 109, 0.08);
  color: var(--purple);
  border-radius: 13px;
  transition: 0.3s ease;
}

.about-feature:hover .feature-icon {
  background: var(--purple);
  color: var(--gold-light);
  transform: translateY(-4px);
}

.about-feature h4 {
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
}

.about-feature p {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

.about-link i {
  color: var(--gold);
  transition: 0.3s ease;
}

.about-link:hover {
  color: var(--gold);
}

.about-link:hover i {
  transform: translateX(-6px);
}

.about-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  margin-top: 90px;
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(84, 35, 109, 0.07);
  border-radius: 25px;
  box-shadow: 0 15px 45px rgba(63, 24, 84, 0.06);
  backdrop-filter: blur(10px);
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-stat > i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(200, 166, 70, 0.1);
  border-radius: 15px;
  font-size: 19px;
}

.about-stat strong,
.about-stat span {
  display: block;
}

.about-stat strong {
  color: var(--purple);
  font-size: 14px;
  margin-bottom: 4px;
}

.about-stat span {
  color: var(--text-light);
  font-size: 11px;
}

.about-divider {
  width: 1px;
  height: 45px;
  background: rgba(84, 35, 109, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .about-section {
    padding: 80px 0;
  }

  .about-image-wrapper {
    width: 80%;
    margin-bottom: 30px;
  }

  .about-content {
    padding-right: 0;
  }

  .about-bottom {
    margin-top: 60px;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: 65px 0;
  }

  .about-image-wrapper {
    width: 90%;
    padding: 10px 10px 25px 25px;
  }

  .about-image-frame {
    height: 430px;
  }

  .about-badge {
    right: -10px;
    top: 35px;
    padding: 12px 15px;
  }

  .about-badge i {
    width: 35px;
    height: 35px;
  }

  .about-experience {
    width: 90px;
    height: 90px;
  }

  .about-experience span {
    font-size: 22px;
  }

  .about-content h2 {
    font-size: 35px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
  }

  .about-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 400px) {
  .about-image-frame {
    height: 370px;
  }

  .about-content h2 {
    font-size: 30px;
  }

  .about-badge {
    right: -5px;
  }
}

.bailsan-values-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--white);
  direction: rtl;
  border-top: 4px solid #54236d5d;
}

.bailsan-values-decoration {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(200, 166, 70, 0.16);
  border-radius: 50%;
  left: -260px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.bailsan-values-decoration::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(84, 35, 109, 0.08);
  border-radius: 50%;
  top: 75px;
  left: 75px;
}

.bailsan-values-content {
  padding-right: 40px;
}

.bailsan-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

.bailsan-section-label span {
  display: block;
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.bailsan-values-content h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -1.5px;
}

.bailsan-values-content h2 em {
  color: var(--purple);
  font-style: normal;
}

.bailsan-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 55px;
}

.bailsan-value-item {
  position: relative;
  padding: 30px;
  background: var(--white);
  border-radius: 0px 50px 0px 50px;
  box-shadow: 0 15px 40px rgba(84, 35, 109, 0.1);
  transition: 0.4s ease;
  border: 1px solid #54236d31;
}

.bailsan-value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(84, 35, 109, 0.16);
}

.bailsan-value-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--purple);
  font-size: 27px;
  transition: 0.4s ease;
}

.bailsan-value-item:hover .bailsan-value-icon {
  background: var(--purple);
  color: var(--gold-light);
  transform: translateY(-5px);
}

.bailsan-value-item h3 {
  margin: 0 0 14px;
  color: var(--purple-dark);
  font-size: 27px;
  font-weight: 500;
}

.bailsan-value-item p {
  margin: 0;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.9;
}

.bailsan-appointment-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  direction: ltr;
}

.bailsan-appointment-wrap::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 180px;
  background: rgba(41, 37, 42, 0.16);
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.bailsan-appointment {
  position: relative;
  width: 225px;
  height: 225px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.5s ease;
}

.appointment-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: appointmentRotate 22s linear infinite;
}

.appointment-circle text {
  fill: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
}

.appointment-arrow {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--purple);
  font-size: 28px;
  transition: 0.4s ease;
}

.bailsan-appointment:hover {
  transform: scale(1.05);
}

.bailsan-appointment:hover .appointment-arrow {
  background: var(--purple);
  color: var(--gold-light);
}

@keyframes appointmentRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1199px) {
  .bailsan-values-grid {
    gap: 30px;
  }

  .bailsan-values-content {
    padding-right: 20px;
  }
}

@media (max-width: 991px) {
  .bailsan-values-section {
    padding: 90px 0;
  }

  .bailsan-appointment-wrap {
    min-height: 260px;
    margin-bottom: 40px;
  }

  .bailsan-appointment-wrap::after {
    display: none;
  }

  .bailsan-values-content {
    padding-right: 0;
  }

  .bailsan-values-content h2 {
    text-align: center;
  }

  .bailsan-section-label {
    justify-content: center;
  }

  .bailsan-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .bailsan-values-section {
    padding: 70px 0;
  }

  .bailsan-values-content h2 {
    font-size: 39px;
  }

  .bailsan-values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 45px;
  }

  .bailsan-value-item {
    text-align: center;
  }

  .bailsan-value-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .bailsan-value-item h3 {
    font-size: 25px;
  }

  .bailsan-value-item p {
    max-width: 500px;
    margin: auto;
  }

  .bailsan-appointment-wrap {
    min-height: 220px;
    margin-bottom: 30px;
  }

  .bailsan-appointment {
    width: 190px;
    height: 190px;
  }

  .appointment-arrow {
    width: 70px;
    height: 70px;
    font-size: 23px;
  }
}

@media (max-width: 400px) {
  .bailsan-values-content h2 {
    font-size: 34px;
  }

  .bailsan-section-label {
    font-size: 11px;
  }

  .bailsan-value-item p {
    font-size: 15px;
  }
}

.bailsan-services-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  background: var(--cream);
  direction: rtl;
}

.bailsan-services-bg {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(84, 35, 109, 0.08);
  border-radius: 50%;
  left: -300px;
  bottom: -250px;
  pointer-events: none;
}

.bailsan-services-bg::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(200, 166, 70, 0.14);
  border-radius: 50%;
  top: 95px;
  left: 95px;
}

.bailsan-services-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 65px;
}

.bailsan-services-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.bailsan-services-label span {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.bailsan-services-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.bailsan-services-title-row h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.bailsan-services-title-row h2 em {
  color: var(--gold);
  font-style: normal;
}

.bailsan-services-title-row p {
  max-width: 420px;
  margin: 0 0 5px;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.9;
}

.bailsan-services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.bailsan-service-card {
  position: relative;
  height: 570px;
  overflow: hidden;
  border-radius: 180px 180px 25px 25px;
  cursor: pointer;
  background: var(--purple-dark);
  box-shadow: 0 25px 60px rgba(84, 35, 109, 0.16);
  transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bailsan-service-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bailsan-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.bailsan-service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(42, 22, 51, 0.96) 0%,
    rgba(42, 22, 51, 0.55) 38%,
    rgba(42, 22, 51, 0.05) 75%
  );
  transition: 0.6s ease;
}

.bailsan-service-number {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
}

.bailsan-service-content {
  position: absolute;
  right: 35px;
  left: 35px;
  bottom: 35px;
  color: var(--white);
}

.bailsan-service-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 1px;
}

.bailsan-service-content h3 {
  margin: 0 0 13px;
  color: var(--white);
  font-size: 39px;
  font-weight: 700;
}

.bailsan-service-content p {
  max-width: 310px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.9;
}

.bailsan-service-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.4s ease;
}

.bailsan-service-link i {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-size: 13px;
  transition: 0.4s ease;
}

.bailsan-service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 75px rgba(84, 35, 109, 0.25);
}

.bailsan-service-card:hover .bailsan-service-image img {
  transform: scale(1.09);
}

.bailsan-service-card:hover .bailsan-service-overlay {
  background: linear-gradient(
    to top,
    rgba(63, 24, 84, 0.98) 0%,
    rgba(63, 24, 84, 0.65) 42%,
    rgba(63, 24, 84, 0.12) 80%
  );
}

.bailsan-service-card:hover .bailsan-service-link i {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--purple-dark);
  transform: translateX(-5px);
}

.bailsan-services-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 55px;
  color: var(--text-light);
  font-size: 10px;
  letter-spacing: 2px;
}

.bailsan-services-bottom div {
  width: 80px;
  height: 1px;
  background: rgba(84, 35, 109, 0.2);
}

@media (max-width: 1199px) {
  .bailsan-service-card {
    height: 520px;
  }

  .bailsan-service-content {
    right: 27px;
    left: 27px;
  }

  .bailsan-service-content h3 {
    font-size: 34px;
  }
}

@media (max-width: 991px) {
  .bailsan-services-section {
    padding: 90px 0;
  }

  .bailsan-services-title-row {
    display: block;
  }

  .bailsan-services-title-row p {
    margin-top: 25px;
  }

  .bailsan-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bailsan-service-card:nth-child(2) {
    margin-top: 60px;
  }

  .bailsan-service-card:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .bailsan-services-section {
    padding: 75px 0;
  }

  .bailsan-services-heading {
    margin-bottom: 45px;
  }

  .bailsan-services-title-row h2 {
    font-size: 46px;
  }

  .bailsan-services-title-row p {
    font-size: 15px;
  }

  .bailsan-services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .bailsan-service-card,
  .bailsan-service-card:nth-child(2),
  .bailsan-service-card:nth-child(3) {
    width: 100%;
    height: 520px;
    margin: 0;
    border-radius: 100px 100px 22px 22px;
  }

  .bailsan-service-card:nth-child(2) {
    border-radius: 22px 22px 100px 100px;
  }

  .bailsan-service-card:nth-child(3) {
    border-radius: 100px 100px 22px 22px;
  }

  .bailsan-services-bottom {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .bailsan-services-title-row h2 {
    font-size: 40px;
  }

  .bailsan-service-card {
    height: 480px !important;
  }

  .bailsan-service-content h3 {
    font-size: 32px;
  }
}

.bailsan-why-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 115px;
  background: var(--white);
  direction: rtl;
}

.bailsan-why-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bailsan-why-decoration-one {
  width: 420px;
  height: 420px;
  left: -300px;
  top: 80px;
  border: 1px solid rgba(200, 166, 70, 0.12);
}

.bailsan-why-decoration-two {
  width: 280px;
  height: 280px;
  right: -190px;
  bottom: -130px;
  border: 1px solid rgba(84, 35, 109, 0.08);
}

.bailsan-why-header {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto 75px;
  text-align: center;
}

.bailsan-why-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.bailsan-why-label span {
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.bailsan-why-header h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(45px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
}

.bailsan-why-header h2 em {
  color: var(--purple);
  font-style: normal;
}

.bailsan-why-header p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.9;
}

.bailsan-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 11px 12px 11px 22px;
  border: 1px solid rgba(84, 35, 109, 0.25);
  border-radius: 50px;
  color: var(--purple);
  text-decoration: none;
  font-size: 14px;
  transition: 0.4s ease;
}

.bailsan-contact-btn i {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 12px;
  transition: 0.4s ease;
}

.bailsan-contact-btn:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.bailsan-contact-btn:hover i {
  background: var(--gold);
  color: var(--purple-dark);
  transform: translateX(-4px);
}

.bailsan-why-process {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.bailsan-process-line {
  position: absolute;
  top: 120px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(200, 166, 70, 0.55),
    rgba(200, 166, 70, 0.55),
    transparent
  );
  z-index: -1;
}

.bailsan-process-item {
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateY(35px);
}

.bailsan-process-image-wrap {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 0 auto 30px;
}

.bailsan-process-image {
  width: 100%;
  height: 100%;
  padding: 9px;
  border: 1px solid rgba(200, 166, 70, 0.22);
  border-radius: 50%;
  background: var(--cream);
  transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bailsan-process-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bailsan-process-number {
  position: absolute;
  top: -12px;
  left: 4px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(84, 35, 109, 0.22);
  transition: 0.4s ease;
}

.bailsan-process-item:nth-child(4) .bailsan-process-number {
  background: var(--purple-dark);
}

.bailsan-process-content {
  padding: 0 10px;
}

.bailsan-process-content h3 {
  margin: 0 0 12px;
  color: var(--purple-dark);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.bailsan-process-content p {
  max-width: 250px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.9;
}

.bailsan-process-item:hover .bailsan-process-image {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 45px rgba(84, 35, 109, 0.15);
}

.bailsan-process-item:hover .bailsan-process-image img {
  transform: scale(1.06);
}

.bailsan-process-item:hover .bailsan-process-number {
  transform: rotate(8deg) scale(1.08);
}

.bailsan-process-item.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (max-width: 1199px) {
  .bailsan-process-image-wrap {
    width: 195px;
    height: 195px;
  }

  .bailsan-process-line {
    top: 102px;
    right: 10%;
    left: 10%;
  }

  .bailsan-process-content h3 {
    font-size: 22px;
  }
}

@media (max-width: 991px) {
  .bailsan-why-section {
    padding: 90px 0;
  }

  .bailsan-why-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 65px 30px;
  }

  .bailsan-process-line {
    display: none;
  }

  .bailsan-process-image-wrap {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 767px) {
  .bailsan-why-section {
    padding: 75px 0;
  }

  .bailsan-why-header {
    margin-bottom: 55px;
  }

  .bailsan-why-header h2 {
    font-size: 45px;
    letter-spacing: -1px;
  }

  .bailsan-why-header p {
    font-size: 15px;
  }

  .bailsan-why-process {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .bailsan-process-image-wrap {
    width: 210px;
    height: 210px;
  }

  .bailsan-process-content h3 {
    font-size: 25px;
  }
}

@media (max-width: 400px) {
  .bailsan-why-header h2 {
    font-size: 38px;
  }

  .bailsan-process-image-wrap {
    width: 185px;
    height: 185px;
  }

  .bailsan-process-number {
    width: 52px;
    height: 52px;
    font-size: 13px;
  }
}

.bailsan-team-breaker {
  position: relative;
  padding: 70px 0;
  background: var(--white);
  direction: rtl;
  overflow: hidden;
}

.bailsan-team-breaker-box {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 70px 0;
  border-radius: 65px;
  background: var(--purple-dark);
  box-shadow: 0 30px 80px rgba(63, 24, 84, 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
}

.bailsan-team-breaker-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/doctors-bg.jpg");
  background-size: cover;
  background-position: 50% 35%;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.bailsan-team-breaker-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(63, 24, 84, 0.844) 0%,
    rgba(63, 24, 84, 0.497) 45%,
    rgba(63, 24, 84, 0.58) 100%
  );
  z-index: 1;
}

.bailsan-team-breaker-box > * {
  position: relative;
  z-index: 2;
}

.team-breaker-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.team-breaker-shape-one {
  width: 430px;
  height: 430px;
  left: -230px;
  top: -210px;
  border: 1px solid rgba(224, 200, 120, 0.16);
}

.team-breaker-shape-one::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: 65px;
  left: 65px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.team-breaker-shape-two {
  width: 320px;
  height: 320px;
  right: -190px;
  bottom: -220px;
  background: rgba(200, 166, 70, 0.07);
}

.team-breaker-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  right: 42%;
  top: -95px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.team-breaker-intro {
  position: relative;
  z-index: 2;
  padding-left: 55px;
}

.team-breaker-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.team-breaker-label span {
  width: 35px;
  height: 1px;
  background: var(--gold-light);
}

.team-breaker-intro h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(40px, 4.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
}

.team-breaker-intro h2 em {
  display: block;
  color: var(--gold-light);
  font-style: normal;
}

.team-breaker-intro p {
  max-width: 420px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.9;
}

.team-breaker-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 35px 0 35px 20px;
}

.team-breaker-icon {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 200, 120, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
  font-size: 34px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-breaker-text > span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-light);
  font-size: 16px;
  letter-spacing: 1.5px;
}

.team-breaker-text h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 31px;
  font-weight: 700;
}

.team-breaker-text p {
  max-width: 450px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.9;
}

.team-breaker-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 7px 8px 7px 20px;
  border: 1px solid rgba(224, 200, 120, 0.4);
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  transition: 0.4s ease;
}

.team-breaker-btn i {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--purple-dark);
  font-size: 12px;
  transition: 0.4s ease;
}

.team-breaker-btn:hover {
  background: var(--gold);
  color: var(--purple-dark);
  border-color: var(--gold);
}

.team-breaker-btn:hover i {
  background: var(--purple-dark);
  color: var(--gold-light);
  transform: translateX(-4px);
}

.team-breaker-content:hover .team-breaker-icon {
  transform: translateY(-5px);
  background: rgba(200, 166, 70, 0.12);
}

.team-breaker-icon {
  transition: 0.4s ease;
}

@media (max-width: 991px) {
  .bailsan-team-breaker {
    padding: 55px 0;
  }

  .bailsan-team-breaker-box {
    padding: 60px 45px;
  }

  .team-breaker-intro {
    padding-left: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .team-breaker-label {
    justify-content: center;
  }

  .team-breaker-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  .team-breaker-content {
    justify-content: center;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .bailsan-team-breaker {
    padding: 40px 0;
  }

  .bailsan-team-breaker-box {
    min-height: auto;
    padding: 55px 25px;
    border-radius: 40px;
  }

  .bailsan-team-breaker-box::before {
    border-radius: 32px;
  }

  .team-breaker-intro h2 {
    font-size: 40px;
  }

  .team-breaker-content {
    display: block;
    text-align: center;
  }

  .team-breaker-icon {
    margin: 0 auto 25px;
  }

  .team-breaker-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .team-breaker-btn {
    margin-top: 22px;
  }
}

@media (max-width: 400px) {
  .bailsan-team-breaker-box {
    padding: 45px 20px;
  }

  .team-breaker-intro h2 {
    font-size: 35px;
  }

  .team-breaker-text h3 {
    font-size: 27px;
  }
}

.bailsan-offers-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--cream);
  direction: rtl;
}

.bailsan-offers-decoration {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -350px;
  top: -220px;
  border: 1px solid rgba(84, 35, 109, 0.08);
  border-radius: 50%;
}

.bailsan-offers-decoration::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: 80px;
  left: 80px;
  border: 1px solid rgba(200, 166, 70, 0.12);
  border-radius: 50%;
}

.bailsan-offers-header {
  position: relative;
  z-index: 2;
  margin-bottom: 55px;
}

.bailsan-offers-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.bailsan-offers-label span {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.bailsan-offers-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.bailsan-offers-heading h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.bailsan-offers-heading h2 em {
  color: var(--gold);
  font-style: normal;
}

.bailsan-offers-heading p {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

.bailsan-offers-slider-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 70px;
}

.bailsanOffersSwiper {
  overflow: hidden;
}

.bailsanOffersSwiper .swiper-slide {
  height: auto;
}

.bailsan-offer-card {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 35px;
  background: var(--purple-dark);
  box-shadow: 0 25px 60px rgba(84, 35, 109, 0.16);
  transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bailsan-offer-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bailsan-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.bailsan-offer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(48, 20, 64, 0.98) 0%,
    rgba(48, 20, 64, 0.78) 35%,
    rgba(48, 20, 64, 0.15) 72%,
    rgba(48, 20, 64, 0.05) 100%
  );
}

.bailsan-offer-top {
  position: absolute;
  top: 28px;
  right: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bailsan-offer-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1px;
  background: rgba(63, 24, 84, 0.35);
  backdrop-filter: blur(8px);
}

.bailsan-offer-category {
  padding: 9px 17px;
  border: 1px solid rgba(224, 200, 120, 0.45);
  border-radius: 30px;
  color: var(--gold-light);
  background: rgba(63, 24, 84, 0.35);
  backdrop-filter: blur(8px);
  font-size: 16px;
}

.bailsan-offer-content {
  position: absolute;
  right: 35px;
  bottom: 35px;
  left: 35px;
}

.bailsan-offer-small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.bailsan-offer-content h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 38px;
  font-weight: 700;
}

.bailsan-offer-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.8;
}

.bailsan-offer-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 23px;
  padding: 7px 8px 7px 20px;
  border: 1px solid rgba(224, 200, 120, 0.5);
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  transition: 0.4s ease;
}

.bailsan-offer-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--purple-dark);
  font-size: 12px;
  transition: 0.4s ease;
}

.bailsan-offer-btn:hover {
  color: var(--purple-dark);
  background: var(--gold);
  border-color: var(--gold);
}

.bailsan-offer-btn:hover i {
  color: var(--gold);
  background: var(--purple-dark);
  transform: translateX(-4px);
}

.bailsan-offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 75px rgba(84, 35, 109, 0.25);
}

.bailsan-offer-card:hover .bailsan-offer-image img {
  transform: scale(1.08);
}

.bailsan-offers-navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.bailsan-offer-prev,
.bailsan-offer-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(84, 35, 109, 0.2);
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  cursor: pointer;
  transition: 0.4s ease;
}

.bailsan-offer-prev:hover,
.bailsan-offer-next:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.bailsan-offer-pagination {
  display: flex;
  align-items: center;
  gap: 7px;
  width: auto !important;
}

.bailsan-offer-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: var(--purple);
  opacity: 0.2;
  transition: 0.4s ease;
}

.bailsan-offer-pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 10px;
  background: var(--gold);
  opacity: 1;
}

@media (max-width: 991px) {
  .bailsan-offers-section {
    padding: 90px 0;
  }

  .bailsan-offers-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .bailsan-offers-heading p {
    margin: 0;
  }

  .bailsan-offer-card {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .bailsan-offers-section {
    padding: 75px 0;
  }

  .bailsan-offers-header {
    margin-bottom: 40px;
  }

  .bailsan-offers-heading h2 {
    font-size: 45px;
  }

  .bailsan-offer-card {
    height: 500px;
    border-radius: 28px;
  }

  .bailsan-offer-content {
    right: 25px;
    bottom: 28px;
    left: 25px;
  }

  .bailsan-offer-content h3 {
    font-size: 33px;
  }

  .bailsan-offer-top {
    top: 22px;
    right: 22px;
    left: 22px;
  }
}

.bailsan-faq-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--white);
  direction: rtl;
}

.bailsan-faq-bg {
  position: absolute;
  width: 520px;
  height: 520px;
  left: -330px;
  bottom: -300px;
  border: 1px solid rgba(200, 166, 70, 0.13);
  border-radius: 50%;
}

.bailsan-faq-bg::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: 80px;
  left: 80px;
  border: 1px solid rgba(84, 35, 109, 0.07);
  border-radius: 50%;
}

.bailsan-faq-intro {
  position: sticky;
  top: 100px;
}

.bailsan-faq-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.bailsan-faq-label span {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.bailsan-faq-intro h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(45px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -2px;
}

.bailsan-faq-intro h2 em {
  color: var(--gold);
  font-style: normal;
}

.bailsan-faq-intro > p {
  max-width: 380px;
  margin: 25px 0 0;
  color: var(--text-light);
  font-size: 16px;
  line-height: 2;
}

.bailsan-faq-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 350px;
  margin-top: 38px;
  padding: 18px;
  border: 1px solid rgba(84, 35, 109, 0.1);
  border-radius: 20px;
  background: var(--cream);
}

.bailsan-faq-contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--gold-light);
  font-size: 18px;
}

.bailsan-faq-contact span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-light);
  font-size: 12px;
}

.bailsan-faq-contact a {
  color: var(--purple);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.bailsan-faq-contact a i {
  margin-right: 7px;
  font-size: 10px;
  transition: 0.3s ease;
}

.bailsan-faq-contact a:hover i {
  transform: translateX(-4px);
}

.bailsan-faq-list {
  position: relative;
}

.bailsan-faq-item {
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(84, 35, 109, 0.1);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(84, 35, 109, 0.04);
  transition: 0.4s ease;
}

.bailsan-faq-item:hover {
  border-color: rgba(200, 166, 70, 0.3);
  box-shadow: 0 15px 40px rgba(84, 35, 109, 0.08);
}

.bailsan-faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 55px 1fr 45px;
  align-items: center;
  gap: 20px;
  padding: 24px 25px;
  border: 0;
  background: transparent;
  color: var(--purple-dark);
  text-align: right;
  cursor: pointer;
}

.bailsan-faq-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(200, 166, 70, 0.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
  transition: 0.4s ease;
  font-weight: 700;
}

.bailsan-faq-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.bailsan-faq-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--purple);
  transition: 0.45s ease;
}

.bailsan-faq-icon i {
  font-size: 12px;
  transition: 0.45s ease;
}

.bailsan-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease;
}

.bailsan-faq-answer > div {
  min-height: 0;
  overflow: hidden;
  padding: 0 90px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 2;
  transition: padding 0.5s ease;
}

.bailsan-faq-item.active {
  border-color: rgba(200, 166, 70, 0.3);
  background: linear-gradient(135deg, var(--white), rgba(245, 241, 232, 0.45));
}

.bailsan-faq-item.active .bailsan-faq-number {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--purple-dark);
}

.bailsan-faq-item.active .bailsan-faq-icon {
  background: var(--purple);
  color: var(--white);
  transform: rotate(45deg);
}

.bailsan-faq-item.active .bailsan-faq-answer {
  grid-template-rows: 1fr;
}

.bailsan-faq-item.active .bailsan-faq-answer > div {
  padding: 0 90px 27px;
}

@media (max-width: 991px) {
  .bailsan-faq-section {
    padding: 90px 0;
  }

  .bailsan-faq-intro {
    position: static;
    margin-bottom: 50px;
  }

  .bailsan-faq-intro > p {
    max-width: 600px;
  }

  .bailsan-faq-contact {
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  .bailsan-faq-section {
    padding: 75px 0;
  }

  .bailsan-faq-intro {
    text-align: center;
  }

  .bailsan-faq-label {
    justify-content: center;
  }

  .bailsan-faq-intro h2 {
    font-size: 45px;
  }

  .bailsan-faq-intro > p {
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  .bailsan-faq-contact {
    margin-left: auto;
    margin-right: auto;
    text-align: right;
  }

  .bailsan-faq-question {
    grid-template-columns: 45px 1fr 38px;
    gap: 12px;
    padding: 18px 15px;
  }

  .bailsan-faq-number {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }

  .bailsan-faq-title {
    font-size: 15px;
  }

  .bailsan-faq-icon {
    width: 36px;
    height: 36px;
  }

  .bailsan-faq-answer > div {
    padding: 0 15px;
    font-size: 14px;
  }

  .bailsan-faq-item.active .bailsan-faq-answer > div {
    padding: 0 15px 22px;
  }
}

.bailsan-contact-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--cream);
  direction: rtl;
}

.bailsan-contact-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  left: -320px;
  bottom: -300px;
  border: 1px solid rgba(84, 35, 109, 0.08);
  border-radius: 50%;
}

.bailsan-contact-section::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -235px;
  bottom: -215px;
  border: 1px solid rgba(200, 166, 70, 0.13);
  border-radius: 50%;
}

.bailsan-contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 75px;
  align-items: stretch;
}

.bailsan-contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.bailsan-contact-label,
.bailsan-form-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

.bailsan-contact-label span,
.bailsan-form-label span {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.bailsan-contact-intro h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -2px;
}

.bailsan-contact-intro h2 em {
  color: var(--gold);
  font-style: normal;
}

.bailsan-contact-intro p {
  max-width: 450px;
  margin: 25px 0 0;
  color: var(--text-light);
  font-size: 16px;
  line-height: 2;
}

.bailsan-book-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 45px 0;
  padding: 25px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--purple-dark);
  box-shadow: 0 20px 50px rgba(63, 24, 84, 0.2);
}

.bailsan-book-box::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -80px;
  top: -90px;
  border: 1px solid rgba(224, 200, 120, 0.2);
  border-radius: 50%;
}

.bailsan-book-icon {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 200, 120, 0.45);
  border-radius: 18px;
  color: var(--gold-light);
  font-size: 25px;
}

.bailsan-book-box span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.bailsan-book-box h3 {
  margin: 0;
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
}

.bailsan-book-box a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 12px;
  transition: 0.3s ease;
}

.bailsan-book-box a i {
  transition: 0.3s ease;
}

.bailsan-book-box a:hover i {
  transform: translateX(-5px);
}

.bailsan-contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 35px;
}

.bailsan-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bailsan-contact-detail-icon {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 8px 25px rgba(84, 35, 109, 0.07);
  font-size: 14px;
  transition: 0.35s ease;
}

.bailsan-contact-detail:hover .bailsan-contact-detail-icon {
  background: var(--purple);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.bailsan-contact-detail span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-light);
  font-size: 11px;
}

.bailsan-contact-detail strong {
  display: block;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.bailsan-map-note {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(84, 35, 109, 0.1);
}

.bailsan-map-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(200, 166, 70, 0.12);
  color: var(--gold);
  font-size: 18px;
}

.bailsan-map-note span {
  display: block;
  margin-bottom: 4px;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 600;
}

.bailsan-map-note strong {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 400;
}

.bailsan-contact-form-wrap {
  position: relative;
  overflow: hidden;
  padding: 60px 65px;
  border: 1px solid rgba(84, 35, 109, 0.12);
  border-radius: 5px 55px 5px 55px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 25px 70px rgba(84, 35, 109, 0.06);
}

.bailsan-form-decoration {
  position: absolute;
  width: 280px;
  height: 280px;
  top: -175px;
  right: -150px;
  border: 1px solid rgba(84, 35, 109, 0.13);
  border-radius: 50%;
}

.bailsan-form-decoration::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  top: 39px;
  left: 39px;
  border: 1px solid rgba(200, 166, 70, 0.12);
  border-radius: 50%;
}

.bailsan-contact-form-wrap > *:not(.bailsan-form-decoration) {
  position: relative;
  z-index: 2;
}

.bailsan-contact-form-wrap h3 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
}

.bailsan-contact-form-wrap h3 em {
  color: var(--gold);
  font-style: normal;
}

.bailsan-form-description {
  max-width: 570px;
  margin: 18px 0 40px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 2;
}

.bailsan-contact-form {
  position: relative;
}

.bailsan-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.bailsan-form-group {
  position: relative;
  margin-bottom: 28px;
}

.bailsan-form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 500;
}

.bailsan-form-group input,
.bailsan-form-group select,
.bailsan-form-group textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(84, 35, 109, 0.2);
  outline: none;
  background: transparent;
  color: var(--purple-dark);
  font-family: inherit;
  font-size: 14px;
  transition: 0.3s ease;
}

.bailsan-form-group input::placeholder,
.bailsan-form-group textarea::placeholder {
  color: #aaa2aa;
}

.bailsan-form-group select {
  appearance: none;
  cursor: pointer;
}

.bailsan-form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.bailsan-form-group input:focus,
.bailsan-form-group select:focus,
.bailsan-form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.bailsan-contact-submit {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 25px 7px 25px;
  border: 0;
  border-radius: 50px;
  background: var(--purple-dark);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: 0.4s ease;
}

.bailsan-contact-submit i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--purple-dark);
  transition: 0.4s ease;
}

.bailsan-contact-submit:hover {
  background: var(--purple);
  box-shadow: 0 15px 35px rgba(84, 35, 109, 0.2);
}

.bailsan-contact-submit:hover i {
  transform: translateX(-5px);
}

@media (max-width: 1199px) {
  .bailsan-contact-grid {
    gap: 45px;
  }

  .bailsan-contact-form-wrap {
    padding: 50px 45px;
  }
}

@media (max-width: 991px) {
  .bailsan-contact-section {
    padding: 90px 0;
  }

  .bailsan-contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .bailsan-contact-info {
    padding: 0;
  }

  .bailsan-contact-intro p {
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  .bailsan-contact-section {
    padding: 75px 0;
  }

  .bailsan-contact-intro {
    text-align: center;
  }

  .bailsan-contact-label {
    justify-content: center;
  }

  .bailsan-contact-intro h2 {
    font-size: 46px;
  }

  .bailsan-contact-intro p {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
  }

  .bailsan-book-box {
    margin: 35px 0;
    padding: 20px;
  }

  .bailsan-contact-details {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bailsan-contact-form-wrap {
    padding: 40px 25px;
    border-radius: 4px 35px 4px 35px;
  }

  .bailsan-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bailsan-contact-form-wrap h3 {
    font-size: 38px;
  }
}

@media (max-width: 400px) {
  .bailsan-contact-intro h2 {
    font-size: 40px;
  }

  .bailsan-book-box {
    gap: 14px;
  }

  .bailsan-book-icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }
}

.bailsan-doctors-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--white);
}

.bailsan-doctors-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -300px;
  left: -250px;
  border: 1px solid rgba(200, 166, 70, 0.14);
  border-radius: 50%;
}

.bailsan-doctors-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  bottom: -170px;
  right: -100px;
  background: rgba(84, 35, 109, 0.035);
  border-radius: 50%;
}

.bailsan-doctors-section .container {
  position: relative;
  z-index: 2;
}

.bailsan-doctors-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 65px;
}

.bailsan-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.bailsan-section-label > span {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.bailsan-doctors-heading h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
}

.bailsan-doctors-heading h2 em {
  color: var(--gold);
  font-style: normal;
}

.bailsan-doctors-heading-text {
  max-width: 390px;
}

.bailsan-doctors-heading-text p {
  margin: 0 0 25px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 2;
}

.bailsan-all-doctors {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--purple);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.bailsan-all-doctors span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(84, 35, 109, 0.15);
  border-radius: 50%;
  transition: 0.35s ease;
}

.bailsan-all-doctors:hover {
  color: var(--purple);
}

.bailsan-all-doctors:hover span {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  transform: translateX(-5px);
}

.bailsan-doctor-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(84, 35, 109, 0.08);
  border-radius: 32px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(84, 35, 109, 0.05);
  transition: 0.45s ease;
}

.bailsan-doctor-card:hover {
  transform: translateY(-10px);
  border-color: rgba(200, 166, 70, 0.35);
  box-shadow: 0 25px 60px rgba(84, 35, 109, 0.12);
}

.bailsan-doctor-image {
  position: relative;
  height: 550px;
  overflow: hidden;
  background: var(--cream);
}

.bailsan-doctor-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(63, 24, 84, 0.22), transparent 50%);
  pointer-events: none;
}

.bailsan-doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.bailsan-doctor-card:hover .bailsan-doctor-image img {
  transform: scale(1.07);
}

.bailsan-doctor-number {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(84, 35, 109, 0.8);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 1px;
}

.bailsan-doctor-social {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.4s ease;
}

.bailsan-doctor-card:hover .bailsan-doctor-social {
  opacity: 1;
  transform: translateY(0);
}

.bailsan-doctor-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s ease;
}

.bailsan-doctor-social a:hover {
  background: var(--gold);
  color: var(--purple-dark);
}

.bailsan-doctor-content {
  padding: 30px;
}

.bailsan-doctor-content > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.bailsan-doctor-content h3 {
  margin: 0 0 15px;
  color: var(--purple-dark);
  font-size: 25px;
  font-weight: 700;
}

.bailsan-doctor-content p {
  margin: 0;
  min-height: 58px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 2;
}

.bailsan-doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(84, 35, 109, 0.1);
  color: var(--purple);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s ease;
}

.bailsan-doctor-link i {
  font-size: 11px;
  transition: 0.3s ease;
}

.bailsan-doctor-link:hover {
  color: var(--gold);
}

.bailsan-doctor-link:hover i {
  transform: translateX(-5px);
}

@media (max-width: 991px) {
  .bailsan-doctors-section {
    padding: 90px 0;
  }

  .bailsan-doctors-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 45px;
  }

  .bailsan-doctors-heading-text {
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  .bailsan-doctors-section {
    padding: 75px 0;
  }

  .bailsan-doctors-heading {
    text-align: center;
  }

  .bailsan-section-label {
    justify-content: center;
  }

  .bailsan-doctors-heading h2 {
    font-size: 42px;
  }

  .bailsan-doctors-heading-text {
    margin: auto;
  }

  .bailsan-doctor-image {
    height: 360px;
  }

  .bailsan-doctor-content {
    padding: 25px;
  }
}

.bailsan-footer {
  position: relative;
  overflow: hidden;
  padding: 90px 0 25px;
  background: var(--purple-dark);
  color: var(--white);
  direction: rtl;
  border-radius: 70px 70px 0 0;
}

.bailsan-footer-shape {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(224, 200, 120, 0.12);
  border-radius: 50%;
}

.bailsan-footer-shape-one {
  width: 550px;
  height: 550px;
  top: -330px;
  left: -250px;
}

.bailsan-footer-shape-two {
  width: 380px;
  height: 380px;
  right: -250px;
  bottom: -250px;
  border-color: rgba(255, 255, 255, 0.06);
}

.bailsan-footer-cta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 80px;
  padding-bottom: 65px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bailsan-footer-label {
  display: block;
  margin-bottom: 15px;
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 2px;
}

.bailsan-footer-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(45px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
}

.bailsan-footer-cta h2 em {
  color: var(--gold-light);
  font-style: normal;
}

.bailsan-footer-cta p {
  max-width: 550px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 2;
}

.bailsan-footer-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 8px 8px 8px 25px;
  border: 1px solid rgba(224, 200, 120, 0.4);
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  transition: 0.4s ease;
}

.bailsan-footer-cta-btn span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--purple-dark);
  transition: 0.4s ease;
}

.bailsan-footer-cta-btn:hover {
  background: var(--gold);
  color: var(--purple-dark);
}

.bailsan-footer-cta-btn:hover span {
  background: var(--purple-dark);
  color: var(--gold-light);
  transform: translateX(-5px);
}

.bailsan-footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 70px;
}

.bailsan-footer-brand {
  max-width: 330px;
}

.bailsan-footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--white);
  text-decoration: none;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -1px;
}

.bailsan-footer-logo::after {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  margin-top: 7px;
  background: var(--gold);
}

.bailsan-footer-brand > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 2;
}

.bailsan-footer-social {
  display: flex;
  gap: 9px;
  margin-top: 28px;
}

.bailsan-footer-social a {
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  transition: 0.35s ease;
}

.bailsan-footer-social a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--purple-dark);
  transform: translateY(-4px);
}

.bailsan-footer-column h3 {
  margin: 8px 0 25px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
}

.bailsan-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bailsan-footer-column ul li {
  margin-bottom: 14px;
}

.bailsan-footer-column ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s ease;
}

.bailsan-footer-column ul li a:hover {
  color: var(--gold-light);
  padding-right: 5px;
}

.bailsan-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}

.bailsan-footer-contact-item > span {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 200, 120, 0.22);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 12px;
}

.bailsan-footer-contact-item small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.bailsan-footer-contact-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 400;
}

.bailsan-footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bailsan-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
}

.bailsan-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bailsan-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 10px;
  transition: 0.3s ease;
}

.bailsan-footer-bottom-links a:hover {
  color: var(--gold-light);
}

.bailsan-footer-bottom-links span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.bailsan-footer-made i {
  margin-right: 4px;
  color: var(--gold);
}

@media (max-width: 991px) {
  .bailsan-footer {
    padding-top: 75px;
    padding-right:60px
  }

  .bailsan-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 50px 35px;
  }

  .bailsan-footer-brand {
    max-width: 100%;
  }

  .bailsan-footer-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .bailsan-footer {
    padding: 65px 0 20px;
    border-radius: 45px 45px 0 0;
            padding-right: 60px;
  }

  .bailsan-footer-cta {
    margin-bottom: 50px;
    padding-bottom: 45px;
  }

  .bailsan-footer-cta h2 {
    font-size: 45px;
  }

  .bailsan-footer-cta p {
    font-size: 13px;
  }

  .bailsan-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .bailsan-footer-brand {
    grid-column: 1 / -1;
  }

  .bailsan-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 13px;
  }
}

@media (max-width: 480px) {
  .bailsan-footer-main {
    grid-template-columns: 1fr;
  }

  .bailsan-footer-brand {
    grid-column: auto;
  }

  .bailsan-footer-cta-btn {
    width: 100%;
    justify-content: space-between;
  }

  .bailsan-footer-bottom-links {
    order: -1;
  }
}

.bailsan-blog-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--cream);
  direction: rtl;
}

.bailsan-blog-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bailsan-blog-orb-one {
  width: 420px;
  height: 420px;
  top: -220px;
  left: -180px;
  border: 1px solid rgba(200, 166, 70, 0.2);
}

.bailsan-blog-orb-two {
  width: 260px;
  height: 260px;
  bottom: -150px;
  right: -100px;
  background: rgba(84, 35, 109, 0.04);
}

.bailsan-blog-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 55px;
}

.bailsan-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.bailsan-section-label span {
  width: 38px;
  height: 1px;
  background: var(--gold);
}

.bailsan-blog-heading h2 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.15;
  font-weight: 700;
}

.bailsan-blog-heading h2 em {
  color: var(--gold);
  font-style: normal;
}

.bailsan-blog-heading-side {
  max-width: 390px;
}

.bailsan-blog-heading-side p {
  margin: 0 0 22px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 2;
}

.bailsan-blog-all {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.bailsan-blog-all span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  transition: 0.3s ease;
}

.bailsan-blog-all:hover {
  color: var(--purple-dark);
}

.bailsan-blog-all:hover span {
  transform: translateX(-5px);
  background: var(--gold);
}

.bailsan-blog-featured {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(63, 24, 84, 0.08);
}

.bailsan-blog-image {
  position: relative;
  height: 390px;
  overflow: hidden;
}

.bailsan-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.bailsan-blog-featured:hover .bailsan-blog-image img {
  transform: scale(1.06);
}

.bailsan-blog-category {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 9px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}

.bailsan-blog-featured-content {
  padding: 30px 32px 32px;
}

.bailsan-blog-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  color: #8a838b;
  font-size: 12px;
}

.bailsan-blog-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bailsan-blog-meta i {
  color: var(--gold);
}

.bailsan-blog-featured-content h3 {
  margin: 0 0 14px;
  color: var(--purple-dark);
  font-size: 27px;
  line-height: 1.5;
}

.bailsan-blog-featured-content p {
  margin: 0 0 22px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.9;
}

.bailsan-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.bailsan-blog-read i {
  transition: 0.3s ease;
}

.bailsan-blog-read:hover {
  color: var(--gold);
}

.bailsan-blog-read:hover i {
  transform: translateX(-5px);
}

.bailsan-blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.bailsan-blog-card {
  display: flex;
  min-height: 235px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(63, 24, 84, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bailsan-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px rgba(63, 24, 84, 0.12);
}

.bailsan-blog-card-image {
  position: relative;
  flex: 0 0 42%;
  overflow: hidden;
}

.bailsan-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bailsan-blog-card:hover .bailsan-blog-card-image img {
  transform: scale(1.08);
}

.bailsan-blog-number {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.bailsan-blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 28px;
}

.bailsan-blog-card-category {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.bailsan-blog-card-content h3 {
  margin: 0;
  color: var(--purple-dark);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
}

.bailsan-blog-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  color: #99929a;
  font-size: 11px;
}

.bailsan-blog-card-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--purple);
  text-decoration: none;
  transition: 0.3s ease;
}

.bailsan-blog-card:hover .bailsan-blog-card-bottom a {
  background: var(--purple);
  color: var(--white);
}

@media (max-width: 991px) {
  .bailsan-blog-section {
    padding: 90px 0;
  }

  .bailsan-blog-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .bailsan-blog-heading-side {
    max-width: 600px;
  }

  .bailsan-blog-image {
    height: 350px;
  }
}

@media (max-width: 767px) {
  .bailsan-blog-section {
    padding: 75px 0;
  }

  .bailsan-blog-heading h2 {
    font-size: 38px;
  }

  .bailsan-blog-image {
    height: 280px;
  }

  .bailsan-blog-featured-content {
    padding: 24px;
  }

  .bailsan-blog-featured-content h3 {
    font-size: 22px;
  }

  .bailsan-blog-card {
    min-height: 190px;
  }

  .bailsan-blog-card-image {
    flex: 0 0 38%;
  }

  .bailsan-blog-card-content {
    padding: 20px;
  }

  .bailsan-blog-card-content h3 {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .bailsan-blog-card {
    flex-direction: column;
  }

  .bailsan-blog-card-image {
    flex: none;
    height: 210px;
  }

  .bailsan-blog-card-content {
    min-height: 190px;
  }

  .bailsan-blog-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.blog-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.blog-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.doctor-section {
  background: radial-gradient(
      circle at 10% 20%,
      rgba(201, 163, 91, 0.1),
      transparent 30%
    ),
    linear-gradient(135deg, #ffffff, #faf7f1);
  padding: 100px 0;
}

.doctor-profile {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 80px;
  align-items: center;
}

.doctor-image-wrapper {
  position: relative;
  max-width: 430px;
  margin: auto;
}

.doctor-image-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  border-radius: 28px;
  top: 18px;
  right: -18px;
  z-index: 0;
}

.doctor-image {
  position: relative;
  z-index: 1;
  height: 520px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.doctor-image img {
  height: 100%;
  object-fit: cover;
}

.doctor-info {
  padding-left: 30px;
}

.doctor-label {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.doctor-info h1 {
  color: var(--purple-dark);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.3;
  margin-bottom: 10px;
  font-weight: 800;
}

.doctor-specialty {
  color: var(--purple);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 25px;
}

.doctor-line {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 28px;
}

.doctor-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 2.1;
  max-width: 650px;
  margin-bottom: 28px;
}

.doctor-description p {
  margin-bottom: 15px;
}

.doctor-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.detail-item {
  background: var(--purple-light);
  color: var(--purple-dark);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

.gallery-section {
  background: var(--cream);
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.section-heading span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.section-heading h2 {
  color: var(--purple-dark);
  font-size: 38px;
  margin: 7px 0 12px;
  font-weight: 800;
}

.section-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.masonry {
  column-count: 3;
  column-gap: 22px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  background: white;
  box-shadow: 0 10px 30px rgba(74, 48, 88, 0.07);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(50, 30, 65, 0.55), transparent 50%);
  opacity: 0;
  transition: 0.4s;
}

.masonry-item:hover img {
  transform: scale(1.06);
}

.masonry-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 18px;
  right: 20px;
  left: 20px;
  color: white;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
  font-size: 14px;
  font-weight: 600;
}

.masonry-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(31, 22, 37, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  border-radius: 18px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  left: 30px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: white;
  color: var(--purple-dark);
  font-size: 24px;
  cursor: pointer;
}

footer {
  background: #2e2335;
  color: white;
  padding: 55px 0 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  font-size: 27px;
  font-weight: 800;
}

.footer-logo span {
  color: var(--gold);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 35px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

@media (max-width: 1000px) {
  .doctor-profile {
    grid-template-columns: 350px 1fr;
    gap: 45px;
  }

  .doctor-image {
    height: 460px;
  }

  .masonry {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: white;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 7%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .appointment-btn {
    text-align: center;
  }

  .doctor-section {
    padding: 70px 0;
  }

  .doctor-profile {
    grid-template-columns: 1fr;
    gap: 55px;
    text-align: center;
  }

  .doctor-image-wrapper {
    width: min(90%, 390px);
  }

  .doctor-info {
    padding: 0;
  }

  .doctor-line {
    margin-left: auto;
    margin-right: auto;
  }

  .doctor-description {
    margin-left: auto;
    margin-right: auto;
  }

  .doctor-details {
    justify-content: center;
  }

  .gallery-section {
    padding: 70px 0;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .masonry {
    column-count: 2;
    column-gap: 14px;
  }

  .masonry-item {
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .gallery-caption {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }

  .doctor-image {
    height: 420px;
  }

  .doctor-info h1 {
    font-size: 32px;
  }

  .doctor-specialty {
    font-size: 17px;
  }
}

.bailsan-gallery-section {
  position: relative;
  padding: 80px 0 120px;
  background: var(--cream);
}

.bailsan-gallery-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 55px;
}

.gallery-tab {
  min-width: 115px;
  padding: 13px 25px;
  border: 1px solid rgba(84, 35, 109, 0.12);
  border-radius: 50px;
  background: var(--white);
  color: var(--text-light);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.gallery-tab:hover {
  border-color: var(--gold);
  color: var(--purple);
}

.gallery-tab.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(84, 35, 109, 0.18);
}

.bailsan-masonry-gallery {
  columns: 3 300px;
  column-gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  border-radius: 28px;
  background: var(--white);
  cursor: pointer;
  break-inside: avoid;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-video {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-video video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
}

.gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(84, 35, 109, 0.75);
  color: var(--white);
  font-size: 16px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 25px;
  background: linear-gradient(
    to top,
    rgba(63, 24, 84, 0.95) 0%,
    rgba(63, 24, 84, 0.45) 45%,
    transparent 75%
  );
  color: var(--white);
  opacity: 0;
  transition: 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
}

.gallery-overlay h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.gallery-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--purple);
  transition: 0.3s ease;
}

.gallery-item:hover .gallery-open {
  transform: rotate(90deg);
}

.gallery-item.hidden {
  display: none;
}

.bailsan-gallery-modal {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: var(--purple-dark);
}

.bailsan-modal-close {
  position: absolute;
  z-index: 10;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--purple);
  cursor: pointer;
  transition: 0.3s ease;
}

.bailsan-modal-close:hover {
  background: var(--gold);
  color: var(--white);
  transform: rotate(90deg);
}

.bailsan-modal-media {
  width: 100%;
  max-height: 75vh;
  background: #201129;
  text-align: center;
}

.bailsan-modal-media img {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  margin: auto;
}

.bailsan-modal-media video {
  display: block;
  width: 100%;
  max-height: 75vh;
  margin: auto;
  background: #000;
}

.bailsan-modal-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  color: var(--white);
}

.bailsan-modal-info span {
  color: var(--gold-light);
  font-size: 12px;
}

.bailsan-modal-info h3 {
  margin: 5px 0 0;
  color: var(--white);
  font-size: 21px;
}

.bailsan-modal-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(224, 200, 120, 0.4);
  border-radius: 50%;
}

.bailsan-modal-counter span {
  color: var(--gold-light);
  font-size: 12px;
}

.bailsan-gallery-footer {
  padding: 55px 0;
  background: var(--purple-dark);
}

.bailsan-gallery-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.bailsan-gallery-footer-content > div span {
  color: var(--gold-light);
  font-size: 28px;
  font-weight: 700;
}

.bailsan-gallery-footer-content p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.bailsan-gallery-footer-content > a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 22px;
  border-radius: 50px;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition: 0.3s ease;
}

.bailsan-gallery-footer-content > a:hover {
  background: var(--gold-light);
  color: var(--purple-dark);
  transform: translateY(-3px);
}

@media (max-width: 1199px) {
  .bailsan-nav-links {
    gap: 18px;
  }

  .bailsan-masonry-gallery {
    columns: 3 250px;
  }
}

@media (max-width: 991px) {
  .bailsan-nav-links,
  .bailsan-nav-btn {
    display: none;
  }

  .bailsan-menu-btn {
    display: block;
  }

  .bailsan-gallery-hero {
    padding: 85px 0 95px;
  }

  .bailsan-masonry-gallery {
    columns: 2 280px;
  }

  .bailsan-gallery-tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .bailsan-gallery-section {
    padding: 60px 0 80px;
  }

  .bailsan-gallery-tabs {
    gap: 8px;
    margin-bottom: 40px;
  }

  .gallery-tab {
    min-width: 90px;
    padding: 11px 18px;
    font-size: 12px;
  }

  .bailsan-masonry-gallery {
    columns: 2 160px;
    column-gap: 14px;
  }

  .gallery-item {
    margin-bottom: 14px;
    border-radius: 20px;
  }

  .gallery-overlay {
    padding: 15px;
  }

  .gallery-overlay h3 {
    font-size: 14px;
  }

  .gallery-overlay span {
    font-size: 9px;
  }

  .gallery-open {
    width: 35px;
    height: 35px;
    font-size: 11px;
  }

  .bailsan-gallery-footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .bailsan-masonry-gallery {
    columns: 1;
  }

  .gallery-item {
    margin-bottom: 18px;
  }

  .bailsan-gallery-hero h1 {
    font-size: 40px;
  }

  .bailsan-gallery-hero p {
    font-size: 13px;
  }

  .bailsan-modal-info {
    padding: 20px;
  }
}

.bailsan-whatsapp-float,
.bailsan-back-to-top {
  position: fixed;
  bottom: 25px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bailsan-whatsapp-float {
  left: 25px;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}

.bailsan-whatsapp-float:hover {
  transform: translateY(-5px);
  background: #20bd5a;
  color: #fff;
}

.bailsan-back-to-top {
  right: 25px;
  background: #222;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}

.bailsan-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bailsan-back-to-top:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .bailsan-whatsapp-float,
  .bailsan-back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
  }

  .bailsan-whatsapp-float {
    left: 15px;
  }

  .bailsan-back-to-top {
    right: 15px;
  }
}
