@import url('https://fonts.googleapis.com/css?family=Nunito');


/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #111;
  color: #f4f4f4;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  transition: background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #006837;
  border-radius: 4px;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
    width: 400px;
  display: none;
  position: absolute;
  background: #222;
  margin-top: 2px;
  list-style: none;
  padding: 5px 0;
  border-radius: 4px;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  padding: 10px 20px;
}
.dropdown-menu li a:hover {
  color: #00ff8c;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  height: 60vh;
  background: url(../img/carousel-3.png) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 80px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.green-line {
  width: 50%;
  height: 6px;
  background: #007f3f;
  margin-top: 15px;
  border-radius: 3px;
}

/* Overview Section */
.overview-section {
  text-align: center;
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}
.overview-section h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
.overview-desc {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #ddd;
  text-align: left;
}

/* ABOUT US*/
.about-section {
    background: #ffffff;
    padding: 60px 20px;
    color: #222;
    font-family: Arial, sans-serif;
}

.about-section .container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #0a3c7d;
    letter-spacing: 2px;
}

.about-section .underline {
    width: 120px;
    height: 4px;
    background: #0fa34a;
    margin: 15px auto 30px;
}

.about-section p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}
/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.service-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-card h3 {
  margin: 15px 0;
  font-size: 1rem;
  font-weight: 600;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 255, 100, 0.2);
}
.service-card:hover img {
  transform: scale(1.05);
}

.smart-hands {
  background-color: #111; /* dark background */
  color: #eee;
  padding: 40px 30px;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  border-radius: 8px;
  max-width: 800px;
  margin: 40px auto;
}

.smart-hands h2 {
  font-size: 1rem;
  font-weight: 400;
  color: #dcdcdc;
  margin-bottom: 20px;
}

.smart-hands h2 strong {
  color: #fff;
  font-weight: 600;
}

.service-list {
  list-style-type: square;
  margin-left: 25px;
  color: #f8f8f8;
}

.service-list li {
  margin: 10px 0;
  font-size: 0.95rem;
}

.decom-image-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.decom-img {
    width: 100%;
    max-width: 900px;  /* giới hạn kích thước to nhất */
    height: auto;
    border-radius: 6px;
}


.contact-info {
    display: grid;
    justify-content: center;
  color: #fff;
  background-color: #1a1a1a;
  font-family: Arial, sans-serif;
  line-height: 1.8;
}

.contact-info i {
  color: #00b4d8; /* Màu icon */
  margin-right: 8px;
}

.contact-info a {
  color: #9ad0ff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}


:root {
  --start-color: #0575E6;
  --end-color: #021B79;
  --p-color: #929DA6;
  --button-background: #006837;
  --input-background: #e4eff8;
  --radius-50: 50px;
  --padding-15: 15px;
}


.wrapper {
  width: 100%;
  height: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--start-color);
  background: linear-gradient(to right, var(--start-color), var(--end-color)) no-repeat;
  padding: 20px;
}

.wrapper .content {
  background: #fff;
  color: #006837;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  min-width: 200px;
  border-radius: 10px;
  text-align: center;
}

.wrapper .content header h1 {
  font-size: 230%;
  margin-top: 0;
}
.wrapper .content section {
  color: var(--p-color);
  font-size: 15px;
}
.wrapper .content footer {
  padding: var(--padding-15);
}
.wrapper .content footer input {
  border: unset;
  background-color: var(--input-background);
  padding: var(--padding-15);
  font-size: 13px;
  border-radius: var(--radius-50);
  width: 250px;
}
.wrapper .content footer button {
  background-color: var(--button-background);
  color: #fff;
  border: unset;
  width: 120px;
  border-radius: var(--radius-50);
  padding: var(--padding-15);
  margin-left: 10px;
  cursor: pointer;
}

.wrapper .content footer input:focus, .wrapper .content footer button:focus {
  outline: none;
}

.footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  color: #ccc;
  text-align: center;
  padding: 60px 20px 40px;
  font-size: 0.95rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-text {
  line-height: 1.7;
  margin-bottom: 30px;
  color: #aaa;
}

.privacy-link {
  color: #00ff99;
  text-decoration: none;
  font-weight: 500;
}

.privacy-link:hover {
  text-decoration: underline;
  color: #00ffaa;
}

.footer-line {
  border: none;
  border-top: 1px solid #333;
  margin: 30px auto;
  width: 80%;
}

.copyright {
  color: #ddd;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.icon {
  color: #ccc;
  font-size: 1.8rem;
  transition: color 0.3s, transform 0.3s;
}

.icon:hover {
  color: #00ff99;
  transform: translateY(-4px);
}


@media screen and (max-width: 720px) {
  .wrapper .content {
    margin-right: 20px !important;
    margin-left: 20px !important;
    padding: var(--padding-15);
  }
  .wrapper .content footer input {
    width: 200px;
    margin-bottom: 10px;
  }
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
    max-height: 0;
  }

  nav.active {
    max-height: 300px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
  }

  .dropdown-menu {
    position: static;
    background: none;
    padding: 0;
    width: 200px;
  }

  .dropdown-menu li {
    padding: 5px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about-section h2 {
        font-size: 28px;
    }

    .about-section p {
        font-size: 16px;
    }

    .decom-img {
        max-width: 100%;
        padding: 0 15px;
    }
}
