* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fefef7;
  color: #1a2a1f;
  scroll-behavior: smooth;
  padding-top: 100px;
}

/* ---------- NAVIGATION ---------- */
nav {
  background: rgba(255, 255, 245, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  top: 0;
  left: 0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  padding: 0 5%;
  transition: all 0.25s ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(70, 130, 40, 0.2);
}

nav.shrink {
  height: 70px;
  background: rgba(255, 255, 245, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  width: 170px;
  transition: width 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

nav.shrink .logo {
  width: 130px;
}

/* Desktop navigation */
#navList {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  align-items: center;
}

nav ul li {
  position: relative;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #2c4b1e;
  padding: 8px 0;
  transition: 0.2s;
  letter-spacing: -0.2px;
  display: inline-block;
}

nav ul li a:hover {
  color: #e87c2a;
  border-bottom: 2px solid #e87c2a;
}

.dropdown {
  position: relative;
}

.dropdown > a i {
  font-size: 0.8rem;
  margin-left: 5px;
  transition: transform 0.2s;
}

.dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 0.5rem 0;
  min-width: 140px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 5px;
}

.dropdown-menu li {
  display: block;
  padding: 0;
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  font-weight: 500;
  border-bottom: none;
  transition: all 0.2s;
  min-width: 140px;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: #e87c2a;
  border-bottom: none;
  padding-left: 25px;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #2c4b1e;
  cursor: pointer;
}

/* Hero banner */
.hero-img {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 1rem;
  border-radius: 32px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: block;
  object-fit: cover;
  height: auto;
}

.hero-section {
  text-align: center;
  margin-bottom: 2rem;
}
.BTPL {
  max-width: 1200px;
  margin: auto;
  margin-top: 2rem;
  background-color: white;
  border-radius: 32px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
  display: block;
  padding: 2rem;
  font-size: 18px;
  color: #1e4a1a;
  line-height: 1.6;
  text-align: justify;
  border: 1px solid rgba(100, 128, 60, 0.3);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.BTPL:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.2);
  border-color: #1e4a1a;
  background: #1e4a1a;
  color: white;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2b6e2a, #e68a2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: #1e4a1a;
  margin: 1.5rem 0 1rem;
  letter-spacing: -0.02em;
}

/* About section */
.about-wrapper {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.About {
  background: #ffffffea;
  backdrop-filter: blur(2px);
  padding: 2.2rem;
  border-radius: 48px;
  box-shadow: 0 15px 35px rgba(0, 40, 0, 0.05);
  border: 1px solid rgba(180, 210, 140, 0.4);
}

.About h2 {
  font-size: 2.2rem;
  color: #1e4a1a;
  border-left: 6px solid #e87c2a;
  padding-left: 20px;
  margin-bottom: 1rem;
  text-align: left;
}

.About p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2c3e2b;
  text-align: left;
  font-weight: 500;
}

/* Vision & Mission */
.vision-mission {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1100px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
}

.box {
  flex: 1;
  min-width: 260px;
  background: linear-gradient(145deg, #ffffff, #f9fbf5);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 25px 40px -12px rgba(0, 32, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(100, 128, 60, 0.3);
  text-align: left;
}

.box:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.2);
  border-color: #e68a2e;
}

.box h2 {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 1.2rem;
  color: #e56c1e;
  display: flex;
  align-items: center;
  gap: 10px;
}

.box h2 i {
  font-size: 2rem;
  color: #488b2c;
}

.box p {
  font-size: 1rem;
  line-height: 1.5;
  color: #2f3e2b;
  font-weight: 500;
}

/* News Preview Section */
.news-preview {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-all-btn {
  background: #e87c2a;
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.2s;
}

.view-all-btn:hover {
  background: #2c5e1e;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.news-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-date {
  color: #e87c2a;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-card h3 {
  color: #2c5e1e;
  margin-bottom: 0.75rem;
}

.read-more {
  color: #e87c2a;
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.5rem;
  display: inline-block;
}

.read-more:hover {
  text-decoration: underline;
}

/* Blog Preview Section */
.blog-preview {
  max-width: 1200px;
  margin: auto;
  padding: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 128, 60, 0.15);
  margin-right: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border-color: #e87c2a;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f5f7f0, #e8ede0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image-placeholder i {
  font-size: 48px;
  color: #e87c2a;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: #e87c2a;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-category {
  display: inline-block;
  background: #f0f4ea;
  color: #2c5e1e;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  color: #2c5e1e;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.read-more {
  color: #e87c2a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 0.75rem;
  color: #f39c12;
}

/* Gallery Section */
.gallery-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2a5c1e;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-placeholder {
  text-align: center;
  padding: 1rem;
}

.gallery-placeholder i {
  font-size: 48px;
  color: #e87c2a;
}

/* Contact Bar */
.contact-bar {
  background: #1a2a12;
  color: #ddd9c9;
  text-align: center;
  padding: 2rem;
  border-radius: 32px 32px 0 0;
  margin-top: 3rem;
}

.contact-bar a {
  color: #f3b27a;
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.5rem;
}

.contact-bar a i {
  margin-right: 5px;
}

/* Scroll margin fix */
#About,
#Services,
#News,
#Career,
#Contact {
  scroll-margin-top: 110px;
}

/* Responsive */
@media (max-width: 850px) {
  body {
    padding-top: 80px;
  }
  
  nav {
    padding: 0 1.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  #navList {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  #navList.active {
    display: flex;
  }
  
  /* Mobile dropdown fix */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    background: transparent;
    width: 100%;
    transition: none;    
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .dropdown-menu li a {
    padding: 8px 0;
  }
  
  h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }
  
  .About p, .box p {
    font-size: 0.95rem;
  }
  
  #About,
  #Services,
  #News,
  #Career,
  #Contact {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 700px) {
  .vision-mission {
    flex-direction: column;
  }
  
  .hero-img {
    border-radius: 20px;
    width: 95%;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .certificate-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

button, .btn-soft {
  cursor: pointer;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: opacity 0.3s ease-in-out;
}

.product-main-img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-main-img {
    transform: scale(1.05);
}

/* Certificate Section */
.certificate-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 1.5rem 1.5rem;
  background: #e87c2a;
  border-radius: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);

}

.csection-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: White;
  margin-bottom: 2rem;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.cert-img{
  max-width: 200px;
  max-height: 200px;
}

/* Core Section */
.core-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 1.5rem;
  background: white;
  border-radius: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}
.section-title i {
  margin-right: 10px;
  color: #007bff;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  place-items: center;
}

.core-card {
  text-align: center;
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 20px;
  transition: transform 0.3s ease;
  width: 100%;
}
.core-card:hover {
  transform: translateY(-5px);
}
.core-card h3 {
  margin-bottom: 1rem;
  color: #222;
  font-size: 1.5rem;
}

/* Slider */
.slider {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slides {
  display: flex;
  width: 300%;
  animation: slide3 12s infinite;
}

.slides img {
  width: 33.33%; /* each image takes 1/3 of the flex container */
  max-width: 300px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slide3 {
  0%, 25% {
    transform: translateX(0);
  }
  33.33%, 58.33% {
    transform: translateX(-33.33%);  /* Show image 2 */
  }
  66.66%, 91.66% {
    transform: translateX(-66.66%);  /* Show image 3 */
  }
  100% {
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .core-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.5rem;
  }
}

/* Footer */
footer {
  background: #1a2e3a;
  color: white;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-left: 50px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s;
}
.list {
  margin-left: 50px;
}
.footer-section a:hover {
  color: #e87c2a;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #e87c2a;
  color:white;
  transform: translateY(-3px);
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}