* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  }
  
  body {
    line-height: 1.6;
  }
  
  /* HEADER */
  .header {
    position: sticky;
    top: 0;
    background: #111;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    z-index: 100;
  }
  
  .nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    position: relative;
  }
  
  .nav a.active::after,
  .nav a:hover::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #00ffd5;
    position: absolute;
    bottom: -5px;
    left: 0;
  }
  
  /* HERO */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 10%;
  }
  
  .hero-img {
    width: 100%;
    border-radius: 20px;
  }  
  
  /* GRID */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px;
  }
  
  .card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
  }
  
  .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card h3 {
    margin: 15px 0 5px;
  }
  
  .card p {
    color: #ccc;
    padding-bottom: 20px;
  }
  
  .card:hover {
    transform: translateY(-10px);
  }  
  
  /* CARD */
  .card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
  }  
  .card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #000; /* tránh khoảng trống nhìn xấu */
  }  
  .card:hover {
    transform: translateY(-10px);
  }
  .card {
    cursor: pointer;
  }
  
  .card:hover img {
    transform: scale(1.05);
  }
  
  .card img {
    transition: 0.4s ease;
  }  

  .card-link {
    text-decoration: none;
    color: inherit;
  }  
  
  /* FORM */
  form {
    max-width: 400px;
    margin: 50px auto;
  }
  
  input, button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
  }
  
  button {
    background: #0077ff;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  /* RESPONSIVE */
  .menu-toggle {
    display: none;
  }
  
  @media (max-width: 768px) {
    .nav {
      display: none;
      flex-direction: column;
      background: #111;
    }
  
    .nav.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
      cursor: pointer;
    }
  }
  .slider {
    padding: 60px 0;
    background: #f5f5f5;
  }
  
  .swiper {
    width: 80%;
    height: 300px;
  }
  
  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(120deg, #253342, #00ffa6);
    color: #fff;
    border-radius: 20px;
  }
  .portfolio-slider {
    padding: 60px 0;
    background: #fafafa;
  }
  
  .portfolioSwiper {
    width: 85%;
  }
  
  .portfolioSwiper .swiper-slide {
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  /* SCROLL PROGRESS BAR */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #00ffd5, #00ffa6);
    z-index: 9999;
    transition: width 0.1s ease;
  }
  .scroll-progress {
    background: linear-gradient(
      90deg,
      #00ffd5,
      #0077ff,
      #9b00ff
    );
  }
  