/* Main Content Sections Styles */

/* Iyengar Yoga Assan Section Styles */
.assan-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.assan-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  right: -100px;
  bottom: 0;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat, no-repeat;
  background-size: 400px auto, 400px auto;
  opacity: 0.5;
  z-index: 1;
  animation: leafMove 3s ease-in-out infinite alternate;
}

.assan-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 50%;
  height: 100%;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat;
  background-size: 400px auto;
  opacity: 0.5;
  z-index: 1;
  transform: scaleX(-1);
  animation: leafMove 3s ease-in-out infinite alternate;
}

@keyframes leafMove {
  0% {
    background-position: -50px center, calc(100% + 50px) center;
  }
  50% {
    background-position: -30px calc(50% + 10px),
      calc(100% + 30px) calc(50% - 10px);
  }
  100% {
    background-position: -50px center, calc(100% + 50px) center;
  }
}

.assan-section .container {
  position: relative;
  z-index: 2;
}

.assan-header {
  margin-bottom: 50px;
}

.assan-subheading {
  font-size: 1.1rem;
  color: #fa6e32;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.assan-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c1810;
  line-height: 1.3;
  margin-bottom: 25px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.assan-description {
  font-size: 1.1rem;
  color: #fa6e32;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

.assan-card {
  background-color: #ffffff;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(45deg, #fa6e32, #ff8c42, #fa6e32, #ff8c42, #fa6e32)
      border-box;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  border-radius: 100px 0px 100px 0px;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% {
    background: linear-gradient(white, white) padding-box,
      linear-gradient(45deg, #fe4c00, #ff8c42, #fa6e32, #ff8c42, #fa6e32)
        border-box;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  100% {
    background: linear-gradient(white, white) padding-box,
      linear-gradient(45deg, #ff6200, #fa6e32, #ff8c42, #fa6e32, #ff8c42)
        border-box;
    box-shadow: 0 8px 25px rgba(250, 110, 50, 0.3);
  }
}

.assan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  background-color: #ffb380;
}

.assan-card-image {
  position: relative;
  overflow: hidden;
}

.assan-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.assan-card:hover .assan-card-image img {
  transform: scale(1.05);
}

.assan-card-content {
  padding: 25px 20px;
}

.assan-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c1810;
  margin-bottom: 12px;
  line-height: 1.3;
}

.assan-card-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Cure Your Pain Section Styles */
.cure-pain-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cure-pain-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  right: -100px;
  bottom: 0;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat, no-repeat;
  background-size: 400px auto, 400px auto;
  opacity: 0.5;
  z-index: 1;
  animation: leafMove 3s ease-in-out infinite alternate;
}

.cure-pain-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 50%;
  height: 100%;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat;
  background-size: 400px auto;
  opacity: 0.5;
  z-index: 1;
  transform: scaleX(-1);
  animation: leafMove 3s ease-in-out infinite alternate;
}

@keyframes leafMove {
  0% {
    background-position: -50px center, calc(100% + 50px) center;
  }
  50% {
    background-position: -30px calc(50% + 10px),
      calc(100% + 30px) calc(50% - 10px);
  }
  100% {
    background-position: -50px center, calc(100% + 50px) center;
  }
}

/* .cure-pain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../leaf.jpg'), url('../leaf.jpg');
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    background-size: 180px auto, 180px auto;
    opacity: 0.08;
    z-index: 1;
} */

.cure-pain-section .container {
  position: relative;
  z-index: 2;
}

.cure-pain-header {
  margin-bottom: 50px;
}

.cure-pain-subheading {
  font-size: 1.1rem;
  color: #fa6e32;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.cure-pain-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c1810;
  line-height: 1.3;
  margin-bottom: 25px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.cure-pain-description {
  font-size: 1.1rem;
  color: #fa6e32;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

.cure-pain-card {
  background: linear-gradient(120deg, #fff 80%, #ffe5d0 100%);
  border-radius: 0px 100px 0px 100px;
  box-shadow: 0 16px 40px rgba(250, 110, 50, 0.16),
    0 2px 14px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
  border: 3px solid #fa6e32;
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(2px);
  isolation: isolate;
}

/* .cure-pain-card::before {
    content: '';
    position: absolute;
    top: -32px;
    right: -32px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, #FA6E32 0%, #ffb380 80%);
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
} */

.cure-pain-card::after {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 56px;
  height: 56px;
  background: radial-gradient(circle, #ff8c42 0%, #ffe5d0 80%);
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
}

.cure-pain-card-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.cure-pain-card-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.cure-pain-card-content {
  padding: 10px 10px 36px 26px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.98);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(250, 110, 50, 0.05);
}

.cure-pain-card-title {
  font-size: 20px;
  font-weight: 700;
  /* color: #FA6E32; */
  margin-bottom: 16px;
  line-height: 1.22;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(250, 110, 50, 0.1);
}

.cure-pain-card-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Our Services Section Styles */
.services-section {
  background-image: url("../leaf.jpg"), url("../leaf.jpg");
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
  background-size: 160px auto, 160px auto;
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../leaf.jpg"), url("../leaf.jpg");
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
  background-size: 160px auto, 160px auto;
  opacity: 0.06;
  z-index: 1;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-header {
  margin-bottom: 50px;
}

.services-subheading {
  font-size: 1.1rem;
  color: #fa6e32;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.services-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c1810;
  line-height: 1.3;
  margin-bottom: 25px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.services-description {
  font-size: 1.1rem;
  color: #fa6e32;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

.services-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.services-card-image {
  position: relative;
  overflow: hidden;
}

.services-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services-card:hover .services-card-image img {
  transform: scale(1.05);
}

.services-card-content {
  padding: 25px 20px;
  background-color: #ffffff;
}

.services-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c1810;
  margin-bottom: 12px;
  line-height: 1.3;
}

.services-card-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Our Specialties Section Styles */
.specialties-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Our specialties-section Styles */
.specialties-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  right: -100px;
  bottom: 0;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat, no-repeat;
  background-size: 400px auto, 400px auto;
  opacity: 0.5;
  z-index: 1;
  animation: leafMove 3s ease-in-out infinite alternate;
}

.specialties-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 50%;
  height: 100%;
  background-image: url("../leaf.jpg");
  background-position: -50px center, calc(100% + 50px) center;
  background-repeat: no-repeat;
  background-size: 400px auto;
  opacity: 0.5;
  z-index: 1;
  transform: scaleX(-1);
  animation: leafMove 3s ease-in-out infinite alternate;
}

@keyframes leafMove {
  0% {
    background-position: -50px center, calc(100% + 50px) center;
  }
  50% {
    background-position: -30px calc(50% + 10px),
      calc(100% + 30px) calc(50% - 10px);
  }
  100% {
    background-position: -50px center, calc(100% + 50px) center;
  }
}


.specialties-section .container {
  position: relative;
  z-index: 2;
}

.specialties-header {
  margin-bottom: 50px;
}

.specialties-subheading {
  font-size: 1.1rem;
  color: #fa6e32;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.specialties-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c1810;
  line-height: 1.3;
  margin-bottom: 25px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.specialties-description {
  font-size: 1.1rem;
  color: #fa6e32;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

.specialties-center {
  text-align: center;
  position: relative;
}

.center-image-container {
  position: relative;
  display: inline-block;
}

.center-yoga-image {
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); */
  transition: transform 0.3s ease;
  opacity: 1;
  background: none;
  scale: 1.5;
  display: block;
}



.center-yoga-image:hover {
  transform: scale(1.02);
}

.specialties-left,
.specialties-right {
  padding: 20px 0;
}

.specialty-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.specialties-left .specialty-item {
  justify-content: flex-end;
  text-align: right;
}

.specialties-right .specialty-item {
  justify-content: flex-start;
  text-align: left;
}

.specialty-icon {
  background-color: #fa6e32;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 0;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(250, 110, 50, 0.3);
  transition: all 0.3s ease;
}

.specialty-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(250, 110, 50, 0.4);
}

.specialties-left .specialty-icon {
  margin-right: 15px;
  margin-left: 10px;
}

.specialties-right .specialty-icon { 
  margin-left: 15px;
  margin-right: 10px;
}

.specialty-item small{
  background-color: white;
}

.specialty-text h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c1810;
  margin: 0;
  line-height: 1.3;
}

/* Connecting Lines */
.specialties-left .specialty-item::after,
.specialties-right .specialty-item::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: rgba(250, 110, 50, 0.3);
  top: 50%;
  transform: translateY(-50%); 
}

.specialties-left .specialty-item::after {
  right: -30px;
}

.specialties-right .specialty-item::after {
  left: -30px;
}

@media (max-width: 600px) {
  .assan-card-image img {
    object-fit: unset;
    height: auto;
  }
}