:root {
  --bg: #ecfdf5;
  --card: rgba(255,255,255,0.82);
  --card-strong: rgba(255,255,255,0.94);
  --accent: #16a34a;
  --accent-2: #22c55e;
  --accent-soft: rgba(34,197,94,0.16);
  --text-main: #020617;
  --text-muted: #4b5563;
  --border-subtle: rgba(148,163,184,0.4);
  --radius: 26px;
  --nav-h: 70px;
  --max-w: 1380px;
  --shadow-soft: 0 18px 40px rgba(15,23,42,0.18);
}

/* RESET CƠ BẢN */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  font-family: "Baloo 2", system-ui, sans-serif;
  background:
    radial-gradient(circle at 0% 0%, #dcfce7 0, transparent 55%),
    radial-gradient(circle at 100% 0%, #e0f2fe 0, transparent 52%),
    radial-gradient(circle at 50% 100%, #fef9c3 0, transparent 55%),
    #ecfdf5;
  color: var(--text-main);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.6;
  overflow-x: hidden;
}

/* BACKGROUND LAYERS */

.bg-grad {
  position: fixed;
  inset: -40px;
  background:
    radial-gradient(circle at 10% 20%, rgba(34,197,94,0.18), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(56,189,248,0.18), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(251,191,36,0.18), transparent 55%);
  background-size: 160% 160%;
  filter: blur(1px);
  animation: gradientMove 22s ease-in-out infinite;
  opacity: 0.9;
  z-index: -3;
}

.bg-noise {
  position: fixed;
  inset: 0;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  mix-blend-mode: soft-light;
  opacity: .16;
  pointer-events: none;
  z-index: -2;
}

.bg-orbit {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.bg-orbit::before,
.bg-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.28);
  box-shadow: 0 0 60px rgba(34,197,94,0.25);
  animation: orbit 26s linear infinite;
}

.bg-orbit::before {
  width: 420px;
  height: 420px;
  top: 12%;
  left: -8%;
}

.bg-orbit::after {
  width: 520px;
  height: 520px;
  right: -12%;
  bottom: -4%;
  animation-duration: 32s;
  animation-direction: reverse;
}

@keyframes gradientMove {
  0% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(-30px,18px,0); }
  100% { transform: translate3d(0,0,0); }
}

@keyframes orbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* LAYOUT CHUNG */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
}

/* NAVBAR */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.6rem 0;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(209,213,219,0.9);
  box-shadow: 0 16px 40px rgba(148,163,184,0.45);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  position: relative;
  overflow: hidden;
}

.nav-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(34,197,94,0.16), transparent 60%);
  opacity: .7;
  pointer-events: none;
}

.nav-inner::after {
  content: "";
  position: absolute;
  top: -130%;
  left: -20%;
  width: 40%;
  height: 260%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.85) 45%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: navMetalSweep 11s linear infinite;
}

@keyframes navMetalSweep {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  38% { transform: translateX(190%); opacity: 0; }
  100% { transform: translateX(190%); opacity: 0; }
}

.nav-inner > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .nav-inner { padding: 0 1.5rem; }
}

@media (max-width: 640px) {
  .nav-inner { border-radius: 18px; padding: 0 1rem; }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  border: 1px solid rgba(34,197,94,0.7);
  box-shadow: 0 0 18px rgba(34,197,94,0.7);
  position: relative;
  overflow: hidden;
  animation: pulseGlow 3.6s ease-in-out infinite;
}

.nav-logo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: inset 0 0 10px rgba(15,23,42,0.35);
}

@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 18px rgba(34,197,94,0.7); transform: translateY(0); }
  50% { box-shadow: 0 0 26px rgba(74,222,128,1); transform: translateY(-1px) scale(1.03); }
}

.nav-title-main {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #022c22;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.nav-title-main i {
  font-size: 1.1rem;
  color: var(--accent);
}

