*{
    margin: 0;
    padding: 0;
    opacity: 1;
    box-sizing: border-box;
    font-family: 'poppins', 'sans-serif';
}

body{
    background: #F2EEE9;
}


.container{
    position: fixed;
    padding: 10px 50px;
    display: flex;
    top: 0;
    bottom: 20;
    z-index: 10000;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-bottom: 300px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.navbar ul{
    display: flex;
}

ul a{
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 2px;
    color: #18191F;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 26.6px;
    font-size: 16px;
    font-weight: 600; /* semibold */

}

ul a:hover, a.btnn:hover{
    background: rgb(68, 129, 68);
    color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    transition: .1s;
}


.btn{
    background: #ff0000;
    box-shadow: 3px 5px 5px 0 rgba(0, 0, 0, 0.3);
    padding: 5px 13px;
    margin-left: 30px;
    margin-right: 20px;
    border-radius: 2px;
    color: #fff;
}

#main-contact{
    background: url(../Assets/ridges.png) no-repeat center center;
    margin-bottom: 270px;
    margin-top:500px;
    margin: 0;
  height: 70vh;
  background-size: cover;
  top: 7dvh;
  opacity: 0.8;
  position: relative; /* ensures text sits on top */

}

#main-contact h1{
    display: flex;
    align-items: center;
    color: #ffffff;
    width: 100%;
    height: 100%;
    font-size: 56px;
    font-family: 'Libre Baskerville', serif;
    justify-content: center;
    font-weight: 700;
}

.const{
    margin-top: 130px;
    display: flex;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
    gap: 0px;
    width: 100%;

}

.contact-details{
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  
.contact-form {
    background: #fff;
    padding: 30px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.08);
    width: 100%;
    margin-bottom: 50px;
    max-width: 500px;
    height: 510px;
    display: flex;
    flex-direction: column;
  }

  form {
      display: flex;
      flex-direction: column;
      flex: 1;
    }
  
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    color: #333F51;
  }
  
  input[type="email"]{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
      resize: none;
      flex-grow: 1;
      margin-bottom: 20px;
    }
  
  input[type="submit"] {
    background-color: #023F3A;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  input[type="submit"]:hover {
    background-color: #02140f;
  }
  
  .success {
    margin-top: 15px;
    text-align: center;
    color: green;
    font-weight: 500;
  }

  footer {
    margin: 0;
    padding: 50px 60px 30px 60px; /* balanced spacing */
    background: #F8F6F4;
    width: 100%;
    height: auto; /* let content define height */
    font-family: 'Josefin Sans', sans-serif;
} 

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap; /* desktop: keep in a row */
    padding: 20px 0;
    gap: 40px;
}

.footer-logo img {
    width: 120px; /* slightly bigger */
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h1 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #222222;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Josefin Sans', sans-serif;
}

.link {
    opacity: 0.85;
    padding: 6px 0;
    line-height: 1.6;
    font-family: 'Josefin Sans', sans-serif;
}

.footer-links a {
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000;
}

.footer-links a:hover {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    padding-left: 3px; /* subtle hover effect */
}

.footer-links h3 {
    display: inline;
    font-weight: bold;
    font-size: 14px;
    margin-left: 6px;
    color: #000;
}

.social-icons a {
    margin-right: 35px;
    font-size: 18px;
    color: #000;
}

.social-icons-footer{
  margin-top: 20px;
}
.social-icons a:hover {
    color: #0d9e66;
    padding-left: 1px;
}

.footer-divider {
    margin: 30px 0;
    border: 0;
    height: 1px;
    background: #ddd;
}

footer h3 {
    text-align: center;
    font-size: 14px;
    padding-bottom: 10px;
}