
:root{
  --green:#0F3D2E;
  --gold:#C6A75E;
  --light:#f5f6f7;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:white;
  color:#111;
  overflow-x:hidden;
  /*background-image: url('img/grain2.jpeg');
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;  optional smooth feel 
  opacity: 0.98;*/
  
}

/* ================= PRELOADER ================= */

#preloader{
  position:fixed;
  inset:0;
  background:var(--green);
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  z-index:9999;
  transition:opacity 1s ease, visibility 1s ease;
}

#preloader.fade-out{
  opacity:0;
  visibility:hidden;
}

.logo-typing{
  color:var(--gold);
  font-size:2.5rem;
  font-weight:800;
  letter-spacing:4px;
  border-right:3px solid var(--gold);
  white-space:nowrap;
  overflow:hidden;
  animation:blink 0.8s infinite;
}

.tagline{
  margin-top:15px;
  color:white;
  opacity:0;
  animation:fadeIn 1s ease forwards;
  animation-delay:2.5s;
}

@keyframes blink{
  0%,100%{border-color:transparent;}
  50%{border-color:var(--gold);}
}

@keyframes fadeIn{
  to{opacity:1;}
}

/* ================= HEADER ================= */

 /* ========== PROFESSIONAL MOBILE-FRIENDLY NAVIGATION ========== */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 5%;
      background: #ffffffdd;
      backdrop-filter: blur(8px);
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 4px 20px rgba(0, 20, 10, 0.05);
      transition: box-shadow 0.3s;
    }
    nav.scrolled {
      box-shadow: 0 8px 30px rgba(0, 40, 20, 0.15);
    }
    nav .logo{
    color:var(--gold);
    font-weight:800;
    letter-spacing:3px;
    }
    .nav-logo {
      font-weight: 700;
      font-size: 1.8rem;
      color: #2b4d3b;
      transition: transform 0.2s;
      line-height: 1;
    }
    .nav-logo small {
      font-size: 0.9rem;
      font-weight: 400;
      color: #b48b4c;
      margin-left: 6px;
    }

    /* ---- Hamburger icon (visible only on mobile) ---- */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 22px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 110;
    }
    .hamburger span {
      width: 100%;
      height: 3px;
      background: #2b4d3b;
      border-radius: 6px;
      transition: all 0.3s ease;
      transform-origin: left;
    }
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(3px, -2px);
      background: #b48b4c;
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
      transform: translateX(5px);
    }
    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(3px, 2px);
      background: #b48b4c;
    }

    /* ---- Desktop navigation links (hidden on mobile) ---- */
    .nav-links {
      display: flex;
      gap: 2.2rem;
    }
    .nav-item, .link {
      text-decoration: none;
      color: #1e2a2e;
      font-weight: 500;
      transition: color 0.2s;
      font-size: 1rem;
      position: relative;
      padding: 0.3rem 0;
    }
    .nav-item:after, .link:after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0%;
      height: 2px;
      background: #b48b4c;
      transition: width 0.3s ease;
    }
    .nav-item:hover:after,
    .nav-item.active:after,
    .link:hover:after,
    .link.active:after {
      width: 100%;
    }
    .nav-item.active,
    .link.active {
      color: #2b4d3b;
      font-weight: 600;
    }

    /* ---- Mobile off-canvas menu (hidden by default) ---- */
    .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: min(280px, 70%);
      height: 100vh;
      background: #ffffff;
      box-shadow: -10px 0 30px rgba(0,0,0,0.1);
      z-index: 105;
      padding: 5rem 2rem 2rem;
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
      backdrop-filter: blur(12px);
      background: rgba(255, 255, 255, 0.98);
    }
    .mobile-menu.open {
      right: 0;
    }
    .mobile-menu .nav-item, .mobile-menu .link {
      font-size: 1.4rem;
      font-weight: 600;
      color: #2b4d3b;
      border-bottom: 1px solid #e0e8e0;
      padding-bottom: 0.8rem;
    }
    .mobile-menu .nav-item:after,
    .mobile-menu .link:after {
      display: none; /* simpler for mobile */
    }
    .mobile-menu .nav-item.active,
    .mobile-menu .link.active {
      color: #b48b4c;
    }

    /* Overlay when menu is open */
    .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.3);
      z-index: 104;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
      backdrop-filter: blur(2px);
    }
    .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }


    section {
    min-height:100vh;
        padding: 4.5rem 5%;
        
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
    section.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .container {
      max-width: 1280px;
      margin: 0 auto;
    }
    h2 {
      font-size: 2.5rem;
      font-weight: 600;
      color: #2b4d3b;
      margin-bottom: 1.2rem;
      position: relative;
      display: inline-block;
    }
    h2:after {
      content: '';
      position: absolute ;
      bottom: -8px;
      left: 40%;
      width: 20%;
      height: 4px;
      background: #d4b28c;
      border-radius: 4px;
      transition: width 0.3s;
    }
    h2:hover:after {
      width: 110px;
    }
    .section-subhead {
      color: #5b6f5c;
      font-size: 1.2rem;
      margin-bottom: 2.5rem;
    }
/* ================= HERO ================= */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url('img/grain1.jpg') repeat;
  opacity: 0.14;
  z-index: 9999;
}
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:140px 8% 100px;
  background:var(--green);
  
}

