/* About Us Page Specific Styles */

/* Service Icons in About Us Services Section */
.service-block-two .inner-box .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--theme-color-secondary-light), var(--theme-color-secondary));
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-block-two .inner-box .icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--theme-color1), var(--theme-color-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.service-block-two .inner-box .icon i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  color: var(--theme-color-white);
}

.service-block-two .inner-box:hover .icon {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-block-two .inner-box:hover .icon::before {
  opacity: 1;
}

.service-block-two .inner-box:hover .icon i {
  transform: scale(1.1);
  color: var(--theme-color-white);
}

/* Why Choose Us Section - Expect Card Centered */
.expect-card.text-center {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expect-card.text-center:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.expect-card.text-center .expect-card-header {
  justify-content: center;
  margin-bottom: 25px;
}

.expect-card.text-center .expect-card-header .icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--theme-color-secondary-light), var(--theme-color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.expect-card.text-center:hover .expect-card-header .icon-wrapper {
  background: linear-gradient(135deg, var(--theme-color1), var(--theme-color-secondary));
  transform: scale(1.1);
}

.expect-card.text-center .expect-card-header .icon-wrapper i {
  font-size: 32px;
  color: var(--theme-color1);
  transition: all 0.3s ease;
}

.expect-card.text-center .title {
  color: var(--theme-color-dark);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.expect-card.text-center:hover .title {
  color: var(--theme-color1);
}

.expect-card.text-center .text {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* About Us Hero Section Enhancements */
.banner-section-two .banner-two__content .title span {
  display: block;
  line-height: 1.2;
}

/* About Us Content Section */
.about-section-two.service-detail-modern {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

/* Service Section in About Us */
.service-section .section-title .text {
  color: #666;
  font-size: 16px;
  margin-top: 15px;
}

/* CTA Section in About Us */
.contact-section.bg-sub {
  background: linear-gradient(135deg, var(--theme-color-secondary-light) 0%, var(--theme-color-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section.bg-sub::before {
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.contact-section.bg-sub .title {
  color: var(--headings-color);
  font-size: 36px;
  font-weight: 700;
}

.contact-section.bg-sub .text {
  color: #555;
  font-size: 18px;
}

.contact-section.bg-sub .btn-two {
  background: var(--theme-color1);
  color: var(--theme-color-white);
  border: 2px solid var(--theme-color1);
}

.contact-section.bg-sub .btn-two:hover {
  background:var(--theme-color1);
  color: var(--theme-color-white);
  border-color: var(--theme-color1);
}

.contact-section.bg-sub .btn-two .icon_box {
  background: var(--theme-color1);
}

.contact-section.bg-sub .btn-two:hover .icon_box {
  background: var(--theme-color1);
}

.contact-section.bg-sub .btn-two .icon_box i {
  color: var(--theme-color-white);
}

.contact-section.bg-sub .btn-two:hover .icon_box i {
  color: var(--theme-color1);
}

/* About Us Page Responsive Styles */
@media (max-width: 991px) {
  .service-block-two .inner-box .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .service-block-two .inner-box .icon i {
    font-size: 36px !important;
  }
  
  .expect-card.text-center {
    padding: 30px 20px;
    margin-bottom: 25px;
  }
  
  .expect-card.text-center .expect-card-header .icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .expect-card.text-center .expect-card-header .icon-wrapper i {
    font-size: 28px;
  }
  
  .expect-card.text-center .title {
    font-size: 20px;
  }
  
  .contact-section.bg-sub .title {
    font-size: 28px;
  }
  
  .contact-section.bg-sub .text {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .service-block-two .inner-box .icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }
  
  .service-block-two .inner-box .icon i {
    font-size: 32px !important;
  }
  
  .expect-card.text-center {
    padding: 25px 15px;
  }
  
  .expect-card.text-center .expect-card-header .icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .expect-card.text-center .expect-card-header .icon-wrapper i {
    font-size: 24px;
  }
  
  .expect-card.text-center .title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .expect-card.text-center .text {
    font-size: 14px;
  }
  
  .contact-section.bg-sub .title {
    font-size: 24px;
  }
  
  .contact-section.bg-sub .text {
    font-size: 15px;
  }
  
  .service-section .section-title .text {
    font-size: 14px;
  }
}
