* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #98623c;
  --secondary-color: #c19a6b;
  --back-color: rgb(255, 255, 255);
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--back-color);
  overflow-x: hidden;
}

.header {
  position: sticky;
  top: 0;
  background: #fbeeee;
  z-index: 999;
}

img {
  border-radius: 10px;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 0.7em 1em;
  align-items: center;
}

header .logo {
  width: 50px;
}

nav {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  right: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.812);
  gap: 45px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.active {
  opacity: 1;
  pointer-events: all;
}

nav img {
  width: 90px;
}

nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.burger {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
  z-index: 999;
  cursor: pointer;
}

.line1,
.line2,
.line3 {
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  transition: 0.3s;
  border-radius: 1em;
}

.rotate .line1 {
  transform: translateY(7px) rotate(135deg);
  width: 30px;
}

.rotate .line2 {
  transform: translateX(30px);
  opacity: 0;
}

.rotate .line3 {
  transform: translateY(-7px) rotate(-135deg);
  width: 30px;
}

.hero {
  /* height: 70vh; */
  background-color: #ffffff;
}

.hero-img {
  width: 100%;
  padding: 10px 10px 10px 0.625rem;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px 10px 10px;
  margin-top: 20px;
}

.hero-img img {
  width: 100%;
}

.text-header {
  text-align: center;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-header h1 {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: capitalize;
}

.text-header p {
  font-size: 1rem;
  font-weight: 400;
}

.text-header h1 span {
  color: #98623c;
}

.btn {
  background-color: #98623c;
  color: white;
  padding: 10px 60px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.about-h1 h1 {
  font-size: 23px;
  text-align: center;
  text-transform: capitalize;
}
.about-text {
  /* background-color: #98623c92; */
  padding: 10px 10px 10px 10px;
}

.second {
  background-color: #98623c92;
}

.c3 {
  padding-top: 20px;
}
.d p {
  padding: 10px;
}

.content {
  color: black;
  font-size: 16px;
  line-height: 1.6;
  padding: 15px;
}

/* Hide extra text by default */
.hidden {
  display: none;
}

/* Show more/less button style */
.toggle-btn {
  color: #98623c;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 10px;
  display: inline-block;
  margin-left: 1.25rem;
}

.about-h1 p {
  font-size: 16px;
  color: white;
  /* width: 400px; */
  text-align: center;
}

.underline{
  text-decoration: none;
}

.about-h1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

hr {
  margin: 0 0 1em;
}

.mission {
  padding: 0.5em;
  margin: 1em 0;
  height: 3em;
  overflow: hidden;
  transition: 0.2s;
  border-bottom: 1px solid #98623c;
}

.mission i {
  transition: 0.3s;
}

.mission h3 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7em;
  cursor: pointer;
  white-space: nowrap;
}

.reverse {
  height: unset;
}

.times {
  transform: rotate(45deg);
}
.our-vision {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission p {
  font-size: 16px;
}

.four {
  background-color: #f3f3f3;
  padding: 10px 10px 10px 10px;
}

.testimoty {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns children to start */
  gap: 20px;
  flex-direction: row;
  padding: 20px;
  width: 100%; /* Make sure it takes full width */
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth; /* Smooth scrolling */
}

.testimo-cards {
  background-color: white;
  width: 250px; /* Take full width of the screen */
  max-width: 400px;
  margin: 10px auto; /* Center card and add small space around */
  padding: 20px; /* Add inner space inside the card */
  box-sizing: border-box; /* Ensure padding doesn't affect width */
  border-radius: 8px;
  text-align: center;
  gap: 10px; /* Optional: Rounded corners */
  flex: 0 0 auto;
  box-sizing: border-box;
}

.stars i {
  color: rgb(133, 133, 25);
}

.testimo-cards h2 {
  text-transform: capitalize;
  /* font-family: Poppins; */
  font-size: 1em;
}

.testimo-cards h2 {
  font-size: 1rem;
}

.c5 h1 {
  text-align: center;
  /* margin-left: 50px; */
  text-transform: capitalize;
  padding-top: 30px;
}

.c5 span {
  color: #98623c;
}

footer {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88)),
    url("../images/marketing-ideas-share-research-planning-concept.jpg");
  background-size: cover;
  background-position: right;
  color: white;
}

.last-page {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1em;
}

.last-page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4em 2rem 3rem;
  text-align: center;
}

.last-page h2,
h1 {
  text-align: center;
  text-transform: capitalize;
}

.contact-us h1 {
  font-weight: 400;
  margin: 1rem;
  font-size: 1.5rem;
}

.contact-us a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-weight: 200;
  justify-content: center;
}

.contact-us a i {
  background: white;
  color: black;
  padding: 0.6rem;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: 0.3s;
}

.contact-us a:hover i {
  background: var(--primary-color);
  color: white;
}

.span {
  color: #98623c;
}

.img-just {
  /* border-radius: 34%; */
  width: 100%;
  place-items: center;

  padding: 40px;
}

.logo img {
  width: 80px;
  margin: 0.7rem;
}