.hero-container{
  max-width:1400px;
  margin:auto;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  flex-wrap:wrap;
}

.hero-content{
  flex:1;
  max-width:600px;
  color:white;
  opacity:0;
  transform:translateY(40px);
  transition:1s ease;
}

.hero-content.active{
  opacity:1;
  transform:translateY(0);
}

.hero-content h1{
  font-size:clamp(2.5rem,4vw,3.8rem);
  font-weight:800;
  margin-bottom:20px;
}

.hero-content p{
  opacity:0.85;
  line-height:1.7;
  margin-bottom:30px;
} 
.hero-content h1 span{
  color:var(--gold);
}

.btn{
  padding:16px 34px;
  background:var(--gold);
  color:var(--green);
  text-decoration:none;
  border-radius:40px;
  font-weight:600;
  transition:0.3s;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 30px rgba(0,0,0,0.3);
}

.hero-image{
  flex:1;
  display:flex;
  justify-content:center;
  position:relative;
  opacity:0;
  transform:translateY(40px);
  transition:1s ease 0.2s;
}

.hero-image.active{
  opacity:1;
  transform:translateY(0);
}

.hero-image img{
  width:100%;
  max-width:500px;
  animation:float 5s ease-in-out infinite;
  filter:drop-shadow(0 40px 50px rgba(0,0,0,0.5));
}

@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-15px);}
}

.about-grid {
      display: flex;
      gap: 3rem;
      align-items: center;
      flex-wrap: wrap;
    }
    .about-text {
      flex: 2 1 350px;
      font-size: 1.1rem;
      color: #2e3a30;
    }
    .about-stats {
      flex: 1 1 200px;
      background: #e9f0e5;
      padding: 2rem;
      border-radius: 28px;
      text-align: center;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .about-stats:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 30px -10px #2b4d3b60;
    }
    .stat-item {
      margin: 1.8rem 0;
    }
    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: #2b4d3b;
    }
    .processes {
      background: #f4efe8;
    }
    .marquee-wrapper {
      margin-top: 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      overflow: hidden;
      mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    }
    .marquee-row {
      overflow: hidden;
      width: 100%;
    }
    .marquee-track {
      display: flex;
      width: max-content;
      animation: scrollLeft 30s linear infinite;
      will-change: transform;
    }
    .marquee-row.reverse .marquee-track {
      animation: scrollRight 30s linear infinite;
    }
    .marquee-track img {
      width: 260px;
      height: 180px;
      object-fit: cover;
      border-radius: 20px;
      margin: 0 12px;
      box-shadow: 0 12px 24px -10px rgba(30, 40, 20, 0.3);
      transition: transform 0.4s, box-shadow 0.4s;
    }
    .marquee-track img:hover {
      transform: scale(0.98) translateY(-4px);
      box-shadow: 0 18px 30px -8px #b48b4c;
    }
    @keyframes scrollLeft {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    @keyframes scrollRight {
      0% { transform: translateX(-50%); }
      100% { transform: translateX(0); }
    }
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2rem;
      margin-top: 2.5rem;
    }
    .testimonial-card {
      background: white;
      padding: 2rem 1.8rem;
      border-radius: 32px;
      box-shadow: 0 12px 30px -12px rgba(0,0,0,0.1);
      transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .testimonial-card:hover {
      transform: translateY(-12px) scale(1.01);
      box-shadow: 0 30px 40px -12px #2b4d3b80;
    }
    .testimonial-card i {
      color: #b48b4c;
      font-size: 2rem;
      opacity: 0.5;
      margin-bottom: 1rem;
      transition: opacity 0.2s;
    }
    .testimonial-card:hover i {
      opacity: 1;
    }
    .customer {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .customer img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
      transition: transform 0.3s;
    }
    .testimonial-card:hover .customer img {
      transform: scale(1.1);
    }
    /* ---------- contact section with form animation ---------- */
    .contact-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 3rem;
      background: #ffffffc2;
      backdrop-filter: blur(4px);
      border-radius: 48px;
      padding: 3rem;
      box-shadow: 0 25px 50px -20px #1e3a2b;
      transition: box-shadow 0.3s;
    }
    .contact-grid:hover {
      box-shadow: 0 35px 60px -20px #2b4d3b;
    }
    .info-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin: 1.5rem 0;
      font-size: 1.1rem;
      transition: transform 0.2s;
    }
    .info-item:hover {
      transform: translateX(10px);
    }
    .info-item i {
      width: 40px;
      height: 40px;
      background: #e9f0e5;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #2b4d3b;
      transition: all 0.2s;
    }
    .info-item:hover i {
      background: #b48b4c;
      color: white;
    }
    .form-group {
      margin-bottom: 1.5rem;
    }
    input, textarea {
      width: 100%;
      padding: 1rem 1.5rem;
      border: 1px solid #d0d9cf;
      border-radius: 40px;
      font-family: inherit;
      font-size: 1rem;
      transition: 0.2s;
    }
    input:focus, textarea:focus {
      outline: none;
      border-color: #b48b4c;
      box-shadow: 0 0 0 4px #d4b28c60;
      transform: scale(1.01);
    }
    .btn-submit {
      background: #b48b4c;
      border: none;
      color: #1e2a2e;
      font-weight: 600;
      padding: 1rem 2.5rem;
      border-radius: 60px;
      cursor: pointer;
      font-size: 1.1rem;
      transition: 0.2s;
      position: relative;
      overflow: hidden;
    }
    .btn-submit:before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      transform: translate(-50%, -50%);
      transition: width 0.4s, height 0.4s;
    }
    .btn-submit:hover:before {
      width: 300px;
      height: 300px;
    }
    .btn-submit:hover {
      background: #2b4d3b;
      color: white;
    }
