/* CTA Banner Section Styles */
.cta-banner-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.cta-banner-container {
  width: 93%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner {
  background: linear-gradient(135deg, #e3f2fd 0%, #4790ff 380%);
  border-radius: 20px;
  padding: 10px 5px;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-title {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.cta-button {
  display: inline-block;
  background-color: #4790ff !important;
  color: #ffffff;
  padding: 12px 48px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 24px;
  transition: all 0.3s ease;
  border: 2px solid #4790ff;
  text-transform: none;
}

.cta-button:hover {
  background-color: #4790ff;
  border-color: #4790ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(71, 144, 255, 0.3);
  text-decoration: none;
}

/* Decorative Elements */
.cta-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
}

/* Top Right Pattern */
.circle-1 {
  width: 60px;
  height: 60px;
  top: 10px;
  right: 20px;
  background: #7dadf5;
}

.circle-2 {
  width: 40px;
  height: 40px;
  top: 35px;
  right: 90px;
  background: #9bc3ff;
}

.circle-3 {
  width: 20px;
  height: 20px;
  top: 70px;
  right: 65px;
  background: #83b4ff;
}

/* Form Modal */
.form-modal{display:none;position:fixed;z-index:9999;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0.5);backdrop-filter:blur(4px)}
.form-modal.active{display:flex;align-items:center;justify-content:center}

/* =============================================================================
    PREMIUM CONTACT FORM MODAL
    ============================================================================= */

.form-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px); /* MODIFICATION: Reduced blur for a subtler effect */
    -webkit-backdrop-filter: blur(2px); /* For Safari Support */
    animation: fadeIn 0.3s ease-out;
}

.form-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.form-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    position: relative;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 20px;
}

.form-title2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.form-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.premium-contact-form {
    padding: 20px 20px 40px;
}

.form-row {
    margin-bottom:8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-gro {
    display: flex;
    flex-direction: column;
}

.form-gro.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.required {
    color: #ef4444;
    margin-left: 4px;
}

.form-in {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
    width: 100%;
    height:45px;
}

.form-text {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
    width: 100%;
    height: 150px;
}

.form-in:focus,
.form-text:focus {
    outline: none;
    border-color: #4790ff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-in.error,
.form-text.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-text {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

.submit-button {
    background: #4790ff;
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button-text {
    transition: opacity 0.2s ease;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-message {
    display: none;
    padding: 16px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .cta-banner-section {
    padding: 40px 0;
    background-color: #ffffff;
  }
  .cta-banner {
    padding: 50px 35px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .circle-1 {
    width: 60px;
    height: 60px;
    right: 20px;
  }

  .circle-2 {
    width: 30px;
    height: 30px;
    right: 85px;
  }

  .circle-3 {
    width: 15px;
    height: 15px;
    right: 65px;
    top: 70px;
  }
}

@media (max-width: 900px) {
  .cta-banner-section {
    padding: 30px 0;
    background-color: #ffffff;
  }

  .cta-banner-container {
    padding: 0 16px;
  }

  .cta-banner {
    padding: 40px 30px;
    border-radius: 16px;
  }

  .cta-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 8px 15px;
    font-size: 22px;
  }

  /* Simplified pattern for mobile */
  .circle-1 {
    width: 50px;
    height: 50px;
    top: 20px;
    right: 30px;
  }

  .circle-2 {
    width: 25px;
    height: 25px;
    top: 25px;
    right: 110px;
  }

  .circle-3 {
    width: 10px;
    height: 10px;
    top: 15px;
    right: 160px;
  }
  
   .form-header {
        padding: 25px 30px 18px;
    }
    
    .premium-contact-form {
        padding: 25px 30px 35px;
    }
}

@media (max-width: 600px) {
  .cta-banner-section {
    padding: 20px 0;
    background-color: #ffffff;
  }
  .cta-banner {
    padding: 35px 20px;
    border-radius: 12px;
  }

  .cta-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }

  .cta-button {
    padding: 5px 10px;
    font-size: 20px;
  }

  /* Further simplified for small screens */
  .circle-1 {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 20px;
  }

  .circle-2 {
    width: 20px;
    height: 20px;
    top: 20px;
    right: 80px;
  }

  .circle-3 {
    width: 8px;
    height: 8px;
    top: 12px;
    right: 120px;
  }
  
  .form-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .form-header {
        padding: 20px 20px 15px;
    }
    
    .form-title2 {
        font-size: 24px;
    }
    
    .premium-contact-form {
        padding: 20px;
    }
    
    .form-row {
        display:flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-button {
        width: 100%;
        padding: 18px;
    }
}

/* CTA Banner Section Styles
.cta-banner-section {
  padding: 40px 0;
  background-color: #ffffff;
}

.cta-banner-container {
  max-width: 1400px;
  margin: auto;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.cta-banner {
  border-radius: 20px;
  padding: 10px 5px;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: auto;
}

a.cta-button {
  display: inline-block;
  background-color: #4790ff !important;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
  font-size: 24px !important;
  transition: all 0.3s ease;
  border: 2px solid #4790ff;
  text-transform: none;
}

a.cta-button:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(71, 144, 255, 0.3);
  text-decoration: none;
}

/* Responsive Design */
/*
@media (max-width: 1200px) {
  .cta-banner {
    padding: 50px 35px;
  }
}

@media (max-width: 768px) {
  .cta-banner-section {
    padding: 60px 0;
  }

  .cta-banner-container {
    padding: 0 16px;
  }

  .cta-banner {
    padding: 40px 30px;
    border-radius: 16px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .cta-banner {
    padding: 35px 20px;
    border-radius: 12px;
  }

  .cta-button {
    padding: 10px 18px;
    font-size: 12px;
  }
} */