.nav-title-sub {
  font-size: .76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: .88rem;
  padding: .22rem .35rem;
  border-radius: 999px;
  background: rgba(248,250,252,0.94);
  border: 1px solid rgba(229,231,235,0.9);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: .32rem .75rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, transform .15s ease, box-shadow .15s ease;
}

.nav-link:hover {
  color: #022c22;
  background: rgba(187,247,208,0.9);
  box-shadow: 0 0 18px rgba(22,163,74,0.35);
  transform: translateY(1px);
}

.nav-link.active {
  color: #022c22;
  background: rgba(22,163,74,0.14);
  box-shadow: 0 0 22px rgba(22,163,74,0.5);
}

.nav-cta {
  padding: .5rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  color: #022c22;
  font-size: .86rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22,163,74,0.65);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.05);
  box-shadow: 0 14px 34px rgba(22,163,74,0.9);
}

.nav-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(209,213,219,0.9);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(148,163,184,0.55);
}

.nav-hamburger i {
  font-size: 1.3rem;
  color: var(--accent);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

.nav-mobile-menu {
  position: absolute;
  top: calc(var(--nav-h) + .7rem);
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 420px;
  background: rgba(255,255,255,0.98);
  border-radius: 20px;
  padding: 0.7rem 1.2rem 0.9rem;
  box-shadow: 0 20px 40px rgba(148,163,184,0.6);
  border: 1px solid rgba(209,213,219,0.9);
  display: none;
  flex-direction: column;
  gap: .35rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-mobile-menu.show {
  display: flex;
  animation: menuPop .18s ease-out forwards;
}

.nav-mobile-menu .nav-link {
  width: 100%;
  text-align: center;
  padding: .48rem .75rem;
  border-radius: 999px;
}

.nav-mobile-menu .nav-link:hover {
  background: rgba(187,247,208,0.9);
}

@keyframes menuPop {
  0% { opacity: 0; transform: translate(-50%, -6px) scale(0.97); }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* HERO */

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 1.8rem) 0 4rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(22,163,74,0.12), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(56,189,248,0.14), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero .container {
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero {
    padding: calc(var(--nav-h) + 1.5rem) 0 3rem;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-copy {
  max-width: 640px;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(3.2rem, 4.4vw + 1.8rem, 4.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #022c22;
  letter-spacing: 0.04em;
  margin: 0 0 .7rem;
}

.hero-title span {
  background: linear-gradient(45deg, #16a34a, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.14rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 1.6rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-primary {
  padding: .68rem 1.55rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  color: #022c22;
  font-weight: 780;
  font-size: .94rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 14px 34px rgba(22,163,74,0.8);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.hero-primary:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.07);
  box-shadow: 0 20px 44px rgba(22,163,74,1);
}

.hero-ghost {
  padding: .66rem 1.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.9);
  background: rgba(255,255,255,0.9);
  color: #111827;
  font-size: .9rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(148,163,184,0.5);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.hero-ghost:hover {
  transform: translateY(-2px);
  background: #f9fafb;
  border-color: rgba(55,65,81,0.9);
  box-shadow: 0 14px 32px rgba(148,163,184,0.7);
}

/* CỘT GREENIE */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-greenie-card {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  max-width: 520px;
}

.hero-greenie-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.7rem;
    letter-spacing: 0.03em;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-greenie-card {
    max-width: 280px;
  }
}

/* SECTION CHUNG */

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}

.section-kicker {
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #15803d;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2.8rem, 5.2vw + 1rem, 4.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.18;
  color: #022c22;
  margin: 0;
}

.section-title span {
  background: linear-gradient(45deg, #16a34a, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 44rem;
  line-height: 1.8;
  font-weight: 500;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* GIỚI THIỆU */

.text-body {
  font-size: 1.12rem;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.intro-image {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 22px 44px rgba(148,163,184,0.55);
}

/* MỘT SỐ UTILITY */

.metal-text { }

.metal-text-green {
  background: linear-gradient(45deg, #16a34a, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.shine-card { }

/* FLOW 4 BƯỚC */

.features-flow-container {
  padding: 5rem 0;
  position: relative;
}

.flow-wrapper {
  position: relative;
  margin-top: 3rem;
}

.flow-line {
  position: absolute;
  top: 50%;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(148,163,184,0.2),
    rgba(34,197,94,0.6),
    rgba(148,163,184,0.2)
  );
  z-index: 1;
}

.flow-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.flow-card {
  position: relative;
  padding: 2rem;
  border-radius: 22px;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(180,180,180,0.35);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 32px rgba(148,163,184,0.42);
  transition: 0.25s ease;
}

.flow-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 46px rgba(148,163,184,0.55);
}

.flow-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: white;
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.icon-blue { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.icon-purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.icon-orange { background: linear-gradient(135deg, #fb923c, #f97316); }
.icon-green { background: linear-gradient(135deg, #22c55e, #16a34a); }

.flow-number {
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(15,23,42,0.06);
}

.flow-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #022c22;
  margin-bottom: 0.45rem;
}

.flow-desc {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.7;
}

.flow-cta-wrapper {
  margin-top: 3rem;
  text-align: center;
}

.flow-cta {
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 14px 32px rgba(22,163,74,0.55);
  transition: 0.22s ease;
}

.flow-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(22,163,74,0.65);
  filter: brightness(1.04);
}

.flow-cta i {
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-line { display: none; }
}

@media (max-width: 680px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

/* TABS HỌC SINH | GIÁO VIÊN */

.audience-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  gap: 0;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(148,163,184,0.7);
  box-shadow: 0 12px 26px rgba(148,163,184,0.45);
  margin: 0 auto 2.4rem auto;
}

.audience-tab {
  border: none;
  background: transparent;
  padding: 0.55rem 1.6rem;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  color: #4b5563;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.14s ease;
}

.audience-tab.active {
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 10px 24px rgba(22,163,74,0.7);
  transform: translateY(-1px);
}

.audience-tab:not(.active):hover {
  background: rgba(226,232,240,0.9);
  color: #111827;
}

.audience-panel {
  display: none;
}

.audience-panel.is-active {
  display: block;
}

/* SO SÁNH */

.comparison-section {
  position: relative;
}

.comparison-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(34,197,94,0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(59,130,246,0.12), transparent 55%);
  opacity: .8;
  pointer-events: none;
}

.comparison-inner {
  position: relative;
  z-index: 1;
}

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,1.02fr);
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .comparison-layout {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  border-radius: 24px;
  padding: 1.9rem 2rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  position: relative;
  overflow: hidden;
}

.compare-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(148,163,184,0.5);
  border-color: rgba(148,163,184,0.9);
  background: #ffffff;
}

.compare-card--a4g {
  background:
    radial-gradient(circle at 0 0, rgba(22,163,74,0.16), #f0fdf4);
  border: 1px solid rgba(22,163,74,0.8);
  box-shadow: 0 22px 60px rgba(34,197,94,0.5);
  position: relative;
  overflow: hidden;
}

.compare-card--a4g::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,0.5), transparent 60%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .25s ease, transform .25s ease;
}

.compare-card--a4g:hover {
  box-shadow: 0 26px 70px rgba(22,163,74,0.7);
}

.compare-card--a4g:hover::before {
  opacity: 0.95;
  transform: translate3d(14px,-14px,0);
}

.compare-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.compare-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: radial-gradient(circle at 0 0, #9ca3af, #4b5563);
  color: #f9fafb;
  box-shadow: 0 10px 22px rgba(148,163,184,0.6);
}

.compare-card--a4g .compare-icon {
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 12px 26px rgba(22,163,74,0.85);
}

.compare-heading {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #022c22;
}

.compare-sub {
  font-size: .96rem;
  color: var(--text-muted);
}

.compare-list {
  list-style: none;
  display: grid;
  gap: .45rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.compare-item {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  line-height: 1.6;
  color: #111827;
}

.compare-item-icon {
  font-size: 1.05rem;
  margin-top: .12rem;
  flex-shrink: 0;
}

.compare-item.bad .compare-item-icon {
  color: #ef4444;
}

.compare-item.good .compare-item-icon {
  color: #16a34a;
}

.compare-note {
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: .4rem;
}

/* ĐỐI TÁC */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.2rem;
  justify-items: center;
}

@media (max-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
}

.partner-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
  opacity: 1;
  transition: transform .25s ease, box-shadow .25s ease;
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.02);
}

.partner-logo:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 32px rgba(15,23,42,0.18);
}

/* LIÊN HỆ – NỀN RIÊNG VÀ NÚT PREMIUM */

#contact {
  background: linear-gradient(
    135deg,
    #d1fae5 0%,
    #a7f3d0 35%,
    #6ee7b7 70%,
    #34d399 100%
  );
  padding-top: 5rem;
  padding-bottom: 4rem;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

#contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.10;
  pointer-events: none;
}

#contact .section-title {
  color: #064e3b;
}

