*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
  --primary-color: #F5F783; /* Brown color for rice theme */
  --secondary-color: #FAF7F0; /* Beige background */
  --accent-color: #83AE21; /* Dark olive green */
  --text-dark: #333333;
  --text-light: #777777;
  --white: #ffffff;
  --dark-green : #193317;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
}
p{
    margin-bottom: 0;
}

.main-btn{
    background-color: var(--dark-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;

    cursor: pointer !important;
}
.main-btn span{
    font-size: 18px;
    font-weight: 900;
    transition: 0.3s ease;
}
.main-btn:hover {
    background-color: var(--accent-color);
}
.main-btn:hover span {
    padding-left: 10px;
}

.center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bordered-img{
  position: relative;
  &:before{
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50%;
    height: 50%;
    background-color: var(--secondary-color);
    border-top: 10px solid var(--dark-green);
    border-left: 10px solid var(--dark-green);
    z-index: 1;
    transition: .3s linear;
  }
  &:after{
    content: "";
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 50%;
    height: 50%;
    background-color: var(--secondary-color);
    border-bottom: 10px solid var(--dark-green);
    border-right: 10px solid var(--dark-green);
    z-index: 1;
    transition: .3s linear;
  }
  img{
    z-index: 2;
    position: relative;
  }
  &:hover{
    &::before, &::after{
      width: calc(100% + 20px);
      height: calc(100% + 20px);
    }
  }
}
.navbar {
  padding: 5px 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar-brand{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  max-width: 75%;
}
.navbar-brand img {
  height: 90px;
  position: relative;
}
.navbar-brand span {
  color: var(--dark-green);
  font-size: 14px;
  text-wrap: auto;
  text-align: center;
}
.navbar .buttons{
  @media(max-width: 991px) {
    padding: 15px 0;
  }
  a{
    background-color: var(--dark-green);
    padding: 10px 20px;
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
  }
  a:hover {
    background-color: var(--accent-color);
  }
}
.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--dark-green);
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-color);
}

