@import 'utilities.css';
:root{
    --nrdcMain: #1e714dff;
    --nrdcDark: rgb(15, 58, 39);  
}

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}
element.style{
  height: auto;
}
  
  body {
    line-height: 1.6;
    background-color: #f4f4f4;
    margin: 0;
  }
  .studenthero{
    min-height: 30.5vh;
    width: 100%;
    margin: 8rem auto 0px auto;
    border-radius: 0px;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(../images/photos/Chika.jpg);
    background-position: center;
    position: relative;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .studenthero-box{
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}
  .studenthero-box h1{
    font-size: 40px;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    
  }
  .quot-box{
    padding-top: 50px;
  }
  .quot-box h1 span{
    font-size: 100px;
    padding-top: 40px;
    color: #ccccccab;
    font-weight: 600;
  }

  .subject-list {
    margin-top: 20px;
}

.subject-list h3 {
    margin-bottom: 10px;
}

.subject-list ul {
    list-style-type: none;
    padding: 0;
}

.subject-list li {
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: #f2f2f2;
    border-radius: 5px;
}

  /* =========================== APPLICATION FORM ==================== */
/* General Styles */
h1 {
  text-align: center;
}

form {
  max-width: 800px;
  margin: 60px auto 30px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

fieldset {
  border: 1px solid #ddd;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 5px;
}

legend {
  font-size: 1.2em;
  font-weight: bold;
}

label {
  display: block;
  margin-top: 10px;
}

input[type="text"],
input[type="email"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.scrol{
  min-height: 100px;
  overflow-y: scroll;
}

th, td {
  text-align: left;
  padding: 8px;
  border: 1px solid #ddd;
}

button[type="submit"] {
  background: var(--nrdcMain);
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  width: 100%;
}

button[type="submit"]:hover {
  background: #4cae4c;
}
.row{
  margin-top: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.application-success {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin:30px auto;
  width: 70%;
  height: 75%;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  background-color: #b3ffb3ff;
}

.application-success p li a {
  list-style: none;
}
.application-success h1{
  color: #000 !important;
  padding: 10px 10px 0 10px;
  font-weight: 500;
}
.application-success p{
  font-size: 16px;
  font-weight: 400;
  padding: 0 15px 5px 15px;
}

/* ===== study Mode Notes ======= */
.studyModeNotes {
  padding: 0 20px;
}

/* ===============  end ================= */

/* ALERT STYLING */
.alert {
  background: #f8d7da;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80%;
  margin: 2rem auto;
  min-height: 80px;
  text-align: none ;
  padding: 10px;
}

.alert h1 {
  font-size: 22px;
  color: red;
}
.alert h4 {
  font-size: 15px;
  font-weight: 600;
}
.alert p {
  padding-top: 5px;
  font-size: 13px;
}
.alert a {
  font-weight: 600;
  color: var(--nrdcMain);
  text-decoration: underline;
}

/* ALERT END */

/* Responsive Styles */
@media (max-width: 600px) {
  .application-success h1{
  color: #fff;
  padding: 5px 5px 0 5px;
  font-size: 18px;
}
.application-success p{
  font-size: 14px;
  font-weight: 400;
  padding: 3px 8px 5px 8px;
}

  form {
      padding: 15px;
  }

  label {
      margin-top: 15px;
  }

  input[type="text"],
  input[type="email"],
  input[type="file"],
  select,
  textarea {
      font-size: 1em;
  }

  button[type="submit"] {
      padding: 10px;
      font-size: 0.9em;
  }

  table {
      font-size: 0.9em;
  }
}


  /* ========================== FORM END ============================= */

/* Adjusting form elements for smaller screens */
  @media only screen and (max-width: 600px){
    .studenthero-box{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .studenthero{
      min-height: 30.5vh;
      width: 100%;
      margin: 8rem auto 0rem auto;
      border-radius: 0px;
      position: relative;
      background-size: cover;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .studenthero-box{
      align-items: center;
      justify-content: center;
      padding: 0 5px;
      margin: 0 10px;
  }
    .studenthero-box h1{
      letter-spacing: 1px;
      font-weight: 500;
      color: #cccccce1;
      font-size: 20px;
    }

    .quot-box{
      width: 30%;
      margin: auto;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .quot-box h1 span{
      font-size: 60px;
      padding-top: 50px;
      color: #ccccccab;
      font-weight: 600;
    }

    .studenthero .left{
      padding-top: 0;
    }

    .studenthero .right{
      padding-top: 80px;
      
    }
  }

  /* Tablet styles */
@media only screen and (min-width: 601px) {
  /* Adjust styles for tablet */
  .studenthero-box h1{
    font-weight: 500;
    font-size: 30px;
  }
  .studenthero{
    /* margin-top: 9rem; */
  }
  
}

/* Desktop styles */
@media only screen and (min-width: 1024px) {
  /* Adjust styles for desktop */
  .studenthero{
    /* margin-top: 11rem; */
  }

}

@media only screen and (min-width: 2560px){
  /* Adjust styles for tablet */
  .studenthero-box h1{
    font-weight: 500;
    font-size: 70px;
  }

  .studenthero{
    margin: 19rem auto 4rem auto;
    border-radius: 20px;
  }
  
.form h3{
  padding: 40px 20px;
  margin: 5px 0;
  border-radius: 10px;
  font-size: 35px;
}
.form p{
  font-size: 22px;
}
.apply{
  border-radius: 10px;
  padding-bottom: 80px;
}
}
