.slideshow-container {
  width: 127.65%;      /* tràn hết màn hình */
  left: -5.5cm;
  top:  -1.27cm;
  height: 1000px;     /* chiều cao cố định */
  position: relative;
  margin: 0;         /* bỏ căn giữa */
  overflow: hidden;  /* ẩn phần ảnh trượt ra ngoài */
}

.mySlides {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cắt ảnh vừa khung, không méo */
  border-radius: 0;  /* bỏ bo góc để sát với thanh menu */
}

.slide {
  animation-name: slideIn;
  animation-duration: 1s;
  animation-timing-function: ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}


body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9fafc;
  color: #333;
}

.navbar {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #4f9eff, #1c64f2);
  color: white;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

button {
  background: #1c64f2;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

button:hover {
  background: #1554c0;
  transform: scale(1.05);
}

.section {
  padding: 60px 20px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-title {
    font-weight: bold;
}

.text-decoration-line-through {
    text-decoration: line-through;
}

.course-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.course-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
    text-align: center;
    padding: 10px;
}

.course-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.old-price {
    text-decoration: line-through;
    color: #888;
}

.new-price {
    color: red;
    font-weight: bold;
}




.site-footer {
  background-color: #f5f6f7;
  padding: 40px 20px;
  font-family: 'Roboto', sans-serif;
  color: #333;
}

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

.footer-column h4 {
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #1c64f2;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  color: #333;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #1c64f2;
}

.store-badge {
  width: 140px;
  margin-bottom: 10px;
}

.copyright {
  font-size: 0.85rem;
  margin-top: 10px;
  color: #666;
}


/* register.html */
/* body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #ff9800, #ff5722);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.auth-wrapper {
  width: 100%;
  max-width: 600px;   /* rộng hơn */
  padding: 20px;
}

.auth-box {
  background: #fff;
  padding: 40px 35px; /* padding nhiều hơn */
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  text-align: center;
}

.auth-box h2 {
  margin-bottom: 10px;
  color: #333;
  font-size: 26px;  /* chữ to hơn */
}

.auth-box .subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 25px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group i {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #999;
  font-size: 16px;
}

.form-group input {
  width: 100%;
  padding: 14px 14px 14px 42px; /* to hơn */
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: 0.3s;
}

.form-group input:focus {
  border-color: #ff6f00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.2);
}

.btn-register {
  width: 100%;
  background: #ff6f00;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 18px;  /* chữ to hơn */
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-register:hover {
  background: #e65c00;
}

.footer-text {
  margin-top: 20px;
  font-size: 15px;
  color: #555;
}

.footer-text a {
  color: #ff6f00;
  text-decoration: none;
  font-weight: 600;
}
