
.cta-wrapper, 
.cta-image, 
.cta-content, 
#call-to-action, 
#banner-overlay {
  box-sizing: border-box;
}

#banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9998;
}

#call-to-action {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1200px;
  background: transparent;
  box-shadow: none;
  display: none;
  z-index: 9999;
  animation: fadeIn 0.5s ease forwards;
  padding: 0; 
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  position: relative;
  overflow: visible;
  min-height: 400px;
}

.cta-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: red;
  z-index: 10;
}

.cta-content {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-right: 20px;
  min-width: 0;
}

.cta-content h2 {
  text-align: center;
  margin-bottom: 15px;
}

.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  position: relative;
  width: 100%;
}

.separator::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #1dcd43;
  z-index: 1;
}

.separator i {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  color: #1dcd43;
  background-color: #fff;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-benefits {
  display: inline-block;
  text-align: left;
  margin: 20px auto;
  width: 100%;
  max-width: 500px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
  justify-content: flex-start;
}

.benefit-item i {
  font-size: 1.4rem;
  color: #1dcd43;
  flex-shrink: 0;
  display: inline-flex;
  line-height: 1;
}

.benefit-item span {
  line-height: 1.5;
  display: block;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  text-align: center;
}

.cta-buttons .btn-primary i {
  margin-right: 10px;
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #667;
  font-weight: 500;
  margin-top: 10px;
  text-align: center;
}

.cta-note i {
  flex-shrink: 0;
  color: #1dcd43;
  font-size: 1.1rem;
}

.cta-note span {
  line-height: 1.4;
}

.title-green {
  color: #1dcd43 !important;
  font-weight: 700;
}

.thin-text {
  font-weight: 400;
}

.cta-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 30px;
  pointer-events: none;
}

.cta-image img {
  max-height: 550px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .cta-wrapper {
    min-height: 450px;
  }
  
  .cta-content {
    flex: 0 0 55%;
  }

  .cta-image {
    width: 45%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
  }

  .cta-image img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
  }
}

@media (max-width: 768px) {
  
  #call-to-action {
    width: 100% !important;
    max-width: 100% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .cta-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 10px;
    min-height: auto;
    max-height: 90vh; 
    overflow-y: auto;
    box-sizing: border-box;
  }

  .cta-content {
    flex: 1;
    text-align: left;
    margin-right: 10px;
    padding: 0 5px;
    z-index: 2;
    min-width: 0;
    max-width: 100%;
  }

  .cta-content h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .cta-benefits {
    max-width: 100%;
    margin: 10px 0;
  }

  .benefit-item {
    font-size: 0.85rem;
    gap: 8px;
  }

  .cta-buttons {
    margin-top: 15px;
    justify-content: center;
  }

  .cta-note {
    font-size: 0.75rem;
    margin-top: 8px;
  }

  .cta-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
  }

  .cta-image img {
    max-height: 60vh !important;
    max-width: 100% !important;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
    border-radius: 6px;
  }
}


@media (max-width: 400px) {
  .cta-content h2 {
    font-size: 1.1rem;
  }

  .benefit-item {
    font-size: 0.8rem;
  }

  .cta-image img {
    max-height: 50vh !important;
  }
}