*,
*::before,
*::after {
  box-sizing: border-box;
  /* Tính width/height bao gồm cả padding và border */
  margin: 0;
  /* Xóa margin mặc định */
  padding: 0;
  /* Xóa padding mặc định */
}

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;

  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-500: #ef4444;
  --red-600: #dc2626;

  --yellow-50: #fefce8;
  --yellow-200: #fde68a;
  --yellow-400: #facc15;
  --yellow-500: #eab308;

  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;

  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;

  --white: #ffffff;
  --transparent: transparent;
}

body {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--gray-800);
  line-height: 1.5;
}

.hero-bg {
  background-image: url("assets/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.8);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Layout Utilities */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.top-10 {
  top: 2.5rem;
}

.top-20 {
  top: 5rem;
}

.top-40 {
  top: 10rem;
}

.bottom-10 {
  bottom: 2.5rem;
}

.bottom-20 {
  bottom: 5rem;
}

.left-10 {
  left: 2.5rem;
}

.right-10 {
  right: 2.5rem;
}

.right-20 {
  right: 5rem;
}

.left-1\/4 {
  left: 25%;
}

.right-1\/4 {
  right: 25%;
}

.top-1\/2 {
  top: 50%;
}

.-bottom-6 {
  bottom: -1.5rem;
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.hidden {
  display: none;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

@media (min-width: 640px) {
  .sm\:block {
    display: block;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }

  .md\:flex {
    display: flex;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-left {
    text-align: left;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:justify-start {
    justify-content: flex-start;
  }

  .md\:w-56 {
    width: 14rem;
  }

  .md\:h-56 {
    height: 14rem;
  }

  .md\:h-64 {
    height: 16rem;
  }
}

/* Sizing */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-auto {
  width: auto;
}

.h-auto {
  height: auto;
}

.min-h-screen {
  min-height: 100vh;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.w-6 {
  width: 1.25rem;
}

.h-6 {
  height: 1.25rem;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.w-20 {
  width: 5rem;
}

.h-20 {
  height: 5rem;
}

.w-24 {
  width: 6rem;
}

.h-24 {
  height: 6rem;
}

.w-32 {
  width: 8rem;
}

.h-32 {
  height: 8rem;
}

.w-40 {
  width: 10rem;
}

.h-40 {
  height: 10rem;
}

.w-48 {
  width: 12rem;
}

.h-48 {
  height: 12rem;
}

.h-56 {
  height: 14rem;
}

.w-72 {
  width: 18rem;
}

.h-36 {
  height: 9rem;
}

.h-80 {
  height: 20rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

/* Spacing */
.p-0\.5 {
  padding: 0.125rem;
}

.p-1\.5 {
  padding: 0.375rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mr-auto {
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Colors */
.bg-white {
  background-color: var(--white);
}

.bg-white\/95 {
  background-color: rgba(255, 255, 255, 0.95);
}

.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.8);
}

.bg-blue-50 {
  background-color: var(--blue-50);
}

.bg-blue-100 {
  background-color: var(--blue-100);
}

.bg-blue-200 {
  background-color: var(--blue-200);
}

.bg-blue-300 {
  background-color: #93c5fd;
}

.bg-blue-500 {
  background-color: var(--blue-500);
}

.bg-red-50 {
  background-color: var(--red-50);
}

.bg-red-100 {
  background-color: var(--red-100);
}

.bg-red-200 {
  background-color: var(--red-200);
}

.bg-red-300 {
  background-color: #fca5a5;
}

.bg-red-500 {
  background-color: var(--red-500);
}

.bg-red-600 {
  background-color: var(--red-600);
}

.bg-yellow-200 {
  background-color: var(--yellow-200);
}

.bg-yellow-300 {
  background-color: #fde047;
}

.bg-gray-100 {
  background-color: var(--gray-100);
}

.bg-gray-300 {
  background-color: var(--gray-300);
}

.bg-green-500 {
  background-color: var(--green-500);
}

.text-white {
  color: var(--white);
}

.text-gray-400 {
  color: var(--white);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-gray-800 {
  color: var(--gray-800);
}

.text-blue-100 {
  color: var(--blue-100);
}

.text-blue-500 {
  color: var(--blue-500);
}

.text-blue-600 {
  color: var(--blue-600);
}

.text-blue-700 {
  color: #1d4ed8;
}

.text-red-500 {
  color: var(--red-500);
}

.text-red-600 {
  color: var(--red-600);
}

.text-red-700 {
  color: #b91c1c;
}

.text-red-800 {
  color: #991b1b;
}

.text-green-600 {
  color: var(--green-600);
}

.text-green-800 {
  color: #166534;
}

.text-yellow-500 {
  color: var(--yellow-500);
}

.text-transparent {
  color: transparent;
}

/* Gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-blue-50 {
  --tw-gradient-from: var(--blue-50);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.from-blue-500 {
  --tw-gradient-from: var(--blue-500);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.from-blue-600 {
  --tw-gradient-from: var(--blue-600);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.from-red-50 {
  --tw-gradient-from: var(--red-50);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(254, 242, 242, 0));
}

.from-red-100 {
  --tw-gradient-from: var(--red-100);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(254, 226, 226, 0));
}

.from-red-500 {
  --tw-gradient-from: var(--red-500);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 68, 68, 0));
}

.from-red-600 {
  --tw-gradient-from: var(--red-600);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(220, 38, 38, 0));
}

.from-white {
  --tw-gradient-from: var(--white);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.from-green-50 {
  --tw-gradient-from: var(--green-50);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 253, 244, 0));
}

.from-green-400 {
  --tw-gradient-from: var(--green-400);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(74, 222, 128, 0));
}

.from-black\/60 {
  --tw-gradient-from: rgba(0, 0, 0, 0.6);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-white {
  --tw-gradient-via: var(--white);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-via),
    var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.via-blue-50 {
  --tw-gradient-via: var(--blue-50);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-via),
    var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.via-red-500 {
  --tw-gradient-via: var(--red-500);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-via),
    var(--tw-gradient-to, rgba(239, 68, 68, 0));
}

.via-yellow-50 {
  --tw-gradient-via: var(--yellow-50);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-via),
    var(--tw-gradient-to, rgba(254, 252, 232, 0));
}

.via-yellow-500 {
  --tw-gradient-via: var(--yellow-500);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-via),
    var(--tw-gradient-to, rgba(234, 179, 8, 0));
}

.via-black\/20 {
  --tw-gradient-via: rgba(0, 0, 0, 0.2);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-via),
    var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-red-50 {
  --tw-gradient-to: var(--red-50);
}

.to-red-100 {
  --tw-gradient-to: var(--red-100);
}

.to-red-500 {
  --tw-gradient-to: var(--red-500);
}

.to-blue-50 {
  --tw-gradient-to: var(--blue-50);
}

.to-blue-100 {
  --tw-gradient-to: var(--blue-100);
}

.to-blue-500 {
  --tw-gradient-to: var(--blue-500);
}

.to-blue-600 {
  --tw-gradient-to: var(--blue-600);
}

.to-yellow-50 {
  --tw-gradient-to: var(--yellow-50);
}

.to-yellow-400 {
  --tw-gradient-to: var(--yellow-400);
}

.to-yellow-500 {
  --tw-gradient-to: var(--yellow-500);
}

.to-yellow-600 {
  --tw-gradient-to: #ca8a04;
}

.to-white {
  --tw-gradient-to: var(--white);
}

.to-green-100 {
  --tw-gradient-to: var(--green-100);
}

.to-green-600 {
  --tw-gradient-to: var(--green-600);
}

.to-transparent {
  --tw-gradient-to: transparent;
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

/* Borders & Radius */
.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-4 {
  border-width: 4px;
}

.border-t {
  border-top-width: 1px;
}

.border-t-2 {
  border-top-width: 2px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-gray-100 {
  border-color: var(--gray-100);
}

.border-gray-200 {
  border-color: var(--gray-200);
}

.border-gray-300 {
  border-color: var(--gray-300);
}

.border-blue-100 {
  border-color: var(--blue-100);
}

.border-blue-200 {
  border-color: var(--blue-200);
}

.border-blue-600 {
  border-color: var(--blue-600);
}

.border-red-100 {
  border-color: var(--red-100);
}

.border-red-200 {
  border-color: var(--red-200);
}

.border-red-300 {
  border-color: #fca5a5;
}

.border-green-300 {
  border-color: #86efac;
}

.border-green-500 {
  border-color: var(--green-500);
}

.border-red-500 {
  border-color: var(--red-500);
}

.border-white {
  border-color: var(--white);
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-bl-full {
  border-bottom-left-radius: 9999px;
}

/* Effects */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.opacity-5 {
  opacity: 0.05;
}

.opacity-10 {
  opacity: 0.1;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-30 {
  opacity: 0.3;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-0 {
  opacity: 0;
}

.blur-lg {
  filter: blur(16px);
}

.blur-xl {
  filter: blur(24px);
}

.blur-3xl {
  filter: blur(64px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.overflow-hidden {
  overflow: hidden;
}

/* Transitions & Animations */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.cursor-pointer {
  cursor: pointer;
}

.hover\:text-blue-600:hover {
  color: var(--blue-600);
}

.hover\:text-red-600:hover {
  color: var(--red-600);
}

.hover\:shadow-lg:hover {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-xl:hover {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-102:hover {
  transform: scale(1.02);
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:opacity-20 {
  opacity: 0.2;
}

.hover\:border-blue-400:hover {
  border-color: #60a5fa;
}

.hover\:border-red-400:hover {
  border-color: #f87171;
}

.hover\:bg-blue-50:hover {
  background-color: var(--blue-50);
}

.hover\:from-red-50:hover {
  --tw-gradient-from: var(--red-50);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(254, 242, 242, 0));
}

.hover\:to-yellow-50:hover {
  --tw-gradient-to: var(--yellow-50);
}

.hover\:from-blue-50:hover {
  --tw-gradient-from: var(--blue-50);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.hover\:to-red-50:hover {
  --tw-gradient-to: var(--red-50);
}

/* Animation Keyframes */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-700 {
  animation-delay: 700ms;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* Custom */
.fill-red-500 {
  fill: var(--red-500);
}

.fill-yellow-500 {
  fill: var(--yellow-500);
}

.fill-blue-500 {
  fill: var(--blue-500);
}

:root {
  --purple-600: #9333ea;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-1000 {
  transition-duration: 1000ms;
}

.ease-linear {
  transition-timing-function: linear;
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.bg-white\/50 {
  background-color: rgba(255, 255, 255, 0.495);
}

.bg-white\/40 {
  background-color: rgba(255, 255, 255, 0.445);
}

.bg-white\/90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.from-purple-600 {
  --tw-gradient-from: var(--purple-600);
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0));
}

.to-purple-600 {
  --tw-gradient-to: var(--purple-600);
}

.active\:scale-95:active {
  transform: scale(0.95);
}

.hover\:translate-x-1:hover {
  transform: translateX(0.25rem);
}

.bg-\[radial-gradient\(\#3b82f6_1px\,transparent_1px\)\] {
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
}

.\[background-size\:16px_16px\] {
  background-size: 16px 16px;
}

.blur-xl {
  filter: blur(24px);
}

.blur-3xl {
  filter: blur(64px);
}

.rounded-3xl {
  border-radius: 1.5rem;
}

/* ====================================================== */
/* THANK YOU SECTION - PHẦN CẢM ƠN VỚI BACKGROUND ẢNH    */
/* Hiển thị hình ảnh KoreaTech làm nền section           */
/* ====================================================== */

/* Section chính với background image */
.thank-you-section {
  background-image: url("./assets/615111067_1325327266299962_1343706241919738352_n.jpg");
  background-size: cover;
  /* Phủ toàn bộ section */
  background-position: center;
  /* Căn giữa hình ảnh */
  background-repeat: no-repeat;
  /* Không lặp lại */
  background-attachment: fixed;
  /* Parallax effect khi scroll */
  position: relative;
}

/* Overlay gradient để text dễ đọc trên nền ảnh */
.thank-you-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Gradient từ trắng đục đến trong suốt, tạo hiệu ứng mờ đẹp */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    /* Góc trên trái - trắng đục */ rgba(255, 255, 255, 0.85) 30%,
    /* Vùng giữa - mờ nhẹ */ rgba(239, 246, 255, 0.8) 60%,
    /* Vùng dưới - xanh nhạt */ rgba(254, 242, 242, 0.75) 100%
      /* Góc dưới phải - hồng nhạt */
  );
  z-index: 1;
}

/* Đảm bảo nội dung nằm trên overlay */
.thank-you-section > .max-w-6xl {
  position: relative;
  z-index: 2;
}

/* Responsive: Tắt parallax effect trên mobile để tránh vấn đề hiệu suất */
@media (max-width: 768px) {
  .thank-you-section {
    background-attachment: scroll;
  }
}

/* ====================================================== */
/* MEMORY MARQUEE - ẢNH CHẠY NGANG LIÊN TỤC              */
/* CSS cho hiệu ứng infinite scroll từ phải sang trái    */
/* ====================================================== */

/* Container chính - ẩn phần tràn ra và tạo không gian */
.memory-marquee-container {
  width: 100%;
  /* Chiếm toàn bộ chiều rộng */
  overflow: hidden;
  /* Ẩn phần tràn ra để tạo hiệu ứng chạy */
  padding: 20px 0;
  /* Padding trên dưới */
  background: transparent;
  /* Nền trong suốt, không có màu đen */
}

/* Track chứa cả 2 nhóm ảnh - sẽ chạy animation */
.memory-marquee-track {
  display: flex;
  /* Sắp xếp theo hàng ngang */
  width: fit-content;
  /* Chiều rộng tự động theo nội dung */
  animation: marqueeScroll 30s linear infinite;
  /* Animation chạy liên tục */
}

/* Mỗi nhóm ảnh - chứa tất cả ảnh */
.memory-marquee-group {
  display: flex;
  /* Sắp xếp ảnh theo hàng ngang */
  gap: 20px;
  /* Khoảng cách giữa các ảnh */
  padding-right: 20px;
  /* Padding bên phải để tạo khoảng cách với nhóm tiếp */
  flex-shrink: 0;
  /* Không co lại */
}

/* Mỗi ảnh trong marquee */
.memory-marquee-img {
  height: 280px;
  /* Chiều cao cố định */
  width: auto;
  /* Chiều rộng tự động theo tỷ lệ */
  object-fit: cover;
  /* Cắt ảnh vừa khung */
  border-radius: 16px;
  /* Bo góc đẹp */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  /* Đổ bóng nhẹ */
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  /* Hiệu ứng hover */
  flex-shrink: 0;
  /* Không co lại */
}

/* Hiệu ứng hover - phóng to khi di chuột */
.memory-marquee-img:hover {
  transform: scale(1.05);
  /* Phóng to 5% */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  /* Đổ bóng đậm hơn */
  z-index: 10;
}

/* ===== ANIMATION CHẠY NGANG TỪ PHẢI SANG TRÁI ===== */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
    /* Bắt đầu từ vị trí gốc */
  }

  100% {
    transform: translateX(-50%);
    /* Di chuyển sang trái 50% (1 nhóm ảnh) */
  }
}

/* Tạm dừng animation khi hover vào container */
.memory-marquee-container:hover .memory-marquee-track {
  animation-play-state: paused;
  /* Dừng chạy để xem ảnh */
}

/* ===== RESPONSIVE - ĐIỀU CHỈNH CHO MOBILE ===== */
@media (max-width: 768px) {
  /* Giảm chiều cao ảnh trên tablet */
  .memory-marquee-img {
    height: 200px;
    /* Ảnh nhỏ hơn */
    border-radius: 12px;
    /* Bo góc nhỏ hơn */
  }

  /* Giảm khoảng cách giữa ảnh */
  .memory-marquee-group {
    gap: 15px;
    padding-right: 15px;
  }

  /* Animation chạy nhanh hơn một chút */
  .memory-marquee-track {
    animation-duration: 25s;
  }
}

@media (max-width: 480px) {
  /* Giảm chiều cao ảnh hơn nữa trên mobile nhỏ */
  .memory-marquee-img {
    height: 150px;
    /* Ảnh nhỏ nhất */
    border-radius: 10px;
  }

  /* Khoảng cách nhỏ hơn */
  .memory-marquee-group {
    gap: 10px;
    padding-right: 10px;
  }

  /* Animation nhanh hơn */
  .memory-marquee-track {
    animation-duration: 20s;
  }
}

/* ====================================================== */
/* VIDEO MODAL STYLES                                     */
/* ====================================================== */

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.video-modal-panel {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.video-modal.open .video-modal-panel {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 20;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
