/*-------------------------------------------Section One------------------------------------------------*/

.section-first {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: black;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.section-first img {
  max-width: 100%;
}

.section-first .caption {
  position: absolute;
  top: 30%;
  width: 100%;
  text-align: center;
  z-index: 11;
  padding: 1rem;
  transform: translateY(-50%);
  opacity: 0;
  transition: 500ms ease opacity, 500ms ease transform;
  transform: translateY(60px);
}

.section-first .caption.current-caption {
  transition-delay: 1000ms;
  opacity: 1;
  transform: translateY(0);
}

.section-first .caption.previous-caption {
  transform: translateY(-60px);
}

.section-first .caption .caption-heading {
  transition: 500ms ease-in all;

}

.section-first .caption .caption-heading h1,
.section-first .caption .caption-heading h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  animation: fadeDown 1.5s ease;

}

.section-first .caption .caption-subhead {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #ffffff;
  animation: fadeUp 1.5s ease;
}



.section-first .caption a.btn {
  color: #333;
  font-size: 0.8rem;
  text-decoration: none;
  background-color: white;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  position: relative;
  z-index: 9;
  transition: 250ms ease-in background-color, 500ms ease-in color;
}

.section-first .caption a.btn:hover {
  background-color: black;
  color: white;
}

.section-first .container {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  background-color: #333;
}

.section-first .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.267);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /*backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);*/
  z-index: 10;
  ;

}

.section-first .left-col,
.section-first .right-col {
  width: 100%;
  box-sizing: border-box;

  overflow: hidden;
}

.section-first .left-col {
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  position: relative;
}

.section-first .left-col .slide {
  filter: grayscale(50%);
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat;
  opacity: 0;
  transition: 1000ms cubic-bezier(1, 0.04, 0.355, 1) transform, 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55) clip-path;
  transform: translateY(-100%);
  scale: 1;
  z-index: -1;

}

.section-first .left-col .slide.previous {
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
  animation-delay: 1s;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: 3s ease transform;
  will-change: transform;
}

.section-first .left-col .slide.previous.change {
  transform: translateY(50%);
}

