: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_resources-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: 60%;
}

.toggle-container {
  max-width: 600px;
  margin: 50px auto;
}

.toggle-tab {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  cursor: pointer;
}

.toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: transparent;
  color: #fff;
}

.toggle-icon {
  transition: transform 0.3s ease-in-out;
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  padding: 10px;
  background-color: transparent;
}

.toggle-content p{
  margin-top: 10px;
}

#buyingguides{
  max-width: 1100px;
  margin: auto;
}

.sec-parent{
  display: flex;
  align-items: center;
  gap: 40px;
}

.toggle-header h3{
  font-weight: 400;
}

.toggle-tab.active .toggle-header h3 {
  color: #FFB238;
  font-weight: 400;
}

.toggle-content p{
  padding-bottom: 10px;
}

#buyingguides h1{
  color: #FFF;
text-align: center;
font-family: Kanit;
font-size: 2rem;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 75px */
margin-bottom: 5rem;
margin-top: 4rem;
}

#buyingguides{
  padding: 4rem 0;
}

.sec-left img{
  width: 555px;
height: 678px;
flex-shrink: 0;
object-fit: cover;
border-top-left-radius: 50px;
}

#subscribe{
  margin-top: 4rem;
  margin-bottom: 3rem;
}

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

.sec-right{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sec-right h2{
  font-size: 2rem;
  font-weight: 400;
}

#pereybere{
  width: 15rem;
}

#pic2{
  display: none;
}

/* 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: 80%;
    margin: auto;
  }

  .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) {
  #buyingguides {
    padding: 2rem 1rem; /* Adjust padding for mobile layout */
  }

  .sec-parent {
    flex-direction: column; /* Stack content vertically */
  }

  .sec-left img,
  .sec-right {
    width: 100%; /* Full width for content */
    margin-bottom: 1.5rem; /* Spacing below each content block */
  }

  .sec-left img {
    display: none;
  }

  .sec-right h2 {
    font-size: 1.8rem; /* Adjust heading size for readability */
  }

  .sec-right p {
    font-size: 15px; /* Adjust paragraph font size */
  }

  #pereybere {
    width: 100%; /* Full width for buttons */
    padding: 10px 0; /* Adjust padding for buttons */
  }

  #othsep{
    background-color: var(--raffaut-yellow);
    display: block;
    margin: 3rem 0;
  }

  #pic2{
    display: block;
    border-top-left-radius: 25px;
    max-width: 100%;
  }
  
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
  #buyingguides {
    padding: 3rem 2rem; /* Adjust padding for tablet layout */
  }

  .sec-parent {
    flex-direction: column; /* Keep side-by-side layout on tablet */
    align-items: center; /* Center-align vertically */
  }

  .sec-left,
  .sec-right {
    width: 90%; /* Half-width for each side */
  }

  .sec-left img {
    width: 100%; /* Full width for images */
    height: auto; /* Auto-adjust height for images */
    border-top-left-radius: 30px; /* Adjust border radius for images */
  }

  .sec-right h2 {
    font-size: 2rem; /* Adjust heading size for tablets */
  }

  .sec-right p {
    font-size: 16px; /* Adjust paragraph font size for tablets */
  }

  #pereybere {
    width: auto; /* Auto width for buttons */
    padding: 10px 20px; /* Adjust padding for buttons */
  }
}
