/* ===========================================
   K-12 Linda School Page Styles
   =========================================== */

/* CSS Variables */
:root {
  --primary: #8b1e2d;
  --primary-50: rgba(139, 30, 45, 0.05);
  --primary-100: rgba(139, 30, 45, 0.1);
  --primary-600: #8b1e2d;
  --primary-700: #7a0f17;
  --primary-900: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8f9fb;
  --bg-cream: #fff8f1;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Be Vietnam Pro", sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-cream);
}

/* Language Toggle */
body.lang-en [lang="vi"],
body.lang-vi [lang="en"] {
  display: none;
}

/* ===========================================
   Layout Utilities
   =========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background: var(--bg-light);
}

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

.text-white {
  color: #fff;
}

.mb-md {
  margin-bottom: 1.5rem;
}

.mb-lg {
  margin-bottom: 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

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

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

/* ===========================================
   Typography
   =========================================== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1.5rem;
}

/* ===========================================
   Navbar
   =========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 1001;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-contact {
  background: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}

.lang-switcher {
  background: transparent;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.875rem;
  position: relative;
  z-index: 1001;
}

.lang-switcher .active {
  font-weight: 600;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1070;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===========================================
   Hero Section - Enhanced
   =========================================== */
.hero-enhanced {
  position: relative;
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05), transparent 40%),
    linear-gradient(135deg, #7a0f17, #9e1b25, #5c0a12);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  min-height: 85vh;
}

.hero-grid-enhanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title-enhanced {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-description-enhanced {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions-enhanced {
  display: flex;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.btn-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-enhanced {
  background: #fff;
  color: #9d2235;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary-enhanced:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: #f8f9fa;
}

.btn-secondary-enhanced {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  backdrop-filter: blur(5px);
}

.btn-secondary-enhanced:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Hero Image */
.hero-image-wrapper-enhanced {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 120px rgba(255, 255, 255, 0.08);
  transform: perspective(1000px) rotateY(-8deg);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.hero-image-enhanced {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.6s ease;
}

.hero-image-container:hover .hero-image-enhanced {
  transform: scale(1.05);
}

.hero-image-float {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* ===========================================
   Numbers Section
   =========================================== */
.hero-numbers-section {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 60px 0 50px;
  margin-top: -1px;
}

.numbers-heading {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 20px;
}

.numbers-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #9d2235;
  border-radius: 2px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.number-card {
  text-align: center;
  padding: 10px 16px;
  position: relative;
  transition: transform 0.3s ease;
}

.number-card:hover {
  transform: translateY(-6px);
}

.number-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

.number-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #9d2235;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(157, 34, 53, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.number-card:hover .number-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(157, 34, 53, 0.35);
}

.number-value {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.number-divider {
  width: 40px;
  height: 2px;
  background: #9d2235;
  margin: 0 auto 16px;
  border-radius: 1px;
  opacity: 0.6;
}

.number-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   Content Sections
   =========================================== */
.about-grid {
  gap: 4rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 1rem;
}

.about-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.about-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-main);
  margin: 0;
  font-weight: 500;
}

.about-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-100), transparent);
  margin: 1.75rem 0;
}

.about-highlight {
  background: var(--primary-50);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
}

.about-highlight-title {
  display: block;
  font-weight: 600;
  color: var(--primary-900);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.75rem;
  padding-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-list li:last-child {
  padding-bottom: 0;
}

.about-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.9rem;
}

.about-stat {
  background: linear-gradient(135deg, var(--primary-50), rgba(139, 30, 45, 0.08));
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
  font-weight: 500;
  color: var(--primary-900);
  font-size: 1.05rem;
}

.about-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
}

.about-closing {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin: 0;
  padding: 1.25rem;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

.rounded-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
}

.shadow-lg {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   Fees Table
   =========================================== */
.fees-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.fees-table th,
.fees-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.fees-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.fees-table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 1rem;
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table .amount {
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.fees-table .highlight-row {
  background: var(--primary-50);
}

.fees-table .highlight-row td {
  font-weight: 600;
}

/* Total Cost Row - Prominent */
.fees-table .total-cost-row {
  background: linear-gradient(135deg, rgba(139, 30, 45, 0.08), rgba(139, 30, 45, 0.04));
  border-top: 3px solid var(--primary);
}

.fees-table .total-cost-row td {
  padding: 1.5rem 1.5rem;
  font-weight: 600;
}

.fees-table .total-cost-row td:first-child {
  font-size: 1.1rem;
  color: var(--primary-900);
}

.fees-table .amount-lg {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.fees-table .total-cost-row .note-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

/* Additional Costs */
.additional-costs {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.additional-costs h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.costs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.cost-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cost-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cost-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.cost-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cost-item strong {
  font-size: 1.1rem;
  color: var(--primary);
}

/* ===========================================
   Requirements Section
   =========================================== */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 2rem;
}

.req-card,
.req-card-full {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  margin-top: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.req-card:hover,
.req-card-full:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.req-number {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(139, 30, 45, 0.3);
}

.req-card h3,
.req-card-full h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  color: var(--primary-900);
}

.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.req-list li {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.req-list li:last-child {
  padding-bottom: 0;
}

.req-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-size: 1.1rem;
}

/* English Requirements */
.english-requirements {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.english-requirements h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.english-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.english-table th,
.english-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(139, 30, 45, 0.1);
}

.english-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.english-table td {
  color: var(--text-main);
}

.note-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* Requirements CTA */
.requirements-cta {
  margin-top: 4rem;
}

.requirements-cta h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-900);
}

.btn-brand {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-brand:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(139, 30, 45, 0.25);
  color: #fff;
}

/* ===========================================
   Host Family Section
   =========================================== */
.host-family-grid {
  align-items: stretch;
}

.host-features {
  display: flex;
  flex-direction: column;
}

.features-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  height: 100%;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon-card {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.feature-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-bullets li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.feature-bullets li:last-child {
  margin-bottom: 0;
}

.feature-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* Host Family Image */
.host-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.host-family-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.host-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 64, 100, 0.92) 0%, rgba(30, 64, 100, 0.6) 40%, rgba(30, 64, 100, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
}

.overlay-content {
  color: #fff;
}

.overlay-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  color: #fff;
}

