/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}

body{
  background:#ffffff;
  color:#333;
}

/* MAIN COLOR */
:root{
  --green:#094213;
  --green-light:#1b5214;
  --dark:#111;
}


/* NAVBAR */
.navbar{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 40px;
  background:#fff;
  position:sticky;
  top:0;
  z-index:1000;
}

.navbar .logo{
  height:65px;   /* tăng logo thêm */
}

.nav-links{
  list-style:none;
  display:flex;
  gap:35px;
  margin-left:auto;
  margin-right:auto;
}

.nav-links a{
  color:#14452F;
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

/* NAVBAR DROPDOWN */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  min-width: 150px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border-radius: 6px;
  padding: 8px 0;
  z-index: 10;
}

.navbar .dropdown-menu li {
  list-style: none;
}

.navbar .dropdown-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #333;
}

.navbar .dropdown-menu a:hover {
  background: #f2f2f2;
}

/* Hiệu ứng hover để xổ */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
}

/* Tăng khoảng cách giữa các mục để không bị chồng */
.nav-links li {
  position: relative;
  padding: 0 10px;
}


/* SLIDE FULL WIDTH */
.hero-slide {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slideShow 12s infinite linear;
}

.hero-slide-item {
  width: 100%;
  flex-shrink: 0;
}

.hero-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animation tự chuyển slide */
@keyframes slideShow {
  0%   { transform: translateX(0%); }
  33%  { transform: translateX(0%); }
  50%  { transform: translateX(-100%); }
  83%  { transform: translateX(-100%); }
  100% { transform: translateX(-200%); }
}

/* Welcome Section */
.welcome-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.welcome-container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

.welcome-image {
  flex: 0 0 320px;
}

.welcome-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.welcome-text {
  flex: 1;
}

.welcome-text h2 {
  color: #177a0a;
  font-size: 28px;
  margin-bottom: 15px;
}

.welcome-text p {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.5;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .welcome-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== About Us ===== */
.about-us {
  padding: 28px 6%;
  max-width: 1200px;
	
  margin: 10px auto 40px;
}

.about-container {
  display:flex;
  gap: 20px;
  align-items:center;
  background: #fbfffb;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.about-text {
  flex:1;
}

.about-text h3 {
  color: #177a0a;
  font-size: 28px;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 10px;
  color: #444;
  line-height: 1.5;
}
.about-image {
  flex: 0 0 320px;
}
.about-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .welcome {
    padding: 20px;
  }
  .welcome-slider {
    width: 100%;
    height: 260px;
    flex: 1 1 100%;
  }
  .welcome-text {
    width: 100%;
  }
  .about-container {
    flex-direction: column;
  }
  .about-image { width: 100%; max-height: 300px; }
}

/* SERVICES */
.services h3,
.customers h3,
.contact-section h3{
  text-align:center;
  margin-top:40px;
  margin-bottom:25px;
  color:var(--green);
  font-size:26px;
  font-weight:700;
}

.service-grid{
  width:70%;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:35px 25px;
  text-align:center;
}

.service-box img{
  width:65px;
  margin-bottom:10px;
  transition:.3s;
}

.service-box:hover img{
  transform:scale(1.2);
}

/* CUSTOMERS */
.customer-grid{
  width:70%;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:35px 25px;
  text-align:center;
}


.customer-box{
  padding:15px;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  transition:.3s;
}

.customer-box:hover{
  border-color:var(--green);
  transform:translateY(-5px);
}

.customer-box img{
  width:80px;
  margin-top:10px;
}

/* CONTACT */
.contact-section{
  text-align:center;
  padding:50px 0;
  background:#fff;
}

.email-button{
  display:inline-block;
  margin-top:15px;
  padding:12px 28px;
  background:var(--green);
  color:#fff;
  border-radius:6px;
  transition:.3s;
}

.email-button:hover{
  background:var(--green-light);
}

.social-icons i{
  margin:15px 8px;
  font-size:22px;
  color:var(--green);
}

/* FOOTER */
.footer{
  background:#fff;
  color:#14452F;
  padding:50px 8% 25px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:40px;
}

.footer-logo{
  width:140px;
  margin-bottom:12px;
}

.footer-col h4{
  margin-bottom:12px;
  font-size:18px;
  color:#14452F;
  border-left:4px solid var(--green);
  padding-left:8px;
}

.footer-col ul{
  list-style:none;
}

.footer-col ul li{
  margin:8px 0;
}

.footer-col ul li a{
  text-decoration:none;
  color:#14452F;
  transition:.3s;
}

.footer-col ul li a:hover{
  color:#14452F;
}

.social-links i{
  font-size:22px;
  margin-right:15px;
  color:#14452F;
  transition:.3s;
}

.social-links i:hover{
  color:var(--green);
}

.footer-bottom{
  text-align:center;
  margin-top:30px;
  padding-top:15px;
  border-top:1px solid #444;
  font-size:14px;
  color:#14452F;
}

/* RESPONSIVE */
@media(max-width:850px){
  .navbar{
    flex-direction:column;
    padding:15px;
  }
  .logo{
    margin-bottom:10px;
  }
  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
  }
  .welcome{
    flex-direction:column;
    text-align:center;
  }
}
