@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700&family=Montserrat:wght@300;400;500;700&display=swap');
:root {
  /* Màu sắc */
  --primary: #7c77df;
  --secondary: #638efe;
  --accent: #fbfbd6;
  --text-light: #fbfbd6;
  --text-white: #ffffff;

  /* Background */
  --bg-overlay: rgba(158, 182, 255, 0.35);
  --border-light: rgba(130, 163, 250, 0.6);

  /* Font */
  --font-heading: "Bricolage Grotesque", sans-serif;
  --font-body: "Montserrat", sans-serif;

  /* Kích thước */
  --border-radius: 24px;
  --container-padding: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-height: 100vh;
  background: url("/assets/background.webp") no-repeat center top fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  font-family: var(--font-heading);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ĐẢM BẢO BACKGROUND ĐỨNG YÊN TRÊN MOBILE */
@media (max-width: 768px) {
  body {
    background-attachment: fixed; /* Quan trọng: giữ background cố định */
  }
}

/* Common styles for all title images - UPDATED & CLEANED */
.intro-title img,
.timeline-title img,
.departments-title img,
.faq-title img {
  width: 600px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto 50px;
}

/* Responsive adjustments - UPDATED & CLEANED */
@media (max-width: 768px) {
  .intro-title img,
  .timeline-title img,
  .departments-title img,
  .faq-title img {
    max-width: 85%;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .intro-title img,
  .timeline-title img,
  .departments-title img,
  .faq-title img {
    max-width: 80%;
    margin-bottom: 30px;
  }
}

/* Điều chỉnh margin cho từng section để đồng bộ khoảng cách */
.intro-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.departments-section {
  width: 100%;
  margin: 120px auto 140px; /* Đồng bộ với các section khác */
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Journey Section - thêm vào để đồng bộ */
.journey-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Countdown Section - thêm vào để đồng bộ */
.countdown-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsive margin cho tất cả sections */
@media (max-width: 768px) {
  .intro-section,
  .timeline-section,
  .departments-section,
  .faq-section,
  .journey-section,
  .countdown-section {
    margin: 80px auto 100px;
  }
}

@media (max-width: 480px) {
  .intro-section,
  .timeline-section,
  .departments-section,
  .faq-section,
  .journey-section,
  .countdown-section {
    margin: 60px auto 80px;
    padding: 0 15px;
  }
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("/assets/background.webp") no-repeat center top fixed;
  background-size: cover;
}

.hero-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* đảm bảo không bị cắt */
  display: block;
}

@media (max-width: 600px) {
  .hero-container {
    position: relative;
    height: auto;
    background: url("/assets/background.webp") no-repeat center top fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ảnh ở trên */
    align-items: center;
  }

  .hero-img {
    width: 100%;
    height: auto;
    display: block;
    content: url("/assets/hero_mobile.webp");
  }

  .apply-btn {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 10000px; /* Khoảng cách từ ảnh xuống nút */
    margin-bottom: 40px; /* Khoảng cách từ nút xuống dưới */
    padding: 12px 40px !important;
    font-size: 1.1rem !important;
    min-width: 200px !important;
  }
}

/* Button gốc - SỬA LẠI CHO RESPONSIVE */
.apply-btn {
  position: absolute;
  bottom: 12%;
  left: 21%;
  transform: none;
  padding: 0.8vw 2.5vw;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-weight: 900;
  color: #fbfbd6;
  
  /* Glass effect tinh tế hơn */
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.18) 0%, 
    rgba(255, 255, 255, 0.12) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  text-align: center;
  min-width: 160px;
  
  /* Shadow được tối ưu */
  box-shadow: 
    0 6px 24px rgba(171, 185, 76, 0.25),
    0 2px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.3px;
}

/* Sửa lại hiệu ứng ánh sáng viền - không ảnh hưởng vị trí */
.apply-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(171, 185, 76, 0.2), 
    rgba(255, 255, 255, 0.1), 
    rgba(171, 185, 76, 0.2));
  border-radius: 40px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.apply-btn:hover::after {
  opacity: 1;
}