/* ================= FOOTER ================= */

footer{
  background:var(--green);
  color:white;
  text-align:center;
  padding:20px;
  font-size:0.85rem;
}

.process-section {
  padding: 120px 5%;
  background: linear-gradient(135deg, #f5f7f4, #eef3ef);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 100px;
  color: #1F5D42;
  font-weight: 700;
}

.process-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 140px;
  position: relative;
}

.process-row.reverse {
  flex-direction: row-reverse;
}

.process-image img {
  width: 420px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.process-content {
  max-width: 450px;
  position: relative;
}

.process-content h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #1F5D42;
}

.process-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.step-number {
  position: absolute;
  top: -60px;
  left: -10px;
  font-size: 120px;
  font-weight: 800;
  color: rgba(31,93,66,0.05);
  z-index: 0;
}

.connector {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  transform: translateY(-50%);
}

.connector.left {
  left: 35%;
}

.connector.right {
  right: 35%;
}

/* Responsive */

@media (max-width: 992px) {
  .process-row {
    flex-direction: column !important;
    text-align: center;
  }

  .process-image img {
    width: 100%;
    margin-bottom: 30px;
  }

  .connector {
    display: none;
  }

  .step-number {
    left: 50%;
    transform: translateX(-50%);
  }
}
.testimonial-section {
  padding: 120px 5%;
  background: #ffffff;
}

.testimonial-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: #f9faf9;
  padding: 40px;
  border-radius: 16px;
  max-width: 350px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
}

.testimonial-card h4 {
  color: #1F5D42;
  margin-bottom: 5px;
}

.testimonial-card span {
  font-size: 14px;
  color: #777;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){
  .hero-container{
    flex-direction:column;
    text-align:center;
  }
}

/* ========== RESPONSIVE: MOBILE STYLES ========== */
    @media (max-width: 800px) {
      .hamburger {
        display: flex;  /* show hamburger on mobile */
      }
      .nav-links {
        display: none;  /* hide desktop horizontal links */
      }
      /* Adjust nav padding for smaller screens */
      nav {
        padding: 0.8rem 5%;
      }
      .nav-logo {
        font-size: 1.5rem;
      }
      .nav-logo small {
        font-size: 0.75rem;
      }
    }

    /* ensure the mobile menu doesn't show on desktop */
    @media (min-width: 801px) {
      .mobile-menu, .menu-overlay {
        display: none;
      }
    }
