* {
    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;
    margin-bottom: 60px;
  }

  .contactInfo {
    text-align: center;
    max-width: 600px;
  }

  .contactPage {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
  }

  .contactContainer {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    margin-bottom: 60px;
  }

  .contactDetails {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
  }

  .contactCard {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #0e1111;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(14, 17, 17, 0.08);
    flex: 1;
    max-width: 250px;
  }

  .contactCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(14, 17, 17, 0.15);
    border-color: #3185FC;
  }

  .cardIcon {
    background: rgba(49, 133, 252, 0.1);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
  }

  .contactCard h3 {
    color: #0e1111;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 0.95em;
    margin: 0 0 6px 0;
  }

  .contactCard p {
    color: #666;
    font-family: "Poppins", sans-serif;
    font-size: 0.8em;
    margin: 0;
    line-height: 1.3;
  }

  .contactFormContainer {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #0e1111;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(14, 17, 17, 0.15);
    width: 100%;
    max-width: 800px;
  }

  .formHeader {
    text-align: center;
    margin-bottom: 24px;
  }

  .formHeader h2 {
    color: #0e1111;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    margin: 0 0 8px 0;
  }

  .formHeader p {
    color: #666;
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    margin: 0;
  }

  .formRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .formGroup {
    margin-bottom: 20px;
  }

  .formGroup.half {
    margin-bottom: 0;
  }

  .formGroup label {
    color: #0e1111;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    font-size: 0.9em;
    display: block;
    margin-bottom: 6px;
    text-decoration: underline #3185FC 2px;
    text-underline-offset: 4px;
  }

  .formGroup input,
  .formGroup textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background-color: #f9f9f9;
    color: #0e1111;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .formGroup input:focus,
  .formGroup textarea:focus {
    outline: none;
    border-color: #3185FC;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(49, 133, 252, 0.1);
  }

  .formGroup textarea {
    resize: vertical;
    min-height: 120px;
  }

  .submitButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3185FC 0%, #62A0F9 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .submitButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 133, 252, 0.4);
  }

  .submitButton:active {
    transform: translateY(0);
  }

  .buttonIcon {
    transition: transform 0.3s ease;
  }

  .submitButton:hover .buttonIcon {
    transform: translateX(4px);
  }

  .form-status {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    text-align: center;
  }

  .contactDescription {
    color: #f2f0ef;
    background-color: rgba(14, 17, 17, 0.8);
    border-radius: 16px;
    padding: 16px 24px;
    font-family: "Poppins", sans-serif;
    font-size: 1em;
    line-height: 1.6;
    margin: 16px 0 0 0;
    backdrop-filter: blur(10px);
  }

  .contactTitle {
    color: #f0eff2;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 2em;
    margin: 0;
    margin-bottom: 8px;
  }

  .contactSubTitle {
    color: #f2f0ef !important;
    background-color: #0e1111;
    border-radius: 200px;
    padding: 12px 24px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 16px !important;
    margin: 0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1;
    width: auto;
    height: auto;
    min-height: 38px;
  }
  
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) {
  .contactContainer {
    gap: 80px;
    margin-bottom: 100px;
  }
  
  .contactFormContainer {
    padding: 50px;
  }
  
  .contactPage {
    padding: 0 50px;
  }
  
  .contactmetitle {
    width: 450px;
    height: 170px;
  }

  .formHeader h2 {
    font-size: 2em;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .contactContainer {
    gap: 70px;
  }
  
  .contactmetitle {
    width: 400px;
    height: 151px;
  }
  
  .contactPage {
    padding: 0 40px;
  }

  .contactFormContainer {
    padding: 45px;
  }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .contactContainer {
    gap: 50px;
  }
  
  .contactPage {
    padding: 0 30px;
  }

  .contactFormContainer {
    padding: 35px;
  }
}

/* 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;
    margin-bottom: 40px;
  }
  
  .contactContainer {
    gap: 20px;
    margin-bottom: 45px;
  }

  .contactDetails {
    flex-direction: row;
    gap: 15px;
    max-width: 600px;
  }

  .contactFormContainer {
    order: 1;
    padding: 30px;
    max-width: 600px;
  }
  
  .contactmetitle {
    width: 280px;
    height: 106px;
    margin-top: 80px;
  }
  
  .contactSubTitle {
    font-size: 14px !important;
    padding: 10px 20px;
    margin-bottom: 16px;
  }

  .contactDescription {
    font-size: 0.9em;
    padding: 14px 20px;
  }

  .formHeader h2 {
    font-size: 1.6em;
  }
}

/* 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;
    margin-bottom: 30px;
  }
  
  .contactmetitle {
    width: 250px;
    height: 95px;
    margin-top: 72px;
  }
  
  .contactSubTitle {
    font-size: 13px !important;
    padding: 8px 16px;
    margin-bottom: 12px;
  }

  .contactDescription {
    font-size: 0.85em;
    padding: 12px 18px;
  }
  
  .contactContainer {
    gap: 18px;
    margin-bottom: 30px;
  }

  .contactDetails {
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .contactCard {
    padding: 20px;
    max-width: none;
  }

  .cardIcon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .contactCard h3 {
    font-size: 1em;
  }

  .contactCard p {
    font-size: 0.85em;
  }

  .contactFormContainer {
    padding: 25px;
    max-width: 400px;
  }

  .formHeader h2 {
    font-size: 1.4em;
  }

  .formHeader p {
    font-size: 0.9em;
  }

  .formRow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .formGroup.half {
    margin-bottom: 20px;
  }
  
  .formGroup input,
  .formGroup textarea {
    font-size: 14px;
    padding: 14px 16px;
  }
  
  .submitButton {
    font-size: 14px;
    padding: 14px 28px;
  }
  
  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;
    margin-bottom: 25px;
  }
  
  .contactmetitle {
    width: 200px;
    height: 76px;
    margin-top: 66px;
  }
  
  .contactSubTitle {
    font-size: 12px !important;
    padding: 6px 12px;
    margin-bottom: 10px;
  }

  .contactDescription {
    font-size: 0.8em;
    padding: 10px 16px;
  }
  
  .contactContainer {
    gap: 15px;
    margin-bottom: 25px;
  }

  .contactDetails {
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
  }

  .contactCard {
    padding: 16px;
  }

  .cardIcon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .cardIcon svg {
    width: 18px;
    height: 18px;
  }

  .contactCard h3 {
    font-size: 0.9em;
    margin-bottom: 6px;
  }

  .contactCard p {
    font-size: 0.8em;
  }

  .contactFormContainer {
    padding: 20px;
    max-width: 300px;
  }

  .formHeader {
    margin-bottom: 24px;
  }

  .formHeader h2 {
    font-size: 1.2em;
  }

  .formHeader p {
    font-size: 0.85em;
  }
  
  .formGroup {
    margin-bottom: 16px;
  }
  
  .formGroup label {
    font-size: 0.85em;
    margin-bottom: 5px;
  }
  
  .formGroup input,
  .formGroup textarea {
    font-size: 13px;
    padding: 12px 14px;
  }
  
  .submitButton {
    font-size: 13px;
    padding: 12px 24px;
    gap: 8px;
  }

  .buttonIcon svg {
    width: 16px;
    height: 16px;
  }
  
  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: 11px !important;
    padding: 6px 12px;
  }

  .contactDescription {
    font-size: 0.75em;
    padding: 8px 12px;
  }
  
  .contactFormContainer {
    padding: 16px;
  }

  .formHeader h2 {
    font-size: 1.1em;
  }

  .formHeader p {
    font-size: 0.8em;
  }
  
  .navItems .navItem4 {
    padding: 3px 6px;
    font-size: 0.7em;
  }
  
  .formGroup input,
  .formGroup textarea {
    font-size: 12px;
    padding: 10px 12px;
  }
  
  .submitButton {
    font-size: 12px;
    padding: 10px 20px;
  }

  .contactCard {
    padding: 12px;
  }

  .cardIcon {
    width: 35px;
    height: 35px;
  }

  .cardIcon svg {
    width: 16px;
    height: 16px;
  }
}