@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* =========================================================
   NEMONEMI - STYLE.CSS (FULL REWRITE)
   Target: static HTML (Bootstrap 5) + AOS
   ========================================================= */

:root {
  --main-color: #819067;
  --complementary-color: #9A8836;

  --secondary-color-1: #FFFADD;
  --secondary-color-2: #FFF8D2;
  --secondary-color-3: #FFF5BC;

  --text-color-2: #363845;
  --text-color-3: #4C5061;

  --transition-time: 300ms;
}

/* =========================================================
   Base
   ========================================================= */

html { font-size: 13px; }

body {
  font-family: 'SVN-Gilroy', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-image: url(../img/bg.png);
  background-repeat: repeat;
  color: var(--text-color-2);
  font-size: 1.125rem;
  overflow-x: hidden; /* prevent accidental horizontal overflow */
}

/* Make images responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Bootstrap container width tuning */
@media (min-width: 1120px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1120px;
  }
}

/* =========================================================
   Header
   ========================================================= */

#site-header {
  height: 115px;
}

#site-header a img {
  display: block;
}

/* Menu */
#header-menu {
  list-style: none;
}

#header-menu li {
  margin: 0 27px;
  list-style: none;
}

#header-menu a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-color-3);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding-bottom: 15px;
  transition: color var(--transition-time);
}

#header-menu a:hover {
  color: var(--main-color);
}

/* Badge "Mới" (desktop default) */
#header-menu a span {
  width: 47px;
  text-align: center;
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-size: 0.825rem;
  height: 22px;
  line-height: 22px;
  border: 1px solid var(--text-color-3);
  font-weight: 600;
  right: -60px;
  top: 5px;
}

/* Active */
#header-menu li.active a {
  color: var(--main-color);
}

#header-menu li.active a:after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background-color: var(--main-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

#header-menu li.active a span {
  border: 1px solid var(--main-color);
}

/* Header CTA */
#header-button {
  padding: 0;
  width: 250px;
  height: 3rem;
  font-size: 1.5rem;
  font-weight: 500;
  border: 2px solid var(--main-color);
  background-color: #fff;
  color: var(--main-color);
  text-decoration: none;
  text-align: center;
  border-radius: 3rem;
  transition: all var(--transition-time);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#header-button svg { margin-left: 5px; transition: all var(--transition-time); }
#header-button svg path { fill: var(--main-color); }

#header-button:hover {
  background-color: var(--main-color);
  color: var(--secondary-color-1);
}

#header-button:hover svg path { fill: var(--secondary-color-1); }

/* =========================================================
   Hero
   ========================================================= */

#hero {
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  overflow: hidden;
  padding-bottom: 30px;
}

#hero p {
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text-color-2);
  line-height: 32px;
}

/* hero bottom + about bg images */
#hero .bottom-bg,
#about .about-bg {
  width: 100%;
  height: auto;
}

/* =========================================================
   About
   ========================================================= */

#about { padding-top: 66px; }

#about .about-bg { bottom: -130px; }

#about h2 {
  font-family: "Cormorant SC", serif;
  color: var(--main-color);
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

#about p {
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 500;
}

/* =========================================================
   Vision / Mission
   ========================================================= */

#vision {
  margin-top: -160px;
  position: relative;
  z-index: 9;
}

/* Tape title */
.tape-title {
  font-family: "Cormorant SC", serif;
  background-image: url(../img/title_bg.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  font-size: 3rem;
  color: var(--main-color);
  font-weight: 600;
  text-align: center;
  height: 157px;
  line-height: 157px;
  width: 415px;
  margin: 0 auto;
}

.tape-title.tape-white {
  width: 444px;
  background-image: url(../img/title_bg_white.png);
}

#vision p {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 34px;
}

/* =========================================================
   Explore
   ========================================================= */

#explore {
  padding-top: 60px;
  padding-bottom: 500px;
}