.main-title{
    color: var(--dark-green);
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 5%;
    border-bottom: 2px solid var(--dark-green);
    padding-bottom: 10px;
    display: inline-block;
    &.border-white{
        border-color: var(--white);
    }
    &.no-bordered{
      border: none;
    }
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.hero-section {
  color: var(--white);
  text-align: center;
}

.hero-section .carousel-inner .carousel-item img{
    width: 100%;
    height: 695px;
    object-fit: cover;
}
.hero-section .carousel-inner .carousel-item .carousel-caption2{
    position: absolute;
    color: #fff;
    text-align: center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    padding: 20px;
}
.hero-section .carousel-inner .carousel-item .carousel-caption2::before{
    content: "";
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
}

.hero-title {
  font-size: clamp(32px, 4vw, 70px);
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  color: var(--dark-green);
}
.about-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.about-content {
  padding: 20px 0;

}
.about-content .labels .single{
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;

}
.about-content .labels .single .tag{

    padding: 10px;
    background-color: var(--dark-green);
    color: var(--white);
    height: 55px;
    width: 65px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-content .labels .single .tag img{
    filter: brightness(0) invert(1);
    width: 100%;
    
}
.about-content p{
    color: #19331780;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 5%;
}
.about-content .labels .single h4{
    font-size: 20px;
    color: var(--dark-green);
    font-weight: 500;
    letter-spacing: 5%;

}

.about-image {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}

.about-image:hover img {
  transform: scale(1.05);
}

.mission-section{
  padding: 80px 0;
  background-color: var(--secondary-color);
  .box{
    background-color: #ECF3DD;
    min-height: 350px;
    padding: 40px;
    padding-top: 60px;
  }
}

.stats-section {
  padding: 60px 0;
  background: url('./assets/images/stats_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  position: relative;
  z-index: 1;
  &:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: -1;
  }
}

.stat-item {
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}
.stat-item .icon i{
  font-size: 40px;
  margin-bottom: 10px; 

}
.stat-label {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.products-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  display: none !important;
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-body {
  padding: 30px;
  background-color: var(--white);
}

.product-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-green);
  text-align: center;
}

.product-text {
    color: #00000080;
    font-weight: 400;
    font-size: 16px;

}


.process-section {
  padding: 80px 0;
  background-color: var(--dark-green);
  color: var(--primary-color) !important;

}
.process-section .cards{
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding-top: 30px;
}
.process-item {
  padding: 30px 20px;
  position: relative;
  background: var(--accent-color);
  width: calc(50% - 25px);
  border-radius: 5px;
  transition: background, transform .3s ease;
  &:hover{
    background-color: var(--text-light);
    color: var(--white) !important;
    transform: scale(1.02);
    img{
      transition: transform 0.5s ease;
      transform: rotate(360deg);
    }
  }
}

.process-item .content{
    display: flex;
    gap: 10px;
}
.process-item .content img{
    width: 100px;
    object-fit: contain;
}
.process-number {
  width: 60px;
  height: 60px;
  background-color: var(--dark-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
  position: absolute;
  top: 0px;
  left: -30px;
}

.process-item:nth-child(even) .process-number{
  left: auto;
  right: -30px;
  top: 10px;
}

.process-text {
    font-size: 16px;
}

.forms{
  .container{
    display: flex;
    align-items: center;
    gap: 20px;
    .left, .right{
      width: calc(50% - 10px);
    }
    .left{
      padding: 50px 0;
      h4{
        font-weight: 700;
        font-size: 36px;
        color: var(--dark-green);
      }
      p{
        font-weight: 300;
        font-size: 18px;
        color: #00000080;
      }
      form{
        .inputs{
          display: flex;
          gap: 20px;
          padding: 10px 0;
          input, textarea{
            width: 100%;
            padding: 15px;
            border: none;
            appearance: none;
            border-radius: 5px;
            font-size: 16px;
            color: var(--dark-green);
            background-color: #D9D9D9;
            transition: border-color 0.3s ease;

            &:focus {
              border-color: var(--primary-color);
              outline: none;
            }
          }
        }
      }
    }
    .right{
      padding: 50px 0;
      .iframe{
        height: 500px;
        width: 100%;
        iframe{
          width: 100%;
          height: 100%;
          border: none;
          border-radius: 5px;
          filter: grayscale(100%) invert(92%) contrast(83%);
        }
      }
    }
    
  }
}

.footer {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-logo {
  height: 100px;
  margin-bottom: 20px;
}

.footer-about {
  margin-bottom: 20px;
  p{
    font-size: 14px;
  }
}

.footer .logos{
  .single{
    display: flex;
    gap: 20px;
    &:nth-child(2){
      margin-top: 20px;
    }
    img{
      width: 25%;
      border-radius: 5px;
    }
  }
}
footer h5 {
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 18px;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer li {
  margin-bottom: 10px;
}

footer a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--white);
}

.contact-info {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
}



.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 14px;
  text-align: center;
}

@media(max-width:991px) {
  .process-section{
    .cards{
      .process-item{
        width: 100% !important;
        .content{
          flex-direction: column;
          align-items: center;
        }
      }
    }
    .process-item .process-number{
      top: -30px;
      transform: translate(-50%);
      margin: 0;
      left: 50%;
    }
  }
  .forms{
    .container{
      flex-direction: column;
      .left, .right{
        width: 100%;
        padding: 20px 10px; 
      }
      form{
        .inputs{
          flex-direction: column;
        }
      }
    }
  }
}

.our-machinery{
  .boxes{
    padding-top: 50px;
    .single{
      display: flex;
      gap: 20px;
      align-items: center;
      .left, .right{
        width: 50%;
        img{
          width: 100%;
          height: auto;
          border-radius: 5px;
          max-width: 500px;
        }
        h3{
          color: var(--dark-green);
          font-weight: 600;
          font-size: 24px;
          margin-bottom: 10px;

        }
        
      }
      &:nth-child(even){
        flex-direction: row-reverse;
      }
    }
    @media(max-width: 991px) {
      .single{
        flex-direction: column !important;
        align-items: center;
        .left, .right{
          width: 100%;
          text-align: center;
        }
      }
    }
  }
}



.custom_img{
  height:300px;
  width: 100%;
  object-fit: fill;
  @media(max-width: 991px) {
    height: 200px;
  }
}