.section-first .left-col .slide.next {
  transform: translateY(-100%);
  z-index: 3;
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.section-first .left-col .slide.current {
  opacity: 1;
  transform: translateY(0) scale(1.25);
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.section-first .right-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-first .right-col .preview {
  max-width: 400px;
}

.section-first .nav {
  display: flex;
  justify-content: center;
  padding: 0;
  align-items: end;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  overflow: hidden;
  margin: 0;
  text-align: center;
}

.section-first .nav a {
  color: #fafafa;
  font-size: 5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}



.section-first .nav .slide-up,
.section-first .nav .slide-down {
  display: block;
  position: absolute;
  padding: 2rem;
  bottom: 6rem;
  opacity: 0;
  transition: 0.25s ease opacity, 0.25s ease transform;
  z-index: 12;
}


.section-first .nav .slide-up a,
.section-first .nav .slide-down a {
  text-decoration: none;
  font-weight: 300 !important;
}

.section-first .nav .slide-up {
  opacity: 1;
  margin-right: 3rem;
}

.section-first .nav .slide-down {
  opacity: 1;
  margin-left: 3rem;
}

.section-first .nav .slide-up:hover,
.section-first .nav .slide-down:hover {
  animation: none;
  opacity: 1;
}

@keyframes PulseNavItems {
  0% {
    transform: scale(1);
    opacity: 0;

  }

  50% {
    transform: scale(1.2);
    opacity: 1;

  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/*----------------------------------------------Section-two---------------------------------------------------*/

.section-second {
  position: relative;
  overflow: hidden;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0;
  margin-bottom: 50dvh;
  padding: 0;
}

.section-second .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  top: 0;
  width: 100%;
}

.section-second .content ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
  height: 10vh;

}

.partners {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 80%;
  list-style: none;
  margin: 0;
  padding: 0;
  height: auto;
}

.partner-card {
  flex: 1;
  background: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  overflow: hidden;
}

.partner-card.active {
  background-color: #444;
}

.partner-card:hover {
  flex: 2;
  background: #444;
}

.partner-card img {
  max-width: 80px;
  transition: transform 0.4s ease;
}

.partner-card:hover img {
  transform: scale(1.1);
}

/* Info panel below */
.partner-info-panel {
  background-color: #444;
  color: #fff;
  padding: 1.5rem 4rem 3rem 4rem;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;

}

.partner-info-panel h2 {
  letter-spacing: 1px;
  font-size: 1.5rem;
  text-align: center;

}

.partner-info-panel hr {
  height: 2px;
  border: none;
  background-color: #ce4a0d;
  width: 100%;
  margin: 1rem auto;
}


.partner-info-panel p {
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-justify: distribute;
  text-align: center;
}

.partner-info-panel .btn {
  display: inline-block;
  background-color: #ce4a0d;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 16px;
  border: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 1rem;
}

.partner-info-panel .btn a {
  text-decoration: none;
  color: #fff;
}

.partner-info-panel .btn:hover {
  background-color: #ff6c1d;
  transform: scale(1.1);

}

.partner-info-panel.active {
  opacity: 1;
  transform: translateY(0);
}

/*-----------------------------------------------------Section Three------------------------------------*/

.section-third {
  min-height: 100vh;
  background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
  margin: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.section-third .animated-hr {
  margin-bottom: 2rem;
}

.section-third .popular-products {
  width: 100%;
  text-align: center;
  position: relative;
}

.section-third .section-title {
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 0;
  color: #ce4a0d;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

/* Grid of products */
.featured-products {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
  padding-bottom: 5rem;

}

/* --- Left Navigation --- */
.brand-nav {
  display: flex;
  border-radius: 10px;

}

.brand-nav ul {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-direction: row;
  list-style: none;
  gap: 20px;
  padding: 0;

}

.brand-nav li {
  padding: 1rem;
  background: #333;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
  width: 100%;
  max-width: 80%;
  color: #ce4a0d;
}

.brand-nav li img {
  width: 100px;
}

.brand-nav li:hover {
  background-color: #444;
  color: white;
}

.brand-nav li.active {
  background-color: #ffffff;
  color: white;
}

.products-grid {
  padding: 0 !important;
  justify-content: center !important;
}

@keyframes fertilizerLine {
  0% {
    width: 0;
  }

  100% {
    width: 80%;
  }
}



/*-----------------------------------------------------Section Four------------------------------------*/

.section-fourth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  color: #fff;
  width: 100%;
  background-color: #333;
  margin: 0 auto;
}

.section-fourth .news-container {
  width: 100%;
  text-align: center;
}

.animated-hr {
  max-width: 90%;
}

.section-fourth .news-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}

.section-fourth .news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

/* News card */
.section-fourth .news-card {
  flex: 1 1 300px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.section-fourth .news-card:hover {
  flex: 1 1 500px;
  background-color: #444;
  transform: translateY(-5px);
}

.section-fourth .news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.section-fourth .news-card:hover img {
  transform: scale(1.05);
}

.section-fourth .news-card:hover h3,
.section-fourth .news-card:hover p,
.section-fourth .news-card:hover .btn {
  color: #fff;


}


.section-fourth .news-content {
  padding: 1.5rem;
  text-align: left;
}

.section-fourth .news-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #ce4a0d;
}

.section-fourth .news-content p {
  font-size: 0.95rem;
  color: #ddd;
  margin-bottom: 3rem;
}

.section-fourth .news-content .btn {
  display: inline-block;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background-color: #ce4a0d;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.section-fourth .news-content .btn:hover {
  background-color: #e6601a;
}


/*------------------------------------------------------Section-Fifth--------------------------------------*/

.section-fifth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: 4rem 1rem;
}

.section-fifth .contact-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1100px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* FORM SIDE */
.section-fifth .contact-form {
  flex: 1 1 300px;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

iframe {
  height: 700px !important;
  overflow: scroll;
}

.section-fifth .contact-form h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #ce4a0d;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  animation: Pulse 2s infinite;
}

@keyframes Pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);


    color: #fff;
  }

  100% {
    transform: scale(1);
  }
}


