:root {
  --primary-color: #5A7D3B;
  --secondary-color: #8DA57D;
  --accent-color: #CBA052;

  --background-light-color: #FAF8F2;
  --background-dark-color: #2C2B27;

  --text-light-color: #2E2D29;
  --text-dark-color: #F5F4EF;

  --subtext-light-color: #5C5B57;
  --subtext-dark-color: #D1D0CA;

  --button-light-background-color: #E6DFC9;
  --button-dark-background-color: #445D38;

  --border-light-color: #DAD5C2;
  --border-dark-color: #4A493F;

  --highlight-light-background-color: #F0EAD1;
  --highlight-dark-background-color: #3D4B34;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
   background-color: var(--background-dark-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* Hovered thumb */
  /* border-radius: 10px; */
  /* border: 2px solid var(--background-light-color); Optional border */
 
}
::-webkit-scrollbar-thumb:hover {
 background-color: var(--accent-color); /* Thumb color */
  transition:0.3s !important;
}
body{
  overflow-x: hidden;
}
* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  font-weight: 300;
  color: var(--subtext-light-color);
  transition: all 0.3s ease-in-out;
  border-color: var(--accent-color) !important;
}
.section-3{
  position: relative;
  background: url('https://cdn.britannica.com/83/9583-050-35980EA2/Rice-oryza-sativa.jpg');
  background-position: center;
  width: 100%;
  background-attachment: fixed;
  background-size: cover;
  z-index: 1;
}
.section-3::before{
  content: "";
  position: absolute;
  inset: 0;
    width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
h1, h2, h3, h4, h5, h6,i {
  font-family: 'Merriweather', serif;
  color: var(--primary-color);
  font-weight: lighter;
}
.btn{
  border: none;
}
section .btn{
  background-color: var(--accent-color);
  color: var(--highlight-light-background-color);
}
section .btn:hover{
background-color: none !important;
  color: var(--background-dark-color);
}
.section-1{
  background-color: transparent !important;
  background-image: url('https://images.pexels.com/photos/440731/pexels-photo-440731.jpeg') !important;
  /* object-fit: contain; */
  background-size: cover;
  width: 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}
.section-1::before{
    content: "";
  position: absolute;
  inset: 0;
    width: 100%;
  background-color: rgba(0, 0, 0, 0.13);
  z-index: 1;
}
/* CSS */
#hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.header-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black backdrop */
  z-index: 1;
}

.video-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white !;
  padding: 1rem;
}

.video-text h2 {
  font-size: 2rem;
  color: var(--border-light-color);
}

@media (min-width: 768px) {
  .video-text h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .video-text h2 {
    font-size: 4rem;
  }
}


section {
  min-height: 80vh;
  background-color: var(--highlight-light-background-color) !important;
  padding:20px 0;
}
.section-2Img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 5px inset; 
}
.section-3 {
  background-color: transparent !important;
}

.section-3 h3,
.section-3 h6,
.section-3 p,
.emblem-text {
  color: var(--highlight-light-background-color);
}

.emblem-wrapper {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.emblem-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.emblem-wrapper:hover {
  transform: scale(1.05);
}

.emblem-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

/* .section-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
} */


#footer {
  background-color: #22221e; /* Dark background */
}
footer h6,footer i,footer h5,strong{
  color: var(--accent-color);
}

#footer a:hover {
  color: var(--accent-color) !important;
  text-decoration: underline;
}

@media (max-width: 768px) {
  #footer .text-center {
    text-align: center !important;
  }
}

.about-us-section .row h3{
  border-bottom: 2px solid;
}
.about-grid > div:nth-child(2) {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.section-3 i{
  color: var(--border-light-color);
}

/* Others */
.product-range {
  background-color: var(--background-light-color);
  padding: 2rem 0;
}

.card-wrapper {
  height: 100%;
}

.product-card {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light-color);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.product-card img {
  max-height: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
  width: 100%;
}

.text-heading {
  font-size: 1.1rem;
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.5rem;
}

.text-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  min-height: 80px;
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discover-link {
  margin-top: auto;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--btn-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.discover-link:hover {
  color: var(--btn-hover);
  border-bottom: 1px solid var(--btn-hover);
}

/* Hide last 7 items initially */
#product-wrapper > div:nth-last-child(-n+7) {
  display: none;
}

/* Responsive card layout via Bootstrap */
#product-wrapper > div {
  flex: 0 0 auto;
}


@media (max-width: 991.98px) {
  .about-grid > div:nth-child(2) {
    border-left: none !important;
    border-right: none !important;
  }
}