/* ========================================
   FACILITI - What is FACILITI Page Styles
   ======================================== */

/* ==================== Introduction Section ==================== */
.whatis-intro {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.whatis-intro-row {
  display: flex;
  align-items: center;
}

/* ==================== Custom Carousel ==================== */
.whatis-carousel-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(40, 41, 97, 0.15);
  background: #ffffff;
}

.whatis-custom-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.whatis-carousel-slides {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
}

.whatis-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.1);
}

.whatis-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.whatis-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation Arrows */
.whatis-carousel-prev,
.whatis-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #ffffff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
}

.whatis-custom-carousel:hover .whatis-carousel-prev,
.whatis-custom-carousel:hover .whatis-carousel-next {
  opacity: 1;
}

.whatis-carousel-prev:hover,
.whatis-carousel-next:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.whatis-carousel-prev {
  left: 15px;
}

.whatis-carousel-next {
  right: 15px;
}

/* Dots Navigation */
.whatis-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.whatis-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatis-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.whatis-carousel-dot.active {
  background: #ffffff;
  width: 32px;
  border-radius: 6px;
}

/* Content Wrapper */
.whatis-content-wrapper {
  padding-left: 40px;
}

.whatis-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(85, 132, 255, 0.3);
}

.whatis-badge i {
  font-size: 28px;
  color: #ffffff;
}

.whatis-main-title {
  font-size: 48px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 20px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.whatis-divider-left {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5584ff 0%, #3e6be0 100%);
  margin: 0 0 30px 0;
  border-radius: 2px;
}

.whatis-main-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 20px;
}

/* ==================== Description Section ==================== */
.whatis-description {
  padding: 80px 0;
  background: #ffffff;
}

.whatis-description-box {
  background: linear-gradient(
    135deg,
    rgba(85, 132, 255, 0.05) 0%,
    rgba(62, 107, 224, 0.05) 100%
  );
  border-radius: 16px;
  padding: 50px;
  border: 2px solid rgba(85, 132, 255, 0.1);
}

.whatis-description-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 20px;
}

.whatis-description-highlight {
  font-size: 18px;
  font-weight: 600;
  color: #282961;
  margin-top: 30px;
  margin-bottom: 0;
}

/* ==================== Why FACILITI Section ==================== */
.whatis-why {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.whatis-why-header {
  margin-bottom: 70px;
  text-align: center;
}

.whatis-section-title {
  font-size: 42px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.whatis-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #5584ff 0%, #3e6be0 100%);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.whatis-section-intro {
  font-size: 18px;
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.whatis-features-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.whatis-features-grid .col-md-6 {
  /* Override Bootstrap column styles */
  width: 100%;
  padding: 0;
}

.whatis-feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 30px;
  margin-bottom: 0;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 5px 20px rgba(40, 41, 97, 0.08);
}

.whatis-feature-card:hover {
  border-color: #5584ff;
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(85, 132, 255, 0.2);
}

.whatis-feature-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(
    135deg,
    rgba(85, 132, 255, 0.1) 0%,
    rgba(62, 107, 224, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.whatis-feature-card:hover .whatis-feature-icon {
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  transform: scale(1.1);
}

.whatis-feature-icon i {
  font-size: 28px;
  color: #5584ff;
  transition: color 0.4s ease;
}

.whatis-feature-card:hover .whatis-feature-icon i {
  color: #ffffff;
}

.whatis-feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 12px;
  line-height: 1.3;
  flex-shrink: 0;
}

.whatis-feature-text {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
  flex-grow: 1;
}

.whatis-summary-box {
  margin-top: 60px;
  text-align: center;
  background: linear-gradient(135deg, #282961 0%, #3e6be0 100%);
  padding: 40px;
  border-radius: 16px;
}

.whatis-summary-text {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
}

/* ==================== Future Vision Section ==================== */
.whatis-future {
  padding: 100px 0;
  background: #ffffff;
}

.whatis-future-header {
  margin-bottom: 70px;
  text-align: center;
}

.whatis-future-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.whatis-future-grid .col-md-4 {
  width: 100%;
  padding: 0;
}

.whatis-future-card {
  background: linear-gradient(
    135deg,
    rgba(85, 132, 255, 0.05) 0%,
    rgba(62, 107, 224, 0.05) 100%
  );
  border-radius: 12px;
  padding: 35px 30px;
  margin-bottom: 0;
  border-left: 4px solid #5584ff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.whatis-future-card:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(85, 132, 255, 0.15);
}

.whatis-future-number {
  font-size: 36px;
  font-weight: 700;
  color: #5584ff;
  opacity: 0.3;
  margin-bottom: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.whatis-future-title {
  font-size: 20px;
  font-weight: 700;
  color: #282961;
  margin: 0 0 12px;
  line-height: 1.3;
  flex-shrink: 0;
}

.whatis-future-text {
  font-size: 15px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
  flex-grow: 1;
}

.whatis-result-box {
  margin-top: 60px;
  background: #ffffff;
  border: 3px solid #5584ff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
}

.whatis-result-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5584ff 0%, #3e6be0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 8px 25px rgba(85, 132, 255, 0.3);
}

.whatis-result-icon i {
  font-size: 36px;
  color: #ffffff;
}

.whatis-result-text {
  font-size: 18px;
  line-height: 1.8;
  color: #555555;
  margin: 0;
}

.whatis-result-text strong {
  color: #282961;
  font-size: 20px;
}

/* ==================== CTA Section ==================== */
.whatis-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #282961 0%, #3e6be0 100%);
  position: relative;
  overflow: hidden;
}

.whatis-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.whatis-cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.whatis-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.whatis-cta-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.whatis-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.whatis-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.whatis-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.whatis-btn-primary {
  background: #ffffff;
  color: #282961;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.whatis-btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: #282961;
  text-decoration: none;
}

.whatis-btn-primary i {
  transition: transform 0.3s ease;
}

.whatis-btn-primary:hover i {
  transform: translateX(5px);
}

.whatis-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.whatis-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
  color: #ffffff;
  text-decoration: none;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
  .whatis-intro,
  .whatis-why,
  .whatis-future,
  .whatis-cta {
    padding: 70px 0;
  }

  .whatis-description {
    padding: 60px 0;
  }

  .whatis-content-wrapper {
    padding-left: 30px;
  }

  .whatis-main-title {
    font-size: 40px;
  }

  .whatis-section-title,
  .whatis-cta-title {
    font-size: 36px;
  }

  .whatis-description-box {
    padding: 40px;
  }

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

@media (max-width: 767px) {
  .whatis-intro,
  .whatis-why,
  .whatis-future,
  .whatis-cta {
    padding: 50px 0;
  }

  .whatis-description {
    padding: 50px 0;
  }

  .whatis-intro-row {
    flex-direction: column;
  }

  .whatis-content-wrapper {
    padding-left: 0;
    padding-top: 40px;
  }

  .whatis-main-title {
    font-size: 36px;
  }

  .whatis-carousel-prev,
  .whatis-carousel-next {
    width: 38px;
    height: 38px;
    font-size: 14px;
    opacity: 1;
  }

  .whatis-section-title,
  .whatis-cta-title {
    font-size: 30px;
  }

  .whatis-description-box {
    padding: 30px 20px;
  }

  .whatis-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .whatis-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .whatis-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .whatis-future-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .whatis-main-title {
    font-size: 28px;
  }

  .whatis-section-title,
  .whatis-cta-title {
    font-size: 26px;
  }

  .whatis-feature-title,
  .whatis-future-title {
    font-size: 18px;
  }
}
