/* 
    GLOBAL STYLE FOR AUTHORIZATION PAGE
     
    1. Case Study Page (CaseStudy.php)


*/

/* ========= CASE STUDY PAGE ============ */

.casestudy-section {
  background: linear-gradient(180deg, #e4ecf6 0%, #77b4ed66 100%);
  padding-top: 10%;
  padding-bottom: 50px;
}

.label-top {
  font-weight: 600;
  font-size: 24px;
  color: #2a3f53;
  margin-bottom: 10px;
}

.main-title {
  font-weight: 700;
  font-size: 42px;
  background: linear-gradient(90deg, #243d5c 0%, #7eb6fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.desc-text {
  font-weight: 500;
  font-size: 16px;
  color: #2a3f53;
  line-height: 1.6;
}

.divider-line {
  border-top: 2px solid #5987b2;
  width: 100%;
}

.quote-text {
  font-weight: 400;
  font-size: 16px;
  color: #2a3f53;
  font-style: italic;
  line-height: 1.6;
}

/* Carousel */
.carousel {
  padding-bottom: 50px;
}

.carousel-inner {
  border-radius: 15px;
}

.carousel-item img {
  border-radius: 15px;
  object-fit: cover;
  height: 350px;
  filter: brightness(50%);
  transition: filter 0.3s ease;
}

.custom-caption {
  background: transparent !important;
  padding: 0 40px;
  bottom: 30px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.custom-caption p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
  color: #fff;
  line-height: 1.5;
}

.carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 6px;
  border: none;
  cursor: pointer;
}

.carousel-indicators .active {
  background-color: #737373;
  width: 12px;
  height: 12px;
  transform: translateY(-1px);
}

/* Content Cards */
.content-section {
  background-color: #f1f8fd;
}

.card-content {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
}

.article-title {
  font-weight: 600;
  color: #1b2d44;
  font-size: 28px;
}

.article-body {
  font-size: 15px;
  color: #333;
  font-weight: 400;
  line-height: 1.7;
  text-align: justify;
}

/* Badges */
.badge-section {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
}

.badge-red {
  background-color: #ffe2e2;
  color: #ca3232;
  border-radius: 12px;
}

.badge-blue {
  background-color: #d5e8f9;
  color: #36516b;
  border-radius: 12px;
}

.badge-green {
  background-color: #bfefca;
  color: #1c7932;
  border-radius: 12px;
}

/* Results */
.result-box {
  background-color: #eafaee;
  border-radius: 20px;
  padding: 25px;
}

.result-title {
  font-weight: 700;
  color: #2a3f53;
  font-size: 16px;
}

.result-list li {
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
}

.result-list li i {
  margin-top: 3px;
}

/* --- CTA BOX BLUE (DIPERBAIKI ALIGNMENTNYA) --- */
.cta-box-blue {
  background: linear-gradient(180deg, #77b4ed66 0%, #e4ecf6 100%);
  border-radius: 20px;
  padding: 40px 50px;
  position: relative;
  border: 1px solid #d6e0eb;
  text-align: left;
}

.cta-line {
  width: 30px;
  height: 2px;
  background-color: #1b2d44;
}

.cta-mini-title {
  font-weight: 600;
  color: #1b2d44;
  font-size: 16px;
}

.cta-main-title {
  font-weight: 700;
  color: #396092;
  font-size: 22px;
  line-height: 1.4;
  max-width: 90%;
  margin-left: 46px;
}

.btn-cta-whatsapp {
  display: inline-block;
  padding: 10px 30px;
  font-size: 16px;
  color: #fff !important;
  border-radius: 8px;
  background: linear-gradient(180deg, #2fca54 0%, #25a845 100%);
  box-shadow: 0 4px 6px rgba(47, 202, 84, 0.4);
  text-decoration: none !important;
  font-weight: 600;
  border: none;
  /* Indentasi tombol agar sejajar dengan judul */
  margin-left: 46px;
}

.btn-cta-whatsapp:hover {
  box-shadow: 0 6px 12px rgba(47, 202, 84, 0.5);
  background: linear-gradient(180deg, #4bd96c 0%, #25a845 100%);
}

/* CTA API & Dark */
.cta-box-api {
  background: linear-gradient(120deg, #3c5a80 0%, #4a86c6 100%);
  border-radius: 20px;
  padding: 50px;
  color: white;
  box-shadow: 0 10px 25px rgba(60, 90, 128, 0.3);
}

.cta-line-light {
  width: 30px;
  height: 2px;
  background-color: #fff;
}

/* .cta-mini-text {
        font-weight: 600;
        color: #fff;
        font-size: 16px;
    } */

/* .cta-main-text {
        font-weight: 700;
        color: #fff;
        font-size: 22px;
        line-height: 1.4;
        max-width: 90%;
        margin-left: 46px;
    } */

.btn-sandbox {
  display: inline-block;
  background: linear-gradient(180deg, #5893d4 0%, #346cb0 100%);
  color: white !important;
  border: 1px solid #4a86c6;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  text-align: center;
  margin-left: 46px;
}

.cta-box-dark {
  background: linear-gradient(180deg, #363955 0%, #606596 100%);
  border-radius: 20px;
  padding: 50px;
  color: white;
  box-shadow: 0 10px 25px rgba(54, 57, 85, 0.3);
}

.btn-white-cta {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 15px;
  color: #2a3f53;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  margin-left: 46px;
}

/* Other Case Study */
.other-casestudy-section {
  background-color: #f1f8fd;
  padding-top: 20px;
}

.other-title {
  font-weight: 700;
  font-size: 36px;
  background: linear-gradient(90deg, #7eb6fc 0%, #243d5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.other-subtitle {
  font-size: 16px;
  color: #1b2d44;
}

.other-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
  padding-left: 2%;
}

.other-card-title {
  font-weight: 700;
  color: #396092;
  font-size: 24px;
  margin-bottom: 5px;
}

.other-card-subtitle {
  font-weight: 600;
  color: #1b2d44;
  font-size: 24px;
  line-height: 1.3;
}

.other-card-desc {
  font-size: 14px;
  color: #1b2d44;
  line-height: 1.6;
  text-align: justify;
}

.img-other-right {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  height: 320px;
  object-fit: cover;
}

.card-final {
  background: linear-gradient(180deg, #77b4ed66 0%, #e4ecf6 100%);
  padding: 80px;
  border: 1px solid #d6e0eb;
}

.final-cta-title {
  font-weight: 700;
  font-size: 28px;
  color: #484c71;
  line-height: 1.4;
}

.final-cta-subtitle {
  font-weight: 400;
  font-size: 16px;
  color: #484c71;
}

@media (max-width: 991px) {
  .casestudy-section,
  .content-section,
  .other-casestudy-section {
    padding-left: 30px;
    padding-right: 30px;
  }

  .casestudy-section {
    padding-top: 140px;
    padding-bottom: 40px;
    text-align: center;
  }

  .main-title {
    font-size: 32px;
  }

  .label-top {
    font-size: 20px;
  }

  .desc-text {
    font-size: 15px;
  }

  .col-lg-6.mb-5 {
    margin-bottom: 30px !important;
    padding-right: 15px !important;
  }

  .carousel-item img {
    height: 300px;
  }

  .card-content {
    padding: 30px;
    text-align: left;
  }

  .article-title {
    font-size: 24px;
  }

  .cta-box-blue,
  .cta-box-api,
  .cta-box-dark {
    padding: 30px;
    text-align: left !important;
  }

  .cta-main-title {
    font-size: 20px;
    max-width: 100%;
    margin-left: 46px;
  }

  .btn-cta-whatsapp {
    margin-left: 46px;
  }

  .cta-box-api .d-flex,
  .cta-box-dark .d-flex {
    justify-content: flex-start;
  }

  .cta-box-api .btn-sandbox {
    margin-left: 46px !important;
    margin-right: 15px !important;
    margin-bottom: 0 !important;
    width: auto !important;
    display: inline-block;
  }

  .cta-box-api .btn-white-cta {
    margin-bottom: 0 !important;
    width: auto !important;
    display: inline-block;
  }

  .other-card {
    padding-left: 0 !important;
  }

  .other-card .row {
    flex-direction: column-reverse;
  }

  .col-lg-5.p-4 {
    padding: 30px !important;
    text-align: left;
  }

  .img-other-right {
    height: 250px;
    width: 100%;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 0;
    padding: 0 !important;
  }
}

@media (max-width: 767px) {
  .casestudy-section,
  .content-section,
  .other-casestudy-section,
  .card-final {
    padding-left: 20px;
    padding-right: 20px;
  }

  .casestudy-section {
    padding-top: 100px;
    text-align: left;
  }

  .label-top {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .main-title {
    font-size: 26px;
    line-height: 1.3;
  }

  .desc-text,
  .quote-text {
    font-size: 14px;
  }

  .carousel-item img {
    height: 200px;
  }

  .custom-caption {
    padding: 0 15px;
    bottom: 15px;
  }

  .custom-caption p {
    font-size: 12px;
    line-height: 1.3;
  }

  .card-content {
    padding: 20px;
    margin-bottom: 30px;
  }

  .article-title {
    font-size: 20px;
    line-height: 1.4;
  }

  .article-body {
    font-size: 14px;
    text-align: left;
  }

  .result-box {
    padding: 15px;
  }

  .result-list li {
    font-size: 14px;
  }

  .cta-box-blue,
  .cta-box-api,
  .cta-box-dark {
    padding: 25px;
    text-align: left !important;
  }

  .cta-mini-title {
    font-size: 13px;
  }

  .cta-main-title {
    font-size: 14px;
    margin-bottom: 20px !important;
    margin-left: 35px;
  }

  .btn-cta-whatsapp,
  .btn-sandbox,
  .btn-white-cta {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px 15px;
    font-size: 14px;
    text-align: center;
    display: block;
    box-sizing: border-box;
  }

  .cta-box-api .btn-sandbox,
  .cta-box-api .btn-white-cta {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  .cta-box-blue .col-md-12,
  .cta-box-dark div {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .other-title {
    font-size: 24px;
  }

  .other-card-title {
    font-size: 18px;
  }

  .other-card-subtitle {
    font-size: 14px;
  }

  .other-card {
    padding-left: 0 !important;
  }

  .other-card .row {
    display: flex;
    flex-direction: column-reverse;
    margin: 0 !important;
  }

  .other-card .col-lg-7,
  .img-other-right {
    width: 100%;
    height: 180px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 15px 15px 0 0;
    object-fit: cover;
  }

  .other-card .col-lg-5 {
    padding: 30px 25px !important;
    text-align: left;
  }

  .card-final {
    padding: 40px 20px;
  }

  .final-cta-title {
    font-size: 20px;
  }

  .final-cta-subtitle {
    font-size: 14px;
  }

  .card-final .btn-white-cta {
    width: 100% !important;
    margin-left: 0 !important;
  }
}

/* ========= CASE STUDY PAGE ============ */
