@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 40px 20px;
  line-height: 1.6;
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-in;
}

.container, .learn-more-section, .steps-section {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #ffffff;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  letter-spacing: -0.5px;
}

h2 {
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  color: #7f8c8d;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.container {
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  margin: 30px auto 50px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 1000px;
}

#myCarousel {
  margin-top: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

#myCarousel .item {
  position: relative;
}

.carousel-image-link {
  display: block;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s ease;
}

.carousel-image-link:hover {
  opacity: 0.9;
}

.carousel-image-link::after {
  content: 'Click to Download Program';
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(102, 126, 234, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-image-link:hover::after {
  opacity: 1;
}

#myCarousel .item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: block;
}

#myCarousel .item img:not([src]),
#myCarousel .item img[src=""] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

/* Ensure smooth carousel transitions */
.carousel-inner {
  overflow: hidden;
}

.carousel-inner > .item {
  -webkit-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
}

.carousel-caption {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%);
  border-radius: 0;
  padding: 35px 50px;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}

.carousel-caption h3 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}

.carousel-caption p {
  color: #f0f0f0;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.7;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  font-weight: 400;
}

.carousel-indicators {
  bottom: 15px;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: #fff;
  width: 14px;
  height: 14px;
  transform: scale(1.2);
}

.carousel-control {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background: rgba(255,255,255,0.4);
  opacity: 1;
}

.carousel-control .glyphicon {
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.learn-more-section {
  background: white;
  border-radius: 20px;
  padding: 60px 50px;
  margin: 50px auto;
  max-width: 1000px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.learn-more-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.learn-more-section > p {
  text-align: center;
  color: #7f8c8d;
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 40px;
  line-height: 1.8;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
  margin: 40px 0;
}

/* Steps Section */
.steps-section {
  background: white;
  border-radius: 20px;
  padding: 60px 50px;
  margin: 50px auto;
  max-width: 1000px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.6s ease-out;
}

.steps-section h2 {
  margin-bottom: 50px;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }
.step-item:nth-child(5) { animation-delay: 0.5s; }
.step-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
  background: #ffffff;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.step-description {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.6;
}

/* Form Styles */
.formbold-main-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 20px;
}

.formbold-form-wrapper {
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
  background: transparent;
}

.form-message {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.formbold-form-wrapper > div {
  margin-bottom: 20px;
}

.formbold-form-wrapper > div:last-of-type {
  margin-bottom: 0;
}

.formbold-input-flex {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.formbold-input-flex > div {
  width: 50%;
  flex: 1;
}

.formbold-input-radio-wrapper {
  margin-bottom: 30px;
}

.formbold-input-radio-wrapper .formbold-form-label {
  margin-bottom: 15px;
}

.formbold-radio-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

.formbold-radio-group {
  flex: 1;
  min-width: 120px;
}

.formbold-radio-label {
  font-size: 15px;
  line-height: 24px;
  color: #2c3e50;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  display: block;
  transition: color 0.2s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.formbold-radio-label:hover {
  color: #667eea;
}

.formbold-input-radio {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.formbold-radio-checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #FFFFFF;
  border: 2px solid #DDE3EC;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.formbold-radio-label:hover .formbold-radio-checkmark {
  border-color: #667eea;
}

.formbold-radio-label .formbold-input-radio:checked ~ .formbold-radio-checkmark {
  background-color: #667eea;
  border-color: #667eea;
}

.formbold-radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.formbold-radio-label .formbold-input-radio:checked ~ .formbold-radio-checkmark:after {
  display: block;
}

.formbold-radio-label .formbold-radio-checkmark:after {
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
}

.formbold-form-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  border: 2px solid #e8e8e8;
  background: #f8f9fa;
  font-weight: 400;
  font-size: 15px;
  color: #2c3e50;
  outline: none;
  resize: none;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.formbold-form-input:hover {
  border-color: #d0d0d0;
  background: #ffffff;
}

.formbold-form-input::placeholder {
  color: #95a5a6;
}

.formbold-form-input:focus {
  border-color: #667eea;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.formbold-form-label {
  color: #2c3e50;
  font-size: 15px;
  line-height: 24px;
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.formbold-btn {
  text-align: center;
  width: 100%;
  font-size: 16px;
  border-radius: 10px;
  padding: 16px 30px;
  border: none;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.formbold-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.formbold-btn:active {
  transform: translateY(-1px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  body {
    padding: 20px 10px;
  }
  
  .container, .learn-more-section, .steps-section {
    padding: 30px 20px;
    border-radius: 15px;
  }
  
  #myCarousel .item img {
    height: 350px;
  }
  
  .carousel-image-link::after {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .carousel-caption {
    padding: 20px 25px;
  }
  
  .carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .carousel-caption p {
    font-size: 0.95rem;
  }
  
  .step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }
  
  .step-item:hover {
    transform: translateY(-5px);
  }
  
  .step-number {
    margin-bottom: 15px;
  }
  
  .step-title {
    font-size: 20px;
  }
  
  .step-description {
    font-size: 15px;
  }
  
  .formbold-input-flex {
    flex-direction: column;
  }
  
  .formbold-input-flex > div {
    width: 100%;
  }
  
  .formbold-radio-flex {
    flex-wrap: wrap;
    gap: 10px;
  }
}

