/* ================================
   DelosWeb Consultation Section
================================ */

.dw-consultation-section {
  position: relative;
  padding: 0px 0;
  background: #ffffff;
  overflow: hidden;
}

.dw-consultation-box {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  background: #f5f9ff;
  box-shadow: 0 24px 70px rgba(3, 27, 102, 0.10);
  overflow: hidden;
}

.dw-consultation-box::before {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(45, 128, 183, 0.12);
}

.dw-consultation-box::after {
  content: "";
  position: absolute;
  left: -120px;
  top: -140px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(3, 8, 79, 0.06);
}

.dw-consultation-media,
.dw-consultation-content {
  position: relative;
  z-index: 2;
}

/* Image / Video */
.dw-consultation-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(3, 27, 102, 0.18);
}

.dw-consultation-media img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  display: block;
}

.dw-consultation-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 8, 79, 0.35) 0%,
    rgba(3, 8, 79, 0.05) 60%
  );
  pointer-events: none;
}

/* Play Button */
.dw-consultation-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #03084f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 15px 35px rgba(3, 8, 79, 0.35);
  transition: all 300ms ease;
}

.dw-consultation-play:hover {
  background: #2d80b7;
  color: #ffffff;
  transform: translate(-50%, -50%) scale(1.06);
}

.dw-consultation-play i {
  font-size: 22px;
  margin-left: 4px;
}

/* Content */
.dw-consultation-subtitle {
  display: inline-block;
  color: #2d80b7;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.dw-consultation-content h2 {
  color: #03084f;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.dw-consultation-content p {
  color: #4f5872;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 26px;
}

.dw-consultation-content p strong {
  color: #03084f;
  font-weight: 800;
}

/* Points */
.dw-consultation-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dw-consultation-point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 100px;
  background: #ffffff;
  color: #03084f;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(3, 27, 102, 0.08);
}

.dw-consultation-point i {
  color: #2d80b7;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 991px) {
  .dw-consultation-box {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 36px;
  }

  .dw-consultation-media img {
    height: 290px;
  }

  .dw-consultation-content h2 {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .dw-consultation-section {
    padding: 80px 0;
  }

  .dw-consultation-box {
    padding: 26px;
    border-radius: 22px;
  }

  .dw-consultation-media img {
    height: 230px;
  }

  .dw-consultation-play {
    width: 62px;
    height: 62px;
  }

  .dw-consultation-play i {
    font-size: 18px;
  }

  .dw-consultation-content h2 {
    font-size: 28px;
  }

  .dw-consultation-content p {
    font-size: 16px;
  }
}

/* ================================
   DelosWeb Footer CTA
================================ */

.dw-footer-contact-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
  padding: 54px 58px;
  margin-bottom: 80px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(45, 128, 183, 0.26) 0%, rgba(45, 128, 183, 0) 34%),
    linear-gradient(135deg, #03084f 0%, #031b66 55%, #061033 100%);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: -2;
}

.dw-footer-contact-cta::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(45, 128, 183, 0.18);
}

.dw-footer-contact-cta::after {
  content: "";
  position: absolute;
  left: -120px;
  top: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.dw-footer-contact-cta-content,
.dw-footer-contact-cta-actions {
  position: relative;
  z-index: 2;
}

.dw-footer-contact-cta-content span {
  display: inline-block;
  color: #2d80b7;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}

.dw-footer-contact-cta-content h2 {
  color: #ffffff;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}

.dw-footer-contact-cta-content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 0;
}

.dw-footer-contact-cta-content p strong {
  color: #ffffff;
  font-weight: 800;
}

.dw-footer-contact-cta-actions {
  text-align: right;
}

.dw-footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 18px 30px;
  border-radius: 100px;
  background: #2d80b7;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transition: all 300ms ease;
}

.dw-footer-contact-btn:hover {
  background: #ffffff;
  color: #03084f;
}

.dw-footer-contact-note {
  max-width: 300px;
  margin: 22px 0 0 auto;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
}

.dw-footer-contact-note strong {
  display: block;
  color: #ffffff;
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 991px) {
  .dw-footer-contact-cta {
    grid-template-columns: 1fr;
    padding: 46px 38px;
    margin-bottom: 60px;
  }

  .dw-footer-contact-cta-actions {
    text-align: left;
  }

  .dw-footer-contact-note {
    margin-left: 0;
  }

  .dw-footer-contact-cta-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .dw-footer-contact-cta {
    padding: 36px 26px;
    border-radius: 24px;
    margin-bottom: 50px;
  }

  .dw-footer-contact-cta-content h2 {
    font-size: 29px;
  }

  .dw-footer-contact-cta-content p {
    font-size: 16px;
  }

  .dw-footer-contact-btn {
    width: 100%;
  }
}

/* Contact page footer toon only */
.dw-contact-footer-toon {
  position: absolute;
  right: 35px;
  top: 45px;
  z-index: 3;
}

.dw-contact-footer-toon img {
  max-width: 198px;
  height: auto;
  display: block;
}

/* Prevent it from covering footer text */
@media (max-width: 1199px) {
  .dw-contact-footer-toon {
    right: 20px;
    top: 55px;
  }

  .dw-contact-footer-toon img {
    max-width: 150px;
  }
}

.ks-footer-style-3 .ks-cta-shape-2{
    left: auto;
    right: 0;
    top: 525px;
}

/* Fix footer CTA button click */
.dw-footer-contact-cta {
  position: relative;
  z-index: 5;
}

.dw-footer-contact-cta-actions {
  position: relative;
  z-index: 10;
}

.dw-footer-contact-btn {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

/* Prevent decorative footer character from blocking clicks */
.dw-contact-footer-toon,
.ks-cta-shape-2.dw-contact-footer-toon,
.ks-cta-shape-2.dw-contact-footer-toon img {
  pointer-events: none;
}

/* ================================
   DelosWeb Video Modal
================================ */

.dw-consultation-play {
  border: none;
  cursor: pointer;
}

.dw-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dw-video-modal.active {
  display: flex;
}

.dw-video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 56, 0.82);
  backdrop-filter: blur(6px);
}

.dw-video-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  border-radius: 26px;
  overflow: hidden;
  background: #000038;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.dw-video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.dw-video-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000038;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dw-video-close:hover {
  background: #2d80b7;
  color: #ffffff;
}

@media (max-width: 767px) {
  .dw-video-modal {
    padding: 16px;
  }

  .dw-video-close {
    width: 38px;
    height: 38px;
    top: 10px;
    right: 10px;
  }
}


