/* ============================= */
/* Ready-To-Go Website Library */
/* ============================= */

.dw-ready-websites-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 120px;
  background: #ffffff;
}

.dw-ready-intro {
  max-width: 760px;
  margin: 18px auto 0;
  color: #4f5d78;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.sec-title h1{
  font-size: 45px;
}

.dw-ready-gallery {
  .filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    padding-left: 0;
    list-style: none;

    .filter {
      cursor: pointer;
      padding: 10px 20px;
      border-radius: 50px;
      background: #f1f5fb;
      color: #061342;
      font-size: 14px;
      font-weight: 700;
      transition: all 300ms ease;

      &:hover,
      &.active {
        background: #06237c;
        color: #ffffff;
      }
    }
  }

  .product-block {
    display: block;
    margin-bottom: 30px;
    transition: all 300ms ease;
  }

  .product-block.is-hidden {
    display: none !important;
  }
}

/* ============================= */
/* Website Preview Cards */
/* ============================= */

.dw-ready-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 56, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 56, 0.07);
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-6px);
    border-color: rgba(66, 133, 181, 0.34);
    box-shadow: 0 28px 80px rgba(0, 0, 56, 0.13);
  }
}

.dw-ready-preview {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #000038;
  border-radius: 28px 28px 0 0;
}

.dw-ready-browser-bar {
  position: relative;
  z-index: 5;
  height: 38px;
  padding: 0 14px;
  background: #000038;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);

  span {
    width: 9px;
    height: 9px;
    border-radius: 50%;

    &:nth-child(1) {
      background: #ff5f57;
    }

    &:nth-child(2) {
      background: #ffbd2e;
    }

    &:nth-child(3) {
      background: #28c840;
    }
  }

  small {
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    max-width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.dw-ready-preview-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100% - 38px);
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #f7fbfe;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.dw-ready-card:hover .dw-ready-preview-img {
  transform: scale(1.04);
  filter: brightness(0.94) contrast(1.06);
}

.dw-ready-preview::after {
  content: "";
  position: absolute;
  inset: 38px 0 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 56, 0) 50%, rgba(0, 0, 56, 0.50) 100%);
  pointer-events: none;
}

.dw-ready-preview-actions {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  display: flex;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dw-ready-card:hover .dw-ready-preview-actions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dw-ready-preview-btn,
.dw-ready-open-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #000038;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 56, 0.22);
  transition: all 0.3s ease;
}

.dw-ready-preview-btn:hover,
.dw-ready-open-btn:hover {
  background: #4285B5;
  color: #ffffff;
}

.dw-ready-open-btn {
  text-decoration: none;
}

.dw-ready-content {
  padding: 24px 24px 26px;
}

.dw-ready-category {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(66, 133, 181, 0.10);
  color: #4285B5;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dw-ready-content h4 {
  margin-bottom: 10px;
  color: #000038;
  font-size: 20px;
  line-height: 1.25;

  a {
    color: inherit;
    text-decoration: none;

    &:hover {
      color: #4285B5;
    }
  }
}

.dw-ready-domain {
  display: block;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  word-break: break-word;
}

/* Image loading placeholder */
.dw-ready-preview-img:not([src]) {
  opacity: 0;
}

.dw-ready-preview-img.is-loaded {
  opacity: 1;
}

/* ============================= */
/* Live Website Preview Modal */
/* ============================= */

.dw-preview-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.dw-preview-modal.is-open {
  display: flex !important;
}

.dw-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(66, 133, 181, 0.28), transparent 36%),
    rgba(0, 0, 56, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dw-preview-dialog {
  position: relative;
  z-index: 2;
  width: min(1180px, 96vw);
  height: min(760px, 88vh);
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 45px 130px rgba(0, 0, 56, 0.55),
    0 0 90px rgba(66, 133, 181, 0.28);
  animation: dwPreviewPop 0.32s ease forwards;
}

.dw-preview-header {
  height: 76px;
  padding: 0 22px 0 26px;
  background: #000038;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  span {
    display: block;
    margin-bottom: 4px;
    color: #4285B5;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
  }
}

.dw-preview-actions {
  display: flex;
  align-items: center;
  gap: 12px;

  a {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #4285B5;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;

    &:hover {
      background: #ffffff;
      color: #000038;
    }
  }

  button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #000038;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;

    &:hover {
      background: #4285B5;
      color: #ffffff;
      transform: rotate(90deg);
    }
  }
}

.dw-preview-frame-wrap {
  height: calc(100% - 76px);
  background: #f7fbfe;

  iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #ffffff;
  }
}

body.dw-preview-is-open {
  overflow: hidden;
}

@keyframes dwPreviewPop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 991px) {
  .dw-ready-websites-section {
    padding: 90px 0;
  }
}

