/* ===== DESIGN SYSTEM ===== */
:root {
  --primary: #026aa7;
  --primary-dark: #013554;
  --gold: #fdb913;
  --red: #e31837;
  --green: #00a651;
  --bg-color: #e9ecef;
}

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

body {
  background: var(--bg-color);
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #333;
  line-height: 1.5;
  padding: 2rem 1rem;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.float-btn:hover {
  transform: scale(1.1);
}

.phone-btn {
  background: #16a34a;
  animation: pulse-ring 2s infinite;
}

.zalo-btn {
  background: #0068ff;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(22, 163, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* Wrapper - Fully Responsive */
.standee-wrapper {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* Header */
.header {
  background: var(--primary);
  color: #fff;
  padding: 2rem 1.5rem 4rem;
  clip-path: ellipse(150% 100% at 50% 0%);
}

@keyframes aura-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(252, 248, 240, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 20px rgb(252, 251, 250)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
  }
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.logo-icon-img {
  height: clamp(65px, 12vw, 90px);
  width: auto;
  object-fit: contain;
  animation: aura-glow 2.5s infinite ease-in-out;
}

.logo-text {
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hero Image Stylized (Vòng vòng cách điệu) */
.hero-stylized {
  position: relative;
  margin-top: -3rem;
  /* overlap header */
  padding: 0;
  z-index: 2;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* push content to bottom */
}

.hero-image-curve {
  width: 100%;
  height: 280px;
  /* Taller to accommodate curves */
  object-fit: cover;
  display: block;
}

/* The curved layers at the bottom of the image */
.curve-layer {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 60px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.curve-gold {
  background: var(--gold);
  bottom: 10px;
  height: 70px;
  transform: rotate(-2deg);
  /* slight tilt like standee */
}

.curve-white {
  background: #fff;
  height: 60px;
}

/* Floating lightbulb badge */
.hero-badge-icon {
  position: absolute;
  bottom: 25px;
  /* Overlap the white curve */
  left: 30px;
  width: 65px;
  height: 65px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 4;
  border: 3px solid var(--green);
  color: var(--green);
  transform: rotate(-15deg);
}

.hero-badge-icon svg {
  width: 35px;
  height: 35px;
}

/* Title Section */
.title-section {
  text-align: center;
  padding: 0 0.5rem 0.5rem;
  /* Removed top padding to pull title up */
}

.title-3d-img {
  width: 90%;
  max-width: 380px;
  margin: -120px auto 0;
  /* Kéo title.png lên thêm để nằm giữa curve vàng */
  display: block;
  position: relative;
  z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  /* Enhance 3D effect */
}

.script-year {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-top: -15px;
  /* Pull "năm 2026" closer to the title */
  position: relative;
  z-index: 6;
}

.subtitle {
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 2px;
}

/* Ribbon */
.ribbon-container {
  position: relative;
  margin: 0.5rem 1.5rem 0.5rem;
  height: 55px;
}

.ribbon {
  --d: 0.6em;
  /* Độ sâu của nếp gấp */
  position: absolute;
  top: 0;
  inset-inline: calc(-1 * var(--d));
  /* Tràn ra 2 bên */
  border-bottom: var(--d) solid var(--primary-dark);
  /* Tạo màu tối cho nếp gấp */
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  line-height: 2;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--d)), calc(100% - var(--d)) 100%, calc(100% - var(--d)) calc(100% - var(--d)), var(--d) calc(100% - var(--d)), var(--d) 100%, 0 calc(100% - var(--d)));
  background-color: var(--primary);
}

/* Majors Grid */
.majors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  padding: 0 2rem 0.5rem;
}

.major-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
}

.major-item .check {
  color: var(--primary-dark);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}

/* Benefits Section */
.benefits-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 16px;
  margin: 0 1.5rem 2rem;
  border: 1px solid #eee;
}

.benefits-title-box {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 0.3rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(2, 106, 167, 0.3);
}

.benefits-title-box h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
}

.badge {
  background: var(--gold);
  color: var(--primary-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-block;
}

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.collage img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.collage img:first-child {
  grid-column: span 2;
  height: 180px;
}

.section-subtitle-green {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.benefits-list li .check {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--green);
  font-size: 1.2rem;
  line-height: 1;
}

/* Reasons Section */
.reasons-section {
  padding: 1.5rem;
  margin: 0 1.5rem 2rem;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #eee;
}

.reasons-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.reasons-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

.reasons-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.reason-card-v2 {
  background: #f8f9fa;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.rc-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 3px solid var(--gold);
}

.rc-content {
  padding: 1.5rem 1.25rem 1.25rem;
  position: relative;
  flex-grow: 1;
}

.rc-icon-float {
  position: absolute;
  top: -25px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.rc-content h4 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  padding-right: 35px; /* tránh đè lên icon */
}

.rc-content p {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Wide card cho item cuối */
.reason-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
}
.reason-card-wide .rc-img {
  width: 45%;
  height: auto;
  border-bottom: none;
  border-right: 3px solid var(--gold);
}
.reason-card-wide .rc-content {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Registration */
.registration-box {
  margin: 0 1.5rem 2rem;
  padding: 1.5rem;
  border: 2px dashed var(--primary);
  border-radius: 12px;
  background: #fff;
}

.registration-box h3 {
  text-align: center;
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 106, 167, 0.1);
}

.btn-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #c0132c;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 2rem 1.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hotline {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hotline-icon {
  background: var(--gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hotline-numbers {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.3;
}

.hotline-numbers span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.qr-code {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

.qr-code img {
  width: 70px;
  height: 70px;
  background: #fff;
  padding: 4px;
  border-radius: 6px;
  margin-top: 6px;
}

.footer-info h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-info p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 850px) {
  body {
    padding: 0;
    background: #fff;
  }

  .standee-wrapper {
    box-shadow: none;
    border-radius: 0;
  }
}

@media (max-width: 650px) {
  .reasons-grid-v2 {
    grid-template-columns: 1fr;
  }
  .reason-card-wide {
    flex-direction: column;
  }
  .reason-card-wide .rc-img {
    width: 100%;
    height: 180px;
    border-right: none;
    border-bottom: 3px solid var(--gold);
  }
  .reason-card-wide .rc-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .majors-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
  }

  .hotline {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hotline-numbers {
    font-size: 0.95rem;
  }

  .qr-code {
    text-align: right;
  }

  .qr-code img {
    width: 60px;
    height: 60px;
    margin-left: auto;
  }

  .script-year {
    font-size: 2.5rem;
  }

  .hero-badge-icon {
    left: 15px;
    width: 50px;
    height: 50px;
    bottom: 15px;
  }

  .hero-badge-icon svg {
    width: 25px;
    height: 25px;
  }

  .hero-image-curve {
    height: 220px;
  }
}