/* ROLLING TEXT */
.rolling-text {
    white-space: nowrap;
    overflow: hidden;
    background: #0b4f29;
    color: white;
}

.rolling-text span {
    display: inline-block;
    padding-left: 100%;
    animation: roll 15s linear infinite;
}

@keyframes roll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.carusol-texts {
    color: #1a6d25;
}

/* Feature Box Hover */
.feature-box {
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.feature-box:hover,
.feature-box:active {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: #f4fff7;
}

/* Manufacturing Cards Hover */
.manufacture-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.manufacture-card:hover,
.manufacture-card:active {
    transform: translateY(-6px);
    border: 2px solid #0b4f29;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    background: #f4fff7;
}

.section-title {
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
    color: #0b4f29;
}

.highlight-box {
    background: #e9f5ec;
    border-left: 5px solid #0b4f29;
    padding: 18px;
    border-radius: 6px;
}

.icon-circle {
    height: 60px;
    width: 60px;
    background: #0b4f29;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    margin-bottom: 12px;
}

.manufacture-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.manufacture-card:hover,
.manufacture-card:active {
    /* active = mobile tap */
    transform: translateY(-6px);
    border: 2px solid #0b4f29;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    background: #f4fff7;
}

.feature-box {
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.feature-box:hover,
.feature-box:active {
    /* active = for mobile click */
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: #f4fff7;
}

.icon-circle {
    height: 70px;
    width: 70px;
    background: #0b4f29;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin: 0 auto 12px auto;
    /* ensures perfect centering */
    transition: all 0.3s ease;
}

.feature-box:hover .icon-circle,
.feature-box:active .icon-circle {
    transform: scale(1.15);
    background: #0d6e3b;
    /* slightly brighter green on hover */
    box-shadow: 0 0 10px rgba(11, 79, 41, 0.4);
}

/* Footer */
.footer-main {
    background: #0b4f29;
    color: #ffffff;
    padding: 70px 0;
}

.footer-main a {
    color: #d4f5df;
    text-decoration: none;
    font-size: 16px;
}

.footer-main a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background: #06401d;
    color: #ffffff;
    font-size: 15px;
    padding: 18px 0;
}

.form-error {
    color: #dc3545;
    /* Bootstrap danger red */
    font-size: 0.875rem;
    margin-top: 4px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-msg {
    min-width: 260px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 3s forwards;
}

.toast-success {
    background: #198754;
}

/* Bootstrap success */
.toast-warning {
    background: #ffc107;
    /* Bootstrap warning yellow */
    color: #212529;
    /* Dark text for readability */
}

.toast-error {
    background: #dc3545;
}

/* Bootstrap danger */
.toast-info {
    background: #0d6efd;
}

/* Bootstrap primary */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* body {
    background-color: rgb(235, 234, 234);
} */

/* #contact-form {
    background-color: rgb(235, 234, 234);
    display: flex;
    padding: 76px 0;
}
.form-container {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
} */

#contact-form {
    margin-top: clamp(32px, 8vh, 96px);
    background-color: rgb(235, 234, 234);
    /* height: 100vh; */
    display: flex;
    justify-content: center;   /* horizontal center */
    padding: 76px 14px;        /* mobile-safe padding */
}

.form-container {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 650px;          /* keeps form readable */
}

.form-container input,
.form-container textarea {
    border: 1px solid #ccc;     /* force visible border */
    border-radius: 6px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
}
.form-container input:focus,
.form-container textarea:focus {
    outline: none;
    border-color: #0b4f29;
    box-shadow: 0 0 0 2px rgba(11, 79, 41, 0.15);
}
/* .manufacture-card {
  min-height: 110px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.manufacture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
} */

.manufacture-card {
  min-height: 80px;              /* was too large */
  padding: 0.75rem 0.5rem;       /* compact padding */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 0.9rem;             /* slightly smaller text */
  font-weight: 500;
  line-height: 1.2;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.manufacture-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}


/* Mobile fine-tuning */
/* @media (max-width: 576px) {
  .manufacture-card {
    min-height: 90px;
    font-size: 0.95rem;
  }
} */

@media (max-width: 576px) {
  .manufacture-card {
    min-height: 70px;     /* compact */
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;  /* cleaner on small screens */
    line-height: 1.2;
  }
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle img {
  height: 32px;
  width: auto;
}
@media (max-width: 576px) {
  .logo-circle {
    width: 44px;
    height: 44px;
  }

  .logo-circle img {
    height: 28px;
  }
}
.website-link:hover {
    color: red;
  text-decoration: underline;
}
.carousel-caption {
  bottom: 20%;
}

.caption-box {
  display: inline-block;
  padding: 18px 26px;
  background: rgba(0, 0, 0, 0.295);
  border-radius: 8px;

  min-width: 520px;   /* fixed visual width */
  max-width: 720px;   /* prevents over-stretching */

  text-align: center;
}

.carusol-texts {
  color: #ffffff;
  margin: 0;
}

.caption-box p {
  margin-top: 8px;
  font-size: 1.05rem;
}
@media (max-width: 576px) {
  .carousel-caption {
    bottom: 15%;
    padding: 0 12px;
  }

  .caption-box {
    min-width: unset;   /* remove fixed width */
    width: 100%;
    padding: 14px 16px;
  }

  .caption-box h1 {
    font-size: 1.4rem;
  }

  .caption-box p {
    font-size: 0.95rem;
  }
}
.next-prev{
    color: #06401d;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 4px;
  display: inline-block;
}

.form-label .required {
  color: #dc3545; /* bootstrap danger red */
  margin-left: 2px;
}
