/* Thank You Modal Styles */
.ud-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ud-modal {
  background: #fff;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(48, 86, 211, 0.15);
  animation: modalSlideIn 0.3s ease-out;
  border: 1px solid rgba(48, 86, 211, 0.1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ud-modal-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid rgba(48, 86, 211, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ud-modal-header h2 {
  color: #212529;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.ud-modal-close {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.ud-modal-close:hover {
  color: #3056d3;
  background: rgba(48, 86, 211, 0.05);
}

.ud-modal-body {
  padding: 30px;
  text-align: center;
}

.ud-modal-icon {
  margin-bottom: 20px;
}

.ud-modal-icon i {
  font-size: 60px;
  color: #3056d3;
}

.ud-modal-body p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 16px;
}

.ud-modal-footer {
  padding: 20px 30px 30px;
  text-align: center;
}

.ud-modal-footer .ud-main-btn {
  padding: 12px 30px;
}

/* Loading spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Button loading state */
.ud-main-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* About Section Enhanced Styles */
.ud-about-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5%;  /* 5% padding on sides */
}

/* Responsive max-widths with breakpoints */
@media (min-width: 576px) {
  .ud-about-wrapper {
    padding: 0 8%;  /* Larger padding on small tablets */
  }
}

@media (min-width: 768px) {
  .ud-about-wrapper {
    max-width: 90%;  /* 90% width on tablets */
  }
}

@media (min-width: 992px) {
  .ud-about-wrapper {
    max-width: 85%;  /* 85% width on desktops */
  }
}

@media (min-width: 1400px) {
  .ud-about-wrapper {
    max-width: 80%;  /* 80% width on large desktops */
  }
}

@media (min-width: 1920px) {
  .ud-about-wrapper {
    max-width: 1600px;  /* Cap at reasonable width for ultrawide */
  }
}

.ud-about-content-wrapper {
  width: 100%;
}

.ud-about-content {
  max-width: 100%;  /* Override the 500px constraint from ud-styles.css */
}

.ud-about-image {
  display: none; /* Hide the image column for single-column layout */
}

.about-intro .lead-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #3c4fe0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  border-left: 4px solid #3c4fe0;
  background: rgba(60, 79, 224, 0.05);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(60, 79, 224, 0.1);
}

.about-problem {
  margin-bottom: 2.5rem;
}

.about-problem p {
  color: #8a92b2;
  line-height: 1.8;
  font-size: 1.15rem;
  text-align: justify;
}

.about-solution {
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(60, 79, 224, 0.1) 0%, rgba(60, 79, 224, 0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(60, 79, 224, 0.2);
  box-shadow: 0 8px 32px rgba(60, 79, 224, 0.1);
}

.solution-highlight {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3c4fe0;
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-solution p:not(.solution-highlight) {
  color: #8a92b2;
  line-height: 1.8;
  font-size: 1.15rem;
  text-align: justify;
}

.about-mission {
  margin: 3rem 0;
}

.mission-quote {
  background: linear-gradient(135deg, #0c0e30 0%, #1a1d3a 100%);
  border: 2px solid #3c4fe0;
  border-radius: 16px;
  padding: 3rem;
  margin: 0;
  position: relative;
  box-shadow: 0 15px 40px rgba(60, 79, 224, 0.3);
  text-align: center;
}

.mission-quote::before {
  content: '"';
  font-size: 5rem;
  color: #3c4fe0;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: serif;
  opacity: 0.3;
}

.mission-quote p {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  text-align: center;
}

.about-team {
  margin-bottom: 2.5rem;
}

.about-team p {
  color: #8a92b2;
  line-height: 1.8;
  font-size: 1.15rem;
  text-align: justify;
}

.about-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(60, 79, 224, 0.15) 0%, rgba(60, 79, 224, 0.08) 100%);
  border-radius: 16px;
  border: 2px solid rgba(60, 79, 224, 0.3);
  box-shadow: 0 10px 40px rgba(60, 79, 224, 0.2);
}

.cta-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-cta .ud-main-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-cta .ud-main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(60, 79, 224, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ud-about-wrapper {
    padding: 0 1rem;  /* Fixed padding for mobile */
  }
  
  .about-intro .lead-text {
    font-size: 1.2rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .about-problem p,
  .about-solution p:not(.solution-highlight),
  .about-team p {
    font-size: 1rem;
    text-align: left;
  }
  
  .about-solution {
    padding: 2rem;
  }
  
  .solution-highlight {
    font-size: 1.3rem;
  }
  
  .mission-quote {
    padding: 2rem;
  }
  
  .mission-quote::before {
    font-size: 4rem;
    top: -15px;
  }
  
  .mission-quote p {
    font-size: 1.2rem;
  }
  
  .about-cta {
    padding: 2rem;
  }
  
  .cta-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .about-intro .lead-text {
    font-size: 1.1rem;
    padding: 1rem;
  }
  
  .about-solution {
    padding: 1.5rem;
  }
  
  .mission-quote {
    padding: 1.5rem;
  }
  
  .mission-quote::before {
    font-size: 3rem;
    top: -10px;
  }
  
  .mission-quote p {
    font-size: 1.1rem;
  }
  
  .about-cta {
    padding: 1.5rem;
  }
  
  .cta-text {
    font-size: 1.1rem;
  }
}