* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f6fa;
}

.container {
  width: 100%;
  
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #7f2aa3;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge img {
  height: 40px;
  width: 40px;
}

.badge span {
  font-weight: 600;
}

.mission {
   background: linear-gradient(to bottom, #3e2c92, #f24c53);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 20px;
  justify-content: center;
}

.speaker-section img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
}

.form-section {
  max-width: 400px;
  width: 100%;
}

.form-box {
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  text-align: center;
}

.form-logo img {
  width: 80px;
  margin-bottom: 10px;
}

/* Adjust spacing when invitation is present */
.back:has(.invitation-section) .form-logo {
  margin-bottom: 15px;
}

.back:has(.invitation-section) h2:first-of-type {
  margin-top: 5px;
}

.form-box h2 {
  color: #333;
  font-size: 20px;
  margin-bottom: 10px;
}

.phone-number {
  background: #342d88;
  color: white;
  padding: 10px;
  font-weight: bold;
  font-size: 18px;
  border-radius: 10px;
  margin: 10px 0;
}

.or {
  margin: 10px 0;
  font-weight: bold;
  color: #777;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}

.input-group span {
  background: #eee;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
}

.input-group input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-left: none;
  border-right: none;
}

.input-group button {
  background: #e95f0f;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  text-align: left;
  margin-top: 10px;
}


/* custom */



/* Responsive */

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    align-items: center;
  }

  .form-box {
    width: 100%;
    min-height: auto;
    height: auto;
  }

  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  main.main-content {
    margin-top: -102px;
}
.form-box {
    margin-top: 44px;
}
.back {
    background: none !important;
}

.invitation-section {
    margin: 10px 0 15px 0;
    padding: 12px;
}

.invitation-section h3 {
    font-size: 14px;
}

.invitation-section p {
    font-size: 12px;
    margin: 3px 0;
}

}


/* custom css start */
.main-content {
  background-image: url('/img/element_03.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;  /* ✅ yahi pe dikkat thi */
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}




main.main-content {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media only screen and (min-width: 992px) {

main.main-content {
    margin-top: -69px;
 }
 .form-section {
    margin-left: 729px;
   }
   .form-box {
    min-height: 432px;
    height: auto;
  
  }
  .phone-number {
    margin-right: 30px;
    margin-left: 30px;
}
.form-logo img {
    margin-top: -35px;
  }
  .form-box {
    padding-top: 35px;
    padding-bottom: 35px;
}
}


span {
    /* background-image:  url('/img/element_03.png'); */
     background: linear-gradient(to bottom, #3e2c92, #f24c53);
    padding: 8px;
    border-radius: 20px;
}

.form-box {
    min-height: 432px;
    height: auto;
  
  }

/* .form-box {
    padding: 31px;
} */

.back {
    background: hsl(324deg 27.78% 85.88%);
    border-radius: 30px;
}

.back {
    min-height: 369px;
    height: auto;
    padding: 12px;
}

/* Invitation section styling */
.invitation-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    border-left: 4px solid #2c3e91;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invitation-section h3 {
    color: #2c3e91;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.invitation-section p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.invitation-section strong {
    color: #333;
    font-weight: 600;
}

.invitation-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}