.section-heading {
  font-weight: 300;
  font-size: 30px;
  line-height: 52px;
  text-align: center;
  color: var(--text-dark);
}

/* About Section */
.about-section {
  display: flex;
  gap: 50px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px;
}

.about-image {
  flex-shrink: 0;
  width: 55%;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-content {
  width: 45%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 6px;
}

.section-title {
  font-weight: 300;
  font-size: 40px;
  line-height: 60px;
  color: var(--text-dark);
}

.about-subtitle {
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  color: var(--primary-purple);
}

.about-text p:first-child {
  margin-bottom: 12px;
}

.about-text p {
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* Treatments Section */
.treatments-section {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 12px;
  background-color: var(--purple-light);
}

.treatments-section .section-heading {
  margin-bottom: 50px;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  max-width: 1416px;
  margin: 0 auto;
}

.treatment-card-wrapper {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

/* card */

.treatment-card {
  position: relative;
  height: 287px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: right center;
  transition: transform 0.5s ease;
  transform-origin: right center;
  background-position: right center;
}

.glow {
  position: absolute;
  width: 511px;
  height: 667px;
  background: rgba(89, 78, 143, 0.4);
  filter: blur(150px);
  top: -157px;
  left: -222px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.treatment-card-wrapper:hover .treatment-card {
  transform: scale(1.05);
}

.treatment-card-wrapper:hover .glow {
  opacity: 1;
}

.botox {
  background-image: url('../images/botox.png');
}

.masseter {
  background-image: url('../images/masseter.png');
}

.skin-booster {
  background-image: url('../images/skin-booster.png');
}

.radiesse {
  background-image: url('../images/radiesse.png');
}

.treatment-card-wrapper h3 {
  font-weight: 200;
  font-size: 28px;
  line-height: 34px;
  color: var(--white);
  position: absolute;
  bottom: 30px;
  left: 30px;
}

/* Team Section */
.team-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 70px 100px;
  background-color: var(--white-soft);
}

.team-section .section-heading {
  margin-bottom: 60px;
}

.splide__slide {
  width: 30% !important;
}

.team-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
}

.team-image-wrapper * {
  transition: all 0.6s ease;
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0)
}

.team-image-wrapper:hover img {
  transform: translateY(-30px);
}

.team-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.67), transparent);
  pointer-events: none;
  z-index: 3;
}

.team-member-name {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Gotham;
  font-weight: 300;
  font-size: 24px;
  line-height: 34px;
  color: var(--white);
  white-space: nowrap;
  z-index: 6;
}

.team-image-wrapper:hover .team-member-name {
  bottom: 100px;
  color: var(--text-dark);
}

.team-readmore-btn {
  display: inline-flex;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  border: 1px solid var(--text-dark);
  white-space: nowrap;

  color: var(--text-dark);
  font-family: Gotham;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px;
  /* 125% */
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
}

.team-readmore-btn svg path {
  stroke: var(--text-dark);
}

.team-readmore-btn:hover {
  background: var(--primary-purple);
}

.team-readmore-btn:hover .arrow-box {
  width: 40px;
  height: 20px;
}

.team-readmore-btn:hover {
  border-color: transparent;
  color: var(--white);
}

.team-readmore-btn:hover svg path {
  stroke: var(--white);
}

.team-readmore-btn:hover svg path {
  stroke: var(--white);
}



.team-image-wrapper:hover .team-readmore-btn {
  opacity: 1;
}

.team-hover-overlay {
  width: 100%;
  height: 40%;
  border-radius: 20px;
  background: #ECECEC;
  position: absolute;
  bottom: -40%;
  z-index: 4;
}

.team-image-wrapper:hover .team-hover-overlay {
  bottom: 0;
}


.splide__arrow {
  width: 60px;
  height: 60px;
  background: var(--white);
  opacity: 1;
}

.splide__arrow:disabled {
  opacity: 0;
}

.splide__arrow img {
  width: 30px;
}



/* Why Choose Section */
.why-choose-section {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 70px 70px;
}

.why-choose-section .section-heading {
  margin-bottom: 50px;
}

.why-choose-content {
  width: 100%;
  display: flex;
  gap: 22px;
}

.why-choose-img {
  width: 33%;
}

.why-choose-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.why-choose-grid {
  width: 67%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 100px;
  padding: 40px 50px;
  background-color: rgba(89, 79, 143, 0.06);
  border-radius: 16px;
}

.choose-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.why-choose-card h3 {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--primary-purple);
}

.why-choose-card p {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-dark);
}

/* Reviews Section */
.reviews-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 70px;
  background-color: var(--purple-soft);
  overflow: hidden;
}

.reviews-section .section-heading {
  text-align: left;
  margin-bottom: 36px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 370px);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 370px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-purple);
}

