
/* Reset cơ bản */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

/* Header */
header {
  background: #e60000;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

/* Container và section */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section {
  margin: 40px 0;
}

.section h2 {
  color: #e60000;
  margin-bottom: 15px;
}

/* Grid layout */
.grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
}

.grid .card {
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  box-sizing: border-box;
  text-align: justify;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
}

.grid img {
  max-width: 100%;
  border-radius: 12px;
}

/* Icon trong thẻ card */
.icon {
  color: #f4b400;
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Thẻ card hover */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card h3 {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 10px;
}

/* Form tư vấn */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Nút */
button {
  background: #0066cc;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background: #e60000;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

footer div {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1000px) {
  .grid {
    flex-wrap: wrap;
  }
  .grid .card {
    max-width: 48%;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .grid {
    flex-direction: column;
  }
  .grid .card {
    max-width: 100%;
    width: 100%;
    margin-bottom: 20px;
  }
}
.icon-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  line-height: 1.5;
}

.icon-inline img.zalo-icon {
  height: 20px;
  width: 20px;
  object-fit: contain;
  vertical-align: middle;
}
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background-color: #e60000;
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: none;
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#back-to-top:hover {
  background-color: #b50000;
  transform: translateY(-3px);
}
.zalo-icon {
  height: 24px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .zalo-icon {
    height: 18px;
  }
}

html {
  scroll-behavior: smooth;
}