#contact .contact-text {
  color: #065f46;
  font-size: 1.12rem;
  font-weight: 550;
}

/* Nút liên hệ trong section contact */

#contact .nav-cta {
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #065f46;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.08),
    0 0 24px rgba(16, 185, 129, 0.35);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease,
    background .18s ease;
}

#contact .nav-cta:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.1),
    0 0 34px rgba(16, 185, 129, 0.55);
}

#contact .nav-cta:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

/* LIÊN HỆ – TEXT CHUNG */

.contact-center {
  text-align: center;
}

.contact-text {
  max-width: 680px;
  margin: 0 auto 1.8rem;
}

/* FOOTER */

.footer {
  background: rgba(15,23,42,0.06);
  color: #111827;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  margin-top: 0;
  border-top: 1px solid rgba(148,163,184,0.5);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 1024px) {
  .footer-inner { padding: 0 1.5rem; }
}

@media (max-width: 640px) {
  .footer-inner { padding: 0 1rem; }
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(209,213,219,0.9);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 420px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 0.3rem;
}

.footer-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
  border: 1px solid rgba(34,197,94,0.8);
  box-shadow: 0 0 18px rgba(22,163,74,0.7);
  position: relative;
  overflow: hidden;
}

.footer-logo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: inset 0 0 10px rgba(15,23,42,0.45);
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .35rem;
  color: #022c22;
}

