/* 
  Tiếng Hàn & Du Học Thầy Tư - Design System & Custom Styles
  Author: Antigravity AI
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #E63946;
  /* Bright Red for CTAs */
  --primary-hover: #D62828;
  --secondary: #0047A0;
  /* Royal Korean Blue */
  --secondary-light: #4A90E2;
  --accent: #FFB703;
  /* Warm Yellow/Orange */
  --accent-dark: #FB8500;
  --accent-light: #FFF8E7;
  --dark: #0F172A;
  /* Near Black for main headings/text */
  --gray-dark: #334155;
  /* Body text */
  --gray-medium: #64748B;
  /* Secondary text */
  --gray-light: #E2E8F0;
  /* Borders/dividers */
  --bg-light: #F8FAFC;
  /* General page light bg */
  --bg-sky: #EDF4FF;
  /* Sky Blue for Hero and light sections */
  --bg-cream: #FCF8F2;
  /* Soft Cream bg */
  --white: #FFFFFF;
  --success: #10B981;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --section-padding-mobile: 50px 0;

  /* Shadow & Radius */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 20px -5px rgba(230, 57, 70, 0.3);
  --shadow-secondary: 0 10px 20px -5px rgba(0, 71, 160, 0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--gray-dark);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile);
  }
}

/* Flex & Grid Helpers */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
}

/* Section Header Style */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  background-color: rgba(230, 57, 70, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
}

.section-tag.dark-tag {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.section-title span {
  color: var(--secondary);
}

.section-title.text-white span {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-medium);
  margin-top: 16px;
}

.text-white {
  color: var(--white) !important;
}

.text-gray {
  color: #94A3B8 !important;
}

.text-center {
  text-align: center;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition-normal);
  font-size: 15px;
  letter-spacing: 0.5px;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px rgba(230, 57, 70, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
  background-color: #00367a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px rgba(0, 71, 160, 0.35);
}

.btn-outline {
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(230, 57, 70, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-medium);
}


/* ================= HEADER STYLES ================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

.main-header.scrolled .header-container {
  height: 70px;
}

.logo {
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  gap: 24px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-dark);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hamburger menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition-normal);
}

@media (max-width: 992px) {
  .nav-menu {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 24px;
    transition: var(--transition-normal);
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .header-cta {
    display: none;
    /* Hide top CTA on tablet/mobile header */
  }

  /* Hamburger Active Animation */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}


/* ================= HERO SECTION STYLES ================= */
.hero-section {
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 70% 30%, #E2EFFF 0%, #FFFFFF 70%);
  position: relative;
  overflow: hidden;
}

/* Clouds background decoration */
.cloud {
  position: absolute;
  background: var(--white);
  border-radius: 100px;
  opacity: 0.6;
  filter: blur(10px);
  pointer-events: none;
}

.cloud-1 {
  width: 200px;
  height: 60px;
  top: 15%;
  left: -50px;
  animation: floatCloud 25s infinite linear;
}

.cloud-2 {
  width: 300px;
  height: 90px;
  bottom: 20%;
  right: -80px;
  animation: floatCloudInverse 35s infinite linear;
}

@keyframes floatCloud {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(50px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes floatCloudInverse {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-60px);
  }

  100% {
    transform: translateX(0);
  }
}

