/* --- MAHTAB VARIABLES --- */
:root {
  --primary-blue: #0b4f8c;
  --fresh-green: #2f7a3e;
  --light-green: #78c257;
  --premium-gold: #c59d32;
  --neutral-white: #ffffff;
  --light-gray: #f5f6f8;
  --text-dark: #333333;
}

/* --- TYPOGRAPHY --- */
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--primary-blue);
}

strong {
  font-weight: 600;
}

/* --- NAVBAR --- */
.navbar {
  transition: all 0.4s ease;
  background: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar.bcolor {
  background: rgba(255, 255, 255, 0.95);
}

.navbar-brand img {
  width: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-link {
  color: var(--neutral-white) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-left: 15px;
  position: relative;
}

.navbar.bcolor .nav-link {
  color: var(--primary-blue) !important;
}

.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--premium-gold);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* --- HERO SECTION --- */
#home {
  background:
    linear-gradient(rgba(11, 79, 140, 0.7), rgba(47, 122, 62, 0.7)),
    url("../images/banner-img.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--neutral-white);
  padding-top: 80px;
}

#home h1 {
  color: var(--neutral-white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#home p,
#about h4 {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  font-weight: 400;
}

.btn-custom {
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-primary-custom {
  background-color: var(--premium-gold);
  color: var(--neutral-white);
  border: 2px solid var(--premium-gold);
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--premium-gold);
  background: white;
}

.btn-outline-custom {
  border: 2px solid var(--neutral-white);
  color: var(--neutral-white);
}

.btn-outline-custom:hover {
  background-color: var(--neutral-white);
  color: var(--primary-blue);
}

/* --- SECTIONS GENERAL --- */
section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--premium-gold);
}

/* --- ABOUT & CARDS --- */
.feature-box {
  background: linear-gradient(135deg, #f5f6f8 0%, #78c257 60%, #2f7a3e 100%);
  padding: 30px 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s;
  text-align: center;
  display: flex;
  align-items: center;
}
.feature-box:hover {
  transform: translateY(-10px);
}
.feature-box i {
  font-size: 2.5rem;
  color: var(--fresh-green);
  margin-bottom: 20px;
  padding-right: 1rem;
}
.feature-box h5 {
  font-weight: 600;
  font-size: 1.1rem;
}
.approach-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  list-style: none;
}
.approach-list li i {
  color: var(--fresh-green);
  margin-right: 10px;
}
/* --- PRODUCTS CAROUSEL --- */
.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin: 10px;
  height: 100%;
}
.product-img-wrapper {
  height: 200px;
  overflow: hidden;
}
.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}
.product-body {
  padding: 20px;
  text-align: center;
}
.product-body h5 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.product-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
  display: block;
  font-style: italic;
}

/* --- QUALITY & LOGISTICS --- */
#logistics .card {
  background: linear-gradient(135deg, #2f7a3e 55%, #78c257 45%);
  color: var(--light-gray);
}
.qa-list li,
.logistics-list li {
  margin-bottom: 12px;
  position: relative;
  list-style: none;
  padding-left: 30px;
}

.qa-list li::before,
.logistics-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--premium-gold);
}

/* --- MARKETS & CERTS --- */
.market-badge {
  background-color: var(--primary-blue);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  margin: 5px;
  display: inline-block;
  font-weight: 500;
}

.cert-box {
  border: 2px solid var(--light-gray);
  padding: 20px 20px 15px;
  text-align: center;
  border-radius: 8px;
  height: 100%;
  background: linear-gradient(135deg, #0b4f8c 0%, #2f7a3e 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.cert-box h6 {
  color: var(--neutral-white);
  font-weight: 600;
}
.cert-box i {
  font-size: 2rem;
  color: var(--premium-gold);
  margin-bottom: 10px;
}

#payment .list-inline-item {
  padding: 1.4rem 2rem;
  background: linear-gradient(135deg, #c59d32 0%, #78c257 70%);
}
/* --- CONTACT & FOOTER --- */
#contact {
  background-color: var(--light-gray);
}

.contact-info-box {
  background: var(--primary-blue);
  color: white;
  padding: 40px;
  border-radius: 10px;
}

.contact-info-box h3 {
  color: var(--premium-gold);
}

.contact-info-item {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
}

.contact-info-item i {
  color: var(--premium-gold);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 5px;
}
.vision {
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/banner-img.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  background-blend-mode: darken;
}
footer {
  background: var(--fresh-green);
  color: rgba(255, 255, 255, 0.8);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}
#certificate a {
  position: relative;
  display: block;
  overflow: hidden;
  max-height: 450px;
  border-radius: 8px;
}
#certificate img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
#certificate a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
}
#certificate a::before {
  content: "Download Certificate";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #000;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
}
#certificate a:hover::after,
#certificate a:hover::before {
  opacity: 1;
}
#certificate a:hover img {
  transform: scale(1.05);
}
/* --- OWL NAV --- */
.owl-theme .owl-nav [class*="owl-"] {
  background: var(--primary-blue) !important;
  color: white !important;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  line-height: 35px;
  padding: 0;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  background: var(--premium-gold) !important;
}
.scroll-to-top {
  position: fixed;
  bottom: 1.4rem;
  right: 1.8rem;
  width: 45px;
  height: 45px;
  background-color: var(--fresh-green);
  color: var(--neutral-white);
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  font-size: 1.2rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 992px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
  }
  .nav-link {
    color: var(--primary-blue) !important;
  }
}