#explore h3 {
  font-family: "Cormorant SC", serif;
  font-size: 2.5rem;
  color: var(--main-color);
  font-weight: 500;
}

#explore p {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-color-2);
}

/* =========================================================
   Museum
   ========================================================= */

#museum {
  margin-top: -250px;
}

/* =========================================================
   Footer / Contact
   ========================================================= */

#site-footer {
  background-image: url(../img/footer_bg.png);
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}

#site-footer h2 {
  font-family: "Cormorant SC", serif;
  font-size: 3.5rem;
  color: var(--main-color);
}

#site-footer input[type="text"] {
  width: 100%;
  background-color: #fff;
  height: 64px;
  border: 0 !important;
  outline: 0 !important;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 10px;
}

#site-footer label {
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* =========================================================
   Other pages (chuong-trinh.html) - kept (safe)
   ========================================================= */

#page-header h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--main-color);
  line-height: 4rem;
}

#story .content {
  background-image: url(../img/Story.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 100px;
}

#story .content h3 {
  font-family: "Cormorant SC", serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--main-color);
  width: 246px;
  line-height: 84px;
  position: absolute;
  border: 1px solid var(--main-color);
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  top: -24px;
  background-color: #F2EEDD;
}

#story .content p {
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
}

#story .content p span { color: var(--main-color); }

#story .content .d-flex {
  font-size: 1.5rem;
  font-weight: 500;
}

#story .content .d-flex strong { color: var(--main-color); }

#content p {
  font-size: 1.5rem;
  font-weight: 500;
}

.section-title {
  font-family: "Cormorant SC", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--main-color);
  line-height: 68px;
  border: 1px solid var(--main-color);
  text-align: center;
  background-color: #F2EEDD;
  display: inline-block;
}

#rules .content {
  background-image: url(../img/Frame\ 1000005283.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-bottom: 70px;
}

#rules .content h3 {
  display: inline-block;
  line-height: 54px;
  font-size: 1.5rem;
  font-weight: 700;
  background-image: url(../img/Rectangle\ 39892.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: var(--main-color);
  padding: 0 40px;
}

#rules .content {
  font-size: 1.5rem;
  font-weight: 500;
}

#rules .content2 {
  font-size: 1.5rem;
  font-weight: 500;
  border: 3px solid var(--main-color);
  border-radius: 20px;
}

#rules .content2 h3 {
  font-size: 3.5rem;
  text-align: center;
  color: var(--main-color);
  font-weight: 600;
}

#profile .content h3 {
  font-family: "Cormorant SC", serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--main-color);
}

#profile .content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

#profile .content strong { color: var(--main-color); }

#profile .content2 {
  font-size: 1.5rem;
  font-weight: 500;
  border: 3px solid var(--main-color);
  border-radius: 20px;
  padding: 40px 30px;
}

#profile .content2 span,
#profile .content2 strong { color: var(--main-color); }

.prize-item {
  font-family: "Cormorant SC", serif;
  background-color: #fff;
  border-radius: 10px;
  font-size: 2.5rem;
  font-weight: 600;
  padding: 50px 0;
}

.prize-item h3 { color: var(--complementary-color); }
.prize-item span { color: var(--main-color); }

.join-button {
  width: 501px;
  height: 102px;
  background-image: url(../img/CTA\ Tham\ Gia\ Ngay.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  transition: all var(--transition-time);
}

.join-button:hover {
  background-image: url(../img/CTA\ Tham\ Gia\ Ngay\ hover.png);
}

/* =========================================================
   RESPONSIVE LAYER
   ========================================================= */

/* Tablet and down */
@media (max-width: 991.98px) {

  /* Header can wrap safely */
  #site-header {
    height: auto;
    padding: 12px 0;
  }

  #header-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  #header-menu li { margin: 0 14px; }

  /* Reduce overlap on smaller screens */
  #vision { margin-top: 0; }
  #museum { margin-top: 0; }
  #explore { padding-bottom: 140px; }

  #hero p,
  #about p,
  #vision p,
  #explore p {
    line-height: 1.7;
  }
  /* soften big negative margins/overlaps on smaller screens */
  #page-header .container { padding-bottom: 24px !important; }
  #page-header .container.pb-5 { padding-bottom: 24px !important; }
}
body {
  overflow-x:unset; /* prevent accidental horizontal overflow */
}

