/*
Theme Name:   novahvacr.co
Theme URI:    ""
Author:       novahvacr.co
Author URI:   ""
Description:  novahvacr.co.
Version:      1.0.0
Text Domain:  novahvacr.co
*/
      /* Reset cơ bản */
      * {
          margin: 0;
          padding: 0;
          box-sizing: border-box;
          font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      }

      body {
          line-height: 1.6;
          color: #333;
          background-color: #f9f9f9;
      }
      a {
          text-decoration: none;
      }
      /* Thanh liên hệ trên cùng (Top Bar) */
      .top-bar {
          background-color: #003d80;
          color: #fff;
          padding: 8px 10%;
          font-size: 14px;
          display: flex;
          justify-content: space-between;
          align-items: center;
      }

      .top-bar-left span, .top-bar-right a {
          margin-right: 20px;
          color: #eceff1;
          text-decoration: none;
      }

      .top-bar-right strong {
          color: #ffc107;
      }

      /* Thanh điều hướng (Header) */
      header {
          background-color: #0056b3;
          color: #fff;
          padding: 15px 10%;
          display: flex;
          justify-content: space-between;
          align-items: center;
          position: sticky;
          top: 0;
          z-index: 1000;
          box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      }

      .logo h1 {
          font-size: 24px;
          color: #fff;
      }

      .logo span {
          color: #ffc107;
      }

      /* --- MENU ĐIỀU HƯỚNG PC --- */
      nav ul {
          display: flex;
          list-style: none;
          align-items: center;
      }

          nav ul li {
              margin-left: 25px;
          }

              nav ul li a {
                  color: #fff;
                  text-decoration: none;
                  font-weight: 600;
                  transition: color 0.3s;
              }

                  nav ul li a:hover {
                      color: #ffc107;
                  }

      /* Nút Hamburger (Mặc định ẩn trên PC) */
      .menu-toggle {
          display: none;
          flex-direction: column;
          justify-content: space-between;
          width: 30px;
          height: 21px;
          cursor: pointer;
          background: transparent;
          border: none;
          outline: none;
      }

          .menu-toggle span {
              display: block;
              height: 3px;
              width: 100%;
              background-color: #fff;
              border-radius: 3px;
              transition: all 0.3s ease-in-out;
          }

          /* Hiệu ứng chuyển thành dấu X khi mở menu */
          .menu-toggle.active span:nth-child(1) {
              transform: translateY(9px) rotate(45deg);
          }

          .menu-toggle.active span:nth-child(2) {
              opacity: 0;
          }

          .menu-toggle.active span:nth-child(3) {
              transform: translateY(-9px) rotate(-45deg);
          }

      /* --- KHU VỰC BANNER CHỨA FORM LIÊN HỆ (HERO SECTION) --- */
      .hero {
          background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
          min-height: 80vh;
          color: #fff;
          display: flex;
          align-items: center;
          padding: 40px 10%;
      }

      .hero-container {
          width: 1200px;
          margin: 0 auto;
          display: grid;
          grid-template-columns: 1.2fr 0.8fr;
          gap: 50px;
          align-items: center;
      }

      .hero-text h2 {
          font-size: 42px;
          margin-bottom: 20px;
          text-transform: uppercase;
          line-height: 1.3;
      }

          .hero-text h2 span {
              color: #ffc107;
          }

      .hero-text p {
          font-size: 18px;
          margin-bottom: 25px;
          color: #e0e0e0;
      }

      .hero-features {
          list-style: none;
      }

          .hero-features li {
              margin-bottom: 10px;
              font-size: 16px;
          }

      .hero-form-box {
          background-color: #fff;
          color: #333;
          padding: 30px;
          border-radius: 8px;
          box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      }

          .hero-form-box h3 {
              font-size: 22px;
              color: #0056b3;
              margin-bottom: 5px;
              text-align: center;
          }

          .hero-form-box p {
              font-size: 14px;
              color: #666;
              text-align: center;
              margin-bottom: 20px;
          }

      .form-group {
          margin-bottom: 15px;
      }

          .form-group input, .form-group select, .form-group textarea {
              width: 100%;
              padding: 12px;
              border: 1px solid #ccc;
              border-radius: 4px;
              font-size: 15px;
              outline: none;
          }

              .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
                  border-color: #0056b3;
              }

      .btn-submit {
          width: 100%;
          background-color: #ffc107;
          color: #333;
          padding: 12px;
          border: none;
          border-radius: 4px;
          font-size: 16px;
          font-weight: bold;
          cursor: pointer;
          transition: background 0.3s;
      }

          .btn-submit:hover {
              background-color: #e0a800;
          }

      /* Khối nội dung chung */
      .container {
          max-width: 1200px;
          margin: 60px auto;
          padding: 0 20px;
      }

      .section-title {
          text-align: center;
          margin-bottom: 40px;
          position: relative;
          font-size: 32px;
          color: #0056b3;
      }

          .section-title::after {
              content: '';
              display: block;
              width: 80px;
              height: 4px;
              background-color: #ffc107;
              margin: 10px auto 0;
          }

      /* --- SECTION GIỚI THIỆU (ABOUT) --- */
      .about-wrapper {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 40px;
          align-items: center;
      }

      .about-img img {
          width: 100%;
          border-radius: 8px;
          box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      }

      .about-content h3 {
          font-size: 24px;
          color: #0056b3;
          margin-bottom: 15px;
      }

      .about-content p {
          margin-bottom: 15px;
          color: #555;
          text-align: justify;
      }

      .about-stats {
          display: flex;
          gap: 30px;
          margin-top: 25px;
      }

      .stat-item {
          text-align: center;
          background: #fff;
          padding: 15px 20px;
          border-radius: 6px;
          box-shadow: 0 2px 10px rgba(0,0,0,0.05);
          flex: 1;
      }

          .stat-item .number {
              font-size: 28px;
              font-weight: bold;
              color: #ffc107;
              display: block;
          }

          .stat-item .label {
              font-size: 13px;
              color: #666;
          }

      /* Dịch vụ */
      .services-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
          gap: 30px;
      }

      .service-card {
          background: #fff;
          padding: 30px;
          border-radius: 8px;
          box-shadow: 0 4px 15px rgba(0,0,0,0.05);
          text-align: center;
      }

          .service-card .icon {
              font-size: 40px;
              color: #0056b3;
              margin-bottom: 15px;
          }

      /* Chân trang */
      footer {
          background-color: #222;
          color: #fff;
          text-align: center;
          padding: 20px;
          font-size: 14px;
      }
