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

/* Biến CSS: Quản lý màu gradient cam bóng mới */
:root {
  /* Màu cam gradient chính (Bright Sunset) - Dùng cho Header, Product Section, Contact Section, Nút Policy & Submit */
  --main-gradient: linear-gradient(145deg, #FFC371 0%, #FF5F6D 50%, #FFC371 100%); 
  /* Màu cam gradient đậm hơn (Ruby Red Edge) - Dùng cho hiệu ứng hover/slide của nút Policy & Submit */
  --hover-gradient: linear-gradient(120deg, #FA8072 0%, #E94057 100%);
}

/* Body */
body {
  font-family: 'Alumni Sans', sans-serif; 
  color: #212529;
  line-height: 1.6;
}

/* --- 1. HEADER & NAVIGATION ENHANCEMENTS --- */
.header-area {
  /* SỬ DỤNG BIẾN CSS */
  background: var(--main-gradient); 
  box-shadow: 0 2px 8px rgba(0,0,0,0.4); 
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.3s ease, background 0.3s ease, height 0.3s ease; 
}

.classy-navbar {
  padding: 15px 0; 
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 0px; 
  margin-right: 0px; 
  transition: padding 0.3s ease;
}

.header-area.header-shrink {
  /* SỬ DỤNG BIẾN CSS */
  background: var(--main-gradient); 
  padding: 0; 
}

.header-area.header-shrink .classy-navbar {
    padding: 5px 0; 
}

.nav-brand img {
  width: 50px;
  transition: all 0.3s ease;
}

.language-switcher-container {
    margin-left: 20px;
}

.lang-switcher-btn {
    background: #212529;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.lang-switcher-btn:hover {
    background: #ffffff;
    color: #212529;
    border: 2px solid #212529;
}


/* Logo Wiggle Effect */
.nav-brand img.logo-wiggle {
    animation: wiggle 0.5s ease-in-out;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-5deg) scale(1.05); }
  50% { transform: rotate(5deg) scale(1.05); }
  75% { transform: rotate(-3deg) scale(1.03); }
}

/* Căn chỉnh Nav Items */
.classy-menu {
  flex-grow: 1; 
  margin-top: 10px;
}

.classynav {
  text-align: right; 
}

.classynav ul {
  list-style: none; 
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end; 
}

.classynav ul li {
  display: inline-block; 
}

.classynav ul li a {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 400; 
  font-size: 1.5rem;
  transition: color 0.3s;
  margin: 0 15px;
  position: relative; 
}

