* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    background-color: #f2f0ef;
    margin: 0;
    padding: 0;
    /* Add a full page background 1169 x 600, make sure its responsive and covers full page */
    background-image: url("../images/contactbackground.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}
  
  #logo {
  width: 40px;
  height: 40px;
  margin-left: 32px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0px 20px;
  background-color: #0e1111;
  color: #f2f0ef;
  box-shadow: #0e1111 1px;
}

nav {
  transition: background-color 0.3s ease;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

.navItems {
  display: flex;
  color: #f2f0ef;
  align-items: center;
}

.navItems a {
  margin-right: 32px;
  color: #f2f0ef;
  text-decoration: none;
}

.navItems .navItem4 {
  background-color: #f2f0ef;
  color: #0e1111;
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: bold;
  border: #0e1111 3px solid;
}

.navItem4 {
  transition: all ease .5s;
}

.navItem2,
.navItem3 {
  position: relative;
  text-decoration: none;
}

.navItem2::before,
.navItem3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3185FC;
  transition: width 0.3s ease;
}

.navItem2:hover::before,
.navItem3:hover::before {
  width: 100%;
}

.navItem4:hover {
  background-color: #3185FC;
  color: #f2f0ef;
  border: #f2f0ef 2px solid;
  transition: all ease-in-out .5s;
}


  .contactHead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
  }

  .contactPage {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
  }


  .contactPage #name, #email, #message {
    background-color: rgba(255, 255, 255, 0.1);
    border: #0e1111 3px solid;
    margin-top: 8px;
    color: #0e1111;
    font-weight: bold;
  }

  #message {
    height: 48px;
  }


  .contactTitle {
    color: #f0eff2;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 2em;
    margin: 0;
    margin-bottom: 8px;
  }

  .contactSubTitle {
    color: #f2f0ef;
    background-color: #0e1111;
    border-radius: 200px;
    padding: 12px 24px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 0.8em;
    margin: 0;
    margin-bottom: 32px;
  }
  
  .contactForm {
    margin: 0 auto;
    max-width: 500px;
    padding: 0 20px;
  }
  
  .formGroup {
    margin-bottom: 16px;
  }
  
  .formGroup label {
    color: #0e1111;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
    text-decoration: underline #3185FC 3px;
  }
  
  .formGroup input,
  .formGroup textarea {
    width: 100%;
    padding: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    background-color: #0e1111;
    color: #f2f0ef;
  }
  
  .formGroup textarea {
    resize: vertical;
  }
  
  .submitButton {
    display: block;
    padding: 10px 20px;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #3185FC;
    color: #f2f0ef;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: #0e1111 3px solid;
    width: 100%;
    margin-bottom: 64px;
}
  
  .submitButton:hover {
    background-color: #62A0F9;
  }

  .form-status {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
  }
  
footer {
  background-color: #0e1111;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer h5 {
  margin: 0;
  color: #f2f0ef;
  font-size: 1em;
  text-align: center;
}

footer h5 .year {
  font-weight: 400;
}

  html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: #f2f0ef;
}


.contentWrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 100px);
}

footer {
    background-color: #0e1111;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactmetitle {
  margin-top: 96px;
  width: 333px;
  height: 126px;
}

/* Responsive Design - Mobile First Approach */

