/* 
  Sunshine Education - Premium Modular CSS
  Refined based on optimized page-trangchu structure.
*/

:root {
  /* Brand Core Colors */
  --ss-blue: #2D89C4;
  /* Primary Action Color */
  --ss-navy: #1B365D;
  /* Brand Dark / Structure */
  --ss-accent: #F39C12;
  /* Vibrant Accent from Icon */

  /* System Mapping */
  --ss-primary: var(--ss-blue);
  --ss-dark: var(--ss-navy);
  --ss-dark-deeper: #0F172A;

  /* Helper Colors */
  --ss-gray: #64748B;
  --ss-red: #E8336D;

  --ss-glass: rgba(255, 255, 255, 0.95);
  --ss-card-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  --ss-radius-md: 16px;
  --ss-radius-lg: 24px;
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #1E293B;
  background: #fff;
  overflow: visible !important;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Ensure parents don't break sticky */
#wrapper,
.content-area,
#sunshine-homepage,
#sunshine-page,
.ss-home-wrapper {
  overflow: visible !important;
}

.ss-main-layout {
  width: 100%;
  overflow-x: clip !important;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

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

/* ── LAYOUT CHUNG ── */
.ss-sec-inner,
.ss-topbar-inner,
.ss-search-inner,
.ss-series-inner,
.ss-hdr {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ss-card {
  background: #fff;
  border-radius: var(--ss-radius-md);
  box-shadow: var(--ss-card-shadow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ss-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ── HEADER + TOPBAR WRAPPER (Smart sticky) ── */
.ss-site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999;
  transition: margin-top 0.44s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.36s ease;
}

.ss-site-header.ss-visible {
  margin-top: 0;
  opacity: 1;
}

/* Admin Bar Fix */
body.admin-bar .ss-site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .ss-site-header {
    top: 46px;
  }
}

/* ── TOPBAR ── */
.ss-topbar {
  background: var(--ss-gray);
  padding: 8px 0;
  max-height: 50px;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.3s ease;
  opacity: 1;
}

.ss-site-header.scrolled .ss-topbar {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

/* ── HEADER ── */
.ss-header {
  background: var(--ss-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ss-site-header.scrolled .ss-header {
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.ss-hdr {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ss-site-header.scrolled .ss-logo img {
  height: 40px;
}

.ss-logo img {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}

/* ── NAVIGATION ── */
.ss-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ss-nl {
  color: #333;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ss-nl>a {
  color: inherit !important;
  display: block;
}

.ss-nl::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ss-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.ss-nl:hover {
  color: var(--ss-accent);
  background: rgba(45, 137, 196, 0.05);
}

.ss-nl:hover::before {
  width: 20px;
}

.ss-nl.arr::after {
  content: "▾";
  font-size: 10px;
  opacity: 0.5;
  transition: transform 0.3s;
}

.ss-nl.arr.open::after {
  transform: rotate(180deg);
  color: var(--ss-blue);
}

/* Dropdown */
.ss-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, .15);
  padding: 10px 0;
  display: none;
  z-index: 100000;
  margin-top: 5px;
  pointer-events: auto;
}

.ss-dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: transparent;
}

.ss-nl.open>.ss-dropdown {
  display: block;
}

.ss-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
  transition: all .2s;
}

.ss-dropdown a:hover {
  background: #f8f9fa;
  color: var(--ss-blue);
  padding-left: 20px;
}

/* Mega Menu (Desktop Mode) */
.ss-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 900px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--ss-radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100000;
  margin-top: 12px;
  pointer-events: auto;
}

.ss-megamenu::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.ss-nl.open>.ss-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ss-mega-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.6fr 1fr;
  /* custom layout spacing */
  gap: 28px;
  text-align: left;
}

.ss-mega-col {
  display: flex;
  flex-direction: column;
}

.ss-mega-hdr {
  font-size: 12px;
  font-weight: 800;
  color: var(--ss-navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(45, 137, 196, 0.1);
  margin-bottom: 14px;
  position: relative;
}

.ss-mega-hdr::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--ss-accent);
}

.ss-mega-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ss-mega-links a {
  font-size: 13px !important;
  color: #555 !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  padding: 4px 0 !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  white-space: normal !important;
}

.ss-mega-links a:hover {
  color: var(--ss-blue) !important;
  transform: translateX(4px) !important;
  background: transparent !important;
  padding-left: 0 !important;
}

/* ── BUTTONS ── */
.ss-btn-reg {
  background: var(--ss-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 45px 5px 24px;
  margin-bottom: 0px;
  /* Space for the absolute dot */
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  box-shadow: 0 4px 12px rgba(45, 137, 196, 0.2);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ss-btn-reg:hover {
  color: var(--ss-navy);
  box-shadow: 0 12px 28px rgba(243, 156, 18, 0.5);
}

.ss-btn-dot {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ss-accent);
  transform: translateY(-50%);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  pointer-events: none;
}

.ss-btn-reg:hover .ss-btn-dot {
  transform: translateY(-50%) scale(100);
}

.ss-shimmer {
  position: relative;
  overflow: hidden;
}

.ss-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: ss-shimmer 3s infinite;
}

@keyframes ss-shimmer {
  0% {
    left: -100%;
    top: -100%;
  }

  100% {
    left: 100%;
    top: 100%;
  }
}

/* Dot expansion handled via absolute positioning in ss-btn-reg block */

/* ── HERO ── */
.ss-hero {
  position: relative;
  min-height: 100vh;
  /* Full viewport height for premium feel */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #020617;
  width: 100%;
}

.ss-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease-out, opacity 1s ease-in-out;
  opacity: 0;
  transform: scale(1.1);
}