.user-1,
.user-2,
.user-3,
.user-4 {
  background-image: url('../images/user.jpg');
}

.user-info h3 {
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  color: var(--text-light);
}

.user-info time {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: rgba(0, 0, 0, 0.5);
}

.google-icon {
  width: 24px;
  height: 24px;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-rating img {
  width: 20.83px;
  height: 19.86px;
}

.review-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
}

/* Video Gallery Section */
.video-gallery-section {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 64px;
}

.video-gallery-section .section-heading {
  margin-bottom: 20px;
}

.video-carousel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 420px;
  margin: 0 auto 40px;
}


.video-grid {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 420px;
  height: 260px;
  transition: all 0.5s ease;
  z-index: 1;
}

.video-item.left {
  left: 0;
}

.video-item.featured {
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 660px;
  height: 368px;
  z-index: 3;
}


.video-item.right {
  right: 0;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 166px;
  height: 166px;
  transition: transform 0.3s;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button img {
  width: 100%;
  height: 100%;
}

.video-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.control-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--text-dark);
  transition: opacity 0.3s;
}

.control-btn:hover {
  opacity: 0.7;
}

.control-btn img {
  width: 20px;
  height: 40px;
}

.divider {
  width: 1px;
  height: 32px;
  background-color: var(--text-dark);
}

/* Before & After Section */
.before-after-section {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 70px;
  background-color: var(--primary-blue);
}

.before-after-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.before-after-section .section-heading {
  text-align: left;
  color: var(--white);
  margin-bottom: 0;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 14px;
}

.before-after-item h3 {
  font-weight: 200;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  margin-top: 14px;
  text-align: center;
}

.comparison-wrapper {
  position: relative;
  display: flex;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
}

.comparison-image {
  position: relative;
  flex: 1;
  overflow: hidden;
}

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

.comparison-image .label {
  position: absolute;
  bottom: 15px;
  left: 14px;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
}

.comparison-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background-color: var(--white);
  z-index: 1;
}

.view-all-link {
  display: block;
  text-align: right;
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  color: var(--white);
  transition: opacity 0.3s;
}

.view-all-link:hover {
  opacity: 0.8;
}

/* Blog Section */
.blog-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 70px;
}

.blog-section .section-heading {
  text-align: left;
  margin-bottom: 32px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card-wrapper {
  overflow: hidden;
  border-radius: 20px;
  display: block;
}

.blog-card {
  position: relative;
  height: 289px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 30px 24px;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.75s ease-out;
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: all 0.75s ease-out;
  z-index: 0;
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.66) 0%,
      rgba(0, 0, 0, 0) 70%);
  z-index: 1;
}

.blog-card .blog-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 66%;
  left: 0;
  background: rgba(0, 0, 0, 0.66);
  filter: blur(150px);
  z-index: 2;
  transition: background 0.5s ease-out;
}

.blog-card:hover {
  transform: scale(1.01);
}

.blog-card:hover::after {
  transform: scale(1.08);
}

.blog-card:hover .blog-glow {
  background: #594E8F;
  /* primary-2 */
}

.blog-1 {
  background-image: url('../images/PN-PDRN-Salmondin.png');
}

.blog-2 {
  background-image: url('../images/Botox-2-80.png');
}

.blog-card h3 {
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  color: var(--white);
  position: relative;
  z-index: 3;
}


/* Social Section */
.social-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px;
  background-color: var(--gray-cool-light);
}

.social-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.social-header .section-heading {
  margin-bottom: 0;
}

.instagram-link {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-weight: 300;
  font-size: 20px;
  line-height: 32px;
  color: var(--primary-purple);
  transition: opacity 0.3s;
}

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