/* Ultra-wide Desktop (1400px and up) */
@media (min-width: 1400px) {
  .contactForm {
    max-width: 700px;
    padding: 0 50px;
  }
  
  .contactPage {
    padding: 0 50px;
  }
  
  .contactmetitle {
    width: 450px;
    height: 170px;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .contactForm {
    max-width: 600px;
    padding: 0 40px;
  }
  
  .contactmetitle {
    width: 400px;
    height: 151px;
  }
  
  .contactPage {
    padding: 0 40px;
  }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .contactForm {
    max-width: 500px;
    padding: 0 30px;
  }
  
  .contactPage {
    padding: 0 30px;
  }
}

/* Medium Tablet (768px to 991px) */
@media (max-width: 991px) {
  nav {
    padding: 0px 15px;
  }
  
  #logo {
    margin-left: 20px;
  }
  
  .navItems a {
    margin-right: 20px;
  }
  
  .contactPage {
    padding: 0 25px;
  }
  
  .contactHead {
    padding: 0 15px;
  }
  
  .contactForm {
    max-width: 90%;
    padding: 0 25px;
  }
  
  .contactmetitle {
    width: 280px;
    height: 106px;
    margin-top: 80px;
  }
  
  .contactSubTitle {
    font-size: 0.75em;
    padding: 10px 20px;
    margin-bottom: 32px;
  }
}

/* Small Tablet (576px to 767px) */
@media (max-width: 767px) {
  nav {
    height: 56px;
    padding: 0px 10px;
  }
  
  #logo {
    width: 35px;
    height: 35px;
    margin-left: 15px;
  }
  
  .navItems a {
    margin-right: 15px;
    font-size: 0.9em;
  }
  
  .navItems .navItem4 {
    padding: 6px 12px;
    font-size: 0.85em;
  }
  
  .contactPage {
    padding: 0 20px;
  }
  
  .contactHead {
    padding: 0 10px;
  }
  
  .contactmetitle {
    width: 250px;
    height: 95px;
    margin-top: 72px;
  }
  
  .contactSubTitle {
    font-size: 0.7em;
    padding: 8px 16px;
    margin-bottom: 24px;
  }
  
  .contactForm {
    max-width: 95%;
    padding: 0 20px;
  }
  
  .formGroup {
    margin-bottom: 16px;
  }
  
  .formGroup input,
  .formGroup textarea {
    font-size: 14px;
    padding: 8px;
  }
  
  .submitButton {
    font-size: 14px;
    padding: 8px 16px;
    margin-bottom: 48px;
  }
  
  footer {
    height: 80px;
  }
  
  footer h5 {
    font-size: 0.9em;
  }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
  nav {
    height: 50px;
    padding: 0px 8px;
  }
  
  #logo {
    width: 30px;
    height: 30px;
    margin-left: 10px;
  }
  
  .navItems a {
    margin-right: 10px;
    font-size: 0.8em;
  }
  
  .navItems .navItem4 {
    padding: 4px 8px;
    font-size: 0.75em;
    border-radius: 12px;
  }
  
  .contactPage {
    padding: 0 15px;
  }
  
  .contactHead {
    padding: 0 5px;
  }
  
  .contactmetitle {
    width: 200px;
    height: 76px;
    margin-top: 66px;
  }
  
  .contactSubTitle {
    font-size: 0.65em;
    padding: 6px 12px;
    margin-bottom: 20px;
  }
  
  .contactForm {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .formGroup {
    margin-bottom: 12px;
  }
  
  .formGroup label {
    font-size: 0.9em;
  }
  
  .formGroup input,
  .formGroup textarea {
    font-size: 13px;
    padding: 6px;
  }
  
  .submitButton {
    font-size: 13px;
    padding: 6px 12px;
    margin-bottom: 32px;
  }
  
  footer {
    height: 70px;
  }
  
  footer h5 {
    font-size: 0.8em;
    padding: 0 10px;
    text-align: center;
  }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
  .contactPage {
    padding: 0 10px;
  }
  
  .contactHead {
    padding: 0 5px;
  }
  
  .contactmetitle {
    width: 160px;
    height: 61px;
  }
  
  .contactSubTitle {
    font-size: 0.6em;
    padding: 4px 8px;
  }
  
  .contactForm {
    padding: 0 10px;
  }
  
  .navItems .navItem4 {
    padding: 3px 6px;
    font-size: 0.7em;
  }
  
  .formGroup input,
  .formGroup textarea {
    font-size: 12px;
    padding: 5px;
  }
  
  .submitButton {
    font-size: 12px;
    padding: 5px 10px;
  }
}