:root {
    /* Primary Colors */
    --raffaut-yellow: #FFB238;
    --primary-gray: #191D1D;
    --darker-gray: #131616;
    --lighter-gray: #2C2C2C;
  
    /* Additional Colors (if needed) */
    --accent-color: #007BFF; /* Adjust as per your design */
    --success-color: #28A745;
    --error-color: #DC3545;
  }
  
  #hero{
    background-image: url(/assets/images/raffaut_contact-hero.png);
  }
  
  .heroLeft{
    flex: 1;
    position: relative;
    padding: 0;
  }
  
  .heroLeft p{
    transform: rotate(-90deg);
    position: absolute;
    right: 0px;
    bottom: -130px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--raffaut-yellow);
  }
  
  .herocontent{
    width: 70%;
  }
  
  #contact{
    max-width: 1100px;
    margin: auto;
    padding: 4rem 0;
  }

  #contact h1{
    color: #FFF;
text-align: center;
font-family: Kanit;
font-size: 2rem;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 60px */
letter-spacing: 0.4px;
margin-top: 4rem;
  }

  .left-child{
    display: flex;
width: 349px;
padding: 76px 32px;
flex-direction: column;
align-items: left;
gap: 10px;
flex-shrink: 0;
border-radius: 50px;
background: #F4F0EC;
  }

  .contact-parent{
    display: flex;
    justify-content: space-between;
  }

  .name-email,
  .subject-phone{
    display: flex;
    width: 100%;
    gap: 15px;
  }

  .subject-phone{
    margin: 2rem 0;
  }

  #message,
  #subject,
  #name,
  #email-2,
  #phone{
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    padding: 1rem 0;
    font-family: 'Kanit', Arial, Helvetica, sans-serif;
    color: #fff;
  }

  #contactForm{
   width: 100%;
  }

  .right-child{
    width: 100%;
  }

  .contact-parent{
    gap: 80px;
    margin-top: 4rem;
  }

  #consent{
    margin: 1rem 0 2rem 0;
  }

  .innerchild{
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .innerchild h5{
    color: #000;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 24px */
letter-spacing: 0.16px;
  }

  #subscribe{
    margin-top: 3rem;
  }

  /* Mobile Styles */
@media only screen and (max-width: 600px) {
  #hero {
    background-position: center; /* Adjust as needed */
    padding: 2rem;
    height: auto;
  }

  .herocontentParent {
    flex-direction: column-reverse;
  }

  .herocontent {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .herocontent h1,
  .herocontent h2 {
    font-size: 1.5rem;
    width: 100%;
    margin: auto;
  }

  .herocontent p {
    width: 100%;
    margin: 1rem auto 2rem;
  }

  .heroLeft {
    display: none; /* Hide the rotated text on mobile */
  }

  .menu {
    display: none; /* Hide the menu on mobile, use a mobile-friendly menu icon instead */
  }
}

/* Tablet Styles */
@media only screen and (min-width: 601px) and (max-width: 1024px) {

  #hero{
    height: 85vh;
  }
  .herocontent {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items if needed */
    text-align: center; /* Center align text if needed */
    padding: 0;
    margin: 0;
  }

  .herocontent h1,
  .herocontent h2 {
    font-size: 1.8rem;
  }

  .herocontent p{
    width: 70%;
    margin-bottom: 0;
  }

  .heroLeft p {
    display: none;
  }

  .contactbtn{
    margin-bottom: 5rem;
  }
}

@media only screen and (max-width: 600px) {
  #contact {
    padding: 2rem 2rem;
  }

  #contact h1 {
    font-size: 1.6rem;
    margin-top: 2rem;
    text-align: center;
  }

  .contact-parent {
    flex-direction: column;
    gap: 1.5rem;
  }

  .left-child, .right-child {
    width: 100%;
  }

  .left-child{
    display: none;
  }

  .innerchild {
    justify-content: center;
  }

  .innerchild img {
    width: 30px;
  }

  .innerchild h5 {
    font-size: 14px;
  }

  .name-email, .subject-phone {
    flex-direction: column;
  }

  #contactForm {
    width: 100%;
  }

  #message, #subject, #name, #email-2, #phone {
    padding: 0.8rem 0;
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #contact {
    padding: 3rem 2rem;
  }

  #contact h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .contact-parent {
    flex-direction: row;
    gap: 2rem;
  }

  .left-child, .right-child {
    width: 100%;
  }

  .innerchild img {
    width: 35px;
  }

  .innerchild h5 {
    font-size: 16px;
  }

  .name-email, .subject-phone {
    flex-direction: row;
    gap: 1rem;
  }

  #message, #subject, #name, #email-2, #phone {
    padding: 1rem 0;
  }

}
