html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  max-width: auto;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #25d06a;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

header {
  background: #333;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

main {
  width: auto;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

section {
  padding: 2em;
  scroll-margin-top: 200px;
}

button {
  background: green;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 54px;
  cursor: pointer;
}

button:hover {
  background: limegreen;
}

footer {
  text-align: center;
  color: #000;
  margin: 3rem 0 1rem 0;
  background-color: #14e669;
  margin: 0;
}

#privacy-link {
  display: block;
  margin-bottom: 20px;
}

.footer-line {
  width: 100%;
  height: 2px;
  background-color: #000; /* adjust color */
  margin: 40px 0; /* spacing */
}

/* Contact Form */
.footer-contact {
  background: #ffffff;
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.footer-contact-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 0.9;
  min-width: 280px;
  padding: 1.5rem;
  background: #f7f7f7;
  border-radius: 10px;
}

.contact-info h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333333;
}

.contact-info p {
  margin: 0.8rem 0;
  color: #555555;
  line-height: 1.5;
}

.contact-info a {
  color: #4caf50;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form-container {
  flex: 1.3;
  min-width: 320px;
}

.contact-form-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: #444444;
  font-size: 1rem;
}

input,
select,
textarea {
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.95rem;
  background: #ffffff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.agreement-box {
  background: #f7f7f7;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #555555;
  font-size: 0.9rem;
}

.checkbox-group {
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.privacy-text {
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.privacy-text a {
  color: #4caf50;
  text-decoration: none;
}

.privacy-text a:hover {
  text-decoration: underline;
}

.submit-btn {
  align-self: flex-start;
  padding: 0.9rem 2rem;
  background: #4caf50;
  color: #ffffff;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #45a049;
}

@media (max-width: 800px) {
  .footer-contact-wrapper {
    flex-direction: column;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .submit-btn {
    width: 100%;
    text-align: center;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a8e48;
  padding: 0 2rem; /* Remove vertical padding for tighter fit */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  min-height: 200px; /* Increase this to fit a bigger logo */
  max-width: 100vw; /* Ensure it doesn't exceed viewport width */
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e293b;
}

.logo img {
  height: 170px;
  vertical-align: middle;
}

.logo a:focus,
.logo a:active {
  outline: none;
  box-shadow: none;
}

/* Also ensure no border is added to the image inside the link */
.logo a img {
  border: none;
}

#logo-words {
  height: 110px;
  vertical-align: middle;
  margin-left: 10px;
  margin-top: 50px;
}

#brands-img {
  height: 500px;
  width: 900px;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #0078d7;
}

.animated-icon2 span:nth-child(1) {
  top: 0px;
}

.animated-icon2 span:nth-child(2),
.animated-icon2 span:nth-child(3) {
  top: 10px;
}

.animated-icon2 span:nth-child(4) {
  top: 20px;
}

.animated-icon2.open span:nth-child(1) {
  top: 11px;
  width: 0%;
  left: 50%;
}

.animated-icon2.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.animated-icon2.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.animated-icon2.open span:nth-child(4) {
  top: 11px;
  width: 0%;
  left: 50%;
}

/* Hamburger always visible, nav always hidden unless open */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; /* Increased width for visibility */
  height: 40px; /* Increased height for visibility */
  background: none;
  border: none;
  cursor: pointer;
  gap: 8px; /* More space between bars */
  margin-left: 0;
  margin-right: 4rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 5px; /* Thicker bars */
  width: 28px; /* Fixed width for bars */
  background: #fff; /* White bars for contrast on green */
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
.hamburger.open span:nth-child(1),
.hamburger.open span:nth-child(3) {
  background: #204c00; /* Green color for the X */
}

#nav-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 1000;
}
#nav-menu.nav-open {
  display: flex;
}
#nav-menu a {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

/* === Carousel Container === */
.carousel-container {
  position: relative;
  width: 90%;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* === Carousel Track === */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* === Slides === */
.carousel-slide {
  flex: 0 0 33.333%; /* 3 slides per view */
  position: relative;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
}

.carousel-slide img {
  width: 400px;
  height: 500px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

/* Overlay text */
.carousel-slide .overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

/* === Buttons === */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* === Indicators (optional, if you add them later) === */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  gap: 0.5rem;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
}

.carousel-indicators button.active {
  background: #037f25;
}

/* === Modals === */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  padding: 1.5rem;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content h3 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-top: 0.5rem;
  line-height: 1.5;
}