.apply-btn:hover {
  /* Chỉ translateY thôi, không scale để không thay đổi kích thước */
  transform: translateY(-3px);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%, 
    rgba(255, 255, 255, 0.18) 100%);
  box-shadow: 
    0 12px 32px rgb(255, 255, 255),
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Countdown style - giống layout bạn gửi */
.countdown {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 34px; /* tăng khoảng cách trên dưới */
  margin: 300px 0 300px;
  padding: 0 20px;
  box-sizing: border-box;
  pointer-events: auto;
  font-family: "Montserrat", sans-serif;
} /* Hộp chính */
.time-box {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 34px;
  background: rgba(158, 182, 255, 0.6); /* #9eb6ff @ 60% */
  border: 4px solid #82a3fa;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 8px 0 0 rgba(130, 163, 250, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.06);
} /* Tạo vòng viền phụ */
.time-box::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 40px;
  pointer-events: none;
  z-index: -1;
} /* Số (font = Bricolage Grotesque) */
.time-box span {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif; /* đổi font */
  font-size: 4.4rem;
  line-height: 1;
  color: #fbfbd6;
  font-weight: 700; /* đậm vừa phải cho giống ảnh */
  letter-spacing: 2px;
  transform: translateY(-12px);
  text-align: center;
} /* Label dưới (font = Montserrat) */
.time-box p {
  position: absolute;
  bottom: 22px;
  width: 100%;
  margin: 0;
  font-size: 1.1rem;
  color: #eeecff;
  font-family: "Montserrat", sans-serif; /* giữ Montserrat */
  font-weight: 400;
  text-align: center;
  opacity: 0.95;
  letter-spacing: 0.6px;
}
/* Responsive */
@media (max-width: 880px) {
  .time-box {
    width: 110px;
    height: 130px;
    border-radius: 22px;
  }

  .countdown {
    gap: 16px;
    margin: 60px 10px 80px;
  }

  .time-box span {
    font-size: 2.6rem;
    transform: translateY(-8px);
  }

  .time-box p {
    font-size: 0.9rem;
    bottom: 14px;
  }
}

@media (max-width: 420px) {
  .time-box {
    width: 80px;
    height: 100px;
    border-radius: 16px;
  }

  .time-box span {
    font-size: 1.8rem;
    transform: translateY(-4px);
  }

  .time-box p {
    font-size: 0.75rem;
    bottom: 6px;
  }

  .countdown {
    gap: 8px;
    margin: 40px 5px 50px;
  }
}

/* Intro Section */
.intro-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-container {
  max-width: 900px;
  background: rgba(158, 182, 255, 0.35);
  border: 2px solid rgba(130, 163, 250, 0.6);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ffffff;
  text-align: justify;
}

.intro-container p {
  margin-bottom: 18px;
}

/* Timeline Section */
.timeline-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-container {
  width: 100%;
  max-width: 1200px;
}

.timeline-box {
  position: relative;
  background: rgba(158, 182, 255, 0.35);
  border: 2px solid rgba(130, 163, 250, 0.6);
  border-radius: 24px;
  padding: 60px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

/* Line phát sáng */
.timeline-line-glow {
  position: absolute;
  top: 40%;
  left: 5%; /* Sửa từ 10% xuống 5% */
  right: 5%; /* Sửa từ 10% xuống 5% */
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  filter: blur(1px);
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-steps {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
}

/* Icon nằm giữa line */
.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  position: relative;
  top: 0px; /* dịch icon lên giữa line (80px/2) */
  border-radius: 50%;
  z-index: 4;
}

.step-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(255, 216, 77, 0.8));
}

.step-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.step-text h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fbfbd6;
  margin-bottom: 8px;
}

.step-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: #f0f0f0;
  line-height: 1.4;
  font-weight: 500;
}