.instagram-link img {
  width: 30px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.social-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Appointment Section */
.appointment-section {
  display: flex;
  gap: 50px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 70px;
  background: linear-gradient(180deg, rgba(129, 30, 161, 0.3) 0%, rgba(89, 78, 143, 0.3) 100%);
}

.appointment-image {
  flex-shrink: 0;
  width: 56%;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  align-self: center;
}

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

.appointment-form-wrapper {
  width: 44%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.appointment-form-wrapper h2 {
  font-weight: 300;
  font-size: 32px;
  line-height: 48px;
  color: var(--text-dark);
}

.appointment-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.appointment-form p {
  width: 100%;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 19px 24px;
  border: 1px solid var(--text-dark);
  border-radius: 56px;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-dark);
  background-color: transparent;
  outline: none;
}

.appointment-form textarea {
  border-radius: 20px;
  resize: none;
  min-height: 125px;
  padding-top: 20px;
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
  color: var(--text-dark);
  opacity: 1;
}

/* Map Section */
.map-section {
  width: 100%;
  max-width: 1440px;
  padding-top: 64px;
  margin-top: 0 auto;
}

.map-section iframe {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1440px) {

  .about-section,
  .treatments-section,
  .team-section,
  .why-choose-section,
  .why-choose-grid,
  .reviews-section,
  .video-gallery-section,
  .before-after-section,
  .blog-section,
  .social-section,
  .appointment-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .splide__arrow {
    width: 50px;
    height: 50px;
  }

  .splide__arrow img {
    width: 24px;
  }

  .about-doctors{
    gap: 25px 60px;
  }

}

@media (max-width: 1200px) {
  .about-section {
    flex-direction: column;
    align-items: center;
  }

  .about-image {
    width: 100%;
    max-width: 640px;
  }

  .why-choose-img {
    width: 43%;
  }

  .why-choose-grid {
    width: 57%;
    gap: 30px 60px;
  }

  .team-section {
    flex-direction: column;
    align-items: center;
  }

  .splide__slide {
    width: 33% !important;
  }

  .appointment-section {
    flex-direction: column;
  }

  .appointment-image {
    width: 100%;
    max-width: 750px;
  }

  .appointment-form-wrapper,
  .about-content {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .treatments-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .social-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .why-choose-grid {
    width: 100%;
    gap: 30px;
  }

  .why-choose-img {
    width: 100%;
    max-width: 640px;
    margin: auto;
  }

  .why-choose-content {
    flex-direction: column-reverse;
  }

  .video-item {
    width: 50%;
    height: auto;
  }

  .video-item.featured {
    width: 60%;
    height: auto;
  }

  .video-carousel {
    height: 40vw;
    margin: 0;
  }

  .splide__slide {
    width: 50% !important;
  }


  .team-member-name {
    font-size: 20px;
  }

  .treatments-section .section-heading,
  .why-choose-section .section-heading,
  .team-section .section-heading {
    margin-bottom: 32px;
  }

  .reviews-section .section-heading,
  .before-after-section-heading,
  .blog-section .section-heading,
  .social-header {
    margin-bottom: 24px;
  }

  .video-gallery-section .section-heading {
    margin-bottom: 8px;
  }



  .before-after-grid {
    grid-template-columns: repeat(3, 420px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .before-after-grid::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {

  .about-section,
  .healthy-beauty-section,.education-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .treatments-section,
  .reviews-section,
  .video-gallery-section,
  .before-after-section,
  .knowledge-content,
  .blog-section,
  .social-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .team-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .blog-section .section-heading {
    text-align: center;
  }

  .why-choose-section {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .blog-card {
    height: 230px;
  }

  .splide__arrow {
    width: 40px;
    height: 40px;
  }

  .splide__arrow img {
    width: 20px;
  }

  .team-member-name {
    font-size: 16px;
  }

  .map-section iframe {
    height: 350px;
  }

  .section-title {
    font-size: 32px;
    line-height: 48px;
  }

  .section-heading {
    font-size: 24px;
    line-height: 36px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .video-item.featured,
  .video-item {
    width: 100%;
    height: 48vw;
  }

  .video-carousel {
    height: 54vw;
  }

  .video-grid {
    overflow: hidden;
  }

  .video-item.left {
    left: -100%;
  }

  .video-item.featured {
    left: 50%;
  }

  .video-item.right {
    right: 100%;
  }

  .before-after-grid {
    grid-template-columns: repeat(3, 90%);
  }

}

@media (max-width: 480px) {

  .about-section,
  .treatments-section,
  .team-section,
  .why-choose-section,
  .reviews-section,
  .video-gallery-section,
  .before-after-section,
  .blog-section,
  .social-section,
  .appointment-section,
  .why-choose-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading,
  .section-title {
    font-size: 22px;
    line-height: 28px;
  }

  .social-header,
  .review-user,
  .before-after-section-heading {
    flex-direction: column;
  }

  .reviews-grid {
    grid-template-columns: repeat(4, 100%);
  }

  .review-card {
    padding: 20px;
    min-width: unset;
    width: 100%;
  }

  .view-all-link {
    font-size: 14px;
  }

  .about-subtitle {
    font-size: 20px;
  }

  .about-text,
  .blog-card h3 {
    font-size: 16px;
    line-height: 21px;
  }

  .treatment-card {
    height: 160px;
  }

  .splide__slide {
    width: 100% !important;
  }

  .blog-card {
    height: 180px;
    padding: 16px;
  }

  .instagram-link img {
    width: 24px;
  }

  .treatment-card-wrapper h3,
  .appointment-form-wrapper h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .treatment-card-wrapper h3 {
    bottom: 20px;
    left: 20px;
  }

  .appointment-form input,
  .appointment-form textarea {
    padding: 15px 20px;
    font-size: 14px;
  }

  .treatments-section .section-heading,
  .why-choose-section .section-heading,
  .team-section .section-heading {
    margin-bottom: 24px;
  }

}