.modal-content img.modal-img {
  width: 600px;
  height: 600px;
  border-radius: 8px;
  margin: 0 auto;
}

/* Close button */
.modal .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  background: none;
  color: #333;
}

/* === Animation === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive tweaks === */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%; /* 2 slides per view */
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%; /* 1 slide per view */
  }
}

/* ALL MOBLIE CHANGES */

/* Changes for smaller screens for carousel */
@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 33.3333%; /* 33% width for larger screens */
  }
}

/* Styles specifically for screens up to a certain width (e.g., mobile devices) */
@media screen and (max-width: 1024px) {
  /* Styles to apply when the screen width is 1024px or less */

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 200px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 140px;
  }

  #logo-words {
    display: inline-block;
    height: 90px;
  }

  .hamburger {
    margin-right: 0;
  }
}

@media screen and (max-width: 800px) {
  /* Styles to apply when the screen width is 800px or less */

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 200px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 140px;
  }

  #logo-words {
    display: inline-block;
    height: 90px;
  }

  .hamburger {
    margin-right: 0;
  }

  #brands-img {
    height: 500px;
    width: 700px;
  }
}

@media screen and (max-width: 768px) {
  /* Styles to apply when the screen width is 768px or less */

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 200px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 140px;
  }

  #logo-words {
    display: inline-block;
    height: 90px;
  }

  .hamburger {
    margin-right: 0;
  }
}

@media screen and (max-width: 700px) {
  /* Styles to apply when the screen width is 700px or less */

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 200px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 110px;
  }

  #logo-words {
    display: inline-block;
    height: 70px;
  }
}

/* Styles specifically for screens up to a certain width (e.g., mobile devices) */
@media screen and (max-width: 640px) {
  /* Styles to apply when the screen width is 640px or less */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 120px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 100px;
  }

  #logo-words {
    display: inline-block;
    height: 70px;
    margin-bottom: 20px;
  }

  #brands-img {
    height: 500px;
    width: 550px;
  }

  .modal-content {
    width: 500px;
    height: 600px;
  }

  .modal-content img.modal-img {
    width: 400px;
    height: 500px;
  }
}

/* Styles specifically for screens up to a certain width (e.g., mobile devices) */
@media screen and (max-width: 600px) {
  /* Styles to apply when the screen width is 600px or less */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 150px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 100px;
  }

  #logo-words {
    display: inline-block;
    height: 60px;
    margin-bottom: 20px;
  }
}

/* Styles specifically for screens up to a certain width (e.g., mobile devices) */
@media screen and (max-width: 500px) {
  /* Styles to apply when the screen width is 500px or less */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 120px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 90px;
  }

  #logo-words {
    display: inline-block;
    height: 40px;
    margin-bottom: 20px;
  }

  #brands-img {
    height: 400px;
    width: 400px;
  }

  .modal-content {
    width: 400px;
    height: 600px;
  }

  .modal-content img.modal-img {
    width: 300px;
    height: 500px;
  }
}

/* Styles specifically for screens up to a certain width (e.g., mobile devices) */
@media screen and (max-width: 450px) {
  /* Styles to apply when the screen width is 450px or less */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 100px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 60px;
  }

  #logo-words {
    display: inline-block;
    height: 40px;
    margin-bottom: 20px;
  }

  #contact-content {
    color: #19da66;
  }

  #contact p {
    color: black;
  }

  #contact h1 {
    color: black;
  }

  #brands-img {
    height: 400px;
    width: 400px;
  }

  .modal-content {
    width: 340px;
    height: 600px;
  }

  .modal-content img.modal-img {
    width: 290px;
    height: 500px;
  }
}

@media screen and (max-width: 425px) {
  /* Styles to apply when the screen width is 425px or less */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a8e48;
    padding: 0 2rem; /* Remove vertical padding for tighter fit */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    min-height: 100px; /* Increase this to fit a bigger logo */
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
    width: auto;
    position: sticky;
  }

  #logo-img {
    display: inline-block;
    height: 55px;
  }

  #logo-words {
    display: inline-block;
    height: 30px;
    margin-bottom: 20px;
  }

  #contact-content {
    color: #19da66;
  }

  #brands-img {
    height: 350px;
    width: 350px;
  }

  .modal-content {
    width: 330px;
    height: 600px;
  }

  .modal-content img.modal-img {
    width: 290px;
    height: 500px;
  }
}