/* Mobile: Xếp dọc, không có line */
@media (max-width: 768px) {
  .timeline-box {
    padding: 40px 20px;
  }

  .timeline-line-glow,
  .timeline-line {
    display: none;
  }

  .timeline-steps {
    flex-direction: column;
    gap: 40px;
  }

  .timeline-step {
    flex-direction: row;
    text-align: left;
    width: 100%;
    max-width: 300px;
    gap: 20px;
  }

  .step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-icon img {
    width: 45px;
    height: 45px;
  }

  .step-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .step-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .timeline-box {
    padding: 30px 15px;
  }

  .timeline-step {
    gap: 15px;
    max-width: 100%;
  }

  .step-icon {
    width: 50px;
    height: 50px;
  }

  .step-icon img {
    width: 35px;
    height: 35px;
  }

  .step-text h3 {
    font-size: 1rem;
  }

  .step-text p {
    font-size: 0.85rem;
  }
}

/* Departments Section - Updated Design */
.departments-section {
  width: 100%;
  margin: 120px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.departments-container {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.department-card {
  background: rgba(158, 182, 255, 0.35);
  border: 2px solid rgba(130, 163, 250, 0.6);
  border-radius: 20px;
  padding: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  height: 450px;
  aspect-ratio: 3/4;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image container */
.department-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.department-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.department-card:hover .department-image img {
  transform: scale(1.05);
}

/* Gradient overlay thấp hơn và mịn hơn */
.department-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%; /* Giảm chiều cao gradient xuống còn 45% */
  background: linear-gradient(
    to top,
    rgba(139, 134, 240, 0.95) 0%,
    rgba(124, 119, 223, 0.85) 15%,
    rgba(148, 176, 252, 0.7) 40%,
    rgba(158, 182, 255, 0.4) 70%,
    rgba(158, 182, 255, 0.1) 90%,
    transparent 100%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* Content positioning */
.department-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  color: white;
}

.department-content h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fbfbd6;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.department-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 15px;
  opacity: 0.95;
  font-weight: 400;
}

.view-detail-btn {
  display: inline-block;
  padding: 6px 16px;
  background: #7c77df;
  color: #fbfbd6;
  text-decoration: none;
  border-radius: 15px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  border: 2px solid #638efe;
  transition: all 0.3s ease;
}

.view-detail-btn:hover {
  background: #6b66cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
  .departments-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .department-card {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .departments-section {
    margin: 40px auto 60px;
  }

  .departments-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 20px;
    justify-items: center;
  }

  .department-card {
    height: 320px;
  }

  .department-content {
    padding: 15px;
  }

  .department-content h3 {
    font-size: 1.2rem;
  }

  .department-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .departments-section {
    margin: 30px auto 50px;
    padding: 0 15px;
  }

  .department-card {
    height: 280px;
  }

  .department-content h3 {
    font-size: 1.1rem;
  }

  .department-content p {
    font-size: 0.8rem;
  }

  .view-detail-btn {
    padding: 5px 12px;
    font-size: 0.8rem;
  }
}

/* FAQ Section */
.faq-section {
  width: 100%;
  margin: 100px auto 140px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Container */
.faq-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-answer p {
  margin-bottom: 12px;
  line-height: 1.6;
} /* Item */
.faq-item {
  background: rgba(158, 182, 255, 0.35);
  border: 2px solid rgba(130, 163, 250, 0.6);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
} /* nút câu hỏi */
.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-family: "Bricolage Grotesque", sans-serif; /* đổi font */
  font-weight: 700; /* Bold */
  color: #ffffff; /* màu câu hỏi */
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  letter-spacing: 0.5px;
} /* icon mũi tên */
.arrow {
  font-size: 1.1rem;
  color: #c1e6ff;
  transition: transform 0.3s;
  margin-left: 10px;
} /* câu trả lời */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif; /* font Montserrat */
  font-weight: 300; /* Light */
  color: #ffffff; /* màu câu trả lời */
  line-height: 1.5;
}
.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 12px 24px 20px;
}
.faq-item.active .arrow {
  transform: rotate(90deg); /* ▶ xoay thành ▼ */
}
.footer {
  position: relative;
  width: 100%;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  padding: 60px 20px 25px;
} /* Overlay phủ full */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(124, 119, 223, 0.85) 0%,
    rgba(130, 163, 250, 0.75) 60%,
    rgba(158, 182, 255, 0.5) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 0;
}
.footer-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between; /* tự căn cách đều 2 cột */
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 100px; /* khoảng cách cố định giữa các cột */
}
.footer-col:first-child {
  flex: 0 0 350px; /* cột 1 chỉ rộng ~320px */
}
.footer-col {
  flex: 1;
  min-width: 250px;
}
.footer-logo {
  width: 140px;
  margin-bottom: 16px;
}
.footer h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #fbfbd6;
}
.footer p,
.footer a {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #f0f0f0;
  line-height: 1.5;
}
.footer-right {
  display: flex;
  gap: 60px; /* khoảng cách giữa Ban Chủ Tịch và Kết nối */
  align-items: flex-start;
} /* person row: icon | text-block */
.footer .person {
  display: flex;
  align-items: flex-start;
  gap: 12px; /* khoảng cách icon - text */
  margin: 8px 0;
} /* SVG icon */
.footer .person svg {
  width: 36px; /* chỉnh vừa phải */
  height: 36px;
  flex-shrink: 0; /* không co icon */
  color: #c1e6ff;
  opacity: 1;
  margin-top: 2px; /* cho icon cân với text-block */
} /* Text block = label trên, name dưới */
.footer .person .text-block {
  display: flex;
  flex-direction: column; /* label trên, name dưới */
  line-height: 1.4;
} /* phần "Chức vụ:" */
.footer .person .label {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #fff9aa;
  line-height: 1.3;
} /* phần tên */
.footer .person .name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
} /* Email/link row: cho phép wrap nhẹ (nếu cần) */
.footer .person a {
  color: #f0f0f0;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
}
.bct-row {
  display: flex;
  gap: 50px; /* khoảng cách giữa từng người */
  flex-wrap: wrap; /* cho responsive, nếu hẹp thì xuống hàng */
  margin-top: 10px;
}
.bct-row .person {
  display: flex;
  align-items: center;
  gap: 8px;
} /* Mobile: nếu màn quá chật thì vẫn giữ block dọc, icon trên - text dưới */