.footer-title i {
  font-size: 1.05rem;
  color: #16a34a;
}

.footer-tagline {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .6rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(22,163,74,0.1);
  border: 1px solid rgba(96,165,250,0.9);
  font-size: .78rem;
  color: #14532d;
}

.footer-badge i {
  font-size: .95rem;
  color: #f59e0b;
}

.footer-column-title {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: .9rem;
  color: #111827;
}

.footer-contact {
  font-size: 1rem;
  color: #4b5563;
  display: grid;
  gap: .45rem;
  max-width: 420px;
  line-height: 1.65;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.footer-contact-row i {
  font-size: 1rem;
  color: #16a34a;
  margin-top: .1rem;
}

.footer-bottom {
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .9rem;
  color: #6b7280;
  flex-wrap: wrap;
  text-align: center;
}

.footer-bottom a {
  color: #4b5563;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #111827;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #111827;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.footer-social a:hover {
  background: #16a34a;
  color: #ecfdf5;
  border-color: transparent;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(22,163,74,0.8);
}

@media (max-width: 640px) {
  .section {
    padding: 3.8rem 0;
  }
  .section-title {
    font-size: clamp(2.2rem, 5vw + 0.8rem, 3rem);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* TĂNG CỠ CHỮ TOÀN TRANG */

body {
  font-size: 1.02rem;
  line-height: 1.75;
}

.partner-logo img {
  transform: scale(1.02);
}