.overlay-subtitle {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 400;
  color: #fff;
}

/* ===========================================
   CTA Section
   =========================================== */
.cta-section {
  background: var(--primary);
  padding: 5rem 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: #f8f9fa;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===========================================
   Footer
   =========================================== */
.footer {
  background: #1e293b;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: left;
}

.footer-logo {
  margin-bottom: 1rem;
  text-align: left;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  text-align: left;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ===========================================
   Animations
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 1024px) {
  .hero-grid-enhanced {
    gap: 3rem;
  }

  .numbers-grid {
    gap: 24px;
  }

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

@media (max-width: 992px) {
  .about-grid {
    gap: 2.5rem;
  }

  .about-content {
    padding-top: 1rem;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .about-intro {
    font-size: 1.05rem;
  }

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

  .hero-container {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description-enhanced {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-enhanced {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .btn-enhanced {
    flex: 1 1 calc(50% - 0.625rem);
    min-width: 200px;
  }

  .hero-image-container {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-image-container:hover {
    transform: translateY(-5px);
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
  }

  .number-card:not(:last-child)::after {
    display: none;
  }

  .hero-numbers-section {
    padding: 48px 0 40px;
  }

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

  .features-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .host-image-wrapper {
    min-height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .about-grid {
    gap: 2rem;
  }

  .about-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .about-intro {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-divider {
    margin: 1.5rem 0;
  }

  .about-body {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .about-closing {
    font-size: 0.95rem;
    padding: 1rem;
    line-height: 1.7;
  }

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

  .hero-container {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description-enhanced {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-enhanced {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .btn-enhanced {
    flex: 1 1 calc(50% - 0.625rem);
    min-width: 200px;
  }

  .hero-image-container {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-image-container:hover {
    transform: translateY(-5px);
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
  }

  .number-card:not(:last-child)::after {
    display: none;
  }

  .hero-numbers-section {
    padding: 48px 0 40px;
  }

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

  .features-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .host-image-wrapper {
    min-height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: left;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 6rem;
    padding-bottom: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s;
    z-index: 1000;
    overscroll-behavior: contain;
    overflow-y: auto;
    display: flex;
  }

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

  .lang-switcher {
    margin-top: 1.5rem;
    align-self: center;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-size: 1.25rem;
    display: block;
    padding: 1rem;
    color: var(--text-main);
  }

  .btn-contact {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: 60%;
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }

  .section {
    padding: 3rem 0;
  }
}

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

  .btn-contact {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    /* width: 120px; */
  }

  .hero-actions-enhanced {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    padding: 0 0.5rem;
    gap: 0.5rem;
  }

  .btn-enhanced {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 16px;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .number-icon {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
    margin-bottom: 14px;
  }

  .number-value {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }

  .number-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .hero-numbers-section {
    padding: 36px 0 30px;
  }

  .numbers-heading {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }

  .fees-table th,
  .fees-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }

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

  .feature-card {
    padding: 1.25rem;
  }

  .host-image-wrapper {
    min-height: 300px;
  }

  .host-image-overlay {
    padding: 1.5rem;
  }

  .overlay-title {
    font-size: 1.35rem;
  }

  .overlay-subtitle {
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   Contact Section (from Root)
   =========================================== */
.contact-section {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bg-primary-root {
  background: #1d4ed8;
}

.contact-info-panel {
  padding: 4rem;
  color: #fff;
}

.contact-info-panel h2 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.c-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.c-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}

.c-icon i {
  font-size: 1.25rem;
}

.c-item span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
}

.c-item strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}

.contact-form-panel {
  padding: 4rem;
  background: #fff;
}

.contact-form-panel h3 {
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-size: 1.5rem;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f8fafc;
  padding: 1.5rem 1rem 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  color: #334155;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.input-group label {
  position: absolute;
  left: 1.25rem;
  top: 1.15rem;
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: 0.4rem;
  font-size: 0.75rem;
  color: #2563eb;
  font-weight: 600;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: transparent;
}

.input-group input:focus::placeholder,
.input-group textarea:focus::placeholder {
  color: #94a3b8;
}

.btn-primary-root {
  background: #2563eb;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-primary-root:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .contact-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-info-panel, .contact-form-panel {
    padding: 2.5rem;
  }
}

@media (max-width: 480px) {
  .contact-info-panel, .contact-form-panel {
    padding: 2rem 1.5rem;
  }
}