.ss-hero-img.active {
  opacity: 1;
  transform: scale(1);
}

.ss-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

.ss-hero-h1 {
  font-size: clamp(32px, 5vw, 64px);
  /* Responsive font size */
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.ss-hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ss-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ss-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 16px 56px 16px 36px;
  /* Space for the absolute dot */
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: 'Be Vietnam Pro', sans-serif;
  box-shadow: 0 8px 25px rgba(27, 54, 93, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ss-hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(243, 156, 18, 0.4);
  color: var(--ss-navy);
}

.ss-hero-btn:hover .ss-btn-dot {
  transform: translateY(-50%) scale(120);
}

.ss-hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.ss-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ss-hero-dot.active {
  background: var(--ss-accent);
  width: 32px;
  border-radius: 10px;
}

/* ── SEARCH BAR ── */
.ss-search-bar {
  background: transparent;
  padding: 0;
  position: relative;
  z-index: 10;
  margin-top: -60px;
  /* Float over the hero content */
}

.ss-search-inner {
  background: #fff;
  border-radius: var(--ss-radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  /* Keep on one line for desktop */
}

.ss-search-lbl {
  color: #64748B;
  font-size: 14px;
  line-height: 1.4;
  flex-shrink: 0;
  border-right: 1px solid #E2E8F0;
  padding-right: 20px;
}

.ss-search-lbl strong {
  color: var(--ss-blue);
  font-weight: 800;
  display: block;
  font-size: 16px;
}

.ss-search-lbl span {
  color: var(--ss-accent);
  font-weight: 600;
  display: block;
}

.ss-sfields {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.ss-sfield {
  flex: 1;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 56px;
  position: relative;
}

.ss-sfield:hover,
.ss-sfield:focus-within {
  background: #fff;
  border-color: var(--ss-blue);
  box-shadow: 0 0 0 4px rgba(45, 137, 196, 0.1);
}

.ss-sfield span {
  position: absolute;
  left: 16px;
  font-size: 20px;
  color: var(--ss-blue);
}

.ss-sfield select {
  background: transparent;
  border: none;
  color: #1E293B;
  font-size: 14px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 600;
  margin-bottom: 0px;
  padding: 10px 40px;
}

.ss-sfield em {
  position: absolute;
  right: 16px;
  pointer-events: none;
  color: #94A3B8;
  font-size: 12px;
}

.ss-btn-xem {
  background: var(--ss-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 0 32px;
  border-radius: 12px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  font-family: 'Be Vietnam Pro', sans-serif;
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.2);
  position: relative;
  overflow: hidden;
}

.ss-btn-xem:hover {
  background: var(--ss-blue);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(45, 137, 196, 0.4);
  animation: ss-pulse-glow 1.5s infinite;
}

.ss-btn-xem::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.ss-btn-xem:hover::after {
  transform: translateX(100%);
}

/* ── SECTIONS ── */
.ss-sec {
  padding: 52px 0;
}

.ss-sec-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ss-sec-hdr h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ss-navy);
  margin: 0;
}

.ss-sec-hdr a {
  font-size: 13px;
  color: var(--ss-red);
  font-weight: 700;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ss-sec-hdr a:hover {
  color: var(--ss-blue);
  transform: translateX(5px);
  display: inline-block;
}

/* ── PROGRAMS ── */
.ss-prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ss-prog-card {
  border-radius: var(--ss-radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ss-prog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.ss-prog-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ss-prog-card:hover .ss-prog-card-bg {
  transform: scale(1.1);
}

.ss-prog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.9) 100%);
  transition: opacity 0.4s ease;
}

.ss-prog-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.ss-prog-card-label {
  display: inline-block;
  background: var(--ss-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ss-prog-card-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}

.ss-prog-card-age {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.ss-prog-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ss-accent);
  font-size: 12px;
  font-weight: 800;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.ss-prog-card:hover .ss-prog-card-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROMO SLIDER ── */
.ss-promo-container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.ss-promo-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .ss-promo-container {
    padding: 0 15px;
  }

  .ss-promo-wrapper {
    border-radius: 20px;
  }
}

.ss-promo-slides {
  display: flex;
  align-items: stretch;
  /* Make all slides same height as the tallest one */
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ss-promo-slide {
  flex: 0 0 100%;
  display: flex;
  /* Allow inner grid to fill height */
}

.ss-promo-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  height: 380px;
  width: 100%;
}

@media (max-width: 900px) {
  .ss-promo-grid {
    border-radius: 20px;
  }
}

.ss-promo-left {
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ss-promo-airc {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
}

.ss-promo-left-txt {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  max-width: 180px;
}

.ss-promo-right {
  position: relative;
  overflow: hidden;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ss-promo-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 125, 216, 0.25) 0%, transparent 70%);
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ss-promo-brand {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ss-promo-title {
  font-size: 46px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 20px;
}

.ss-promo-title span {
  display: block;
  background: linear-gradient(to right, #ffd700, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ss-promo-sub {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  opacity: 0.9;
}

.ss-promo-sub-gold {
  color: #f39c12;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.ss-promo-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #020b1a;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s;
  align-self: flex-start;
}

.ss-promo-btn:hover {
  transform: scale(1.05);
}

.ss-promo-chars {
  position: absolute;
  right: 40px;
  bottom: 0;
  height: 90%;
  z-index: 1;
  pointer-events: none;
}

.ss-promo-chars img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.ss-promo-nav {
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.ss-p-nav-btn {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s;
  font-size: 18px;
  color: #333;
}

.ss-p-nav-btn:hover {
  background: var(--ss-accent);
  color: #fff;
  transform: scale(1.1);
}

/* ── NEWS ── */
.ss-sec-Sunshineverse {
  background: #F8FAFC;
}

.ss-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.ss-news-main {
  border-radius: var(--ss-radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ss-card-shadow);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ss-news-main:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.ss-news-main-img {
  height: 260px;
  overflow: hidden;
}

.ss-news-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ss-news-main:hover .ss-news-main-img img {
  transform: scale(1.05);
}

.ss-news-main-body {
  padding: 30px;
}

.ss-news-tag {
  display: inline-block;
  background: rgba(45, 137, 196, 0.1);
  color: var(--ss-blue);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ss-news-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ss-dark-deeper);
  line-height: 1.4;
  margin-bottom: 12px;
}

.ss-news-desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.7;
}

.ss-news-date {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ss-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ss-news-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--ss-radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ss-news-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ss-news-item-img {
  width: 120px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
}

.ss-news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-news-item-body {
  padding: 15px 20px 15px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ss-news-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ss-dark-deeper);
  line-height: 1.5;
  margin-bottom: 6px;
}

.ss-news-item-date {
  font-size: 12px;
  color: #94A3B8;
}

/* ── SLIDERS (Teachers, Students) ── */
.ss-slider-wrapper {
  position: relative;
}

.ss-slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ss-slider-container::-webkit-scrollbar {
  display: none;
}

.ss-slider-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.ss-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.ss-slider-btn:hover {
  background: var(--ss-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.ss-slider-btn.prev {
  left: -22px;
}

.ss-slider-btn.next {
  right: -22px;
}

/* Media Card */
.ss-media-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: block;
}

.ss-media-card-img {
  height: 280px;
  overflow: hidden;
}

.ss-media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.ss-media-card:hover img {
  transform: scale(1.05);
}

.ss-media-body {
  padding: 18px;
}

.ss-media-tag {
  color: var(--ss-red);
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 8px;
}

.ss-media-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ss-navy);
  margin-bottom: 5px;
}

/* Students */
.ss-sec-students {
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
  padding: 80px 0;
}

.ss-sec-students .ss-sec-hdr h2 {
  color: var(--ss-navy);
}

.ss-sec-students .ss-sec-hdr a {
  color: var(--ss-blue);
  font-weight: 700;
}

.ss-student-card {
  border-radius: 20px;
  /* More rounded for premium feel */
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/5;
  cursor: pointer;
  display: block;
  box-shadow: 0 10px 30px rgba(27, 54, 93, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ss-student-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(27, 54, 93, 0.15);
}

.ss-student-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.85);
  transition: filter .3s;
}

.ss-student-card:hover img {
  filter: brightness(1);
}

.ss-student-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
}