.subscribe-section {
            background: linear-gradient(rgba(0, 61, 128, 0.9), rgba(0, 86, 179, 0.9)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            color: #fff;
            padding: 60px 20px;
            text-align: center;
        }

        .subscribe-container {
            max-width: 650px;
            margin: 0 auto;
        }

        .subscribe-container h2 {
            font-size: 28px;
            margin-bottom: 10px;
        }
.subscribe-container h2{color:#ffc107}
        .subscribe-container p {
            font-size: 15px;
            color: #eceff1;
            margin-bottom: 25px;
        }

        .subscribe-form {
            display: flex;
            gap: 10px;
            width: 100%;
        }

        .subscribe-form input[type="email"] {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: 4px;
            font-size: 15px;
            outline: none;
        }

        .subscribe-form button {
            background-color: #ffc107;
            color: #333;
            border: none;
            padding: 0 30px;
            font-weight: bold;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
            white-space: nowrap;
        }

        .subscribe-form button:hover {
            background-color: #e0a800;
        }
/* --- CHÂN TRANG MỚI (FOOTER UPGRADE) --- */
        footer {
            background-color: #1a1a1a;
            color: #ccc;
            padding: 60px 10% 20px;
            font-size: 15px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            text-align: left;
        }

        .footer-col h4 {
            color: #fff;
            font-size: 18px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 8px;
            text-transform: uppercase;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: #ffc107;
        }

        .footer-col p {
            line-height: 1.8;
            margin-bottom: 15px;
        }

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

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            color: #ccc;
            transition: color 0.3s, padding-left 0.3s;
            display: inline-block;
        }

        .footer-col ul li a:hover {
            color: #ffc107;
            padding-left: 5px;
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .footer-contact-item span {
            margin-right: 10px;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 5px;
            padding-top: 20px;
            border-top: 1px solid #333;
            font-size: 14px;
            color: #777;
        }
.imgicon img{
    width: 20px!important;
    height: 20px!important;
}
        /* Tối ưu hóa cho thiết bị di động */
        @media (max-width: 768px) {
            footer {
                padding: 40px 5% 20px;
            }
            .footer-container {
                gap: 30px;
            }
        }
      /* ================= TƯƠNG THÍCH RESPONSIVE ================= */
      @media (max-width: 992px) {
          .hero-container {
              grid-template-columns: 1fr;
              gap: 30px;
          }

          .hero-text {
              text-align: center;
          }

          .hero-features {
              display: none;
          }

          .about-wrapper {
              grid-template-columns: 1fr;
              gap: 30px;
          }
      }

      /* Tối ưu Mobile & Menu Mobile tại mốc 768px */
      @media (max-width: 768px) {
          .top-bar {
              flex-direction: column;
              text-align: center;
              gap: 5px;
              padding: 8px 5%;
          }

          .top-bar-left span {
              margin-right: 0;
              display: block;
          }

          header {
              padding: 15px 5%; /* Thu hẹp padding hai bên */
          }

          /* Hiện nút bấm 3 gạch */
          .menu-toggle {
              display: flex;
          }

          /* Biến Menu ngang thành Menu dọc ẩn bên ngoài màn hình */
          nav ul {
              position: absolute;
              top: 100%; /* Ngay sát dưới header */
              left: 0;
              width: 100%;
              background-color: #0056b3;
              flex-direction: column;
              align-items: stretch;
              max-height: 0; /* Ẩn menu đi */
              overflow: hidden;
              transition: max-height 0.3s ease-in-out;
              box-shadow: 0 5px 10px rgba(0,0,0,0.15);
          }

              /* Khi nhấn toggle sẽ thêm class .active để mở rộng chiều cao menu */
              nav ul.active {
                  max-height: 300px;
              }

              nav ul li {
                  margin: 0;
                  text-align: center;
                  border-top: 1px solid rgba(255, 255, 255, 0.1);
              }

                  nav ul li a {
                      display: block;
                      padding: 15px 0;
                      width: 100%;
                  }

          .hero-text h2 {
              font-size: 30px;
          }

          .about-stats {
              flex-direction: column;
              gap: 15px;
          }
      }