* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    background: #f7f7f7;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* HEADER */
  header {
    background: #004aad;
    color: #fff;
    padding: 15px 0;
  }
  
  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    font-size: 1.5em;
    font-weight: bold;
  }
  
  .logo span {
    color: #ffcc00;
  }
  
  .menu {
    list-style: none;
    display: flex;
    gap: 25px;
  }
  
  .menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .menu a:hover, .menu a.active {
    color: #ffcc00;
  }
  
  .btn-contact {
    background: #ffcc00;
    color: #000;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .btn-contact:hover {
    background: #ffd84d;
  }
  
  /* SLIDER */
  .slider {
    position: relative;
    overflow: hidden;
  }
  
  .slide {
    display: none;
  }
  
  .slide.active {
    display: block;
    animation: fade 1s;
  }
  
  @keyframes fade {
    from { opacity: 0.3; }
    to { opacity: 1; }
  }
  
  .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 10px;
  }
  
  .btn-primary {
    display: inline-block;
    margin-top: 15px;
    background: #ffcc00;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* INTRO */
  .intro {
    background: #fff;
    padding: 60px 0;
    text-align: center;
  }
  
  /* SERVICES */
  .services {
    background: #f0f4ff;
    padding: 60px 0;
    text-align: center;
  }
  
 
  
  .service-item:hover {
    transform: translateY(-5px);
  }
  
  /* PROJECTS */
  .projects {
    background: #fff;
    padding: 60px 0;
    text-align: center;
  }
  
  .project-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  
  .project-item {
    width: 30%;
  }
  
  .project-item img {
    width: 100%;
    border-radius: 10px;
  }
  
  /* TESTIMONIALS */
  .testimonials {
    background: #e0f0ff;
    padding: 60px 0;
    text-align: center;
  }
  
  .testimonial {
    width: 70%;
    margin: 0 auto;
    font-style: italic;
  }
  
  /* FOOTER */
  footer {
    background: #002b64;
    color: white;
    padding-top: 40px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-info, .footer-social {
    width: 45%;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 15px 0;
    background: #001d43;
    margin-top: 20px;
  }
  
  .reasons {
    background: #fff;
    padding: 60px 0;
    text-align: center;
  }
  
  .reason-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 25px;
    margin-top: 30px;
  }
  
  .reason-item {
    background: #f0f6ff;
    border: 1px solid #d0e0ff;
    border-radius: 10px;
    width: 30%;
    min-width: 280px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
  }
  
  .reason-item h3 {
    color: #004aad;
    margin-bottom: 10px;
  }
  
  .reason-item p {
    color: #333;
    line-height: 1.6;
  }

  footer {
    background-color: #222;
    color: #eee;
    padding: 40px 0 10px;
    font-size: 15px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
  }
  
  .footer-info {
    flex: 1;
    min-width: 280px;
  }
  
  .footer-info h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
  }
  
  .footer-form {
    flex: 1;
    min-width: 300px;
  }
  
  .footer-form h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: none;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
  }
  
  .contact-form button {
    background-color: #0078d7;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .contact-form button:hover {
    background-color: #005fa3;
  }
  
  .footer-bottom {
    border-top: 1px solid #444;
    margin-top: 25px;
    text-align: center;
    padding-top: 10px;
    color: #aaa;
    font-size: 14px;
  }
  
  .contact-intro {
    background-color: #f2f6fa;
    text-align: center;
    padding: 60px 20px;
  }
  
  .contact-intro h2 {
    font-size: 28px;
    color: #0078d7;
    margin-bottom: 10px;
  }
  
  .contact-intro p {
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    background-color: #fff;
  }
  
  .info-box {
    flex: 1 1 200px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
  }
  
  .info-box h3 {
    color: #0078d7;
    margin-bottom: 10px;
  }
  
  .contact-form-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
  }
  
  .contact-form-section h2 {
    color: #0078d7;
    margin-bottom: 15px;
  }
  
  .contact-form-section p {
    color: #666;
    margin-bottom: 30px;
  }
  
  .contact-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }
  
  .contact-form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 15px;
  }
  
  .contact-form button {
    background-color: #0078d7;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: background 0.3s;
  }
  
  .contact-form button:hover {
    background-color: #005fa3;
  }
  
  .map {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
  }
  
  .map h2 {
    color: #0078d7;
    margin-bottom: 20px;
  }

  header {
    background-color: #005bb5;
    color: white;
    padding: 10px 0;
  }
  
  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    flex-wrap: wrap;
  }
  
  .logo {
    font-weight: bold;
    font-size: 18px;
  }
  
  .logo span {
    color: #ffe600;
  }
  
  .menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 10px 0;
  }
  
  .menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }
  
  .menu li a.active,
  .menu li a:hover {
    text-decoration: underline;
  }
  
  .btn-contact {
    background-color: #ffe600;
    color: #222;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
  }
  
  .btn-contact:hover {
    background-color: #fff;
  }
  
  /* --- Slider --- */
  .slider {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
  }
  
  .slider img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
  }
  
  .btn-primary {
    display: inline-block;
    background: #ffe600;
    color: #222;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
  }
  
  .btn-primary:hover {
    background: #fff;
  }
  
  .services {
    padding: 60px 20px;
    background: #f8f8f8;
    text-align: center;
  }
  
  .services h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
  }
  
  .services .section-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.6;
  }
  
  .service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
  }
  
  .service-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  
  .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  }
  
  .service-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .service-item h3 {
    color: #0c3b6b;
    font-size: 18px;
    text-align: center;
  }
  
  .service-item p {
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
    text-align: center;
  }
  
  
  /* --- Responsive --- */