.section-fifth .contact-form hr {
  height: 2px;
  border: none;
  background-color: #ce4a0d;
  margin: 1rem auto;
  width: 70%;
}

.section-fifth .contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.section-fifth .contact-form label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.section-fifth .contact-form input,
.section-fifth .contact-form textarea {
  border: none;
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}


.section-fifth .contact-form input:focus,
.section-fifth .contact-form textarea:focus {
  box-shadow: 0 0 0 2px #ce4a0d;
}

.section-fifth .contact-form .btn {
  background: #ce4a0d;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.section-fifth .contact-form .btn:hover {
  background: #e6601a;
}

/* MAP SIDE */
.section-fifth .contact-map {
  flex: 1 1 400px;
  min-height: 400px;
}

.section-fifth .contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ----------- Medium Mobile (480px–768px) ----------- */
@media (min-width: 480px) {

  .section-first .caption .caption-heading h1,
  .section-first .caption .caption-heading h2 {
    font-size: 3rem;
  }

  .section-first .caption .caption-subhead {
    font-size: 1rem;
  }
}


/* ----------- Tablets (768px–1200px) ----------- */
@media (min-width: 768px) {

  .section-first .caption .caption-heading h1,
  .section-first .caption .caption-heading h2 {
    font-size: 3rem;
  }

  .section-first .caption .caption-subhead {
    font-size: 1rem;
  }



  .section-second .content ul {
    height: 15vh;
  }

  .partner-card img {
    max-width: 150px;

  }

  .partner-info-panel {
    align-items: start;
    padding: 1.5rem 4rem 5rem 4rem;

  }

  .partner-info-panel .btn {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
  }

  .partner-info-panel p {
    font-size: 1rem;
    text-align: start;

  }

  .section-third .section-title {
    font-size: 2.4rem;

  }

  .brand-nav li img {
    width: 150px;
  }
}


/* ----------- Desktop (1200px–1600px) ----------- */
@media (min-width: 1200px) {

  .section-first .caption .caption-heading h1,
  .section-first .caption .caption-heading h2 {
    font-size: 4.2rem;
  }

  .section-first .caption .caption-subhead {
    font-size: 1.4rem;
  }

  .section-first .nav {
    justify-content: end;
  }

  .section-first .nav .slide-up,
  .section-first .nav .slide-down {
    bottom: 0;
    right: 3rem;
  }

  .section-second .content ul {
    height: 20vh;
    margin-bottom: 0;
  }

  .partner-card img {
    width: 200px;
  }

  .partners {
    height: 120px;
  }

  .partner-info-panel p {
    font-size: 1.2rem;

  }

  .section-third .section-title {
    font-size: 2.7rem;

  }

  .section-third {
    padding: 4rem;
  }

  .section-fourth {

    padding: 3rem 4rem;

  }

  .section-fourth .news-card {
    pointer-events: all;
    height: 420px;
  }

  .section-fourth .news-card {
    flex: 1 1 300px;

  }

  .section-fourth .news-card:hover {
    flex: 1 1 480px;

  }

  .section-fourth .news-container {
    max-width: 1200px;
  }

  .section-fourth .news-title {
    font-size: 2.5rem;

  }

  .section-fifth {
    min-height: 100vh;
    padding: 4rem 4rem;
  }

  .section-fifth .contact-container {
    max-width: 1200px;
    height: 700px;

  }

  .section-fifth .contact-form h2 {
    font-size: 2rem;

  }

  .section-fifth .contact-form label {
    font-size: 1rem;
  }

  .section-fifth .contact-form input,
  .section-fifth .contact-form textarea {

    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
}

/* ----------- Large Desktop (1600px+) ----------- */
@media (min-width: 1600px) {

  .section-first .caption .caption-heading h1,
  .section-first .caption .caption-heading h2 {
    font-size: 5.2rem;
  }

  .section-first .caption .caption-subhead {
    font-size: 1.8rem;
  }

  .section-fourth .news-container {
    max-width: 1800px;
  }

  .section-fourth .news-title {
    font-size: 3rem;

  }

  .section-fifth .contact-container {
    max-width: 1900px;
    height: 700px;

  }

  .section-third .section-title {
    font-size: 3rem;

  }


}