/* Journey Section */
.journey-container {
  width: 100%;
  max-width: 1200px;
  background: rgba(158, 182, 255, 0.35);
  border: 2px solid rgba(130, 163, 250, 0.6);
  border-radius: 24px;
  padding: 50px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.journey-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.journey-text {
  flex: 1;
}

.journey-text h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fbfbd6;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 216, 77, 0.3);
}

.journey-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 15px;
  text-align: justify;
}

.view-more-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 24px;
  background: #7c77df;
  color: #fbfbd6;
  text-decoration: none;
  border-radius: 25px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #638efe;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  background: #6b66cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.journey-image {
  flex: 0 0 400px;
}

.journey-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
  .journey-content {
    gap: 40px;
  }

  .journey-image {
    flex: 0 0 350px;
  }
}

@media (max-width: 768px) {
  .journey-content {
    flex-direction: column-reverse;
    gap: 30px;
    text-align: center;
  }

  .journey-image {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .journey-text h2 {
    font-size: 1.8rem;
  }

  .journey-text p {
    text-align: left;
  }

  .journey-container {
    padding: 40px 30px;
    margin: 60px auto 0;
  }
}

@media (max-width: 480px) {
  .journey-container {
    padding: 30px 20px;
    margin: 40px auto 0;
  }

  .journey-text h2 {
    font-size: 1.6rem;
  }

  .journey-text p {
    font-size: 1rem;
  }

  .view-more-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}
@media (max-width: 520px) {
  .footer .person {
    gap: 10px;
  }
  .footer .person svg {
    width: 32px;
    height: 32px;
  }
}
.social-links {
  margin-top: 10px;
}
.social-links a {
  font-size: 1.5rem;
  margin-right: 16px;
  color: #ffffff;
  transition: color 0.3s, transform 0.2s;
}
.social-links a:hover {
  color: #fbfbd6;
  transform: translateY(-2px);
}
.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 40px;
  font-size: 0.9rem;
  color: #e6e6e6;
}
/* Scroll Down Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px; /* Tăng từ 30px lên 60px để lên cao hơn */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #4d8c00;
  z-index: 10;
  animation: fadeInUp 2s ease-out;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.scroll-down-indicator.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-down-indicator.hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-down-indicator span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 2px 4px rgb(255, 255, 255);
}