.hero-container {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-tag {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 6px 18px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}

.hero-title {
  font-size: 54px;
  font-weight: 850;
  line-height: 1.15;
  color: var(--dark);
}

.hero-title .highlight {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 750;
  color: var(--primary);
  margin-top: 15px;
  letter-spacing: 0.5px;
}

.hero-desc {
  font-size: 17px;
  color: var(--gray-dark);
  margin: 25px 0 40px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Polaroid Stack Layout */
.polaroid-gallery {
  position: relative;
  width: 100%;
  height: 480px;
  max-width: 450px;
}

.polaroid {
  position: absolute;
  background: var(--white);
  padding: 12px 12px 24px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  width: 250px;
  transition: var(--transition-normal);
  z-index: 1;
}

.polaroid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
}

.polaroid-caption {
  font-family: var(--font-main);
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
  color: var(--gray-dark);
  font-size: 14px;
}

/* Stack styling and rotations */
.polaroid-1 {
  top: 10px;
  left: 20px;
  transform: rotate(-8deg);
}

.polaroid-2 {
  top: 40px;
  right: 10px;
  transform: rotate(6deg);
  z-index: 2;
}

.polaroid-3 {
  bottom: 20px;
  left: 10px;
  transform: rotate(5deg);
  z-index: 3;
}

.polaroid-4 {
  bottom: 10px;
  right: 30px;
  transform: rotate(-6deg);
  z-index: 4;
}

/* Polaroid Hover Interaction */
.polaroid:hover {
  transform: scale(1.08) rotate(0deg) translateY(-10px);
  z-index: 10;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-desc {
    margin: 25px auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-gallery-wrap {
    height: 400px;
  }

  .polaroid-gallery {
    margin: 0 auto;
    height: 380px;
    max-width: 400px;
  }

  .polaroid {
    width: 200px;
  }

  .polaroid img {
    height: 130px;
  }

  .polaroid-1 {
    top: 0;
    left: 10px;
  }

  .polaroid-2 {
    top: 20px;
    right: 10px;
  }

  .polaroid-3 {
    bottom: 10px;
    left: 0px;
  }

  .polaroid-4 {
    bottom: 0;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}


/* ================= TRENDS SECTION STYLES ================= */
.trends-container {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.benefits-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 35px;
}

.benefit-card {
  gap: 20px;
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(74, 144, 226, 0.3);
}

.benefit-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.benefit-info p {
  font-size: 14px;
  color: var(--gray-medium);
}

/* Cheerful student circle style */
.student-circle-image {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.student-circle-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.badge-experience {
  position: absolute;
  bottom: 20px;
  right: 10px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

.badge-experience .number {
  font-size: 28px;
  font-weight: 850;
  display: block;
  color: var(--accent);
}

.badge-experience .text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 992px) {
  .trends-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .student-circle-image {
    max-width: 320px;
  }

  .student-circle-image img {
    height: 320px;
  }
}


/* ================= BENEFITS SECTION ================= */
.benefits-section {
  background-color: var(--white);
}

.benefits-layout {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.benefits-image .image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.benefits-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 650px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.benefits-blocks-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}

.prop-block {
  padding: 30px;
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.prop-block:hover {
  transform: translateX(8px);
}

.prop-block .block-num {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 850;
  opacity: 0.15;
}

.prop-block h4 {
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 10px;
}

.prop-block p {
  font-size: 14.5px;
  line-height: 1.55;
}

/* Staggered block colors */
.prop-block.cream {
  background-color: var(--bg-cream);
  color: var(--dark);
}

.prop-block.cream h4 {
  color: var(--secondary);
}

.prop-block.cream .block-num {
  color: var(--secondary);
}

.prop-block.navy {
  background-color: var(--secondary);
  color: var(--white);
}

.prop-block.navy h4 {
  color: var(--accent);
}

.prop-block.navy .block-num {
  color: var(--white);
}

.prop-block.blue {
  background-color: var(--secondary-light);
  color: var(--white);
}

.prop-block.blue h4 {
  color: var(--white);
}

.prop-block.blue .block-num {
  color: var(--white);
}

.prop-block.grey {
  background-color: #F1F5F9;
  color: var(--dark);
}

.prop-block.grey h4 {
  color: var(--secondary);
}

.prop-block.grey .block-num {
  color: var(--secondary);
}

.prop-block.navy-light {
  background-color: #1E3A8A;
  color: var(--white);
}

.prop-block.navy-light h4 {
  color: var(--accent);
}

.prop-block.navy-light .block-num {
  color: var(--white);
}

@media (max-width: 992px) {
  .benefits-layout {
    grid-template-columns: 1fr;
  }

  .benefits-image {
    order: 2;
  }
}


/* ================= ROADMAP (TIMELINE) SECTION ================= */
.roadmap-section {
  padding: 0;
  background-color: #EBF3FF;
  position: relative;
}

.roadmap-section .curve-wave path {
  fill: #EBF3FF;
}

.section-tag.blue-tag {
  background-color: rgba(0, 71, 160, 0.15);
  color: var(--secondary);
}

/* Curve wave styling */
.curve-wave {
  width: 100%;
  line-height: 0;
}

.curve-wave svg {
  display: block;
  width: 100%;
  height: 50px;
}

.roadmap-bg-content {
  padding: 60px 0;
}

.timeline-container {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.timeline-card {
  background-color: var(--white);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-normal);
  border-top: 5px solid var(--secondary);
}

.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.timeline-card .step-num {
  font-size: 50px;
  font-weight: 850;
  color: rgba(0, 71, 160, 0.08);
  position: absolute;
  top: 15px;
  right: 20px;
  line-height: 1;
}

.timeline-card h3 {
  font-size: 13px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.timeline-card h4 {
  font-size: 18px;
  font-weight: 750;
  color: var(--dark);
  margin-bottom: 12px;
}

.timeline-card p {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.6;
}

.roadmap-cta {
  margin-top: 50px;
}

@media (max-width: 992px) {
  .timeline-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .timeline-container {
    grid-template-columns: 1fr;
  }
}


/* ================= GALLERY SECTION STYLES ================= */
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 5 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 71, 160, 0.8), rgba(0, 0, 0, 0));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


/* ================= TESTIMONIALS SECTION STYLES ================= */
.testimonials-section {
  background-color: var(--white);
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.testimonial-card {
  background-color: var(--bg-light);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(226, 232, 240, 0.4);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 90px;
  color: rgba(0, 71, 160, 0.05);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 14.5px;
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.author-info p {
  font-size: 12px;
  color: var(--gray-medium);
}

/* Video Reels Grid */
.video-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.video-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition-normal);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--dark);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.btn-play-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
  transition: var(--transition-normal);
}

.btn-play-video:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--primary-hover);
}

.video-info {
  padding: 20px;
}

.video-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.video-info p {
  font-size: 13.5px;
  color: var(--gray-medium);
}

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

  .video-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= REGISTER SECTION STYLES ================= */
.register-container {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.register-image-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.register-image-box img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.floating-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--primary);
}