/* Hiệu ứng Menu Underline Slide */
.classynav ul li a::after {
  content: '';
  position: absolute;
  left: 50%; 
  bottom: -5px;
  width: 0;
  height: 3px;
  background-color: #212529; 
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.classynav ul li a:hover {
  color: #212529; 
}

.classynav ul li a:hover::after {
  width: 100%; 
}
/* --- END HEADER ENHANCEMENTS --- */

/* Intro */
.intro {
  padding-top: 150px; 
  padding-bottom: 100px;
  position: relative;
}

.intro__sub-title {
  font-size: 32px;
  color: #f9943f;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.intro__title {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 100px;
  color: #212529;
  text-transform: uppercase;
  font-weight: 600; 
  line-height: 1;
}

.intro__content p {
  font-size: 22px;
  font-weight: 700; 
  color: #212529;
}

/* Sections */
.section-padding-80-0 {
  padding: 80px 0 0;
}

.section-padding-80-50 {
  padding: 80px 0 50px;
}

.our-schedule-area.section-padding-100 {
  padding: 100px 0 100px; 
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h3 {
  font-family: 'Alumni Sans', sans-serif; 
  font-size: 3.5rem; 
  text-transform: uppercase;
  color: rgb(0, 0, 0); 
  font-weight: 100; 
}

.section-heading h3 span {
  color: #ffffff; 
  font-size: 3.5rem;
  font-weight: 100;
}

/* --- 2. PRODUCT SECTION ENHANCEMENTS --- */

/* Nền gradient cam bóng cho Product section */
#products {
    /* SỬ DỤNG BIẾN CSS */
    background: var(--main-gradient) !important; 
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.product-row .product-card {
    padding-left: 0.5rem !important; 
    padding-right: 0.5rem !important; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content-text h1 {
  font-size: 60px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.product-title {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 40px; 
  font-weight: 600; 
  color: #ffffff; 
  text-transform: uppercase;
  margin-bottom: 20px;
  /* Bắt buộc tiêu đề nằm trên một dòng, ưu tiên không xuống dòng */
  white-space: nowrap; 
  /* Đảm bảo chiếm đủ không gian cần thiết */
  min-width: 100%;
}

.product-title span {
  color: #ffffff; 
  transition: text-shadow 0.3s ease; 
  /* Đảm bảo các thành phần trong tiêu đề không bị tách ra */
  display: inline;
}

.product-desc {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff; 
  font-weight: 400; 
  font-size: 15px; 
  line-height: 1.8; 
  margin-bottom: 30px;
  white-space: normal;
  word-wrap: break-word;
}

.product-row .col-12.col-md-6 {
  margin-bottom: 70px; 
  padding-left: 1rem !important; 
  padding-right: 1rem !important; 
}

.mb-200 {
  margin-bottom: 100px !important; 
}

.about-thumb {
  overflow: hidden; 
  border-radius: 8px;
}

.about-thumb img {
  width: 100%; 
  border-radius: 8px;
  transition: all 0.4s ease-in-out; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
}

/* Hiệu ứng Image Zoom & Shadow khi hover vào Product Card */
.product-card:hover .about-thumb img {
  transform: scale(1.05); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.5); 
}

/* Container cho 2 nút */
.product-buttons {
    display: flex;
    gap: 15px; 
    align-items: center;
}

.about-content-text h3 {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 3rem;
  font-weight: 600; 
}

.about-content-text h3 span {
  color: #f9943f;
}

.about-content-text p {
  margin-bottom: 30px;
}

.about-content-text p.about-text-large {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px; 
    font-weight: 400;
    line-height: 1.8;
}

/* ----------------------------------------------------------------------------------- */
/* --- START NÚT BẤM CHUNG (CONFER-BTN) --- */
/* ----------------------------------------------------------------------------------- */
.btn.confer-btn {
  padding: 12px 30px;
  min-width: 230px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 999px;
  color: #ffffff; 
  
  /* BASE SHARED STYLE: Transition, position, overflow for slide effect */
  border: none; 
  transition: all 0.3s ease-in-out; 
  position: relative; 
  overflow: hidden; 
  z-index: 1; 
  transform: translateZ(0);
}

/* HIỆU ỨNG HOVER CHUNG: NÂNG LÊN */
.btn.confer-btn:hover {
  transform: translateY(-3px); 
}

/* LỚP PHỦ SLIDE (::before) - CHUẨN BỊ CHO HIỆU ỨNG MÀU */
.btn.confer-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%;
  
  z-index: -1; 
  
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.3s ease-in-out; 
  
  border-radius: 999px; 
}

/* HIỆU ỨNG SLIDE-IN CHUNG KHI HOVER */
.btn.confer-btn:hover::before {
  transform: scaleX(1); 
}

/* ----------------------------------------------------------------------------------- */
/* --- GOOGLE PLAY BUTTON (MÀU GỐC: GRADIENT XANH LÁ BÓNG - HIGHLIGHT: GRADIENT XANH LÁ NHẠT) --- */
/* ----------------------------------------------------------------------------------- */
.btn.confer-btn.btn-store {
    /* MÀU GỐC: Gradient Xanh Lá BÓNG (áp dụng cấu trúc 145deg tương tự cam) */
    background-image: linear-gradient(145deg, #A8E063 0%, #56AB2F 50%, #A8E063 100%); 
    /* ĐỘ BÓNG CHUNG */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); 
    background-color: transparent; 
}

.btn.confer-btn.btn-store:hover {
    /* ĐỔ BÓNG NỔI BẬT: XANH LÁ */
    box-shadow: 0 8px 20px 5px rgba(86, 171, 47, 0.7); 
    color: #ffffff;
}

.btn.confer-btn.btn-store::before {
    /* MÀU HIGHLIGHT: Gradient Xanh Lá Đậm (áp dụng cấu trúc 120deg tương tự hover cam) */
    background-image: linear-gradient(120deg, #56AB2F 0%, #3B791B 100%);
}

/* ----------------------------------------------------------------------------------- */
/* --- PRIVACY POLICY BUTTON (MÀU GỐC: DÙNG BIẾN CHÍNH - HIGHLIGHT: DÙNG BIẾN HOVER) --- */
/* ----------------------------------------------------------------------------------- */
.btn.confer-btn.btn-policy {
    /* MÀU GỐC: SỬ DỤNG BIẾN CSS CHÍNH */
    background-image: var(--main-gradient);
    /* ĐỘ BÓNG CHUNG */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn.confer-btn.btn-policy:hover {
    /* ĐỔ BÓNG NỔI BẬT: CAM (THÔNG SỐ CHUNG) */
    box-shadow: 0 8px 20px 5px rgba(249, 148, 63, 0.7);
    color: #ffffff;
}

.btn.confer-btn.btn-policy::before {
    /* MÀU HIGHLIGHT: SỬ DỤNG BIẾN HOVER */
    background-image: var(--hover-gradient);
}

/* ----------------------------------------------------------------------------------- */
/* --- NÚT GỬI TRONG FORM LIÊN HỆ (Đơn giản hóa) --- */
/* ----------------------------------------------------------------------------------- */
.btn.confer-btn.btn-submit {
    /* Xóa hiệu ứng trượt phức tạp */
    position: static;
    overflow: visible;
    z-index: auto;

    /* Style Đơn Giản: SỬ DỤNG BIẾN CSS CHÍNH */
    background-image: var(--main-gradient); 
    background-color: transparent;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); /* Tăng độ bóng */
    margin-top: 20px; 
    transition: all 0.3s ease-in-out; 
    min-width: 150px;
    width: 100%; 
    max-width: 200px; 
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

.btn.confer-btn.btn-submit::before {
    content: none; /* Xóa lớp phủ trượt */
}

.btn.confer-btn.btn-submit:hover {
    transform: translateY(-2px); 
    /* ĐÃ SỬA: Dùng gradient cam đậm hơn khi hover */
    background-image: var(--hover-gradient); /* SỬ DỤNG BIẾN HOVER */
    background-color: transparent;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5); /* Tăng độ bóng */
}

/* Đảm bảo nút Gửi không bị ảnh hưởng bởi style chung cho nút có ::before */
.btn.confer-btn.btn-submit:hover::before {
    transform: scaleX(0); 
}


/* ----------------------------------------------------------------------------------- */
/* --- ICON STYLES --- */
/* ----------------------------------------------------------------------------------- */
.btn.confer-btn.btn-store {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
}

.btn.confer-btn.btn-store i {
    font-size: 1.2rem;
    margin-right: 8px;
    line-height: 1;
    transition: transform 0.3s ease; 
}

/* Hiệu ứng icon xoay khi hover */
.btn.confer-btn.btn-store:hover i {
    transform: rotate(360deg);
}

.about-thumb img {
  width: 100%; 
  border-radius: 8px;
}

/* --- 3. CONTACT FORM ENHANCEMENTS --- */
#contact {
    /* Áp dụng gradient cam bóng - SỬ DỤNG BIẾN CSS */
    background: var(--main-gradient);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Cập nhật màu tiêu đề để nổi bật trên nền gradient */
#contact .section-heading-2 h3 { color: #212529; } 

#contact form .form-control {
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hiệu ứng Focus Glow cho Input */
#contact form .contact-input:focus {
    outline: none; 
    border-color: #f9943f; 
    box-shadow: 0 0 8px rgba(249, 148, 63, 0.6); 
}

/* Footer */
.footer-area {
  padding: 40px 0;
  background: #f1f1f1;
  text-align: center;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .intro {
      padding-top: 120px; 
  }
  .header-area.header-shrink .classy-navbar {
      padding: 0; 
  }
  .intro__title {
    font-size: 60px;
  }
  /* CẬP NHẬT TRÊN MOBILE */
  .about-content-text h1, .product-title {
    font-size: 30px;
    /* Cho phép tiêu đề xuống dòng trên mobile để tránh tràn màn hình */
    white-space: normal; 
  }
  .product-desc {
    font-size: 15px; 
  }
  .section-heading h3 {
    font-size: 2.5rem;
  }
  .classynav ul li a {
    margin: 0 10px;
  }
  .product-row .col-12.col-md-6 {
    margin-bottom: 50px; 
    padding: 0 15px !important; 
  }
  .classy-navbar {
    margin-left: 0;
    margin-right: 0;
  }
  .btn.confer-btn {
    min-width: unset;
    padding: 10px 20px;
    font-size: 18px;
  }
  .product-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .btn.confer-btn {
      width: 100%; 
      max-width: 250px;
  }
  .btn.confer-btn.btn-submit {
      max-width: 100%; 
  }
  .about-content-text p.about-text-large {
    font-size: 15px; 
  }
}