@media (max-width: 767px) {
  .dw-ready-preview {
    height: 260px;
  }

  .dw-ready-preview-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dw-ready-preview-btn,
  .dw-ready-open-btn {
    min-height: 40px;
    padding: 0 13px;
    font-size: 11px;
  }

  .dw-preview-modal {
    padding: 14px;
  }

  .dw-preview-dialog {
    width: 96vw;
    height: 86vh;
    border-radius: 18px;
  }

  .dw-preview-header {
    height: auto;
    min-height: 78px;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .dw-preview-actions {
    width: 100%;
    justify-content: space-between;

    a {
      flex: 1;
    }
  }

  .dw-preview-frame-wrap {
    height: calc(100% - 126px);
  }
}


/* ============================= */
/* Ready-To-Go Load More */
/* ============================= */

.dw-ready-load-more-wrap {
  margin-top: 25px;
  text-align: center;
}

.dw-ready-load-more-btn {
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: #000038;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 56, 0.18);
  transition: all 0.3s ease;

  &:hover {
    background: #4285B5;
    color: #ffffff;
    transform: translateY(-2px);
  }

  &.is-hidden {
    display: none;
  }
}

.dw-ready-count {
  margin-top: 14px;
  margin-bottom: 0;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}

/* ============================= */
/* Ready-To-Go Benefits Section */
/* ============================= */

.dw-rtg-benefits-section {
  position: relative;
  padding: 110px 0;
  background: #ffffff;
  overflow: hidden;
}

.dw-rtg-benefits-section::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(66, 133, 181, 0.10);
  filter: blur(10px);
  pointer-events: none;
}

.dw-rtg-benefits-section::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(7, 18, 79, 0.06);
  filter: blur(12px);
  pointer-events: none;
}

.dw-rtg-benefits-wrapper {
  position: relative;
  z-index: 2;
}

.dw-rtg-benefits-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.dw-rtg-benefits-heading .sub-title {
  margin-bottom: 14px;
  color: #4285b5;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dw-rtg-benefits-heading h2 {
  margin-bottom: 18px;
  color: #07124f;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.dw-rtg-benefits-heading p {
  margin: 0;
  color: #566078;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.dw-rtg-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.dw-rtg-benefit-card {
  position: relative;
  min-height: 265px;
  padding: 34px 28px 32px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(7, 18, 79, 0.09);
  box-shadow: 0 18px 50px rgba(7, 18, 79, 0.06);
  transition: all 0.3s ease;
}

.dw-rtg-benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 133, 181, 0.35);
  box-shadow: 0 28px 75px rgba(7, 18, 79, 0.11);
}

.dw-rtg-benefit-number {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(66, 133, 181, 0.10);
  color: #4285b5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.dw-rtg-benefit-card h3 {
  margin-bottom: 14px;
  color: #07124f;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dw-rtg-benefit-card p {
  margin: 0;
  color: #59647a;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

@media (max-width: 1199px) {
  .dw-rtg-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dw-rtg-benefits-heading h2 {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .dw-rtg-benefits-section {
    padding: 80px 0;
  }

  .dw-rtg-benefits-heading {
    margin-bottom: 38px;
    text-align: left;
  }

  .dw-rtg-benefits-heading h2 {
    font-size: 34px;
  }

  .dw-rtg-benefits-grid {
    grid-template-columns: 1fr;
  }

  .dw-rtg-benefit-card {
    min-height: auto;
    padding: 28px 24px;
    border-radius: 22px;
  }
}

/* ============================= */
/* Ready-To-Go CTA Section */
/* ============================= */

.dw-rtg-cta-section {
  position: relative;
  padding: 110px 0;
  background: #ffffff;
  overflow: hidden;
}

.dw-rtg-cta-box {
  position: relative;
  overflow: hidden;
  padding: 64px 70px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 20%, rgba(66, 133, 181, 0.30), transparent 34%),
    linear-gradient(135deg, #07124f 0%, #000038 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  box-shadow: 0 35px 100px rgba(7, 18, 79, 0.25);
}

.dw-rtg-cta-box::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(66, 133, 181, 0.25);
  filter: blur(20px);
  pointer-events: none;
}

.dw-rtg-cta-box::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.dw-rtg-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.dw-rtg-cta-content .sub-title {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.dw-rtg-cta-content .sub-title .color1 {
  color: #4285b5;
}

.dw-rtg-cta-content h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.dw-rtg-cta-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.dw-rtg-cta-actions {
  position: relative;
  z-index: 2;
  min-width: 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.dw-rtg-cta-btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: #4285b5;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(66, 133, 181, 0.35);
  transition: all 0.3s ease;
}

.dw-rtg-cta-btn span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: #07124f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.dw-rtg-cta-btn:hover {
  background: #ffffff;
  color: #07124f;
  transform: translateY(-2px);
}

.dw-rtg-cta-btn:hover span {
  background: #07124f;
  color: #ffffff;
}

.dw-rtg-cta-phone {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dw-rtg-cta-phone:hover {
  color: #4285b5;
}

@media (max-width: 991px) {
  .dw-rtg-cta-box {
    padding: 54px 42px;
    flex-direction: column;
    align-items: flex-start;
  }

  .dw-rtg-cta-content h2 {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .dw-rtg-cta-section {
    padding: 80px 0;
  }

  .dw-rtg-cta-box {
    padding: 42px 26px;
    border-radius: 26px;
  }

  .dw-rtg-cta-content h2 {
    font-size: 32px;
  }

  .dw-rtg-cta-content p {
    font-size: 16px;
  }

  .dw-rtg-cta-actions {
    width: 100%;
  }

  .dw-rtg-cta-btn {
    width: 100%;
  }
}