@media (max-width: 900px) {
    .contact-container {
      flex-direction: column;
    }
    .contact-form, .contact-info {
      flex: 1 1 100%;
    }
    header h1 {
      font-size: 20px;
    }
    nav ul {
      flex-direction: column;
      align-items: center;
    }
  }
  
  @media (max-width: 600px) {
    .btn-submit, footer button {
      width: 100%;
    }
    footer .footer-content {
      flex-direction: column;
    }
  }
  @media (max-width: 992px) {
    .header-top {
      flex-direction: column;
      text-align: center;
    }
    .menu {
      flex-direction: column;
      gap: 10px;
    }
    .slider-text h1 {
      font-size: 20px;
    }
  }
  
  @media (max-width: 768px) {
    .slider-text {
      width: 90%;
      padding: 15px;
    }
    .intro, .services, .reasons, .testimonials {
      padding: 20px;
    }
    .footer-content {
      flex-direction: column;
    }
    .footer-form, .footer-info {
      flex: 1 1 100%;
    }
  }
  
  @media (max-width: 480px) {
    .logo {
      font-size: 16px;
    }
    .btn-contact {
      width: 100%;
      text-align: center;
      display: block;
    }
    .slider-text h1 {
      font-size: 18px;
    }
    .slider-text p {
      font-size: 14px;
    }
    .reason-item, .service-item {
      padding: 10px;
    }
  }
  /* Màn hình vừa (Tablet) */
@media (max-width: 1024px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services h2 {
    font-size: 24px;
  }
}

/* Màn hình vừa (Tablet) */
@media (max-width: 1024px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services h2 {
    font-size: 24px;
  }
}

/* Màn hình nhỏ (Điện thoại) */
@media (max-width: 600px) {
  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: 15px;
  }

  .services h2 {
    font-size: 22px;
  }

  .service-item h3 {
    font-size: 17px;
  }

  .services .section-desc {
    font-size: 14px;
    margin-bottom: 25px;
  }
}

/* Hero banner */
.hero-service {
  background: url('https://images.unsplash.com/photo-1581091215367-59ab6b7e5a5b?w=1600') center/cover no-repeat;
  color: rgb(19, 19, 19);
  text-align: center;
  padding: 120px 20px;
}
.hero-service h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-service p {
  max-width: 800px;
  margin: 0 auto 20px;
}
.btn-primary {
  background: #007bff;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-primary:hover {
  background: #0056b3;
}

/* Intro */
.service-intro {
  text-align: center;
  padding: 60px 20px;
}
.service-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

/* Service cards */
.service-listing {
  padding: 60px 20px;
  background: #f9f9f9;
}
.service-listing .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  color: #007bff;
  margin-bottom: 10px;
}

/* Guarantee */
.service-guarantee {
  padding: 60px 20px;
  text-align: center;
}
.service-guarantee ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  padding: 0;
}
.service-guarantee li {
  margin: 10px 0;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-service h1 {
    font-size: 2rem;
  }
  .service-card img {
    height: 180px;
  }
}

/* ============================= */
/* 📱 RESPONSIVE DỊCH VỤ AN BÌNH */
/* ============================= */

/* -------- Tablet (từ 769px đến 1024px) -------- */
@media (max-width: 1024px) {
  header .container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-service {
    padding: 100px 20px;
  }

  .hero-service h1 {
    font-size: 2.2rem;
  }

  .service-intro p {
    font-size: 1rem;
  }

  .service-listing .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card img {
    height: 220px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-info, .footer-form {
    width: 100%;
  }
}

/* -------- Mobile (từ 601px đến 768px) -------- */
@media (max-width: 768px) {
  .hero-service {
    padding: 80px 20px;
  }

  .hero-service h1 {
    font-size: 1.8rem;
  }

  .hero-service p {
    font-size: 0.95rem;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .service-listing .container {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 200px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  .service-guarantee ul {
    padding: 0 15px;
  }

  footer .footer-content {
    flex-direction: column;
    text-align: center;
  }

  footer form input,
  footer form textarea {
    width: 100%;
  }

  footer form button {
    width: 100%;
  }
}

/* -------- Mobile nhỏ (dưới 600px) -------- */
@media (max-width: 600px) {
  .hero-service {
    background-position: center;
    padding: 70px 15px;
  }

  .hero-service h1 {
    font-size: 1.6rem;
  }

  .service-intro h2 {
    font-size: 1.5rem;
  }

  .service-intro p {
    font-size: 0.9rem;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .card-content {
    padding: 15px;
  }

  .footer-info p {
    font-size: 0.9rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}
