/* Base Styles */
html {
    scroll-behavior: smooth;
}


/* Product Card Hover Effect */

.product-card:hover {
    transform: translateY(-5px);
}

/* Form Input Focus */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Scroll to Top Button */
#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/*mobile menu*/
/* Hide default triangle on summary */
        #mobile-nav summary::-webkit-details-marker { display: none; }
        #mobile-nav summary { list-style: none; }
        
        /* Icon toggle styles */
        #mobile-nav .icon-menu { display: block; }
        #mobile-nav .icon-close { display: none; }
        #mobile-nav[open] .icon-menu { display: none; }
        #mobile-nav[open] .icon-close { display: block; }

  /* Sidebar Menu */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0; /* keep it from the right */
  background-color: #004d26; /* dark green */
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 60px;
  z-index: 1000;
}

/* When sidebar opens */
.sidebar.active {
  width: 250px;  /* increase width */
}

/* Sidebar links */
.sidebar a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 18px;
  color: white;
  transition: 0.3s;
  white-space: nowrap; /* prevent text breaking */
}

.sidebar a:hover {
  background-color: #006633; /* highlight */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 60vh;
    }
}

/* Color Psychology: 
   - Green: Natural, fresh, healthy, trustworthy
   - White: Clean, pure
   - Earth tones: Natural, organic
*/

.wrapper {
    width:100%;
    max-width: 1536px; 
    margin-inline: auto ;
    position: relative;
    height: 250px;
    margin-top: 6rem;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        rgba(0,0,0,0),
        rgba(0,0,0,1) 20%,
        rgba(0,0,0,1) 80%,
        rgba(0,0,0,0)

    );
}
@keyframes scrollLeft {
 to {
    left: -200px;
 }
}

.item {
 width: 200px;
 height: 400px;
 background-color:#065F46;
 border-radius: 6px;
 position: absolute;
 left: max(calc(200px *14),100%);
 animation-name: scrollLeft;
 animation-duration: 30s;
 animation-timing-function: linear;
 animation-iteration-count: infinite;
 animation-delay: -10s;
}

.item1 {
    animation-delay: calc(30s / 14 * (14 - 1) * -1) ;
}

.item2 {
    animation-delay: calc(30s / 14 * (14 - 2) * -1) ;
}
.item3 {
    animation-delay: calc(30s / 14 * (14 - 3) * -1) ;
}
.item4 {
    animation-delay: calc(30s / 14 * (14 - 4) * -1) ;
}
.item5 {
    animation-delay: calc(30s / 14 * (14 - 5) * -1) ;
}
.item6 {
    animation-delay: calc(30s / 14 * (14 - 6) * -1) ;
}
.item7 {
    animation-delay: calc(30s / 14 * (14 - 7) * -1) ;
}
.item8 {
    animation-delay: calc(30s / 14 * (14 - 8) * -1) ;
}
.item9 {
    animation-delay: calc(30s / 14 * (14 - 9) * -1) ;
}
.item10 {
    animation-delay: calc(30s / 14 * (14 - 10) * -1) ;
}
.item11 {
    animation-delay: calc(30s / 14 * (14 - 11) * -1) ;
}
.item12 {
    animation-delay: calc(30s / 14 * (14 - 12) * -1) ;
}
.item13 {
    animation-delay: calc(30s / 14 * (14 - 13) * -1) ;
}
.item14 {
    animation-delay: calc(30s / 14 * (14 - 14) * -1) ;
}



/*feature section*/
    
 .feature-grid {
    margin-top: 60px;
}

.feature-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 5px;

}

.feature-header h3 {
    font-size: 1.8rem;
    color: #065F46;
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #42ce86;
    background-color: #f0fdf4;
}

.feature-icon {
    font-size: 2.5rem;
    color: #065F46;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #166534;
}

.feature-description {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
        

         /* Benefits Section */
        .benefits-section {
            margin-top: 60px;
        }
        
        .benefits-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .benefits-header h3 {
            font-size: 1.8rem;
            color: #33ae77;
            margin-bottom: 15px;
        }
        
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }
        
        .benefit-card {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }
        
        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            border-color: #42ce86;
        }
        
        .benefit-icon {
            font-size: 2.5rem;
            color: #44caa2;
            margin-bottom: 15px;
        }
        
        .benefit-card h4 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: #c8cbd1;
        }
        
        .benefit-card p {
            color: #666;
            font-size: 0.95rem;
        }
        

  .backgroundproduct {

   position: relative; /* Changed from fixed */
    width: 100%;
    height: 300px;
    overflow: hidden; /* Ensures no overflow */
    border-radius: 10px;
  }

  .backproduct1{
    position: absolute;
    width: 100%; /* Fill the container */
    height: 100%;
    background-image: url('images/ourProducts/gtlive1.png');
    background-size: cover; /* Ensures image covers area without distortion */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat;
  }

  /*new about css*/
  
  /* Timeline Section Styles */
.timeline-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  position: relative;
  overflow: hidden;
}

.timeline-header {
  text-align: center;
  margin-bottom: 60px;
}

.timeline-header h2 {
  font-size: 2.5rem;
  color: #065f46;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.timeline-header h2::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background: #065f46;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-header p {
  color: #7f8c8d;
  font-size: 1.1rem;
}

/* Timeline Container */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #33ae77;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 10px;
}

/* Timeline Items */
.timeline-item {
  padding: 20px 0;
  position: relative;
  width: 100%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid #34db90;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  z-index: 1;
  transform: translateY(-50%);
}

.timeline-content {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #99d5b7 0%, rgba(90, 228, 157, 0) 100%);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px #56b584;
}

.timeline-content:hover::before {
  opacity: 1;
}

.timeline-img {
  flex: 1;
  padding: 15px;
}

.timeline-img img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.timeline-content:hover .timeline-img img {
  transform: scale(1.03);
}

.timeline-text {
  flex: 1;
  padding: 15px;
}

.timeline-text h3 {
  color: #065f46;
  margin-bottom: 15px;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
}

.timeline-text h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: #44caa2;
  bottom: -8px;
  left: 0;
}

.timeline-text p {
  color: #7f8c8d;
  line-height: 1.6;
}

/* Alternate sides */
.timeline-item:nth-child(odd) .timeline-content {
  flex-direction: row;
  margin-right: 50%;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  flex-direction: row-reverse;
  margin-left: 50%;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-text h3::after {
  left: auto;
  right: 0;
}

/* Scroll Hint */
.timeline-scroll-hint {
  text-align: center;
  margin-top: 50px;
  color: #44caa2;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 35px;
  border: 2px solid #42ce86;
  border-radius: 10px;
  margin-top: 10px;
  position: relative; 
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 8px;
  background: #ecfdf5;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 5px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 31px;
  }
  
  .timeline-item::after {
    left: 31px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0 0 70px;
    flex-direction: row;
    text-align: left;
  }
  
  .timeline-item:nth-child(even) .timeline-text h3::after {
    left: 0;
    right: auto;
  }
  
  .timeline-content {
    flex-direction: column !important;
  }
  
  .timeline-img, .timeline-text {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .timeline-header h2 {
    font-size: 2rem;
  }
  
  .timeline-text h3 {
    font-size: 1.3rem;
  }
  
  .timeline-content {
    padding: 15px;
  }
}
