: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_services-hero.png);
}

.heroLeft{
  flex: 1;
  position: relative;
  padding: 0;
}

.heroLeft p{
  transform: rotate(-90deg);
  position: absolute;
  right: -60px;
  bottom: -130px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--raffaut-yellow);
}

.herocontent{
  width: 60%;
}

#about{
  padding: 7rem 0;
}

.about-content{
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  gap: 100px;
}

.abt-images{
  min-width: 50%;
}

.abt-images img{
  width: 100%;
}

.abt-text{
  font-size: 16px;
}

.abt-text p{
  text-align: justify;
}

#expertise{
  position: relative;
}

.exp-title{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 3rem;
}

.exp-title h1{
  font-weight: 400;
  font-size: 2rem;
}

#expertise h4{
  color: #FFB238;
  font-family: Kanit;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 69.87px; /* 349.349% */
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2rem;
}

.exp-parent{
  max-width: 1100px;
  margin: auto;
  padding: 6rem 0;
}

.exp-left{
  width: 70%;
}

.exp-left h3{
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 1rem;
}

.exp-right{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 30%;
  z-index: 10000;
}

.exp-right h5{
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 23px; /* 164.286% */
  letter-spacing: 3.4px;
  text-transform: uppercase;
}

.exp{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#servicesLine{
  margin: 2rem 0;
  height: 1px;
  background-color: var(--raffaut-yellow);
}

#exp-overlay{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  opacity: 0.3;
}

#banner{
  background-color: #212828;
}

.banner-content{
  display: flex;
  max-width: 1100px;
  margin: auto;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}

.banneritem{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  flex: 1;
}

.banneritem h3{
  color: var(--raffaut-yellow);
  font-weight: 400;
  font-size: 2rem;
  font-family: 'Marcellus', 'Kanit', Arial, Helvetica, sans-serif;
}

.banneritem h4{
  color: var(--ffffff, #FFF);
  font-family: Kanit;
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.banneritem img{
  margin: 0 1rem;
}

#promise{
  max-width: 1100px;
  margin: auto;
  padding: 10rem 0;
}

#promise h1{
  color: #FFF;
  font-family: Kanit;
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

#promise p{
  font-size: 18px;
  margin: 1.5rem 0;
}

#promise h5{
  font-size: 18px;
  color: #FFB238;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 1.5rem;
}

.teams-content{
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.team-details{
  display: flex;
  gap: 30px;
}

.team-member{
  flex: 1;
}

.team-member img{
  width: 650px;
  height: 600px;
  object-fit: cover;
  margin-bottom: 1rem;
  object-position: top;
}

.teams-content h4{
  color: #FFB238;
  text-align: center;
  font-family: Kanit;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 6.88px;
  text-transform: uppercase;
}

.teams-content h1{
  color: #FFF;
  text-align: center;
  font-family: Kanit;
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  margin: 1rem 0 3rem 0;
}

.team-member{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.team-member h2{
  color: #FFF;
  text-align: center;
  font-family: Kanit;
  font-size: 30px;
  font-style: normal;
  font-weight: 300;
  line-height: 114.6%; /* 34.38px */
}

.team-member p{
  color: var(--raffaut-yellow);
  text-align: center;
  font-family: Kanit;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 28px */
}

#teamsbtn{
  margin: 3rem 0;
}

#reviews{
  background-color: var(--darker-gray);
  padding-bottom: 5rem;
}

.reviews-content{
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reviews-left{
  background-color: var(--primary-gray);
  border-bottom-right-radius: 50px;
  padding: 4rem;
}

.reviews-right{
  text-align: center;
  padding: 0 8rem;
}

.reviews-right img{
  margin: 3rem 0 1rem 0;
}

.reviews-left h4{
  color: #FFB238;
font-family: Kanit;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 6.88px;
text-transform: uppercase;
}

.reviews-left h1{
  color: #FFF;
font-family: Kanit;
font-size: 2rem;
font-style: normal;
font-weight: 400;
line-height: 40px; /* 100% */
margin: 2rem 0;
}

.reviews-left p{
  margin-bottom: 2rem;
}

#recentworks{
  max-width: 1100px;
  margin: auto;
  display: flex;
  padding: 6rem 0;
}


.rec-left h4{
  color: #FFB238;
font-family: Kanit;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: 6.88px;
text-transform: uppercase;
}

.rec-left h1{
  color: #FFF;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: 'liga' off;
  font-family: Kanit;
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: 48px; /* 75% */
  margin: 2rem 0 3rem 0;
}

.leftBox h2{
  margin: 1rem 0;
}

.rec-right h2{
  margin: 1rem 0;
}

.rightBox2{
  margin-top: 3rem;
}

#footer{
  background-color: var(--primary-gray);
}

#subscribe{
  margin-top: 6rem;
}

.exp-right a{
  display: flex;
  text-decoration: none;
  cursor: pointer;
}

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

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

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

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

  .herocontent p {
    width: 90%;
    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) {
  #about {
    padding: 4rem 3rem;
    text-align: center;
  }

  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .abt-images img {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .abt-text p {
    margin-bottom: 2rem;
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #about {
    padding: 6rem 3rem;
    text-align: center;
  }

  .about-content {
    flex-direction: column;
    gap: 3rem;
  }

  .abt-images img {
    width: 100%;
  }

  .abt-text p {
    margin-bottom: 2rem;
  }
}
@media only screen and (max-width: 600px) {
  #expertise {
    padding: 4rem 2rem;
  }

  .exp-title, .exp-parent {
    flex-direction: row;
    align-items: center;
  }

  .exp-title h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  #expertise h4{
    text-align: center;
    margin-bottom: -5rem;
  }

  .exp {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 3rem auto;
  }

  .exp-left {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .exp-left h3 {
    font-size: 1.5rem;
  }

  .exp-left p {
    font-size: 1rem;
  }

  .exp-right {
    width: 100%;
  }

  .exp-right h5 {
    font-size: 1rem;
  }

  .hLine{
    display: block;
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #expertise {
    padding: 4rem 2rem;
  }

  .exp-title, .exp-parent {
    flex-direction: row;
    align-items: center;
  }

  .exp-title h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  #expertise h4{
    text-align: center;
    margin-bottom: -5rem;
  }

  .exp {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 3rem auto;
  }

  .exp-left {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .exp-left h3 {
    font-size: 1.5rem;
    width: 80%;
    margin: 2rem auto;
  }

  .exp-left p {
    font-size: 1rem;
    width: 90%;
    margin: auto;
  }

  .exp-right {
    width: 100%;
  }

  .exp-right h5 {
    font-size: 1rem;
  }

  .hLine{
    display: block;
  }
}
@media only screen and (max-width: 600px) {
  #promise {
    padding: 4rem 3rem;
    text-align: center;
  }

  #promise h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    width: 90%;
    margin: auto;
  }

  #promise p {
    font-size: 1rem;
    width: 85%;
    margin: 2rem auto;
  }

  #promise h5 {
    font-size: 1rem;
    margin-bottom: 2rem;
    width: 90%;
    margin: auto;
    margin-bottom: 2rem;
  }

  .contactbtn {
    width: 250px; /* Adjust button width */
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #promise {
    padding: 6rem 3rem;
    text-align: center;
  }

  #promise h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  #promise p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  #promise h5 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .contactbtn {
    width: 80%; /* Adjust button width */
  }
}