.logo h2 {
  font-weight: 300;
}

.quick-links h1 {
  font-weight: 400;
  margin: 0.8rem;
  font-size: 1.5rem;
}

.links ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.links ul li a {
  text-decoration: none;
  color: rgb(165, 165, 165);
  font-weight: 200;
}

.socials h1 {
  font-weight: 400;
  margin: 0.8rem;
  font-size: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  text-decoration: none;
}

.social-icons a i {
  font-size: 1.5rem;
  padding: 0.7rem;
  background: rgb(27, 27, 27);
  border-radius: 50%;
  cursor: pointer;
}

.last-page p {
  font-size: 0.8rem;
  font-weight: 200;
  text-align: center;
}

.btn-div2 {
  display: none;
}

.about-img,
.vision-img {
  display: none;
}

.d h3 {
  font-size: 12px;
  text-align: center;
  color: black;
  margin-top: -30px;
}

.d h1 {
  font-size: 23px;
  padding: 20px;
}


.about-us {
  display: flex;
  flex-direction: column; /* Stack items on small screens */
  align-items: center;
  text-align: center;
  background-color: #f5e3da; /* Soft pastel shade */
  padding: 20px;
  border-radius: 12px;
}

.about-content {
  max-width: 90%;
  padding: 10px;
}

.about-content h2 {
  font-size: 1.4rem;
  color: #5a4036;
  margin-bottom: 8px;
}

.about-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3d2c29;
}

.about-image {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {
  
  about-us {
    flex-direction: row; /* Side-by-side layout */
    text-align: left;
    justify-content: center;
    padding: 50px;
}

.about-content {
    flex: 1;
    max-width: 450px;
}

.about-content h2 {
    font-size: 1.8rem;
}

.about-content p {
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    margin-top: 0;
}

.about-image img {
    max-width: 90%;
    border-radius: 12px;
}
  
  
  header {
    padding: 0.7em 1.5em;
  }

  header nav {
    position: unset;
    z-index: 999;
    background: none;
    width: unset;
    height: unset;
    opacity: 1;
    pointer-events: all;
  }

  header nav img {
    display: none;
  }

  header nav ul {
    flex-direction: row;
    gap: 4em;
  }

  header nav ul li a {
    color: black;
    font-weight: 300;
    font-size: 1rem;
    position: relative;
    /* font-weight: 500; */
  }

  header nav ul li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    bottom: -20%;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.3s ease;
  }

  header nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: right;
  }

  header .burger {
    display: none;
  }


}

@media screen and (min-width: 800px) {
  
  footer .last-page-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    padding: 4em 1em;
  }

  .contact-us h1 {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .socials h1 {
    font-size: 1.5rem;
  }

  .quick-links h1 {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1024px) {
 
/* Desktop Screens (min-width: 1024px) */
@media (min-width: 1024px) {

  .about-us {
      flex-direction: row; /* Side-by-side layout */
      padding: 80px;
      align-items: center;
  }

  .about-content {
      max-width: 500px;
      padding-right: 40px; /* Add spacing between text and image */
  }

  .about-content h2 {
      font-size: 2rem;
  }

  .about-content p {
      font-size: 1.2rem;
  }

  .about-image img {
      max-width: 90%;
      border-radius: 15px;
  }
}

 
 
  header,
  .container {
    max-width: 1100px;
    margin: 0 auto;
  }

  header {
    padding: 0.9em 2em;
  }

  header nav ul {
    gap: 6em;
  }

  .hero {
    height: 70vh;
  }
  .hero-section {
    flex-direction: row;
    margin-top: 90px;
  }

  .btn-div {
    display: none;
  }

  .text-header {
    text-align: left;
    max-width: none;
    width: 90%;
    gap: 20px;
  }

  .hero-img {
    padding: 0;
    width: 100%;
  }

  .text-header h1 {
    font-size: 35px;
  }

  .btn-div2,
  .about-img {
    display: block;
  }

  .btn {
    padding: 15px 20px;
  }

  .about-img {
    width: 100%;
  }

  .about-img img {
    width: 100%;
  }

  .about-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60vh;
    /*  */
    padding: 0;
    gap: 20px;
  }

  .about-h1 p {
    text-align: left;
    width: 100%;
    font-family: sans-serif;
    font-size: 1.0625rem;
  }

  .second {
    background-color: #98623c92;
  }

  .about-h1 {
    width: 70%;
  }

  .vision-img {
    width: 100%;
  }

  .vision-img img {
    width: 90%;
  }

  .vision-img {
    display: block;
  }

  .c4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
  }

  .testimo-cards {
    width: 300px;
    gap: 5px;
  }
  .testimo-cards h2 {
    font-size: 1.2rem;
  }

  .testimo-cards h2 {
    font-size: 1.1rem;
  }

  .text-just {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .d h3 {
    margin-top: 0px;
    font-size: 1rem;
  }

  .d p {
    padding: 0.625rem;
  }

  .d h1 {
    font-size: 1.8rem;
  }

  .img-just{
    width: 470px;
  }

  
}
