@font-face {
  font-family: 'HammerPro';
  src: url('../fonts/HammerProGX.woff2') format('woff2'),
    url('../fonts/HammerProGX.ttf') format('truetype');
  font-display: swap;
}

html {
  font-size: 90%;
  height: 100%;
}

:root {
  --c1: #FFCA00;
  --c2: #7249CD;
  --c3: #261D68
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'HammerPro', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: normal
}

body {
  direction: rtl;
  cursor: default;
  background-color: var(--c1);
  height: 100%;
}

/* ------------------------------------------------------------- FORM CONTAINER ------------------------------------------------------------- */

.form-container {
  width: clamp(280px, 20vw, 400px);
  background-color: #6838c2;
  padding: clamp(1.2rem, 1.5vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
}

.form-container h2 {
  text-align: center;
  display: flex;
  flex-direction: row;
  gap: 5px;
  color: #fff;
  font-size: clamp(1.5em, 2vw, 2em);
  font-weight: 400;
  line-height: 1;
  margin: 0 auto clamp(15px, 1.5vw, 20px) auto;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.form-container h2 span {
  color: var(--c1);
}

.logo {
  width: clamp(150px, 15vw, 200px);
  margin-bottom: clamp(1.2rem, 1.5vw, 2rem);
}

form {
  width: 100%;
  color: #fff
}

.form-group {
  margin-bottom: clamp(8px, 1vw, 10px);
}

label {
  display: block;
  margin-bottom: .5rem
}

input,
select {
  width: 100%;
  padding: clamp(10px, 1.2vw, 13px) clamp(16px, 1.8vw, 20px);
  border: none;
  border-radius: 4px;
  text-align: right;
  font-size: clamp(0.95em, 1.1vw, 1.1em);
  background-color: #fff;
  color: #333;
}

input::placeholder {
  color: gray;
  font-size: 1em
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.checkbox-group {
  margin: 1rem 0;
  display: flex;
  align-items: center
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: clamp(0.85em, 0.96vw, 0.96em);
  display: block;
  padding-inline-start: clamp(25px, 2.5vw, 30px);
  position: relative
}

.checkbox-group label:before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: var(--c1);
  display: block;
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  border-radius: 50%;
  transition: all .2s ease
}

.checkbox-group label:hover:before {
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--c1)
}

.checkbox-group label:after {
  content: '✓';
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 2;
  opacity: 0;
  transform: translateY(-10px);
  transition: all .2s ease;
  color: var(--c3);
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
}

.checkbox-group input:checked+label:after {
  opacity: 1;
  transform: translateY(0)
}

button {
  background-color: var(--c1);
  color: var(--c3);
  border: none;
  padding: clamp(0.6rem, 0.8vw, 0.75rem) clamp(1.5rem, 2vw, 2rem);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  width: 100%;
  font-size: clamp(1.1em, 1.3vw, 1.3em);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  transition: all .2s ease
}

button span {
  display: inline-block;
  transform: scaleX(-1)
}

button:hover {
  box-shadow: 0 5px 20px var(--c1);
  transform: translateY(-2px)
}

.whatsapp-btn {
  display: none;
}

@supports (-webkit-touch-callout: none) {

  /* Normalize letter spacing on iOS to prevent unwanted gaps */
  body,
  input,
  select,
  button,
  label,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  div,
  a {
    letter-spacing: 0;
  }

  /* Improve font rendering consistency on iOS */
  * {
    -webkit-font-feature-settings: "kern" 1;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
  }

  /* Reduce font weight appearance on iOS for better consistency */
  .form-container h2 {
    font-weight: 400;
  }

  header h1 {
    font-weight: 400;
  }
}

/* ------------------------------------------------------------- END FORM CONTAINER ------------------------------------------------------------- */

.only-mobile {
  display: none !important;
}

.container {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.stage {
  width: 80%;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-image: url('../assets/backgrounddesk.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100%;
}

.logosBox {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.logosBox img {
  width: 400px;
  padding: 10px;
}

.stageContainer {
  display: flex;
  flex-direction: row;
  flex-direction: row-reverse;
  gap: 20px;
  flex: 1;
}

.studentsContainer {
  flex: 1.1;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  
}

.studentsContainer-image {
  width: 100%;
}

.studentsContainer img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
  margin-bottom: -5px;
}

.contentContainer {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 40px;
  margin-bottom: 70px;
}

.mainContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 15%;
  height: fit-content;
  width: 100%;
  padding-bottom: 20px;
  background-color: var(--c1);
}

.mainContent .span1, .mainContent .span2{
  color: var(--c3);
  font-size: clamp(3rem, 7vw, 12rem);
  line-height: 0.8;
  text-align: center;
  white-space: nowrap;
}

.mainContent .span3Container {
  background-color: var(--c2);
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin-top: 20px;
  text-align: center;
}

.mainContent .span3 {
  color: #fff;
  font-size: clamp(1rem, 3vw, 4rem);
  padding: 8px 50px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.mainContent .span4 {
    font-size: clamp(1.2rem, 2.7vw, 3rem);
  color: var(--c2);
  margin-top: auto;
}


.footer {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.benefitsContainer {
  position: relative;
  background-color: var(--c2);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-inline-start: clamp(20px, 2vw, 40px);
  padding-inline-end: clamp(40px, 2vw, 70px);
  border-radius: 0;
}

.benefitsText {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: right;
  padding-right: 80px;
}

.benefitsContainer strong {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
}

.benefitsContainer span {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
}

.footerText {
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  font-weight: 300;
  margin-top: clamp(8px, 1.2vw, 16px);
  padding-right: 80px;
  color: #fff;
}

.badge {
  position: absolute;
  right: clamp(20px, 1.6vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(120px, 10vw, 160px);
  height: auto;
}

/* -------------------------------------------------------- Media Queries -------------------------------------------------------- */
/* -------------------------------------------------------- Media Queries -------------------------------------------------------- */
/* -------------------------------------------------------- Media Queries -------------------------------------------------------- */


@media (min-width:2000px) {
  .contentContainer {
    margin-top: 60px;
    margin-bottom: 170px;
  }

  .mainContent .span1, .mainContent .span2{
    font-size: clamp(3rem, 10vw, 13rem);
  }

  .mainContent .span3 {
    font-size: clamp(1rem, 4vw, 6rem);
  }

}

@media (max-width: 1300px) {
  .logosBox img {
    width: 320px;
  }

  .contentContainer {
    /* margin-bottom: 50px; */
  }

  .mainContent .span3 {
    padding: 8px 35px;
  }
}

@media (max-width:1000px) {
  body {
    overflow-x: hidden;
  }

  input, select {
    font-size: 16px !important;
  }

  .only-mobile {
    display: block !important;
  }

  .only-desktop {
    display: none;
  }
  
  .stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    order: 1;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    background-image: url('../assets/mobile/background.jpeg');
  }

  .stageContainer {
    flex-direction: column;
    flex-direction: column-reverse;
    gap: 20px;
    flex: 1;
    height: auto;
    min-height: 0;
    display: flex;
  }

  .contentContainer {
    flex: none;
    height: auto;
    margin:auto;
      margin-top: 0;
  }

  .mainContent {
    transform: none;
    margin: auto;
    width: 100%;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  

  .mainContent .span1, .mainContent .span2{
    font-size: clamp(3.5rem, 14vw, 8rem);
        width: 100%;
    text-align: center;
  }

  .mainContent .span3 {
    font-size: clamp(1rem, 8vw, 8rem);
    padding: 8px 25px;
  }

  .mainContent .span3Container {
    margin-top: 15px;
  }

  .studentsContainer {
    justify-content: center;
    flex: none;
    margin-bottom: -10px;
        display: none;

  }

  .studentsContainer img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .contentContainer {
    width: 100%;
    max-width: 100%;
    /* margin-top: 0;
    margin-bottom: 0; */
  }

  .logosBox-mobile {
    background-color: #fff;
    width: 100%;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    order: 3;
  }

  .logosBox-mobile img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .logosBox {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    justify-content: center;
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    width: 100%;
  }

   .logosBox img {
    width: clamp(200px, 25vw, 400px);
    height: auto;
    object-fit: contain;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
  }

  .badge-mobile {
    position: absolute;
    left: 50%;
    bottom: -2%;
    transform: translateX(-50%);
    width: clamp(140px, 25vw, 380px);
    height: auto;
    z-index: 10;
    object-fit: contain;
  }



  /* ------------------------------------------------------------- FORM CONTAINER ------------------------------------------------------------- */


  .form-container h2 {
    font-size: clamp(2rem, 8vw, 8rem);
    white-space: nowrap;
    flex-wrap: nowrap;
    margin-bottom: 30px;
  }

  .container {
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    display: flex;
    overflow-x: hidden;
    position: relative;
  }

 .form-container {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 100%;
    z-index: 1;
    margin-top: -10px;
  }


  .notes-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-top: 20px;
  }

  .notes-form .child1,
  .notes-form .child2,
  .notes-form .child3 {
    display: block;
    width: 100%;
    white-space: nowrap;
    flex-wrap: nowrap;
  }

  .notes-form .child1,
  .notes-form .child2 {
    font-size: clamp(1.3rem, 5vw, 5rem);
  }

  .notes-form .child3 { 
    font-size: clamp(1.2rem, 5vw, 5rem);
    margin-top: 10px;
  }
  
}

@media (max-width:580px) {

  .form-container {
    width: 100%;
    position: relative;
  }

  .form-group input {
    border-radius: 20px;
  }

  .form-group select {
    border-radius: 20px;
  }

  select,
  select.form-group,
  .form-group select,
  #degree,
  #field {
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 40px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: none !important;
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
  }

  select:focus,
  select:active,
  select:hover {
    background-color: #fff !important;
    outline: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  select option {
    background-color: #fff !important;
    color: #333 !important;
  }

  /* iOS Safari specific fixes to remove blue color */
  @supports (-webkit-touch-callout: none) {
    select,
    #degree,
    #field {
      background-color: #fff !important;
      -webkit-appearance: none !important;
      appearance: none !important;
      border: none !important;
      -webkit-border-radius: 20px !important;
      border-radius: 20px !important;
      color: #333 !important;
      -webkit-text-fill-color: #333 !important;
    }
    
    select:focus,
    select:active,
    select:checked,
    #degree:focus,
    #degree:active,
    #field:focus,
    #field:active {
      background-color: #fff !important;
      -webkit-tap-highlight-color: transparent !important;
      border: none !important;
      outline: none !important;
      color: #333 !important;
      -webkit-text-fill-color: #333 !important;
    }

    select::-webkit-select {
      background-color: #fff !important;
    }
  }

  /* Additional iOS fixes - ensure no blue appears */
  select,
  select * {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #fff !important;
  }

  /* Override any iOS native styling */
  select::-webkit-select {
    background-color: #fff !important;
    color: #333 !important;
  }

  select::-moz-select {
    background-color: #fff !important;
    color: #333 !important;
  }

  .form-group {
    margin-bottom: 20px;

  }

  .submit-btn {
    font-size: 2em;
  }
}

/* -------------------------------------------------------- Media Queries -------------------------------------------------------- */
/* -------------------------------------------------------- Media Queries -------------------------------------------------------- */
/* -------------------------------------------------------- Media Queries -------------------------------------------------------- */







/* -------------------------------------------------------- Thank You Page Styles -------------------------------------------------------- */
/* -------------------------------------------------------- Thank You Page Styles -------------------------------------------------------- */
/* -------------------------------------------------------- Thank You Page Styles -------------------------------------------------------- */

@media (max-width:450px) {
  .thank-you-aside .couple-image {
    max-width: 100%;
  }
}

.stage {
  position: relative;
}

.thank-you-aside {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: auto;
  z-index: 1;
}

.thank-you-aside .couple-image {
  width: auto;
  height: 100%;
  max-height: 100vh;
  object-fit: contain;
  object-position: left bottom;
}

/* -------------------------------------------------------- Thank You Page Styles -------------------------------------------------------- */
/* -------------------------------------------------------- Thank You Page Styles -------------------------------------------------------- */
/* -------------------------------------------------------- Thank You Page Styles -------------------------------------------------------- */