.ss-student-name {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ss-student-score {
  color: var(--ss-accent);
  font-size: 12px;
  font-weight: 600;
  margin-top: 3px;
}

/* Facilities */
.ss-sec-facilities {
  padding: 60px 0 80px;
}

.ss-fac-main {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/7;
  margin-bottom: 12px;
}

.ss-fac-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-fac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ss-fac-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ss-fac-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

/* Stats */
.ss-sec-stats {
  background: var(--ss-navy);
  padding: 52px 0;
}

.ss-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.ss-stat-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--ss-accent);
}

.ss-stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  margin-top: 8px;
}

/* Map */
.ss-sec-map {
  background: #f7f8fc;
  padding: 30px 0px;
}

.ss-map-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.ss-map-panel {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.ss-center-item {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #eee;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.ss-center-item:hover,
.ss-center-item.active {
  border-color: var(--ss-blue);
  background: #f0f7ff;
}

/* ── FOOTER MAIN ── */
.ss-footer {
  background: var(--ss-dark-deeper);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.ss-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.ss-footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.ss-footer-desc {
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.8;
  max-width: 320px;
}

.ss-footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.ss-s-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ss-s-btn:hover {
  background: var(--ss-blue);
  transform: translateY(-5px);
  border-color: var(--ss-blue);
}

.ss-footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ss-footer-col ul {
  list-style: none;
}

.ss-footer-col ul li {
  margin-bottom: 14px;
}

.ss-footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ss-footer-col ul li a:hover {
  color: var(--ss-accent);
  padding-left: 5px;
}

.ss-footer-col ul li a svg {
  margin-top: 3px;
  opacity: 0.7;
}

/* Partner Logos */
.ss-footer-partners {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.ss-partner-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  filter: grayscale(1) opacity(0.5);
  transition: all 0.5s ease;
}

.ss-partner-grid:hover {
  filter: grayscale(0) opacity(1);
}

.ss-partner-grid img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.ss-footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 24px 24px;
}

.ss-footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ss-footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.ss-footer-certs {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ss-cert {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── STICKY BOTTOM ── */
.ss-sticky-bottom {
  position: fixed !important;
  bottom: 12px !important;
  left: 50% !important;
  z-index: 999999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  transform: translateX(-50%);
}

.ss-sticky-bottom.ss-sbv {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.ss-sb-register {
  background: var(--ss-accent);
  color: var(--ss-navy);
  padding: 8px 24px;
  border-radius: 28px;
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: 0 6px 24px rgba(243, 156, 18, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── BACK TOP ── */
.ss-back-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--ss-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9998;
}

.ss-back-top.show {
  opacity: 1;
  visibility: visible;
}

.ss-back-top:hover {
  background: var(--ss-navy);
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes ss-pulse-glow {
  0% {
    box-shadow: 0 15px 35px rgba(45, 137, 196, 0.4);
  }

  50% {
    box-shadow: 0 15px 45px rgba(45, 137, 196, 0.7);
  }

  100% {
    box-shadow: 0 15px 35px rgba(45, 137, 196, 0.4);
  }
}

/* ── MOBILE MENU ── */
.ss-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.ss-hamburger span {
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}

.ss-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 999999;
}

.ss-mobile-menu.open {
  display: flex;
}

.ss-mobile-inner {
  background: #fff;
  width: 280px;
  height: 100%;
  padding: 24px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.ss-mobile-close {
  align-self: flex-end;
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 12px;
}

.ss-mobile-link {
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
}

.ss-mobile-sub {
  display: none;
  flex-direction: column;
  background: #f8f9fc;
  border-radius: 8px;
}

.ss-mobile-sub.open {
  display: flex;
}

.ss-mobile-sub a {
  padding: 11px 20px;
  font-size: 13.5px;
  color: #444;
  border-bottom: 1px solid #eef0f5;
}

.ss-m-sub-cat {
  padding: 14px 20px 6px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ss-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(45, 137, 196, 0.08);
}

.ss-mobile-sub .ss-m-sub-link {
  padding: 8px 24px !important;
  font-size: 12.5px !important;
  color: #555 !important;
  border-bottom: none !important;
  text-transform: none !important;
}

.ss-mobile-sub .ss-m-sub-link:hover {
  color: var(--ss-blue) !important;
  background: transparent !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ss-hdr {
    height: 60px;
  }

  .ss-sec-hdr {
    align-items: flex-end;
    gap: 12px;
  }

  .ss-sec-hdr h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    flex: 1;
  }

  .ss-logo img {
    height: 40px !important;
  }

  .ss-nav,
  .ss-btn-reg {
    display: none;
  }

  .ss-hamburger {
    display: flex;
  }

  .ss-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ss-hero-right {
    display: none;
  }

  .ss-hero-h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .ss-hero-sub {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .ss-sec-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .ss-prog-grid,
  .ss-news-grid,
  .ss-media-grid,
  .ss-students-grid,
  .ss-fac-grid,
  .ss-map-layout,
  .ss-footer-grid {
    grid-template-columns: 1fr;
  }

  /* Search Bar Mobile Fix */
  .ss-search-bar {
    margin-top: -25px;
  }

  .ss-search-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 15px;
  }

  .ss-search-lbl {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding-right: 0;
    padding-bottom: 15px;
    text-align: center;
  }

  .ss-sfields {
    flex-direction: column;
    width: 100%;
  }

  .ss-sfield {
    width: 100%;
  }

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

  /* Promo Slider Mobile Fix */
  .ss-promo-grid {
    grid-template-columns: 1fr;
    height: 100%;
    /* Fill the height provided by the flex parent */
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .ss-promo-left {
    padding: 30px;
    height: auto;
    min-height: 200px;
  }

  .ss-promo-right {
    padding: 40px 20px 100px;
    /* Increased bottom padding for characters */
    height: auto;
    flex: 1;
    /* Stretch to fill the container height */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ss-promo-title {
    font-size: 24px;
  }

  .ss-promo-chars {
    right: 20px;
    height: 150px;
    bottom: 0;
  }

  .ss-promo-nav {
    left: 10px;
    right: 10px;
  }

  .ss-p-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .ss-sb-register {
    padding: 6px 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .ss-site-header {
    margin-top: 0;
    opacity: 1;
  }

  .ss-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .ss-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* -- CONTACT -- */
.ss-sec-contact {
  background: #fff;
  padding: 140px 0 100px;
}

.ss-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ss-contact-tag {
  color: var(--ss-blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.ss-contact-title {
  font-size: 36px;
  font-weight: 850;
  color: var(--ss-navy);
  line-height: 1.2;
  margin-bottom: 25px;
}

.ss-contact-desc {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.ss-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ss-cm-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ss-cm-icon {
  width: 40px;
  height: 40px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ss-cm-txt {
  font-size: 14.5px;
  color: #444;
  font-weight: 600;
}

.ss-contact-form-box {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: var(--ss-radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ss-form-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--ss-navy);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ss-form-group {
  margin-bottom: 16px;
  width: 100%;
}

.ss-form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ss-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  padding-left: 16px;
  /* Align beautifully with the pill padding */
  text-align: left;
}

/* Style CF7 inputs to look like beautiful pill shapes from screenshot */
.ss-contact-form-box input[type="text"],
.ss-contact-form-box input[type="email"],
.ss-contact-form-box input[type="tel"],
.ss-contact-form-box select,
.ss-contact-form-box textarea {
  width: 100% !important;
  background: #ffffff !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 50px !important;
  /* Perfect Pill Shape like Screenshot */
  padding: 2px 24px !important;
  font-size: 14.5px !important;
  color: #333 !important;
  font-family: 'Be Vietnam Pro', sans-serif !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

/* Textarea doesn't need to be a full pill, but nicely rounded */
.ss-contact-form-box textarea {
  border-radius: 18px !important;
  min-height: 100px !important;
  resize: vertical !important;
}

/* Custom styling for select dropdowns to hide native arrow and style properly */
.ss-contact-form-box select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 16px !important;
  padding-right: 45px !important;
}

.ss-contact-form-box input:focus,
.ss-contact-form-box select:focus,
.ss-contact-form-box textarea:focus {
  border-color: var(--ss-blue) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(45, 137, 196, 0.1) !important;
}

/* Placeholder color styling */
.ss-contact-form-box input::placeholder,
.ss-contact-form-box textarea::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
}

/* Select default state (blank option) styling */
.ss-contact-form-box select:invalid,
.ss-contact-form-box select option[value=""] {
  color: #94A3B8 !important;
}

/* Premium submit button */
.ss-form-submit {
  margin-top: 24px;
}

.ss-btn-submit {
  width: 100% !important;
  background: var(--ss-blue) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  padding: 15px 30px !important;
  border-radius: 50px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 8px 20px rgba(45, 137, 196, 0.2) !important;
  text-align: center !important;
}

.ss-btn-submit:hover {
  background: var(--ss-navy) !important;
  box-shadow: 0 12px 28px rgba(27, 54, 93, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* CF7 validation error display cleanup */
.ss-contact-form-box .wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: var(--ss-red) !important;
  margin-top: 5px !important;
  padding-left: 20px !important;
}

.ss-contact-form-box .wpcf7-response-output {
  margin: 20px 0 0 0 !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  border: 1.5px solid !important;
}

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

  .ss-contact-title {
    font-size: 22px;
  }
}