.floating-badge h4 {
  font-size: 20px;
  color: var(--primary);
  font-weight: 800;
}

.floating-badge p {
  font-size: 12px;
  color: var(--gray-medium);
  font-weight: 600;
}

.register-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-top: 30px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group .required {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--gray-dark);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary-light);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

/* Custom error styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--primary);
  background-color: #FFF5F5;
}

.error-message {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 6px;
}

/* Custom Select styling */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: var(--gray-medium);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .register-container {
    grid-template-columns: 1fr;
  }

  .register-left {
    order: 2;
  }
}

@media (max-width: 576px) {
  .register-form {
    padding: 24px;
  }
}


/* ================= FOOTER SECTION STYLES ================= */
.main-footer {
  background-color: var(--dark);
  color: #CBD5E1;
  padding: 80px 0 0;
  border-top: 4px solid var(--secondary);
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 750;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-about {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 20px 0 25px;
}

.social-links {
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 16px;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.hover-white:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
  font-size: 13px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ================= MODAL CONTAINERS ================= */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  padding: 24px;
}

.modal-container.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 100%;
  position: relative;
  transform: scale(0.85);
  transition: var(--transition-normal);
}

.modal-container.active .modal-content {
  transform: scale(1);
}

/* Success Modal Details */
.modal-icon-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-content h3 {
  font-size: 24px;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 15px;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.modal-content .sub-text {
  font-size: 13.5px;
  color: var(--gray-medium);
  margin-bottom: 25px;
}

/* Video Modal Details */
.video-modal .modal-content {
  max-width: 900px;
  background-color: var(--dark);
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.btn-close-video {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--white);
  cursor: pointer;
}

/* Spinner helper */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ================= SCROLL REVEAL STYLES ================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}