/* about Section Styles */
.about-section {
  padding: 1rem 1rem;
  background-color: var(--light-gray);
  position: relative;
  height: 600px;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  margin-bottom: 5rem;
}

.about-container {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  gap: 2rem;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-circle img {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  right: 10%;
}

.circle-icon {
  width: 40px;
  height: 40px;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.green-text {
  color: var(--green);
  text-align: left;
}

.about-text {
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
  max-width: 400px;
  text-align: left;
}

.signature-container {
  margin-top: 2rem;
  position: relative;
}
.signature {
  display: none;
}
.mobile-signature,
.zigzag,
.aboutTagline {
  display: block;
  position: fixed;
  z-index: 10;
  pointer-events: none;
}

/* Signature Image */
.mobile-signature {
  max-width: 120px;
  bottom: calc(10% - 20px);
  left: -200px;
}

/* Cursive Tagline */
.aboutTagline {
  max-width: 120px;
  font-family: "Square Peg", cursive;
  font-size: 1.5rem;
  bottom: calc(10% - 50px);
  left: -200px;
}

/* Zigzag Icon */
.zigzag {
  width: 80px;
  bottom: calc(10% - 80px);
  left: -200px;
  transform: translateX(50%);
  rotate: 30deg;
}

/* Image Container with Fixed Dimensions */
.about-image-container {
  position: relative;
  width: 500px; /* Fixed width for large screens */
  height: 375px; /* Fixed height for large screens (4:3 ratio) */
  flex-shrink: 0;
}

.about-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-button:hover {
  background-color: var(--light-gray);
  transition: all 0.3s ease-in-out;
}

.signature-container {
  position: absolute;
  bottom: -20px;
  right: -20px;
  display: flex;
  align-items: center;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image-container {
    width: 400px; /* Slightly smaller fixed width for tablets */
    height: 300px; /* Maintained 4:3 aspect ratio */
    margin: 0 auto;
  }
}

@media screen and (max-width: 576px) {
  .about-image-container {
    width: 300px; /* Fixed width for mobile */
    height: 225px; /* Maintained 4:3 aspect ratio */
  }
}

.play-button i {
  color: var(--green);
  font-size: 1.2rem;
  margin-left: 3px;
}

@media (min-width: 768px) {
  .about-section {
    padding: 3rem 5rem;
    height: auto;
  }

  .about-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-content {
    flex: 1;
    padding-right: 2rem;
  }

  .about-image-container {
    flex: 1;
    position: relative; /* Important to anchor absolute children */
  }

  .signature-container {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    transform: translate(20%, 20%); /* Pull outside the container slightly */
    pointer-events: none;
  }

  .signature,
  .zigzag {
    width: 80px;
  }
  .mobile-signature {
    top: 0px;
  }

  .aboutTagline {
    font-family: "Square Peg", cursive;
    font-size: 1.5rem;
    transform: rotate(0deg);
    color: var(--text);
    top: 30px;
  }
  .zigzag {
    left: -240px;
    top: 15px;
  }
}

@media (min-width: 992px) {
  .about-section {
    padding: 4rem 5rem;
  }

  .about-title {
    font-size: 3rem;
  }

  .about-text {
    font-size: 1.2rem;
  }
  .about-circle img {
    position: absolute;
    width: 30px;
    height: 30px;
    top: -30px;
    left: -20px;
  }
}

/* Add media query for larger screens */
@media (min-width: 1200px) {
  .about-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .about-image-container {
    max-width: 600px;
    padding-bottom: 35%;
  }

  .about-content {
    max-width: 50%;
  }

  .about-text {
    max-width: 500px;
  }
}

/* History Section Styles */
.history-section {
  padding: 4rem 1rem 4rem 1rem;
  margin-top: 0rem;
  background-color: var(--white);
}

.history-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.history-image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0rem 0;
}

.road-image {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.history-content {
  padding: 0 0rem;
  position: relative;
}

.history-title {
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.history-text {
  color: var(--text);
  line-height: 1.6;
}

.history-text p {
  margin-bottom: 1rem;
}

.history-text p:last-child {
  margin-bottom: 0;
}
.goun {
  position: absolute;
  bottom: -3rem;
  right: 10%;
}
/* Media Queries */
@media (min-width: 768px) {
  .history-section {
    padding: 5rem 2rem;
    margin-top: 5rem;
  }

  .history-container {
    flex-direction: row;
    align-items: center;
  }

  .history-image {
    flex: 1;
    padding: 0;
    padding: 1rem 0;
  }
  .goun {
    position: absolute;
    bottom: -4rem;
    right: 10%;
  }

  .history-content {
    flex: 1;
    padding: 0 0 0 3rem;
  }
}

@media (min-width: 992px) {
  .history-section {
    padding: 6rem 5rem;
  }

  .history-title {
    font-size: 3rem;
  }
  .history-text {
    font-size: 1.2rem;
  }
}

/* Vision & Mission Section Styles */
.vision-mission-section {
  padding: 6rem 1rem 10rem 1rem;
  background-color: var(--white);
}

.vision-mission-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
  height: 600px;
  max-width: 1440px;
  margin: 0 auto;
}

.info-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card:hover {
  scale: 1.01;
  transition: all 0.3s ease-in-out;
}

.card-icon-container {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  position: absolute;
  top: -50px;
  right: 60px;
}

.card-icon {
  background-color: var(--light-gray);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-image {
  width: 40px;
  height: 40px;
}

.card-title {
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.quote-mark img {
  padding-bottom: 1rem;
}

.card-text {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* Media Queries */
@media (min-width: 768px) {
  .vision-mission-section {
    /* padding: 4rem 2rem; */
    padding: 6rem 1rem;
  }

  .vision-mission-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    height: 500px;
  }
  .info-card {
    height: 500px;
  }
}

@media (min-width: 992px) {
  .vision-mission-section {
    padding: 5rem;
  }

  .card-title {
    font-size: 3rem;
  }
  .card-text {
    font-size: 1.2rem;
  }
  .card-icon {
    background-color: var(--light-gray);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .icon-image {
    width: 50px;
    height: 50px;
  }
}

.best-ride-section {
  background-color: var(--light-gray);
  padding: 4rem 1rem 8rem 1rem;
  position: relative;
}

.ride-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.ride-image img {
  width: 600px;
  max-width: 100%;
  height: auto;
}

.ride-content {
  text-align: left;
  max-width: 600px;
}

.ride-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

.ride-description {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 3rem;
  line-height: 1.4;
}

.ride-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.benefit {
  font-size: 1rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.4;
}

.benefit-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.benefit-desc {
  font-size: 0.85rem;
  color: var(--text);
}

.benefit span > i {
  color: var(--green);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.4;
}
.crown {
  position: absolute;
  bottom: -10%;
  right: 0%;
}

/* Responsive */
@media (min-width: 768px) {
  .crown {
    position: absolute;
    bottom: -10%;
    right: 0%;
  }
  .ride-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .ride-heading {
    font-size: 3rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 1rem;
  }
  .ride-description {
    font-size: 1.2rem;
    width: 600px;
    max-width: 100%;
    margin-bottom: 3rem;
  }
  .ride-content {
    text-align: left;
  }

  .ride-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .benefit {
    gap: 2rem;
    font-size: 1.2rem;
  }
  .best-ride-section {
    padding: 4rem 2rem 4rem 2rem;
  }
}

.team-section {
  padding: 4rem 1rem 4rem 1rem;
  background-color: var(--white);
}

.container {
  position: relative;
}
.decor-1,
.decor-3,
.decor-2 {
  width: 30px;
  position: absolute;
}
.decor-2 {
  width: 20px;
}
.decor-1 {
  top: 0;
  left: 12%;
}
.decor-2 {
  top: 12%;
  left: 30%;
}
.decor-3 {
  right: 10%;
  top: 20%;
}
.team-heading {
  position: relative;
}
.arrow4 {
  position: absolute;
  top: 25%;
  right: 20%;
}
.teamTagline {
  position: absolute;
  top: 25%;
  right: 5%;
  font-family: "Square Peg", cursive;
  rotate: -30deg;
  font-size: 2rem;
}

.team-heading h2 {
  color: var(--green);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.team-heading p {
  color: var(--text);
  max-width: 600px;
  margin: auto;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.team-member-imageCont:hover .team-member-image {
  transform: scale(1.05);
}

.team-member h4 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bolder;
  color: var(--green);
}

.team-member p {
  font-size: 1.4rem;
  font-family: "Square Peg", cursive;
  color: var(--green);
  font-style: italic;
}

/* Responsive tweaks (optional) */
@media (max-width: 576px) {
  .decor-1 {
    top: -5%;
    left: 12%;
  }
  .decor-2 {
    top: 2%;
    left: 12%;
  }
  .decor-3 {
    right: 0%;
    top: 10%;
  }
  .team-heading h2 {
    font-size: 1.5rem;
  }

  .team-heading p {
    font-size: 0.9rem;
  }

  .team-member h4 {
    font-size: 2rem;
  }

  .team-member p {
    font-size: 1.5rem;
  }
  .team-member img {
    width: 80%;
  }
  .team-section {
    padding: 10rem 1rem 4rem 1rem;
  }
  .arrow4 {
    position: absolute;
    top: -3rem;
    right: 20%;
    rotate: -160deg;
    width: 50px;
  }
  .teamTagline {
    position: absolute;
    top: -5rem;
    right: 20%;
    font-family: "Square Peg", cursive;
    rotate: -20deg;
    font-size: 1.5rem;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

@media (max-width: 991px) {
  /* Medium devices (tablets, small laptops) */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  /* Small devices (phones) */
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Adjust team member image container and image */
.team-member-imageCont {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 8px;
  justify-content: center;
}

.team-member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

@media (min-width: 576px) and (max-width: 1100px) {
  .arrow4 {
    top: -2rem;
    right: 10%;
    rotate: -150deg;
    width: 60px;
  }

  .teamTagline {
    top: -4rem;
    right: 12%;
    rotate: -15deg;
    font-size: 1.8rem;
  }
  .decor-1 {
    top: -1%;
  }
  .decor-2 {
    top: 5%;
    left: 10%;
  }
  .decor-3 {
    top: 15%;
  }
}

.history-content,
.history-image,
.info-card,
.ride-description,
.ride-heading,
.ride-image,
.team-heading,
.decor-1,
.decor-2,
.decor-3 {
  opacity: 0;
  transform: translateY(200px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.ride-benefits,
.crown {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.teamTagline,
.arrow4 {
  opacity: 0;
  transform: translateY(100px) translateX(100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.mission-card {
  opacity: 0;
  transform: translateY(250px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-grid {
  opacity: 0;
  transform: translateX(-200px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
  opacity: 1;
  transform: translateY(0);
}

.about-text,
.about-title {
  opacity: 0;
  animation: aboutText 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.about-image-container,
.signature-container {
  opacity: 0;
  animation: aboutImage 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* .zigzag,
.aboutTagline {
  opacity: 0;
  animation: aboutIcons 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
.signature {
  opacity: 0;
  animation: aboutText 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
} */

@keyframes aboutIcons {
  from {
    opacity: 0.5;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutText {
  from {
    opacity: 0.5;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes aboutImage {
  from {
    opacity: 0.5;
    transform: translateX(400px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}

@media (max-width: 767px) {
  .history-content,
  .history-image,
  .info-card,
  .ride-description,
  .ride-heading,
  .ride-image,
  .team-heading,
  .ride-benefits {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .teamTagline,
  .arrow4 {
    opacity: 0;
    transform: translateY(50px) translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .mission-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .decor-1,
  .decor-2,
  .decor-3 {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .team-grid {
    opacity: 0;
    transform: translateX(-200px);
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .animate {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .about-image-container,
  .signature-container {
    opacity: 0;
    animation: aboutImage 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  }

  .zigzag,
  .aboutTagline {
    opacity: 0;
    animation: aboutIcons 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  }
  .signature {
    opacity: 0;
    animation: aboutText 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  }

  @keyframes aboutIcons {
    from {
      opacity: 0.5;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes aboutImage {
    from {
      opacity: 0.5;
      transform: translateY(-200px);
    }
    to {
      opacity: 1;
      transform: translate(0);
    }
  }
}