/* =========================================================
   MOBILE HOME - match desired header UI (image #2)
   ========================================================= */
@media (max-width: 575.98px) {
  /* ---------- Base readability ---------- */
  #page-header, #story, #content, #rules, #profile, #prize, #join {
    overflow-x: hidden;
  }

  #story p,
  #content p,
  #rules p,
  #rules li,
  #profile p,
  #join li {
    font-size: 1.12rem;
    line-height: 1.75;
  }

  /* Kill huge spacer divs on mobile */
  #profile .pb-5,
  #prize .pb-5,
  #join .pb-5 {
    padding-bottom: 18px !important;
  }

  /* Force all columns to single column on mobile */
  #content .row > [class*="col-"],
  #rules .row > [class*="col-"],
  #profile .row > [class*="col-"],
  #prize .row > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Remove manual left/right padding from bootstrap utilities */
  #content .pe-0, #content .ps-0,
  #rules .pe-5, #rules .ps-5,
  #profile .pe-5, #profile .ps-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* =======================================================
     1) PAGE HEADER
     ======================================================= */

  #page-header { padding-top: 12px !important; padding-bottom: 18px !important; }
  #page-header .container { padding-bottom: 0 !important; }

  /* cover image block */
  #page-header .position-relative.mb-5 { margin-bottom: 16px !important; }

  /* book image: currently negative margin-left and margin-bottom */
  #page-header img.position-absolute.bottom-0.start-0 {
    width: 120px;
    height: auto;
    margin: 0 !important;
    left: 8px !important;
    bottom: -24px !important;
  }

  #page-header h1 {
    font-size: 1.55rem;
    line-height: 1.35;
    font-weight: 900;
    text-align: center;
    padding: 0 6px;
  }

  /* =======================================================
     2) STORY (frame)
     ======================================================= */

  #story .content {
    padding: 22px 14px !important;
    background-size: 100% 100% !important;
    border-radius: 14px;
  }

  /* Feather image on right causes overflow */
  #story .content img.position-absolute[style*="right: -80px"] {
    right: -20px !important;
    width: 120px;
    height: auto;
    opacity: 0.7;
  }

  /* Story title - convert to centered badge (not absolute) */
  #story .content h3 {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;

    width: 100% !important;
    max-width: 220px;
    margin: 0 auto 12px auto !important;

    font-size: 2.0rem;
    line-height: 48px;
    height: 48px;
  }

  #story .content p.mb-5 { margin-bottom: 14px !important; }
  #story .content img.w-100.h-auto.mb-5 { margin-bottom: 14px !important; }

  #story .content .d-flex.align-items-center {
    align-items: flex-start !important;
    gap: 10px;
  }

  #story .content .d-flex.align-items-center svg {
    flex: 0 0 auto;
  }

  #story .content .d-flex.align-items-center .ps-3 {
    padding-left: 0 !important;
  }

  /* =======================================================
     3) CONTENT (text card + image)
     ======================================================= */

  #content { padding-top: 18px !important; padding-bottom: 18px !important; }
  #content .container.py-5 { padding-top: 0 !important; padding-bottom: 0 !important; }

  /* inline style padding: 70px 50px */
  #content [style*="padding: 70px"] {
    padding: 18px 14px !important;
    border-radius: 14px;
  }

  /* Section title inside content has fixed width 290px */
  #content .section-title[style*="width: 290px"] {
    width: auto !important;
    max-width: 100% !important;
  }

  #content .section-title {
    font-size: 1.8rem;
    line-height: 52px;
    margin-bottom: 12px !important;
  }

  /* image below text on mobile */
  #content img.w-100.h-auto { margin-top: 12px; border-radius: 14px; }

  /* =======================================================
     4) RULES
     ======================================================= */

  #rules .section-title {
    font-size: 1.85rem;
    line-height: 52px;
    padding: 0 14px;
    border-radius: 12px;
    margin-bottom: 14px !important;
  }

  #rules .content {
    background-size: 100% 100% !important;
    padding: 0 !important;
    border-radius: 14px;
    overflow: hidden;
  }

  /* the two columns have inline padding blocks */
  #rules .content [style*="padding: 70px"] {
    padding: 18px 14px !important;
  }

  #rules .content h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 10px !important;
  }

  #rules ul {
    padding-left: 18px;
    margin-bottom: 12px !important;
  }

  /* content2 boxes */
  #rules .content2.p-5 {
    padding: 16px 14px !important;
    border-width: 2px;
    border-radius: 14px;
    margin-bottom: 14px !important;
  }

  #rules .content2 h3 {
    font-size: 1.7rem;
    margin-bottom: 10px !important;
  }

  /* =======================================================
     5) PROFILE (BGK)
     ======================================================= */

  /* The title is a tape-title but overwritten inline; normalize */
  #profile .tape-title[style*="padding: 0 100px"] {
    width: 100% !important;
    max-width: 520px;
    padding: 16px 14px !important;
    line-height: 1.25 !important;
    height: auto !important;
    font-size: 1.55rem;
    background-size: 100% 100% !important;
  }

  /* Person blocks: make image centered, text below */
  #profile .row.mb-5 { row-gap: 12px; }

  #profile .row.mb-5 img.w-100.h-auto {
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }

  /* inner content padding utilities */
  #profile .content.ps-5 { padding-left: 0 !important; }
  #profile .ps-5 > .content,
  #profile .pe-5 > .content { padding-left: 0 !important; padding-right: 0 !important; }

  #profile .content h3 {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 10px !important;
  }

  #profile .content p {
    font-size: 1.12rem;
    line-height: 1.75;
    margin-bottom: 10px;
    text-align: left; /* UI mobile dễ đọc */
  }

  /* Vương Linh block: currently uses text-end; reset on mobile */
  #profile .text-end { text-align: left !important; }

  /* content2 quote/achievement boxes */
  #profile .content2 {
    padding: 16px 14px !important;
    border-width: 2px;
    border-radius: 14px;
    font-size: 1.12rem;
    line-height: 1.75;
  }

  /* Tem.png absolute causes overflow */
  #profile .content2 img.position-absolute {
    right: 10px !important;
    top: -26px !important;
    width: 90px;
    height: auto;
  }

  /* the long content2 with bullet dots in text: keep as-is but readable */
  #profile .content2 br { line-height: 1.6; }

  /* =======================================================
     6) PRIZE
     ======================================================= */

  #prize .section-title[style*="font-size: 3.5rem"] {
    font-size: 2.2rem !important;
    line-height: 1.2;
  }

  /* Each prize card spacing */
  #prize .col-4.mt-5,
  #prize .col-4 {
    margin-top: 0 !important;
  }

  .prize-item {
    font-size: 1.7rem;
    padding: 18px 14px;
    border-radius: 14px;
  }

  .prize-item img[style*="height: 220px"] {
    height: 150px !important;
    margin-bottom: 14px !important;
  }

  .prize-item h3 { font-size: 1.3rem; }
  .prize-item span { font-size: 1.25rem; }

  /* The two lines under prize have inline font-size 2.188rem */
  #prize [style*="font-size: 2.188rem"] {
    font-size: 1.35rem !important;
    line-height: 1.5;
    padding: 0 10px;
  }

  /* Total prize green bar width 853px */
  #prize .text-center > div[style*="width: 853px"] {
    width: 100% !important;
    max-width: 520px;
    font-size: 1.25rem !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }

  /* =======================================================
     7) JOIN
     ======================================================= */

  /* two bordered titles also have width 853px */
  #join .text-center > div[style*="width: 853px"] {
    width: 100% !important;
    max-width: 520px;
    font-size: 1.25rem !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
  }

  /* list block width 853px, font-size 2.188rem */
  #join ul[style*="width: 853px"],
  #join ul[style*="font-size: 2.188rem"] {
    width: 100% !important;
    font-size: 1.18rem !important;
    padding-left: 18px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* The "steps" list has bold + big font; normalize */
  #join ul[style*="font-weight: 700"] {
    font-size: 1.18rem !important;
    line-height: 1.75;
    padding-left: 18px !important;
  }

  #join ul a { word-break: break-word; }

  /* CTA join button image */
  .join-button {
    width: 100% !important;
    max-width: 360px;
    height: 74px !important;
    background-size: 100% 100% !important;
    display: block;
    margin: 0 auto;
  }

  /* footer bg below join */
  #join img.w-100.h-auto { display: block; }

  html { font-size: 12px; }

  /* Container padding like modern mobile UI */
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  /* ---- Header: 1 row (logo left, menu right), CTA hidden ---- */
  #site-header { padding: 12px 0; }

  #site-header .container > .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    padding-top: 8%;
    
  }

  #site-header a img {
    max-width: 123px;
    height: auto;
  }

  /* Hide CTA on mobile to match target UI */
  #header-button { display: none !important; }

  /* Menu: single line, no bullets, no wrap */
  #header-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;

    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #header-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #header-menu a {
    font-size: 1.3rem;
    font-weight: 400;
    padding-bottom: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

  /* Active diamond under "Trang chủ" */
  #header-menu li.active a:after {
    width: 9px;
    height: 9px;
    bottom: -10px;
  }

  /* Badge "MỚI": absolute near top-right of "Chương trình" */
  #header-menu a.position-relative {
    position: relative !important;
    overflow: visible;
  }

  #header-menu a span {
    position: absolute !important;
    right: -16px;
    top: -25px;
    transform: none !important;

    width: 50px;
    height: 22px;
    line-height: 22px;
    padding: 0;
    border-radius: 2px;

    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
  }

  /* Give safe space to the right so badge isn't clipped */
  #site-header .container {}

  /* ---- Hero: stack columns ---- */
  #hero { padding-bottom: 14px; }

  #hero .row {
    padding-top: 14px !important;
    row-gap: 12px;
  }

  #hero .row > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  #hero p {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-top: 10px;
    text-align: center;
  }

  /* ---- About ---- */
  #about { padding-top: 28px; }
  #about h2 { font-size: 2.2rem; margin-bottom: 12px; }
  #about p {
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 36rem;
  }

  /* ---- Tape title flexible ---- */
  .tape-title,
  .tape-title.tape-white {
    width: 100% !important;
    max-width: 420px;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 18px 16px !important;
    margin: 0 auto 14px auto !important;
    background-size: 100% 100% !important;
    font-size: 2.1rem;
  }

  /* ---- Vision/Mission: single column ---- */
  #vision .row > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  #vision .ps-5, #vision .pe-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #vision p {
    font-size: 1.15rem;
    line-height: 1.75;
  }

  #vision ul { padding-left: 0; margin: 0; }
  #vision li.ps-5 { padding-left: 16px !important; }
  #vision li.ps-5 p { font-size: 1.12rem; line-height: 1.7; }

  /* ---- Explore: de-art-direct on mobile (avoid overflow) ---- */
  #explore { padding-top: 24px; padding-bottom: 90px; }

  #explore .row > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* neutralize risky inline styles */
  #explore .position-relative[style*="transform: rotate"] { transform: none !important; }
  #explore .position-relative[style*="margin-left: -"] { margin-left: 0 !important; }
  #explore .position-relative[style*="width: calc(100% +"] { width: 100% !important; }
  #explore .position-relative[style*="margin-top: 450px"] { margin-top: 18px !important; }
  #explore .position-relative[style*="margin-top: 180px"] { margin-top: 18px !important; }
  #explore .position-relative[style*="margin-bottom: 170px"] { margin-bottom: 18px !important; }
  #explore .position-relative[style*="margin-bottom: 100px"] { margin-bottom: 18px !important; }

  /* hide decorative absolute items like clock on mobile */
  #explore img.position-absolute { display: none !important; }

  #explore h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
  }

  #explore p {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  /* overlay spacing */
  #explore .position-absolute.w-100.h-100 { padding: 12px !important; }
  #explore .position-absolute.w-100.h-100 > div {
    width: 100% !important;
    max-width: 520px !important;
    padding: 18px 16px !important;
    margin: 0 auto !important;
  }

  /* ---- Museum ---- */
  #museum { margin-top: 0; }

  /* ---- Footer: mobile clean ---- */
  #site-footer { padding: 60px 0; }

  #site-footer .container .position-relative[style*="padding: 100px"] {
    padding: 28px 16px !important;
    background-size: cover !important;
    border-radius: 14px;
  }

  #site-footer h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 14px !important;
  }

  #site-footer .text-center > div[style*="width: 600px"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  #site-footer input[type="text"] {
    height: 52px;
    font-size: 1.05rem;
  }

  #site-footer .d-flex.p-3 {
    flex-direction: row;
    align-items: flex-start !important;
    gap: 10px;
    padding: 10px 0 !important;
  }

  #site-footer button[type="submit"] img {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  #site-footer .d-flex.pt-4 {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  #site-footer .d-flex.pt-4 > div {
    margin: 0 !important;
    display: flex;
    align-items: center;
  }

  #site-footer img.position-absolute.bottom-0.end-0 {
    max-width: 140px;
    height: auto;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
  /* Tổng thể section */
  #vision {
    margin-top: 0 !important;       /* tránh overlap desktop */
    padding-top: 18px;
  }

  /* Row đầu tiên (boat + Vision) */
  #vision .row.align-items-center {
    position: relative;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 8px;
  }

  /* Cột ảnh thuyền: biến thành “decor” nằm trái như ảnh 1 */
  #vision .row.align-items-center .col-5 {
    position: absolute;
    left: 0;
    top: 0;
    width: 130px !important;
    flex: 0 0 130px !important;
    max-width: 130px !important;
    padding: 0 !important;
    z-index: 2;
  }

  #vision .row.align-items-center .col-5 img {
    width: 120px;
    height: auto;
    display: block;
  }

  /* Cột text: chừa khoảng cho boat ở trái */
  #vision .row.align-items-center .col-7 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