/* Phương án 1: Dùng GIF */
.scroll-gif {
  width: 40px;
  height: 40px;
}

@keyframes bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) translateY(-10px);
    opacity: 0.7;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Ẩn scroll down indicator trên điện thoại */
@media (max-width: 768px) {
  .scroll-down-indicator {
    display: none !important;
  }
}

/* Responsive: mobile & tablet */
@media (max-width: 768px) {
  .apply-btn {
    bottom: 12%;
    padding: 1.2vw 3vw;
    font-size: clamp(0.8rem, 3vw, 1.1rem);
    min-width: 140px;
  }
}

/* Container cho person và phone riêng biệt */
.person-with-phone {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Phone info tách biệt hoàn toàn */
.phone-info-separate {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 44px; /* Căn chỉnh với text-block */
  padding-left: 0; /* Đảm bảo không có padding thừa */
}

.phone-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0; /* Reset margin */
}

.phone {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 400;
  margin: 0; /* Reset margin */
}

/* Căn chỉnh lại phần person bên trong */
.person-with-phone .person {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0; /* Reset margin */
}

.person-with-phone .text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  margin: 0; /* Reset margin */
}

/* Đảm bảo icon person và phone thẳng hàng */
.person-with-phone .person svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
  .phone-info-separate {
    margin-left: 40px;
    gap: 6px;
  }

  .phone-icon {
    width: 14px;
    height: 14px;
  }

  .phone {
    font-size: 0.85rem;
  }

  .person-with-phone .person svg {
    width: 32px;
    height: 32px;
  }
}

/* Mobile apply button positioning */
@media (max-width: 768px) {
  .hero-container {
    position: relative;
    padding-bottom: 80px; /* Tạo khoảng trống cho nút ở dưới */
  }

  .apply-btn {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 auto !important;
    padding: 12px 40px !important;
    font-size: 1.1rem !important;
    min-width: 200px !important;
    width: auto !important;
    text-align: center !important;
    z-index: 100;
  }

  .apply-btn:hover {
    transform: translateX(-50%) translateY(-3px) !important;
  }
}

@media (max-width: 480px) {
  .apply-btn {
    padding: 10px 35px !important;
    font-size: 1rem !important;
    min-width: 180px !important;
    bottom: 15px !important;
  }
}
/* CSS cho băng cát sét */
.cassette-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cassette-player:hover {
    transform: scale(1.05);
}

.cassette {
    width: 120px;
    height: 80px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 2px solid #1a252f;
    position: relative;
}

.cassette-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 45px;
    background: #1a252f;
    border-radius: 4px;
    padding: 0 8px;
    position: relative;
}

.cassette-wheel {
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #7f8c8d, #95a5a6);
    border-radius: 50%;
    position: relative;
    border: 2px solid #34495e;
}

.cassette-wheel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #1a252f;
    border-radius: 50%;
}

.cassette-wheel.spinning {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cassette-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: #ecf0f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #bdc3c7;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.cassette-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.cassette-label {
    text-align: center;
    color: #ecf0f1;
    font-size: 9px;
    font-weight: bold;
    margin-top: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hiệu ứng khi pause */
.cassette.paused .cassette-wheel {
    animation: none;
}

.cassette.paused .cassette-center {
    background: #bdc3c7;
}

.cassette.paused .cassette-label {
    color: #bdc3c7;
}