:root {
  --time: 20s;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f1de;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.footer,
.header {
  animation: fadeIn 2s ease-in-out;
}

.footer-grid > div {
  animation: slideIn 1s ease-in-out;
}

.contact-item,
.footer-links li {
  animation: fadeIn 1.5s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  background: ivory;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header.scrolled {
  background: rgb(3, 66, 3);
  background-color: darkgreen;
}

.header.scrolled .nav-menu a {
  color: white;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2d5a27;
}

.logo i {
  color: lightgreen;
}

.logo img {
  height: 50px;
  width: 50px;
  height: auto;
  transform: scale(2.5);
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.header.scrolled .logo {
  color: white;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #2d5a27;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: lightgreen;
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Full viewport height */
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the video covers the container */
  transform: translate(-50%, -50%);
}

.hero-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  border-radius: 10px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #2d5a27;
  color: white;
}

.btn-primary:hover {
  background: white;
  color: #2d5a27;
  cursor: pointer;
}

.btn-secondary {
  background: white;
  color: #2d5a27;
}

.btn-secondary:hover {
  background: #2d5a27;
  color: white;
  cursor: pointer;
}

.popup-form {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
}

.popup-content {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: scale(0.8);
  animation: popupIn 0.3s ease-in-out forwards;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #e74c3c;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

input,
select {
  display: block;
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: #2d5a27;
}

button[type="submit"] {
  padding: 1rem;
  border: none;
  background-color: #2d5a27;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: white;
  color: #2d5a27;
  border: 2px solid black;
}

@keyframes popupIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 650px) {
  .popup-content {
    width: 90%;
    padding: 1.5rem;
  }

  .close-btn {
    font-size: 1.5rem;
  }

  input,
  select,
  button[type="submit"] {
    font-size: 0.9rem;
  }
}

.stats {
  padding: 4rem 1rem;
}

.stats-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.stat-item {
  flex-grow: 1;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #2d5a27;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.stat-item:hover .stat-number {
  color: #000000;
}

.stat-label {
  color: #ffffff;
  font-weight: 600;
  font-size: medium;
  transition: color 0.3s;
}

.stat-item:hover .stat-label {
  color: #1a5d00;
}

.features {
  padding: 4rem 1rem;
}

.section-title {
  padding-top: 15px;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: white;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  color: #2d5a27;
  margin-bottom: 1rem;
}

.feature-card {
  transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: #000000 100px;
}

.feature-card:hover {
  transform: scale(1.1);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 650px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: ivory;
    position: absolute;
    top: 90px;
    left: -100%;
    width: 100%;
    height: auto;
    justify-content: center;
    z-index: -999;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease forwards;
  }

  .hero {
    height: 100vh;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu-button {
    display: block;
    background-color: #ccc;
    border: none;
    font-size: 12px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .mobile-menu.active {
    background-color: #999;
  }

  .mobile-menu:hover {
    background-color: #999;
  }

  .nav-menu a {
    font-size: 1.5rem;
    color: #000000;
    text-decoration: none;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .social-links {
    display: flex;
    align-content: flex-start;
    margin-top: 1.5rem;
  }

  .social-links li {
    margin-right: 1rem;
  }

  .follow {
    display: flex;
    justify-content: left;
    margin-top: 1.5rem;
  }

  @keyframes slideIn {
    from {
      left: -100%;
      /* Start from the left outside */
    }

    to {
      left: 0;
      /* End at the left edge of the screen */
    }
  }
}

.footer {
  background-color: #2d5a27;
  color: white;
  padding: 1.5rem 1rem;
  margin-bottom: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  font-size: large;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-grid > div {
  flex: 1;
  min-width: 500px;
}

/* @media (min-width: 650px) {
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }*/
@media (max-width: 768px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-grid > div {
    margin-bottom: 1rem;
    min-width: auto;
  }
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.contact-info .icon {
  margin-right: 0.5rem;
}

.footer-grid .social-links-container {
  display: flex;
  justify-content: flex-end;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.social-links li {
  margin-bottom: 0.25rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #34d399;
}

.follow {
  text-align: right;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
  color: black;
  padding-bottom: 0;
  margin-bottom: 0;
}

.faqs {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e4e4e7;
  padding: 1rem 0;
  cursor: pointer;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h3::after {
  content: ">";
  transform: rotate(90deg);
  font-size: 1rem;
  font-weight: lighter;
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  transform: rotate(-90deg);
}

.faq-item p,
.faq-item ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-left: 0;
}

.faq-item.active p,
.faq-item.active ul {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.faq-item ul {
  margin-left: 1.5rem;
}

.about-section {
  padding: 4rem 1rem;
  background-color: ivory;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
}

.main-title {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #2d5a27;
}

.vision-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  animation-name: vision_img_ani;
}

.vision-container1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.vision-content1 {
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.vision-content1:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: rgb(22, 101, 52);
  margin-bottom: 1rem;
}

.vision-content1 p {
  color: rgb(0, 0, 0);
  margin-bottom: 1rem;
}

@media (max-width: 650px) {
  .vision-container1 {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vision-image img {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.vision-image img.animate {
  animation: fadeInUp 1s forwards;
}

.vision-content {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vision-content.animate {
  opacity: 1;
  animation: righttoleft_ani 0.5s forwards;
}

@keyframes righttoleft_ani {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: rgb(22, 101, 52);
  margin-bottom: 1rem;
}

.vision-content p {
  color: rgb(0, 0, 0);
  margin-bottom: 1rem;
}

.vision-image img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@keyframes vision_img_ani {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.partners-section {
  margin-bottom: 2rem;
  padding-bottom: 0;
}

.partners-section .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.partner-card {
  background-color: rgb(249, 250, 251);
  padding: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.partner-logo {
  width: 50px;
  height: auto;
  margin-right: 1rem;
}

.partner-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.partner-card h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card p {
  color: rgb(75, 85, 99);
  margin-top: 1rem;
}

.partner-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.partner-card:hover {
  transform: scale(1.1);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  position: relative;
  overflow: hidden;
  flex: 1 1 250px;
  max-width: 400px;
}

.team-avatar {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 3rem;
  background-color: rgb(229, 231, 235);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, filter 0.3s;
  overflow: hidden;
}

.team-avatar img.team-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.team-card .role {
  color: rgb(22, 101, 52);
  margin-bottom: 0.5rem;
}

.team-card .description {
  color: rgb(75, 85, 99);
  margin-top: 1rem;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.9);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card h4,
.team-card p {
  transition: color 0.3s;
}

.team-card:hover h4,
.team-card:hover p {
  color: #333;
}

@media (min-width: 650px) {
  .vision-container {
    grid-template-columns: 1fr 1fr;
  }
}

.youtubelinks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
}

.youtubelinks iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 650px) {
  .youtubelinks iframe {
    width: 100%;
    height: auto;
  }
}

.team-section {
  padding-bottom: 0;
  margin-bottom: 1rem;
}

.scroll-faq {
  overflow-y: auto;
  scrollbar-width: none;
}

.scroll-faq::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}

.scroll-faq::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-faq::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0);
  border-radius: 20px;
}

.location-highlights {
  padding-top: 0;
  margin-top: 1rem;
}

.highlights-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.highlight-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.highlight-item h3 {
  color: #2d5a27;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.highlight-item p {
  color: #333;
}

@media (max-width: 650px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

.highlight-item img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.previous-projects {
  padding: 4rem;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

.previous-projects .container {
  max-width: 1200px;
  margin: 0 auto;
}

.previous-projects .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2d5a27;
}

.previous-projects .project-description,
.previous-projects .project-list,
.previous-projects .global-reach,
.previous-projects .new-approach {
  margin-bottom: 2rem;
}

.previous-projects h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2d5a27;
}

.previous-projects p,
.previous-projects ul {
  color: #333;
  line-height: 1.6;
}

.previous-projects ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.previous-projects ul li {
  margin-bottom: 0.5rem;
}

@media (max-width: 650px) {
  .previous-projects .container {
    padding: 0 1rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.gallery-section {
  padding-top: 0;
  margin-top: 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #2d5a27;
  margin-bottom: 15px;
}

.section-title p {
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

.gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease;
  height: 400px;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.slide-content h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.nav-btn {
  background: #2d5a27;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: white;
  color: #2d5a27;
}

.nav-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: #2c3e50;
  transform: scale(1.2);
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.thumbnail:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.thumbnail.active {
  opacity: 1;
  box-shadow: 0 0 0 3px #2c3e50;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fullscreen-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  display: block;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.fullscreen-controls {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.fullscreen-controls button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.fullscreen-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes swipeHint {
  0% {
    transform: translateX(0);
    opacity: 0.7;
  }

  50% {
    transform: translateX(20px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 0.7;
  }
}

.swipe-hint {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  animation: swipeHint 2s infinite;
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 650px) {
  .slider-container {
    height: 300px;
  }

  .slide img {
    height: 300px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .thumbnail {
    width: 60px;
    height: 45px;
  }

  .swipe-hint {
    padding: 10px;
  }
}

.social-media-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2d5a27;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-media-button i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-media-button:hover {
  background-color: #3a7432;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.social-media-button:hover i {
  transform: rotate(45deg);
}

.social-media-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-media-button:hover::before {
  opacity: 1;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 90, 39, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(45, 90, 39, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(45, 90, 39, 0);
  }
}

.social-media-button {
  animation: pulse 2s infinite;
}

.social-media-button:hover {
  animation: none;
}

.social-media-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
  width: 200px;
}

.social-media-popup h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #2d5a27;
}

.social-links-popup {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links-popup li {
  margin-bottom: 10px;
}

.social-links-popup a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.social-links-popup a:hover {
  color: #2d5a27;
}

.social-links-popup i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
}

.close-popup:hover {
  color: #2d5a27;
}

.error {
  color: red;
  font-size: 12px;
  display: block;
  margin-top: 5px;
  transition: opacity 0.3s ease-in-out;
}