/* chừa chỗ cho boat */
    padding-right: 0 !important;
  }

  /* Tape title: đúng tỷ lệ & canh giữa như ảnh 1 */
  #vision .row.align-items-center .tape-title {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 14px auto !important;

    height: auto !important;
    line-height: 1.2 !important;
    padding: 14px 14px !important;

    background-size: 100% 100% !important;
    font-size: 2.2rem !important;
    text-align: center;
  }

  /* Nội dung Vision: font to, spacing thoáng */
  #vision .row.align-items-center p {
    font-size: 1.28rem !important;
    line-height: 1.8 !important;
    font-weight: 500;
    margin-bottom: 16px !important;
  }

  /* ---- Mission (các row dưới): giữ đúng nhịp & không bị lệch ---- */
  #vision .row:not(.align-items-center) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Title Mission (tape) */
  #vision .row .tape-title[style*="width: 485px"] {
    width: 100% !important;
    max-width: 360px !important;
  }

  /* Các cột mission (col-6, col-7...) về 1 cột, padding sạch */
  #vision .row > [class*="col-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #vision p {
    font-size: 1.18rem !important;
    line-height: 1.8 !important;
    margin-bottom: 14px !important;
  }

  /* List value (Mission values) – bỏ indent quá lớn */
  #vision ul { padding-left: 0; margin: 0; }
  #vision li.ps-5 { padding-left: 14px !important; }
}
