: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_about-hero.jpg);
}

.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: 50%;
}

#about{
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  gap: 150px;
  padding: 6rem 0;
}

#about img{
  border-top-right-radius: 52px;
}

.aboutLeft 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;
}

.aboutLeft h1{
  color: #FFF;
font-family: Kanit;
font-size: 2rem;
font-style: normal;
font-weight: 400;
line-height: 40px;
margin: 1.5rem 0;
}

.aboutLeft p{
  margin-bottom: 2rem;
}

.aboutRight img{
  max-width: 587px;
  max-height: 760.505px;
  flex-shrink: 0;
}

#services{
  background-color: var(--darker-gray);
  padding: 6rem 0;
}

.services-content {
  max-width: 1100px;
  margin: auto;
}

.sv-top{
  display: flex;
  justify-content: center;
  align-items: center;
}

.sv-bottom{
  display: flex;
  margin-top: -7px;
  justify-content: center;
  align-items: center;
}

.sv-text{
  flex: 1;
}

.sv-img{
  flex: 1;
}

.sv-img img{
  width: 550px;
}

.sv-text h1{
  color: #FFF;
  font-family: Kanit;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 45px;
  margin-bottom: 1.5rem;
}

.sv-text p{
  width: 80%;
}

.sv-img2{
  margin-right: 4rem;
}

.sv-img1 img{
  border-top-right-radius: 50px;
  height: 600px;
  object-fit: cover;
}

.sv-img2 img{
  border-bottom-left-radius: 50px;
  height: 600px;
  object-fit: cover;
}

#vision{
  max-width: 1100px;
  margin: auto;
  padding: 6rem 0;
  position: relative;
}

.vision-text h1{
  font-weight: 400;
  font-size: 2rem;
}

.vision-text p{
  max-width: 50%;
  margin-top: 1.5rem;
}

.vision-text1 {
  position: absolute;
  width: 1100px;
  top: 130px;
}

.vision-text2{
  position: absolute;
  left: 600px;
  bottom: 60px;
  width: 450px;
}

.vision-text2 p{
  max-width: 100%;
}

#hireus{
  background-color: var(--darker-gray);
  padding: 4rem 0;
}

.hire-cta{
  background-color: var(--primary-gray);
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 3rem;
  border-radius: 50px;
  border-bottom-right-radius: 0;
}

.hire-cta h3{
  font-size: 30px;
  font-weight: 400;
  width: 72%;
  margin-bottom: 1.5rem;
}

#subscribe{
  padding-top: 6rem;
}

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

/* 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 {
    flex-direction: column;
    padding: 4rem 3rem;
    gap: 2rem;
  }

  .aboutLeft, .aboutRight {
    width: 100%;
    text-align: center;
  }

  .aboutRight img {
    width: 100%;
    max-height: auto;
    border-top-right-radius: 52px;
  }

  #about p{
    width: 85%;
    margin: auto;
  }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #about {
    flex-direction: column;
    padding: 6rem 4rem;
    gap: 4rem;
  }

  .aboutLeft, .aboutRight {
    width: 100%;
    text-align: center;
  }

  .aboutRight img {
    width: 100%;
    max-height: auto;
  }
}

@media only screen and (max-width: 600px) {
  #services {
    padding: 4rem 3rem;
  }

  .services-content {
    flex-direction: column;
  }

  .sv-top, .sv-bottom {
    flex-direction: column;
    align-items: center;
  }

  .sv-text, .sv-img {
    width: 100%;
    margin-bottom: 2rem;
    margin: auto;
  }

  .sv-img img {
    width: 100%;
    height: auto;
    margin-top: 2rem;
  }

  .sv-text h1 {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .sv-text p {
    font-size: 1rem;
    width: 100%;
    margin-bottom: 2rem;
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #services {
    padding: 6rem 4rem;
  }

  .services-content {
    flex-direction: column;
  }

  .sv-top, .sv-bottom {
    flex-direction: column;
    align-items: center;
  }

  .sv-text, .sv-img {
    width: 100%;
    margin-bottom: 3rem;
  }

  .sv-img img {
    width: 90%;
    height: auto;
    border-radius: 10px; /* Optional for styling */
  }

  .sv-text h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .sv-text p {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 600px) {
  #vision {
    padding: 4rem 2rem;
    text-align: center;
  }

  .vision-text {
    width: 100%;
    margin: 3rem 0;
  }

  .vision-text h1 {
    width: 85%;
    margin: auto;
    text-align: center;
    margin-bottom: 2rem;
  }

  .vision-text p {
    font-size: 1rem;
    margin: auto;
    min-width: 85%;
  }

  .vision-text2 p{
    width: 85%;
  }

  #vision img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
  }

  .vision-text1, .vision-text2 {
    position: static; /* Remove absolute positioning */
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #vision {
    padding: 4rem 2rem;
    text-align: center;
  }

  .vision-text {
    width: 100%;
    margin: 3rem 0;
  }

  .vision-text h1 {
    width: 85%;
    margin: auto;
    text-align: center;
    margin-bottom: 2rem;
  }

  .vision-text p {
    font-size: 1rem;
    margin: auto;
    min-width: 85%;
  }

  .vision-text2 p{
    width: 85%;
  }

  #vision img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
  }

  .vision-text1, .vision-text2 {
    position: static; /* Remove absolute positioning */
  }
}
