@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&family=Barlow+Condensed:wght@600;700&family=Manrope:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');/* :root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1
    ) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;


  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
}

#root {
  width: 1126px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  border-inline: 1px solid var(--border);
 
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

h1,
h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}



code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
} */
.col-xl-8 {
  width: 66.66666667%;
  padding: 0 15px;
}
@media (max-width: 1199px) {
  .col-xl-8 {
    width: 100%;
  }
}


:root {
  /* Typography */
  --nisoz-font: 'Poppins', sans-serif;
  --heading-font: 'Poppins', sans-serif;

  /* Brand Colors */
  --nisoz-base: #bc1421;
  --nisoz-base-rgb: 188, 20, 33;
  --nisoz-base-dark: #9b1019;


  :root {
    --nisoz-black: #800020;
    --nisoz-black-rgb: 128, 0, 32;

    --nisoz-black2: #5c0017;

    --nisoz-black5: #2b000b;
  }


  --nisoz-white: #ffffff;
  --nisoz-white-rgb: 255,
  255,
  255;

  /* Text / UI tones */
  --nisoz-color: #717175;
  --nisoz-color2: #646466;
  --nisoz-color3: #f2f2f6;

  /* Global transition */
  --transition: all 0.4s ease;

  /* Layout */
  --topbar-height: 44px;
  --header-height: 86px;
  --page-offset: calc(var(--topbar-height) + var(--header-height));

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 60px;
  --space-2xl: 80px;


  --inner-max: 1280px;
  --inner-pad: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--nisoz-color);
  background-color: var(--nisoz-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: 'Poppins', sans-serif;
}

/* ============================================================
   SHARED INNER WRAPPER
   Used by topbar, navbar, and footer to keep content
   centred with consistent max-width on every viewport.
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--inner-max);
  margin-inline: auto;
  padding-inline: var(--inner-pad);
}

/* container-fluid: full-width strip, but inner content still centred */

.container-fluid {
  width: 100%;
  max-width: var(--inner-max);
  margin-inline: auto;
  padding-inline: var(--inner-pad);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -15px;
}

[class^='col-'] {
  padding-inline: 15px;
  position: relative;
}

/* Desktop columns */

.col-lg-2 {
  width: 16.6667%;
}

.col-lg-3 {
  width: 25%;
}

.col-lg-4 {
  width: 33.3333%;
}

.col-lg-5 {
  width: 41.6667%;
}

.col-lg-6 {
  width: 50%;
}

.col-lg-8 {
  width: 66.6667%;
}

.col-lg-9 {
  width: 75%;
}

.col-lg-10 {
  width: 83.3333%;
}

.col-lg-12 {
  width: 100%;
}

/* Tablet columns */

.col-md-4 {
  width: 33.3333%;
}

.col-md-6 {
  width: 50%;
}

.col-md-12 {
  width: 100%;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.page-wrapper {
  position: relative;
  overflow-x: hidden;
}

.page-content {
  padding-top: var(--page-offset);
}

/* ============================================================
   TOPBAR
   The <section class="topbar"> spans full width (dark bg),
   but the inner .container-fluid centres its content.
   ============================================================ */

.topbar {
  position: relative;
  background-color: #800020;

  padding-block: 7px 9px;
  z-index: 100;
  height: var(--topbar-height);
}

.topbar__wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
}

/* Topbar info list */

.topbar__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.topbar__list li {
  color: var(--nisoz-white);
  font-size: 12px;
  line-height: 1;
}

.topbar__list li span {
  position: relative;
  top: 1px;
  display: inline-block;
  color: var(--nisoz-base);
  font-size: 14px;
  margin-right: 7px;
}

.topbar__list li a {
  color: inherit;
}

.topbar__list li a:hover {
  color: var(--nisoz-base);
}

.topbar__list li+li {
  margin-left: 45px;
}

/* Topbar social */

.topbar__social {
  position: relative;
  margin-left: 60px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar__social::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background-color: rgba(var(--nisoz-white-rgb), 0.1);
}

.topbar__social a {
  display: inline-flex;
  align-items: center;
  color: var(--nisoz-white);
  font-size: 14px;
}

.topbar__social a:hover {
  color: var(--nisoz-base);
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  transition: 0.4s ease;
}

.main-header.sticky {
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
}

/* ── Main Menu bar ── */

.main-menu {
  background-color: var(--nisoz-white);
  /* NO padding-inline — container-fluid handles it */
  width: 100%;
}

.main-menu .container-fluid {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;

  gap: 0;
}

/* Logo */

.main-menu__logo {
  display: flex;
  align-items: center;
  padding: 18px 0;
  flex-shrink: 0;
}

.main-menu__logo a {
  display: flex;
  align-items: center;
}

/* Desktop Nav */

.main-menu__nav {
  flex: 1;
  padding-left: 32px;
}

.main-menu__list {
  display: flex;
  align-items: center;
}

.main-menu__list>li {
  position: relative;
}

.main-menu__list>li>a {
  display: block;
  padding: 28px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--nisoz-black);
  transition: var(--transition);
  white-space: nowrap;
}

.main-menu__list>li>a:hover,
.main-menu__list>li>a.active {
  color: var(--nisoz-base);
}

/* Dropdown caret */

.main-menu__list>li.dropdown>a::after {
  content: '\f107';
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  margin-left: 6px;
  font-size: 11px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.main-menu__list>li.dropdown:hover>a::after {
  transform: rotate(180deg);
}

/* Dropdown panel */

.main-menu__list>li.dropdown>ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--nisoz-white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--nisoz-base);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 99;
}

.main-menu__list>li.dropdown:hover>ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu__list>li.dropdown>ul>li>a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--nisoz-black);
  font-weight: 500;
  transition: var(--transition);
}

.main-menu__list>li.dropdown>ul>li>a:hover {
  color: var(--nisoz-base);
  padding-left: 26px;
  background-color: var(--nisoz-color3);
}

/* Right-side controls */

.main-menu__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
  padding-left: 20px;
}

.main-menu__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--nisoz-base);
  color: var(--nisoz-white) !important;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: var(--transition);
}

.main-menu__phone:hover {
  background-color: var(--nisoz-base-dark);
  color: var(--nisoz-white) !important;
}

/* Hamburger */

.main-menu__toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--nisoz-black);
  padding: 4px 8px;
  transition: var(--transition);
  line-height: 1;
}

.main-menu__toggler:hover {
  color: var(--nisoz-base);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 200;
  cursor: pointer;
}

.mobile-nav__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: var(--nisoz-black);
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav__wrapper.expanded {
  transform: translateX(0);
}

.mobile-nav__content {
  padding: 30px 24px 40px;
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: var(--nisoz-white);
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.mobile-nav__close:hover {
  background: var(--nisoz-base);
}

.logo-box {
  margin-bottom: 28px;
}

/* Nav list */

.mobile-nav__list {
  margin-bottom: 28px;
}

.mobile-nav__list>li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav__list>li>a,
.mobile-nav__item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--nisoz-white);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.mobile-nav__list>li>a:hover,
.mobile-nav__item-btn:hover {
  color: var(--nisoz-base);
}

.mobile-nav__item-btn i {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

/* Sub-menu */

.mobile-nav__sub {
  padding: 4px 0 12px 14px;
}

.mobile-nav__sub li a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.mobile-nav__sub li a:hover {
  color: var(--nisoz-base);
}

/* Contact */

.mobile-nav__contact {
  margin: 20px 0;
}

.mobile-nav__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-nav__contact li i {
  color: var(--nisoz-base);
  font-size: 15px;
  flex-shrink: 0;
}

.mobile-nav__contact li a {
  color: inherit;
}

.mobile-nav__contact li a:hover {
  color: var(--nisoz-base);
}

/* Social icons */

.mobile-nav__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.mobile-nav__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--nisoz-white);
  border-radius: 50%;
  font-size: 16px;
  transition: var(--transition);
}

.mobile-nav__social a:hover {
  background-color: var(--nisoz-base);
  color: var(--nisoz-white);
}

.main-footer__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
  opacity: 0.06;
  pointer-events: none;
}

/* Footer nav */

.main-footer__navmenu ul li {
  display: block;
  line-height: 36px;
}

.main-footer__navmenu ul li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
}

.main-footer__navmenu ul li a:hover {
  color: var(--nisoz-base);
  padding-left: 5px;
}

/* Footer about block */

.main-footer__about__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 26px;
  margin: 10px 0 16px;
}

.main-footer__about__info {
  list-style: none;
}

.main-footer__about__info li {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 36px;
  color: var(--nisoz-white);
}

.main-footer__about__info li span {
  font-size: 16px;
  color: var(--nisoz-base);
  margin-right: 12px;
  flex-shrink: 0;
}

.main-footer__about__info li a {
  color: inherit;
  transition: var(--transition);
}

.main-footer__about__info li a:hover {
  color: var(--nisoz-base);
}

/* Footer social row */

.main-footer__top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 7px;
  margin-top: var(--space-sm);
}

.main-footer__social {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.main-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background-color: var(--nisoz-black5);
  color: var(--nisoz-white);
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
}

.main-footer__social a:hover {
  background-color: var(--nisoz-base);
  color: var(--nisoz-white);
}

/* ============================================================
   COPYRIGHT BAR
   ============================================================ */

.copyright {
  background-color: var(--nisoz-black5);
  padding: 18px 0;
}

.copyright__text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 0;
}

.copyright__text a {
  color: var(--nisoz-base);
  font-weight: 600;
}

.copyright__text a:hover {
  text-decoration: underline;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */

.hott--text {
  width: 36px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.w-100 {
  width: 100%;
}

.mt-auto {
  margin-top: auto;
}

.mb-0 {
  margin-bottom: 0;
}

@media (min-width: 1400px) {
  :root {
    --inner-max: 1360px;
    --inner-pad: 32px;
  }

  .main-menu__list>li>a {
    padding: 28px 18px;
  }
}

@media (max-width: 1399px) {
  :root {
    --inner-max: 1200px;
    --inner-pad: 24px;
  }
}

/* ── LG: Tablets landscape / small laptops 992–1199px ───── */

@media (max-width: 1199px) {
  .main-menu__nav {
    display: none;
  }

  .main-menu__toggler {
    display: block;
  }

  .topbar__list li+li {
    margin-left: 28px;
  }

  .topbar__social {
    margin-left: 30px;
  }

  .col-lg-2,
  .col-lg-3 {
    width: 25%;
  }

  .col-lg-5 {
    width: 50%;
  }
}

/* ── MD: Tablets portrait 768–991px ─────────────────────── */

@media (max-width: 991px) {
  :root {
    --page-offset: var(--header-height);
    --inner-pad: 20px;
  }

  .topbar {
    display: none;
  }

  .main-header {
    top: 0;
  }

  .page-content {
    padding-top: 80px;
  }

  /* Grid */
  .col-lg-2,
  .col-lg-3,
  .col-lg-5 {
    width: 50%;
  }

  .col-md-4 {
    width: 33.3333%;
  }

  .col-md-12 {
    width: 100%;
  }

  /* Footer */
  .main-footer {
    padding: var(--space-lg) 0 var(--space-xl);
  }

  .main-footer__top {
    justify-content: flex-start;
  }
}

/* ── SM: Large phones / phablets 576–767px ───────────────── */

@media (max-width: 767px) {
  :root {
    --inner-pad: 16px;
  }

  .main-menu__phone {
    display: none;
  }

  /* Grid — single column */
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10,
  .col-lg-12,
  .col-md-4,
  .col-md-6,
  .col-md-12 {
    width: 100%;
    margin-bottom: var(--space-md);
  }

  /* Footer */
  .main-footer {
    padding: var(--space-lg) 0 var(--space-lg);
  }

  .main-footer__top {
    justify-content: flex-start;
  }

  .main-footer__social a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Topbar list stacks on narrow */
  .topbar__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .topbar__list li+li {
    margin-left: 0;
  }

  /* Mobile nav fills more width */
  .mobile-nav__wrapper {
    width: 280px;
  }
}

/* ── XS: Standard small phones 360–575px ─────────────────── */

@media (max-width: 575px) {
  html {
    font-size: 15px;
  }

  :root {
    --inner-pad: 14px;
  }

  .main-menu__logo img {
    max-height: 40px;
    width: auto;
  }

  .main-footer__about__info li {
    font-size: 13px;
  }

  .copyright__text {
    font-size: 12px;
    text-align: center;
  }

  .mobile-nav__wrapper {
    width: calc(100vw - 44px);
    max-width: 300px;
  }

  .mobile-nav__content {
    padding: 24px 18px 36px;
  }

  .main-footer__social {
    gap: 6px;
  }
}

/* ── XXS: Very small phones < 360px ──────────────────────── */

@media (max-width: 359px) {
  html {
    font-size: 14px;
  }

  :root {
    --inner-pad: 10px;
  }

  .mobile-nav__wrapper {
    width: 100vw;
    max-width: 100vw;
  }

  .mobile-nav__content {
    padding: 20px 14px 32px;
  }

  .main-menu__logo img {
    max-height: 34px;
  }

  .main-footer__social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .topbar__list li {
    font-size: 11px;
  }
}

@media print {

  .topbar,
  .main-header,
  .mobile-nav__wrapper,
  .mobile-nav__overlay,
  .main-menu__toggler {
    display: none !important;
  }

  .page-content {
    padding-top: 0 !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: inherit;
  }
}

 
:root {
  --orange:        #bc1421;
  --orange-dark:   #9b1019;
  --orange-deeper: #800020;
  --orange-light:  #f8e8ea;
 
  --ink:       #3a000e;
  --ink-mid:   #5c1a28;
  --muted:     #8c4054;
  --border:    #f0dade;
  --surface:   #fdf5f6;
  --surface-2: #fbeaec;
  --white:     #ffffff;
 
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
 
  --ease:      cubic-bezier(.4, 0, .2, 1);
  --radius:    10px;
  --shadow-sm: 0 2px 12px rgba(128,0,32,.07);
  --shadow-md: 0 8px 32px rgba(128,0,32,.12);
  --shadow-lg: 0 20px 60px rgba(128,0,32,.16);
}
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
/* ── PAGE ── */
 
.nf-page {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
 
.nf-wrap {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: pageIn .7s var(--ease) both;
}
 
@keyframes pageIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
 
/* ── STAGE (bg circle + 404 + cat) ── */
 
.nf-stage {
  position: relative;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
 
/* big pale circle behind everything */
 
.nf-bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  padding-bottom: 72%;
  border-radius: 50%;
  background: var(--orange-light);
  z-index: 0;
}
 
/* ── 404 ROW ── */
 
.nf-four-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
 
.nf-big-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
 
/* the middle "0" — cat sits here, we keep text but cat overlaps */
 
.nf-big-num--mid {
  opacity: 1;
}
 
/* ── CAT ── */
 
.nf-cat-wrap {
  position: absolute;
  /* vertically centred on the 404 row */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 3;
  width: clamp(160px, 28vw, 260px);
}
 
.nf-cat-svg {
  width: 100%;
  height: auto;
  display: block;
  /* overall body bob */
  animation: catBob 2.8s ease-in-out infinite;
}
 
@keyframes catBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
 
/* ── HEAD wobble ── */
 
.nf-cat-head {
  transform-origin: 128px 148px;
  animation: headTilt 3.2s ease-in-out infinite;
}
 
@keyframes headTilt {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-6deg); }
  75%       { transform: rotate(6deg); }
}
 
/* ── EYES blink ── */
 
.nf-cat-eyes {
  animation: eyeBlink 4s ease-in-out infinite;
}
 
@keyframes eyeBlink {
  0%, 88%, 100% { transform: scaleY(1); }
  92%            { transform: scaleY(0.1); }
}
 
/* ── LEFT ARM wave ── */
 
.nf-cat-arm-l {
  transform-origin: 90px 210px;
  animation: armWaveL 2.4s ease-in-out infinite;
}
 
@keyframes armWaveL {
  0%, 100% { transform: rotate(0deg); }
  40%       { transform: rotate(-18deg); }
  70%       { transform: rotate(8deg); }
}
 
/* ── RIGHT ARM wave (opposite phase) ── */
 
.nf-cat-arm-r {
  transform-origin: 166px 210px;
  animation: armWaveR 2.4s ease-in-out infinite;
}
 
@keyframes armWaveR {
  0%, 100% { transform: rotate(0deg); }
  40%       { transform: rotate(18deg); }
  70%       { transform: rotate(-8deg); }
}
 
/* ── TAIL wag ── */
 
.nf-cat-tail {
  transform-origin: 128px 285px;
  animation: tailWag 1.6s ease-in-out infinite;
}
 
@keyframes tailWag {
  0%, 100% { transform: rotate(0deg); }
  30%       { transform: rotate(-22deg); }
  60%       { transform: rotate(14deg); }
}
 
/* ── BACK LEFT LEG ── */
 
.nf-cat-leg-bl {
  transform-origin: 100px 282px;
  animation: legKick 2.8s ease-in-out infinite;
}
 
/* ── FRONT RIGHT LEG ── */
 
.nf-cat-leg-fr {
  transform-origin: 152px 282px;
  animation: legKick 2.8s ease-in-out infinite reverse;
}
 
@keyframes legKick {
  0%, 100% { transform: rotate(0deg); }
  50%       { transform: rotate(10deg); }
}
 
/* ── FLOOR ROW (line + yarn + plant) ── */
 
.nf-floor-row {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: -2%;
}
 
.nf-floor-line {
  position: absolute;
  bottom: 18%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 15%, var(--border) 85%, transparent 100%);
}
 
.nf-yarn {
  width: clamp(70px, 11vw, 110px);
  height: auto;
  position: relative;
  z-index: 2;
  margin-bottom: 2%;
  margin-right: 2%;
  animation: yarnRoll 4s ease-in-out infinite;
}
 
@keyframes yarnRoll {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  40%       { transform: rotate(15deg) translateX(6px); }
  70%       { transform: rotate(-8deg) translateX(-4px); }
}
 
.nf-plant {
  width: clamp(70px, 11vw, 120px);
  height: auto;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  margin-left: 2%;
  animation: plantSway 3.6s ease-in-out infinite;
  transform-origin: bottom center;
}
 
@keyframes plantSway {
  0%, 100% { transform: rotate(0deg); }
  40%       { transform: rotate(2.5deg); }
  70%       { transform: rotate(-2deg); }
}
 
/* ── TEXT ── */
 
.nf-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: pageIn .7s .15s var(--ease) both;
}
 
.nf-oops {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
 
.nf-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 14px;
}
 
.nf-desc {
  font-size: clamp(.82rem, 2vw, .92rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 360px;
}
 
.nf-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
 
.nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 13px 28px;
  cursor: pointer;
  border: none;
  transition: background .22s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
 
.nf-btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(188,20,33,.28);
}
 
.nf-btn--primary:hover {
  background: var(--orange-dark);
  transform: translateX(4px);
  box-shadow: 0 10px 32px rgba(188,20,33,.38);
}
 
.nf-btn--primary svg { transition: transform .2s var(--ease); }
 
.nf-btn--primary:hover svg { transform: translateX(4px); }
 
.nf-btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}
 
.nf-btn--ghost:hover {
  background: var(--surface-2);
  color: var(--ink-mid);
  border-color: rgba(188,20,33,.3);
}
 
.nf-btn--countdown {
  background: var(--orange-light);
  color: var(--orange);
  border: 1.5px solid rgba(188,20,33,.25);
}
 
.nf-btn--countdown:hover { background: #fad5d8; }
 
.nf-cd-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: spin 1s linear infinite;
}
 
.nf-cd-num { font-size: .8rem; animation: spin 1s linear infinite reverse; }
 
@keyframes spin { to { transform: rotate(360deg); } }
 
/* ── RESPONSIVE ── */
 
@media (max-width: 480px) {
  .nf-bg-circle { width: 88%; padding-bottom: 88%; }
  .nf-yarn, .nf-plant { width: clamp(50px, 14vw, 80px); }
}
 
/* =========================
   404 DIGITS PREMIUM ANIMATION
========================= */
 
.nf-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}
 
/* COMMON DIGIT STYLE */
 
.nf-d {
  font-family: 'Poppins', sans-serif;
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  position: relative;
}
 
/* LEFT 4 */
 
.nf-d--left {
  color: #bc1421;
  text-shadow:
    0 10px 30px rgba(188,20,33,0.35),
    0 0 15px rgba(188,20,33,0.2);
 
  animation: nfFloatLeft 3s ease-in-out infinite;
}
 
/* RIGHT 4 */
 
.nf-d--right {
  color: #bc1421;
  text-shadow:
    0 10px 30px rgba(188,20,33,0.35),
    0 0 15px rgba(188,20,33,0.2);
 
  animation: nfFloatRight 3s ease-in-out infinite;
}
 
/* ZERO STYLE */
 
.nf-d--zero {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
 
  display: flex;
  align-items: center;
  justify-content: center;
 
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0.05)
    );
 
  border: 6px solid #bc1421;
 
  backdrop-filter: blur(12px);
 
  box-shadow:
    0 0 40px rgba(188,20,33,0.35),
    inset 0 0 20px rgba(255,255,255,0.1);
 
  animation:
    nfRotate 8s linear infinite,
    nfPulse 2.5s ease-in-out infinite;
}
 
/* INNER ZERO */
 
.nf-zero-inner {
  color: #ffffff;
  font-size: 110px;
  font-weight: 900;
  text-shadow:
    0 0 15px rgba(255,255,255,0.5);
 
  animation: nfGlow 2s ease-in-out infinite;
}
 
/* =========================
   FLOAT LEFT
========================= */
 
@keyframes nfFloatLeft {
  0%,100% {
    transform: translateY(0px);
  }
 
  50% {
    transform: translateY(-18px);
  }
}
 
/* =========================
   FLOAT RIGHT
========================= */
 
@keyframes nfFloatRight {
  0%,100% {
    transform: translateY(0px);
  }
 
  50% {
    transform: translateY(-18px);
  }
}
 
/* =========================
   ROTATION
========================= */
 
@keyframes nfRotate {
  from {
    transform: rotate(0deg);
  }
 
  to {
    transform: rotate(360deg);
  }
}
 
/* =========================
   PULSE
========================= */
 
@keyframes nfPulse {
  0%,100% {
    box-shadow:
      0 0 40px rgba(188,20,33,0.35),
      inset 0 0 20px rgba(255,255,255,0.08);
  }
 
  50% {
    box-shadow:
      0 0 65px rgba(188,20,33,0.55),
      inset 0 0 30px rgba(255,255,255,0.2);
  }
}
 
/* =========================
   GLOW EFFECT
========================= */
 
@keyframes nfGlow {
  0%,100% {
    opacity: 1;
    transform: scale(1);
  }
 
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}
 
/* =========================
   RESPONSIVE
========================= */
 
@media (max-width: 768px) {
  .nf-d {
    font-size: 95px;
  }
 
  .nf-d--zero {
    width: 110px;
    height: 110px;
  }
 
  .nf-zero-inner {
    font-size: 80px;
  }
}
 
@media (max-width: 480px) {
  .nf-digits {
    gap: 12px;
  }
 
  .nf-d {
    font-size: 72px;
  }
 
  .nf-d--zero {
    width: 85px;
    height: 85px;
    border-width: 4px;
  }
 
  .nf-zero-inner {
    font-size: 58px;
  }
}
 
/* =========================
   ADDITIONAL RESPONSIVE FIXES
   (layout, text, buttons — all devices)
========================= */
 
/* Tablet (481px – 768px) */
 
@media (max-width: 768px) {
  .nf-page {
    padding: 20px 14px;
  }
 
  .nf-wrap {
    gap: 24px;
  }
 
  .nf-cat-wrap {
    width: clamp(120px, 22vw, 200px);
  }
 
  .nf-btn {
    padding: 11px 22px;
    font-size: .85rem;
  }
 
  .nf-actions {
    gap: 10px;
  }
}
 
/* Large mobile (421px – 480px) */
 
@media (max-width: 480px) {
  .nf-page {
    padding: 16px 12px;
    align-items: flex-start;
    padding-top: 32px;
  }
 
  .nf-wrap {
    gap: 20px;
  }
 
  .nf-cat-wrap {
    width: clamp(100px, 30vw, 160px);
  }
 
  .nf-oops {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }
 
  .nf-heading {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  }
 
  .nf-desc {
    font-size: clamp(.78rem, 3.2vw, .88rem);
    margin-bottom: 20px;
    max-width: 300px;
  }
 
  .nf-btn {
    padding: 10px 18px;
    font-size: .82rem;
    gap: 7px;
  }
 
  .nf-actions {
    gap: 8px;
  }
 
  .nf-cd-ring {
    width: 22px;
    height: 22px;
  }
 
  .nf-cd-num {
    font-size: .72rem;
  }
}
 
/* Small mobile (≤ 360px) */
 
@media (max-width: 360px) {
  .nf-page {
    padding: 12px 10px;
    padding-top: 24px;
  }
 
  .nf-wrap {
    gap: 16px;
  }
 
  .nf-digits {
    gap: 8px;
  }
 
  .nf-d {
    font-size: 60px;
  }
 
  .nf-d--zero {
    width: 72px;
    height: 72px;
    border-width: 3px;
  }
 
  .nf-zero-inner {
    font-size: 48px;
  }
 
  .nf-cat-wrap {
    width: clamp(80px, 28vw, 120px);
  }
 
  .nf-oops {
    font-size: 1.4rem;
  }
 
  .nf-heading {
    font-size: 1rem;
  }
 
  .nf-desc {
    font-size: .76rem;
    max-width: 260px;
  }
 
  .nf-btn {
    padding: 9px 15px;
    font-size: .78rem;
  }
 
  .nf-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
 
  .nf-btn {
    width: 100%;
    justify-content: center;
  }
}
 
/* Landscape phones */
 
@media (max-height: 500px) and (orientation: landscape) {
  .nf-page {
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 16px;
  }
 
  .nf-wrap {
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
 
  .nf-stage {
    max-width: 340px;
    flex-shrink: 0;
  }
 
  .nf-text {
    max-width: 340px;
    flex-shrink: 0;
  }
 
  .nf-digits {
    margin-bottom: 14px;
  }
 
  .nf-cat-wrap {
    width: clamp(80px, 16vw, 130px);
  }
}
/* ==========================================
   PREMIUM TOPBAR
========================================== */

*,
.topbar * {
  box-sizing: border-box;
}

.topbar {
  background: #bc1421;
  color: #fff;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__wrapper {
  position: relative;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   CONTACT
========================================== */

.topbar__list {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 42px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar__list li {
  position: relative;
}

.topbar__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -21px;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .25);
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: #fff;

  transition: .3s ease;
}

.topbar__contact strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* ==========================================
   CONTACT ICON
========================================== */

.topbar__icon {
  width: 25px;
  height: 25px;

  border-radius: 50%;
  background: rgba(255, 255, 255, .15);

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  transition: .3s ease;
  padding: 3.25px;
}

.topbar__contact-icon {
  font-size: 18px;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;

  margin: 0;
  padding: 0;
}

/* Hover */

.topbar__contact:hover .topbar__icon {
  background: #fff;
}

.topbar__contact:hover .topbar__contact-icon {
  color: #bc1421;
}

.topbar__contact:hover strong {
  color: #ffe59a;
}

/* ==========================================
   SOCIAL
========================================== */

.topbar__social {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__follow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255, 255, 255, .85);
}

.topbar__social-link {
  width: 36px;
  height: 36px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .15);

  color: #fff;
  text-decoration: none;

  transition: all .3s ease;
}

.topbar__social-link svg {
  font-size: 16px;
}

.topbar__social-link:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.topbar__social-link--fb:hover {
  color: #1877F2;
}

.topbar__social-link--ig:hover {
  color: #d62976;
}

.topbar__social-link--yt:hover {
  color: #ff0000;
}

.topbar__social-link--li:hover {
  color: #0A66C2;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 992px) {
  .topbar {
    display: none;
  }
}
:root {
  --red: #bc1421;
  --red-dark: #9b1019;
  --red-mid: rgba(188, 20, 33, 0.12);
  --black: #800020;
  --black2: #5c0017;
  --black5: #2b000b;
  --white: #ffffff;
  --text: #717175;
  --text2: #646466;
  --surface: #f2f2f6;
  --font: 'Manrope', sans-serif;
  --font-head: 'Poppins', sans-serif;
  --topbar-h: 44px;
  --header-h: 86px;
  --page-off: calc(var(--topbar-h) + var(--header-h));
  --inner-max: 1280px;
  --inner-pad: 24px;
  --ease: all 0.3s ease;
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--ease);
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Container ── */

.container-fluid {
  width: 100%;
  max-width: var(--inner-max);
  margin-inline: auto;
  padding-inline: var(--inner-pad);
}

/* ── Page ── */
.page-wrapper {
  position: relative;
  overflow-x: hidden;
}

.page-content {
  padding-top: var(--page-off);
}

/* =========================================================
   TOPBAR — fixed at top:0, always visible
========================================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-h);
  background: var(--black);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.topbar__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topbar__list li {
  color: var(--white);
  font-size: 12px;
}

.topbar__list li span {
  color: var(--red);
  margin-right: 6px;
}

.topbar__list li a {
  color: inherit;
}

.topbar__list li a:hover {
  color: var(--red);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar__social a {
  color: var(--white);
  font-size: 14px;
}

.topbar__social a:hover {
  color: var(--red);
}

/* =========================================================
   HEADER
========================================================= */
.main-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--white);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.main-header.sticky {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.main-header.sticky::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  opacity: 0.6;
}

/* ── Main Menu ── */
.main-menu {
  width: 100%;
}

.main-menu .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.main-menu__logo {
  display: flex;
  align-items: center;
  padding: 18px 0;
}

.main-menu__logo img {
  height: 55px;
  width: auto;
  transition: height 0.3s ease;
}

.main-header.sticky .main-menu__logo img {
  height: 42px;
}

/* ── Desktop Nav ── */
.main-menu__nav {
  flex: 1;
  padding-left: 24px;
}

.main-menu__list {
  display: flex;
  align-items: center;
}

.main-menu__list>li {
  position: relative;
}

.main-menu__list>li>a,
.main-menu__list>li>span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 24px 14px;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.main-menu__list>li>a::before,
.main-menu__list>li>span::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--red);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-menu__list>li>a:hover,
.main-menu__list>li>span:hover {
  color: var(--red);
}

.main-menu__list>li>a:hover::before,
.main-menu__list>li>span:hover::before {
  transform: scaleX(1);
}

.main-menu__list>li>a.active,
.main-menu__list>li>span.active {
  color: var(--red);
}

.main-menu__list>li>a.active::before,
.main-menu__list>li>span.active::before {
  transform: scaleX(1);
}

.main-menu__caret {
  display: inline-flex;
  align-items: center;
  transition: transform 0.22s ease;
}

.main-menu__caret svg {
  width: 12px;
  height: 12px;
}

.main-menu__list>li:hover .main-menu__caret {
  transform: rotate(180deg);
}

/* ── Dropdown ── */
.main-menu__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-top: 3px solid var(--red);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 99;
}

.main-menu__list>li:hover .main-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu__dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}

.main-menu__dropdown li a:hover {
  background: var(--surface);
  color: var(--red);
  padding-left: 26px;
}

.main-menu__dropdown li a.active {
  color: var(--red);
  background: var(--red-mid);
}

/* ── Right ── */
.main-menu__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Phone CTA ── */
.main-menu__phone {
  display: flex;
  align-items: center;
  gap: 6px;

  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.main-menu__phone svg {
  width: 14px;
  height: 14px;
  color: #fdfdfd;
}

/* ── Toggler ── */
.main-menu__toggler {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(188, 20, 33, 0.35);
  background: var(--red-mid);
  border-radius: 8px;
  cursor: pointer;
  color: var(--red);
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.main-menu__toggler:hover,
.main-menu__toggler[aria-expanded="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.main-menu__toggler svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* =========================================================
   USER MENU (desktop) — styled exactly like screenshot:
   green circle avatar + username + chevron → dropdown
========================================================= */
.user-menu {
  position: relative;
  flex-shrink: 0;
}

/* Trigger button */
.user-menu__trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1.5px solid #bc1421;
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.user-menu__trigger:hover {
  background: rgba(34, 197, 94, 0.08);
  border-color: #bc1421;
  ;
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.15);
}

.user-menu__trigger[aria-expanded="true"] {
  background: rgba(34, 197, 94, 0.1);
  border-color: #bc1421;
}

/* Green avatar circle — matches screenshot */
.user-menu__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #bc1421;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

/* Larger avatar inside dropdown header */
.user-menu__avatar--lg {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

/* Username text */
.user-menu__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}

/* Chevron icon */
.user-menu__caret {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.user-menu__trigger[aria-expanded="true"] .user-menu__caret {
  transform: rotate(180deg);
}

.user-menu__caret svg {
  width: 13px;
  height: 13px;
}

/* Dropdown panel */
.user-menu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 1001;
  overflow: hidden;
  animation: userMenuIn 0.18s ease both;
}

@keyframes userMenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* User info header inside dropdown */
.user-menu__info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
}

.user-menu__fullname {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}

.user-menu__email {
  font-size: 11.5px;
  color: var(--text);
  margin-top: 2px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.user-menu__divider {
  border: none;
  border-top: 1px solid #efefef;
  margin: 0;
}

/* Menu item links (My Courses, Dashboard) */
.user-menu__item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.user-menu__item:hover {
  background: var(--surface);
  color: var(--red);
  padding-left: 20px;
}

.user-menu__item svg {
  color: var(--text);
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.user-menu__item:hover svg {
  color: var(--red);
}

/* Logout button */
.user-menu__logout {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  transition: background 0.18s ease, padding-left 0.18s ease;
  text-align: left;
}

.user-menu__logout:hover {
  background: var(--red-mid);
  padding-left: 20px;
}

.user-menu__logout svg {
  flex-shrink: 0;
}

/* =========================================================
   MOBILE OVERLAY
========================================================= */
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  cursor: pointer;
}

.mobile-nav__overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   MOBILE DRAWER
========================================================= */
.mobile-nav__wrapper {
  position: fixed;
  top: var(--page-off);
  left: 0;
  width: 300px;
  height: calc(100% - var(--page-off));

  background: #ffffff;

  z-index: 300;

  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);

  overflow-y: auto;
  overscroll-behavior: contain;

  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.08);
}

.mobile-nav__wrapper.expanded {
  transform: translateX(0);
}

.mobile-nav__content {
  position: relative;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* CLOSE BUTTON */
.mobile-nav__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f3f3f3;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #111;
  transition: all 0.25s ease;
}

.mobile-nav__close svg {
  width: 16px;
  height: 16px;
}

.mobile-nav__close:hover {
  background: var(--red);
  color: #fff;
}

/* LOGO */
.logo-box {
  padding: 0 0 20px;
  border-bottom: 1px solid #e5e5e5;
  margin: 8px 0;
}

.logo-box img {
  height: 44px;
  width: auto;
}

/* Mobile user info block */
.mobile-nav__user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 12px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 4px;
}

.mobile-nav__user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-nav__user-name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.mobile-nav__user-email {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.mobile-nav__list {
  margin-bottom: 20px;
  flex: 1;
}

/* MENU ITEMS */
.mobile-nav__list>li {
  border-bottom: 1px solid #ececec;
}

.mobile-nav__list>li>a,
.mobile-nav__item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
  gap: 8px;
  position: relative;
}

.mobile-nav__list>li>a:hover,
.mobile-nav__item-btn:hover {
  color: var(--red);
}

.mobile-nav__list>li>a.active,
.mobile-nav__item-btn.active {
  color: var(--red);
}

.mobile-nav__list>li>a.active::before,
.mobile-nav__item-btn.active::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--red);
  border-radius: 0 4px 4px 0;
}

/* CHEVRON */
.mobile-nav__chevron {
  display: inline-flex;
  align-items: center;
  color: #777;
  flex-shrink: 0;
}

.mobile-nav__chevron svg {
  width: 14px;
  height: 14px;
}

/* SUB MENU */
.mobile-nav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 14px;
  background: #fafafa;
}

.mobile-nav__sub.open {
  max-height: 300px;
  padding: 4px 0 10px 14px;
}

.mobile-nav__sub li a {
  display: block;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-nav__sub li a:hover {
  color: var(--red);
  padding-left: 14px;
}

.mobile-nav__sub li a.active {
  color: var(--red);
  padding-left: 18px;
}

.mobile-nav__sub li a.active::before {
  content: '▸';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--red);
}

/* LOGOUT btn in mobile */
.mobile-nav__logout-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 13px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
}

.mobile-nav__logout-btn:hover {
  color: var(--red-dark);
}

.mobile-nav__logout-btn svg {
  flex-shrink: 0;
}

/* CONTACT */
.mobile-nav__contact {
  margin: 16px 0;
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
}

.mobile-nav__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: #555;
}

.mobile-nav__contact li a {
  color: inherit;
}

.mobile-nav__contact li a:hover {
  color: var(--red);
}

.mobile-nav__contact-icon {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  flex-shrink: 0;
}

.mobile-nav__contact-icon svg {
  width: 15px;
  height: 15px;
}

/* SOCIAL */
.mobile-nav__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mobile-nav__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.22s ease;
}

.mobile-nav__social-link svg {
  width: 18px;
  height: 18px;
}

.mobile-nav__social-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.announcement-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: none;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #222;
  margin-right: 12px;
  transition: all 0.25s ease;
}

.announcement-btn:hover {
  background: #f4f4f4;
  color: #ff6b00;
}

.announcement-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 1400px) {
  :root {
    --inner-max: 1360px;
    --inner-pad: 32px;
  }

  .main-menu__list>li>a,
  .main-menu__list>li>span {
    padding: 30px 14px;
    font-size: 15px;
  }
}

@media (max-width: 1199px) {
  .main-menu__nav {
    display: none;
  }

  .main-menu__toggler {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  :root {
    --inner-pad: 20px;
    --page-off: var(--header-h);
  }

  .topbar {
    display: none;
  }

  .main-header,
  .main-header.sticky {
    top: 0;
  }

  .page-content {
    padding-top: 80px;
  }

  .mobile-nav__wrapper {
    width: 280px;
  }
}

@media (max-width: 767px) {
  :root {
    --inner-pad: 16px;
  }

  .main-menu__phone {
    display: none;
  }

  .main-menu__logo img {
    height: 42px;
  }

  .mobile-nav__wrapper {
    width: 270px;
  }

  /* Hide username in trigger on small screens, show only avatar */
  .user-menu__name {
    display: none;
  }

  .user-menu__trigger {
    padding: 2px 6px 2px 2px;
  }
}

@media (max-width: 575px) {
  html {
    font-size: 15px;
  }

  :root {
    --inner-pad: 14px;
  }

  .main-menu__logo img {
    height: 38px;
    max-width: 140px;
  }

  .main-menu__toggler {
    width: 38px;
    height: 38px;
  }

  .mobile-nav__wrapper {
    width: calc(100vw - 44px);
    max-width: 290px;
  }

  .mobile-nav__content {
    padding: 20px 16px 36px;
  }
}

@media (max-width: 359px) {
  html {
    font-size: 14px;
  }

  :root {
    --inner-pad: 10px;
  }

  .main-menu__logo img {
    height: 34px;
    max-width: 120px;
  }

  .mobile-nav__wrapper {
    width: 100vw;
    max-width: 100vw;
  }

  .mobile-nav__content {
    padding: 18px 12px 32px;
  }
}

@media print {

  .topbar,
  .main-header,
  .mobile-nav__wrapper,
  .mobile-nav__overlay,
  .main-menu__toggler {
    display: none !important;
  }

  .page-content {
    padding-top: 0 !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: inherit;
  }
}


/* ═══════════════════════════════════════════════════════════
   Navbar.css — ADD THESE RULES to your existing Navbar.css
   (paste at the bottom or merge into relevant sections)
═══════════════════════════════════════════════════════════ */

/* ── Desktop: keep UserMenu visible only on desktop ── */
.desktop-user-menu-only {
  display: flex;
  align-items: center;
}

/* Hide on mobile/tablet (<= 1199px) */
@media (max-width: 1199px) {
  .desktop-user-menu-only {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   MOBILE SIDEBAR — User Profile Trigger
══════════════════════════════════════════════════════════ */

/* Wrapper holds the trigger button + collapsible sub-menu */
.mobile-nav__user-trigger-wrap {
  margin: 12px 16px 4px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(188, 20, 33, 0.18);
  background: linear-gradient(135deg, rgba(188, 20, 33, .06) 0%, rgba(188, 20, 33, .02) 100%);
}

/* The trigger button itself — mirrors desktop user-menu__trigger */
.mobile-nav__user-trigger {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.mobile-nav__user-trigger:hover {
  background: rgba(188, 20, 33, 0.07);
}

/* Avatar circle — same green as desktop */
.mobile-nav__user-trigger-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bc1421, #e05252);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(188, 20, 33, 0.28);
  flex-shrink: 0;
}

/* Name + email column */
.mobile-nav__user-trigger-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.mobile-nav__user-trigger-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e0608;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-nav__user-trigger-email {
  font-size: 0.72rem;
  color: #7a3040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Caret icon */
.mobile-nav__user-trigger-caret {
  display: flex;
  align-items: center;
  color: #bc1421;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-nav__user-trigger-caret svg {
  width: 16px;
  height: 16px;
}

/* ── Collapsible sub-menu ── */
.mobile-nav__user-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid transparent;
}

.mobile-nav__user-submenu.open {
  max-height: 200px;
  border-top-color: rgba(188, 20, 33, 0.12);
}

/* Each item inside the sub-menu */
.mobile-nav__user-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  font-size: 0.855rem;
  font-weight: 600;
  color: #2e2035;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  border-bottom: 1px solid rgba(188, 20, 33, 0.06);
}

.mobile-nav__user-sub-item:last-child {
  border-bottom: none;
}

.mobile-nav__user-sub-item svg {
  flex-shrink: 0;
  color: #bc1421;
}

.mobile-nav__user-sub-item:hover {
  background: rgba(188, 20, 33, 0.07);
  color: #bc1421;
}

/* Logout gets a red tint */
.mobile-nav__user-sub-logout {
  color: #bc1421;
  font-weight: 700;
}

.mobile-nav__user-sub-logout svg {
  color: #bc1421;
}

.mobile-nav__user-sub-logout:hover {
  background: rgba(188, 20, 33, 0.12);
}

.main-menu .container-fluid {
  display: flex;
  align-items: center;
}

.main-menu__logo {
  flex-shrink: 0;
}

.main-menu__nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 80px;
}

.main-menu__list {
  display: flex;
  justify-content: flex-start;
}

.main-menu__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guest-user-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-user-menu .user-menu__dropdown {
  right: 0;
  left: auto;
}

.guest-user-menu .user-menu__trigger {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;

  border-radius: 50%;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #bc1421;
  background: #fff;

  overflow: hidden;
}

.guest-user-menu .user-menu__avatar {
  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: #ffecec;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
}

.guest-user-menu .user-menu__avatar svg {
  width: 18px;
  height: 18px;

}

/* ===========================
   PREMIUM LOGIN BUTTON
=========================== */

.guest-login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 130px;
  height: 46px;
  padding: 0 28px;

  border-radius: 999px;

  background: linear-gradient(135deg, #bc1421 0%, #d61f30 100%);
  color: #fff !important;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;

  border: 2px solid transparent;

  text-decoration: none;

  transition: all .35s ease;

  box-shadow:
    0 10px 24px rgba(188, 20, 33, .28),
    inset 0 1px 0 rgba(255, 255, 255, .25);
}

.guest-login-link:hover {
  transform: translateY(-3px);

  color: #fff !important;

  background: linear-gradient(135deg, #d61f30 0%, #bc1421 100%);

  box-shadow:
    0 18px 35px rgba(188, 20, 33, .35);
}

.guest-login-link:active {
  transform: translateY(-1px);
}

.guest-login-link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(188, 20, 33, .18),
    0 12px 28px rgba(188, 20, 33, .28);
}

@media (max-width: 1199px) {

  .main-menu__nav {
    display: none !important;
  }

  .main-menu__toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .desktop-user-menu-only {
    display: none !important;
  }

  .main-menu__right {
    margin-left: auto;
  }
}


:root {
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

.main-footer {
  background-color: #ffffff;
  border-top: 3px solid #bc1421;
  padding: 64px 0 0;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.main-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── 4-col grid ─────────────────────────────────────── */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr 1.6fr;
  gap: 48px;
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

/* ── Column heading ─────────────────────────────────── */

.footer-col__title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #111111;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}

.footer-col__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: #bc1421;
  border-radius: 2px;
}

/* ── Brand col ──────────────────────────────────────── */

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand__desc {
  font-size: 13px;
  color: black;
  line-height: 1.85;
  margin: 0 0 20px;
}

/* Stat pills */

.footer-brand__stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-brand__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 8px 16px;
  gap: 2px;
  transition: background .2s, border-color .2s;
}

.footer-brand__stat:hover {
  background: #fff5f5;
  border-color: #bc1421;
}

.footer-brand__stat-val {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #bc1421;
  line-height: 1;
}

.footer-brand__stat-label {
  font-size: 9px;
  color: #888888;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

/* Social icons */

.footer-brand__social {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.footer-brand__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  color: #555555;
  text-decoration: none;
  transition: all .22s;
}

.footer-brand__social-link svg { width: 14px; height: 14px; }

.footer-brand__social-link:hover {
  background: #bc1421;
  border-color: #bc1421;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(188,20,33,.25);
}

/* ── App download buttons ───────────────────────────── */

.footer-app__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: black;
  margin: 0 0 9px;
}

.footer-app__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-app__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 9px 14px;
  text-decoration: none;
  color: #111111;
  min-width: 130px;
  transition: all .22s;
}

.footer-app__btn:hover {
  background: #bc1421;
  border-color: #bc1421;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(188,20,33,.25);
}

.footer-app__btn:hover .footer-app__btn-sub,
.footer-app__btn:hover .footer-app__btn-main,
.footer-app__btn:hover svg { color: #fff; fill: #fff; }

.footer-app__btn svg { flex-shrink: 0; fill: #333; transition: fill .22s; }

.footer-app__btn-text { display: flex; flex-direction: column; }

.footer-app__btn-sub {
  font-size: 12px;
  color: black;
  line-height: 1;
  font-weight: 500;
  transition: color .22s;
}

.footer-app__btn-main {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  line-height: 1.35;
  transition: color .22s;
}

/* ── Links col ──────────────────────────────────────── */

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: #555555;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s, gap .18s;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bc1421;
  flex-shrink: 0;
  opacity: .35;
  transition: opacity .18s, transform .18s;
}

.footer-links a:hover { color: #bc1421; gap: 12px; }

.footer-links a:hover::before { opacity: 1; transform: scale(1.4); }

/* ── Contact col ────────────────────────────────────── */

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }

.footer-contact-icon {
  width: 30px;
  height: 30px;
  background: #fff0f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bc1421;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-icon svg { width: 14px; height: 14px; }

.footer-contact-body { flex: 1; }

.footer-contact-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: black;
  margin-bottom: 3px;
}

.footer-contact-value {
  font-size: 12.5px;
  color: #444444;
  line-height: 1.55;
  text-decoration: none;
  transition: color .18s;
}

a.footer-contact-value:hover { color: #bc1421; }

/* Branches */

.footer-branches__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: black;
  margin: 0 0 9px;
}

.footer-branches {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.footer-branch-pill {
  display: inline-block;
  padding: 4px 13px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  font-size: 12px;
  color: #555555;
  text-decoration: none;
  font-weight: 600;
  transition: all .2s;
}

.footer-branch-pill:hover {
  background: #bc1421;
  border-color: #bc1421;
  color: #fff;
  box-shadow: 0 4px 12px rgba(188,20,33,.25);
}

/* Divider */

.footer-divider {
  border: none;
  border-top: 1px solid #ebebeb;
  margin: 52px 0 0;
}

/* ── Copyright bar ──────────────────────────────────── */

.copyright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-top: 1px solid #ebebeb;
  padding: 16px 40px;
}

.copyright__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.copyright__text {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

.copyright__text a {
  color: #bc1421;
  font-weight: 600;
  text-decoration: none;
}

.copyright__text a:hover { text-decoration: underline; }

.copyright__legal {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.copyright__legal a {
  font-size: 13px;
  color: #999999;
  text-decoration: none;
  transition: color .18s;
}

.copyright__legal a:hover { color: #bc1421; }

.padding {
  padding-left: 25px;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */

/* ── Large desktop (≥ 1280px) ───────────────────────── */

@media (min-width: 1280px) {
  .footer-grid {
    grid-template-columns: 2.2fr 1fr 1.25fr 1.6fr;
    gap: 56px;
    padding: 0 60px;
  }
}

/* ── Tablet landscape (≤ 1100px) ────────────────────── */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 0 32px;
  }

  .main-footer {
    padding: 48px 0 0;
  }

  .footer-divider {
    margin: 40px 0 0;
  }

  .copyright {
    padding: 16px 32px;
  }
}

/* ── Tablet portrait (≤ 768px) ──────────────────────── */

@media (max-width: 768px) {
  .main-footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding: 0 24px;
  }

  /* Brand col spans full width on tablet portrait */
  .footer-grid > *:first-child {
    grid-column: 1 / -1;
  }

  .footer-brand__stats {
    gap: 8px;
  }

  .footer-brand__stat {
    padding: 7px 12px;
  }

  .footer-brand__stat-val {
    font-size: 18px;
  }

  .footer-app__buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-app__btn {
    min-width: 140px;
    flex: 1;
  }

  .footer-divider {
    margin: 36px 0 0;
  }

  .copyright {
    padding: 14px 24px;
  }

  .copyright__inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .copyright__legal {
    justify-content: center;
    gap: 16px;
  }
}

/* ── Mobile (≤ 640px) ───────────────────────────────── */

@media (max-width: 640px) {
  .main-footer {
    padding: 36px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 20px;
  }

  /* All cols full width */
  .footer-grid > * {
    grid-column: 1 / -1;
  }

  .footer-col__title {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .footer-brand__desc {
    font-size: 14px;
  }

  .footer-brand__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .footer-brand__stat {
    padding: 8px 10px;
  }

  .footer-brand__stat-val {
    font-size: 19px;
  }

  .footer-brand__social {
    gap: 7px;
  }

  .footer-brand__social-link {
    width: 34px;
    height: 34px;
  }

  .footer-app__buttons {
    flex-direction: column;
    gap: 8px;
  }

  .footer-app__btn {
    min-width: 0;
    width: 100%;
    padding: 10px 14px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
  }

  .footer-links a {
    font-size: 13px;
    padding: 4px 0;
  }

  .footer-contact-list {
    gap: 12px;
    margin-bottom: 16px;
  }

  .footer-branches {
    gap: 6px;
  }

  .footer-branch-pill {
    font-size: 11.5px;
    padding: 4px 11px;
  }

  .footer-divider {
    margin: 32px 0 0;
  }

  .copyright {
    padding: 14px 20px;
    flex-direction: column;
    gap: 8px;
  }

  .copyright__inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .copyright__legal {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .copyright__legal a {
    font-size: 11.5px;
  }

  .copyright__text {
    font-size: 11.5px;
  }
}

/* ── Small mobile (≤ 400px) ─────────────────────────── */

@media (max-width: 400px) {
  .main-footer {
    padding: 28px 0 0;
  }

  .footer-grid {
    padding: 0 16px;
    gap: 24px;
  }

  .footer-brand__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .footer-brand__stat-val {
    font-size: 17px;
  }

  .footer-brand__stat-label {
    font-size: 8px;
  }

  .footer-brand__social-link {
    width: 32px;
    height: 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-links a {
    font-size: 12.5px;
  }

  .footer-contact-value {
    font-size: 12px;
  }

  .footer-branch-pill {
    font-size: 11px;
    padding: 3px 10px;
  }

  .copyright {
    padding: 12px 16px;
  }

  .copyright__legal {
    gap: 10px;
  }

  .copyright__legal a,
  .copyright__text {
    font-size: 11px;
  }
}
/* ──────────────────────────────────────────
   Layout.css
   Floating Action Buttons — WhatsApp + Scroll Top
────────────────────────────────────────── */

.fab-stack {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1000;
}

/* Base FAB */
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
  transform: scale(1.1);
}

.fab:active {
  transform: scale(0.96);
}

/* WhatsApp Button */
.fab--whatsapp {
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.fab--whatsapp:hover {
  background-color: #20c05a;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* Scroll to Top Button */
.fab--scroll-top {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

  /* Hidden by default — slides in when .fab--visible is added */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.fab--scroll-top.fab--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab--scroll-top:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .fab-stack {
    bottom: 20px;
    right: 16px;
  }

  .fab {
    width: 46px;
    height: 46px;
  }

  .fab--whatsapp svg {
    width: 24px;
    height: 24px;
  }
}


:root {
  --orange: #bc1421;
  --orange-dark: #9b1019;
  --orange-deeper: #800020;
  --orange-light: #f8e8ea;

  --ink: #3a000e;
  --ink-mid: #5c1a28;
  --muted: #8c4054;
  --border: #f0dade;
  --surface: #fdf5f6;
  --surface-2: #fbeaec;
  --white: #ffffff;

  --font-body: 'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --radius: 10px;
  --shadow-sm: 0 2px 12px rgba(128, 0, 32, .07);
  --shadow-md: 0 8px 32px rgba(128, 0, 32, .12);
  --shadow-lg: 0 20px 60px rgba(128, 0, 32, .16);

  /* ── Card sizing tokens — change once, applies everywhere ── */
  --award-card-w: 260px;
  --award-img-h: 190px;
  --award-body-h: 130px;
  --award-card-h: calc(var(--award-img-h) + var(--award-body-h));
}

/* ===== ONLY MOBILE ABOUT SECTION ===== */

@media (max-width: 768px) {
  .tta-about {
    padding: 45px 0 !important;
  }

  .tta-about .tta-container {
    padding: 0 16px !important;
  }

  .tta-about__grid {
    gap: 20px !important;
  }

  .tta-about__media {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .tta-about__img-wrap {
    min-height: auto !important;
    margin-bottom: 0 !important;
  }

  .tta-about__img-main {
    width: 100%;
    height: auto;
  }

  .tta-about__body {
    margin-top: 0 !important;
  }

  .tta-about .tta-heading {
    margin-bottom: 10px !important;
    line-height: 1.1;
  }

  .tta-about .tta-para {
    margin-bottom: 12px !important;
    line-height: 1.6;
  }

  .tta-about .tta-feature-list {
    margin: 14px 0 !important;
    gap: 10px !important;
  }

  .tta-about .tta-feature-item {
    padding: 12px !important;
  }

  .tta-about .tta-checklist {
    margin: 14px 0 18px !important;
  }

  .tta-about .tta-checklist__item {
    padding: 8px 0 !important;
  }
}

/* ===========================
   HERO SECTION
=========================== */

.main-slider-three {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.main-slider-three__carousel {
  position: relative;
}

.main-slider-three__carousel.owl-carousel .owl-nav {
  left: 80px;
  margin: auto;
  position: absolute;
  right: 0;
  text-align: left;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  z-index: 2;
}

@media (min-width: 1300px) and (max-width: 1600px) {
  .main-slider-three__carousel.owl-carousel .owl-nav {
    left: 15px;
  }
}

@media (max-width: 1300px) {
  .main-slider-three__carousel.owl-carousel .owl-nav {
    display: flex;
    transform: none;
    top: auto;
    left: 0;
    bottom: 30px;
    text-align: center;
    justify-content: center;
  }
}

.main-slider-three__carousel.owl-carousel .owl-nav button {
  transition: all 400ms ease;
  width: 52px;
  height: 52px;
  outline: none;
  box-shadow: none;
  border: none;
  background-color: RGBA(var(--nisoz-color3-rgb), 0.1);
  border-radius: 50%;
  display: block;
  color: var(--nisoz-white);
  line-height: 53px;
  font-size: 16px;
  margin: 9px 0;
  text-align: center;
}

@media (max-width: 1300px) {
  .main-slider-three__carousel.owl-carousel .owl-nav button {
    transform: rotate(-90deg);
    margin: 0 5px;
  }
}

.main-slider-three__carousel.owl-carousel .owl-nav button:hover {
  background-color: var(--nisoz-base);
  color: var(--nisoz-black);
}

.main-slider-three__item {
  position: relative;
  background: #fff;
  padding-top: 40px;
  padding-bottom: 180px;
  min-height: 760px;
  overflow: visible;
}

@media (max-width: 767px) {
  .main-slider-three__item {
    padding-top: 170px;
    padding-bottom: 180px;
    min-height: 620px;
  }
}

.main-slider-three__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: left top;
  z-index: 1;
  mix-blend-mode: luminosity;
  opacity: .06;
}

.main-slider-three__shape-1 {
  position: absolute;
  top: 0;
  right: 33.2%;
  z-index: 2;
  opacity: 0;
  transition: transform 1100ms ease, opacity 1100ms ease;
  transform: translateX(200px);
}

@media (min-width: 991px) and (max-width: 1199px) {
  .main-slider-three__shape-1 {
    right: 29.2%;
  }
}

@media (max-width: 991px) {
  .main-slider-three__shape-1 {
    display: none;
  }
}

.main-slider-three__shape-1 img {
  width: auto !important;
  -webkit-animation: movebounce2 2s linear infinite;
  animation: movebounce2 2s linear infinite;
}

.main-slider-three__shape-2 {
  position: absolute;
  bottom: 0;
  right: 38.4%;
  z-index: 2;
  opacity: 0;
  transition: transform 1100ms ease, opacity 1100ms ease;
  transform: translateY(100%);
}

@media (max-width: 1199px) {
  .main-slider-three__shape-2 {
    display: none;
  }
}

.main-slider-three__shape-2 img {
  width: auto !important;
  -webkit-animation: movebounce3 2s linear infinite;
  animation: movebounce3 2s linear infinite;
}

.main-slider-three__shape-3 {
  position: absolute;
  bottom: 0;
  right: 44%;
  z-index: 2;
  opacity: 0;
  transition: transform 1100ms ease, opacity 1100ms ease;
  transform: translateY(100%);
}

@media (max-width: 1500px) {
  .main-slider-three__shape-3 {
    right: 46.5%;
  }
}

@media (max-width: 1199px) {
  .main-slider-three__shape-3 {
    display: none;
  }
}

.main-slider-three__shape-3 img {
  width: auto !important;
  -webkit-animation: movebounce2 2s linear infinite;
  animation: movebounce2 2s linear infinite;
}

.main-slider-three__shape-bg {
  position: absolute;
  top: 100px;
  right: 0;
  visibility: hidden;
  transition: transform 1100ms ease, opacity 1100ms ease;
  transform: translateX(100%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

@media (max-width: 1600px) {
  .main-slider-three__shape-bg {
    right: -200px;
  }
}

@media (min-width: 991px) and (max-width: 1199px) {
  .main-slider-three__shape-bg {
    right: -350px;
  }
}

@media (max-width: 991px) {
  .main-slider-three__shape-bg {
    display: none;
  }
}

.main-slider-three__shape-bg img {
  width: auto !important;
  mix-blend-mode: luminosity;
}

.main-slider-three__content {
  position: relative;
  top: 0;
  padding-top: 40px;
  z-index: 5;
}

.main-slider-three__sub-title {
  color: var(--nisoz-base);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 13px;
  transition: transform 1000ms ease, opacity 1000ms ease;
  transform: translateY(-200px);
}

.main-slider-three__title {
  max-width: 500px;
  color: #000000;
  font-size: 100px;
  line-height: 90px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 45px;
  opacity: 0;
  transition: transform 1200ms ease, opacity 1200ms ease;
  transform: translateX(-200px);
}

@media (max-width: 767px) {
  .main-slider-three__title {
    font-size: 50px;
    line-height: 50px;
    max-width: 300px;
  }
}

.main-slider-three__title-anim {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: .8;
}

.main-slider-three__title-anim::after {
  content: '';
  width: 101%;
  height: 100%;
  position: absolute;
  top: 9px;
  left: 100%;
  background: currentColor;
  -webkit-transition: 1s cubic-bezier(0.858, 0.01, 0.068, 0.99);
  -o-transition: 1s cubic-bezier(0.858, 0.01, 0.068, 0.99);
  transition: 1s cubic-bezier(0.858, 0.01, 0.068, 0.99);
  transition-delay: 1s;
  z-index: 3;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition-delay: 1s;
  -o-transition-delay: 1s;
  transition-delay: 1s;
}

.main-slider-three__btn {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  -webkit-transform: perspective(400px) rotateY(0deg) translateY(80px);
  -ms-transform: perspective(400px) rotateY(0deg) translateY(80px);
  transform: perspective(400px) rotateY(0deg) translateY(80px);
  -webkit-transform-origin: bottom;
  -ms-transform-origin: bottom;
  transform-origin: bottom;
  -webkit-transition: all 1500ms ease;
  -moz-transition: all 1500ms ease;
  -ms-transition: all 1500ms ease;
  -o-transition: all 1500ms ease;
  transition: all 1500ms ease;
}

.main-slider-three__btn .nisoz-btn__shape {
  background-color: var(--nisoz-black5);
}

.main-slider-three__arrow {
  position: absolute;
  left: 310px;
  bottom: 32px;
  overflow: hidden;
  opacity: 0;
  -webkit-transform: perspective(400px) rotateY(0deg) translateY(80px);
  -ms-transform: perspective(400px) rotateY(0deg) translateY(80px);
  transform: perspective(400px) rotateY(0deg) translateY(80px);
  -webkit-transform-origin: bottom;
  -ms-transform-origin: bottom;
  transform-origin: bottom;
  -webkit-transition: all 1800ms ease;
  -moz-transition: all 1800ms ease;
  -ms-transition: all 1800ms ease;
  -o-transition: all 1800ms ease;
  transition: all 1800ms ease;
}

@media (max-width: 1400px) {
  .main-slider-three__arrow {
    left: 250px;
  }
}

@media (max-width: 1199px) {
  .main-slider-three__arrow {
    display: none;
  }
}

.main-slider-three__arrow img {
  -webkit-animation-name: float-bob-y-2;
  animation-name: float-bob-y-2;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

.main-slider-three .active .main-slider-three__shape-1 {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1200ms;
}

.main-slider-three .active .main-slider-three__shape-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1300ms;
}

.main-slider-three .active .main-slider-three__shape-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1500ms;
}

.main-slider-three .active .main-slider-three__shape-bg {
  visibility: visible;
  transform: translateX(0);
  transition-delay: 1100ms;
}

.main-slider-three .active .main-slider-three__sub-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1600ms;
}

.main-slider-three .active .main-slider-three__title {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1800ms;
}

.main-slider-three .active .main-slider-three__title-anim::after {
  -webkit-transform: translateX(1%);
  -ms-transform: translateX(1%);
  transform: translateX(1%);
  transition-delay: 2000ms;
}

.main-slider-three .active .main-slider-three__btn {
  opacity: 1;
  -webkit-transform: perspective(400px) rotateY(0deg) translateY(0px);
  -ms-transform: perspective(400px) rotateY(0deg) translateY(0px);
  transform: perspective(400px) rotateY(0deg) translateY(0px);
  -webkit-transition-delay: 2200ms;
  -moz-transition-delay: 2200ms;
  -ms-transition-delay: 2200ms;
  -o-transition-delay: 2200ms;
  transition-delay: 2200ms;
}

.main-slider-three .active .main-slider-three__arrow {
  opacity: 1;
  -webkit-transform: perspective(400px) rotateY(0deg) translateY(0px);
  -ms-transform: perspective(400px) rotateY(0deg) translateY(0px);
  transform: perspective(400px) rotateY(0deg) translateY(0px);
}

/* ── Reset ──────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Utility ────────────────────────────────────────────── */

.tta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tta-section-head {
  margin-bottom: 48px;
}

.tta-section-head--center {
  text-align: center;
}

.tta-section-head--center .tta-label {
  justify-content: center;
}

/* ── Typography ─────────────────────────────────────────── */

.tta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: 16px;
}

.tta-heading--white {
  color: var(--white);
}

.tta-para {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
}

.tta-para--centered {
  margin: 0 auto;
}

.tta-para strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── Section Label ──────────────────────────────────────── */

.tta-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.tta-label__line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.tta-label--center {
  justify-content: center;
}

.tta-label--center .tta-label__line {
  display: none;
}

/* ── Buttons ────────────────────────────────────────────── */

.tta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: background .25s var(--ease), transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 18px rgba(188, 20, 33, .35);
}

.tta-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(188, 20, 33, .45);
}

.tta-btn svg {
  flex-shrink: 0;
  transition: transform .2s;
}

.tta-btn:hover svg {
  transform: translateX(3px);
}

.tta-btn--dark {
  background: var(--ink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.tta-btn--dark:hover {
  background: var(--ink-mid);
}

.tta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 50px;
  transition: border-color .25s, background .25s;
}

.tta-btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.tta-btn-ghost--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}

/* ══════════════════════════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════════════════════════ */

.tta-hero {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tta-hero__slashes {
  position: absolute;
  top: 0;
  right: 20%;
  width: 300px;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.tta-hero__slash {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(188, 20, 33, .08);
  transform-origin: top left;
}

.tta-hero__slash--1 {
  left: 0;
  width: 36px;
  transform: skewX(-14deg);
}

.tta-hero__slash--2 {
  left: 60px;
  width: 22px;
  transform: skewX(-14deg);
  background: rgba(188, 20, 33, .05);
}

.tta-hero__slash--3 {
  left: 100px;
  width: 12px;
  transform: skewX(-14deg);
  background: rgba(188, 20, 33, .03);
}

.tta-hero__inner {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: stretch;
  flex: 1;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.tta-hero__content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px max(24px, calc((100vw - 1200px) / 2 + 24px));
  background: var(--surface);
}

.tta-hero__panel {
  position: relative;
  overflow: hidden;
  clip-path: polygon(90px 0%, 100% 0%, 100% 100%, 0% 100%);
  background: var(--surface-2);
}

.tta-hero__panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 1;
}

.tta-hero__panel-image--out {
  z-index: 1;
  opacity: 1;
}

.tta-hero__panel-image--in {
  z-index: 2;
  opacity: 0;
  animation: heroPanelFadeIn 0.55s var(--ease) forwards;
}

.tta-hero__panel-image:not(.tta-hero__panel-image--in):not(.tta-hero__panel-image--out) {
  z-index: 2;
  opacity: 1;
}

@keyframes heroPanelFadeIn {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tta-hero-slider {
  margin-bottom: 32px;
}

.tta-hero-slide {
  animation: heroTextIn .45s var(--ease) both;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tta-hero__eyebrow-tag {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tta-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tta-hero__title-line {
  display: block;
}

.tta-hero__title--accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.tta-hero__title--accent::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  border-radius: 4px;
}

.tta-hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.tta-hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .25s, width .3s;
  padding: 0;
  flex-shrink: 0;
}

.tta-hero-dot--active {
  background: var(--orange);
  width: 48px;
}

.tta-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tta-hero__link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: gap .2s;
}

.tta-hero__link-btn:hover {
  gap: 10px;
}

.tta-hero__social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tta-hero__avatars {
  display: flex;
  align-items: center;
}

.tta-hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--white);
  overflow: hidden;
  background: var(--surface-2);
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  flex-shrink: 0;
}

.tta-hero__avatar:first-child {
  margin-left: 0;
}

.tta-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tta-hero__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
}

.tta-hero__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--orange);
  font-size: 16px;
  margin-bottom: 2px;
}

.tta-hero__rating-num {
  font-weight: 700;
  margin-left: 4px;
  font-size: 14px;
  color: var(--ink);
}

.tta-hero__rating-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
}

/* ══════════════════════════════════════════════════════════
   SECTION 2 — TICKER
══════════════════════════════════════════════════════════ */

.tta-ticker {
  background: var(--white);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.tta-ticker__track {
  display: inline-flex;
  align-items: center;
  animation: tickerScroll 28s linear infinite;
}

.tta-ticker:hover .tta-ticker__track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tta-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 36px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  border-right: 1px solid var(--border);
}

.tta-ticker__item:last-child {
  border-right: none;
}

.tta-ticker__item strong {
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.tta-ticker__dot {
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
}

.tta-stats-bar {
  position: relative;

  margin-top: 0;

  padding: 28px 0;

  background: #bc1421;

  z-index: 5;
}

.tta-hero-image-wrapper {
  position: relative;

  min-height: 700px;

  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tta-stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tta-stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.tta-stats-bar__item:last-child {
  border-right: none;
}

.tta-stats-bar__value {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;

}

.tta-stats-bar__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   HORIZONTAL SCROLLER
══════════════════════════════════════════════════════════ */

.tta-tscroll {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
}

.tta-tscroll__track {
  display: flex;
  gap: 20px;
  /* ── KEY FIX: align all cards to the same top edge, uniform row height ── */
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  flex: 1;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--border);
}

.tta-tscroll__track::-webkit-scrollbar {
  height: 5px;
}

.tta-tscroll__track::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 10px;
}

.tta-tscroll__track::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 10px;
}

.tta-tscroll__arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.tta-tscroll__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: scale(1.08);
}

.tta-tscroll__arrow--left {
  margin-right: 12px;
}

.tta-tscroll__arrow--right {
  margin-left: 12px;
}

/* ══════════════════════════════════════════════════════════
   AWARD & CERTIFICATION CARDS — uniform, no empty space
══════════════════════════════════════════════════════════ */

.tta-award-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  /* Use flex column so body stretches to fill remaining height */
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  width: 100%;
  min-height: 390px;
}

.tta-award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

/* ── Scrollable variant — FIXED width + height so every card is identical ── */

.tta-award-card--scroll {
  width: var(--award-card-w);
  min-width: var(--award-card-w);
  max-width: var(--award-card-w);
  height: var(--award-card-h);
  /* ← fixed total height: no empty gap */
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* ── Image area — fixed height, no padding to maximise image space ── */

.tta-award-card__img-wrap {
  position: relative;
  height: var(--award-img-h);
  flex-shrink: 0;
  /* never shrink the image region */
  overflow: hidden;
  background: var(--surface);
}

.tta-award-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .4s var(--ease);
}

.tta-award-card:hover .tta-award-card__img {
  transform: scale(1.05);
}

.tta-award-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(188, 20, 33, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}

.tta-award-card:hover .tta-award-card__overlay {
  opacity: 1;
}

.tta-award-card__view-btn {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 30px;
}

/* ── Body area — fills the remaining fixed height exactly ── */

.tta-award-card__body {
  padding: 14px 16px;
  flex: 1;
  /* stretch to fill var(--award-body-h) */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  /* guard against content overflow */
}

.tta-award-card__year {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--orange-light);
  color: var(--orange);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 7px;
  align-self: flex-start;
  flex-shrink: 0;
}

.tta-award-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.25;
  flex-shrink: 0;
  /* Clamp title to 2 lines max */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tta-award-card__text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  /* Clamp body text so cards never grow taller than their fixed height */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ══════════════════════════════════════════════════════════
   AWARD DETAIL PAGE
══════════════════════════════════════════════════════════ */

.tta-award-detail {
  min-height: 100vh;
  background: var(--white);
}

.tta-award-detail__header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--orange-deeper) 50%, var(--orange-dark) 100%);
  padding: 48px 0 56px;
}

.tta-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s;
  margin-bottom: 36px;
}

.tta-back-btn:hover {
  background: rgba(255, 255, 255, .22);
  border-color: var(--white);
}

.tta-back-btn--lg {
  background: var(--orange);
  border: 2px solid var(--orange);
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 14px;
}

.tta-back-btn--lg:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.tta-award-detail__meta {
  max-width: 680px;
}

.tta-award-detail__year {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .12);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.tta-award-detail__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.tta-award-detail__desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .75);
  max-width: 560px;
}

.tta-award-detail__body {
  padding: 56px 0 80px;
}

.tta-award-detail__gallery-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.tta-award-detail__gallery-label span:first-child {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.tta-award-detail__gallery-hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  background: var(--surface);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.tta-award-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tta-award-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.tta-award-gallery__item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.tta-award-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .4s var(--ease);
}

.tta-award-gallery__item:hover img {
  transform: scale(1.05);
}

.tta-award-gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(188, 20, 33, .8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .3s;
  color: var(--white);
}

.tta-award-gallery__item:hover .tta-award-gallery__overlay {
  opacity: 1;
}

.tta-award-gallery__overlay span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tta-award-detail__footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

/* Lightbox */

.tta-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tta-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.tta-lightbox__close:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.tta-lightbox__img {
  max-width: min(860px, 90vw);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5);
  object-fit: contain;
}

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */

.tta-about {
  padding: 100px 0;
  background: var(--white);
}

.tta-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.tta-about__img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 180px;
  min-height: 530px;
}

.tta-about__img-main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

.tta-about__img-secondary {
  position: absolute;
  bottom: -24px;
  right: -20px;
  width: 44%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.tta-about__img-secondary img {
  width: 100%;
  display: block;
}

.tta-about__media {
  position: relative;
  padding-bottom: 28px;
}

.tta-about__badge {
  position: absolute;
  top: 28px;
  left: -16px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(188, 20, 33, .4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 4;
}

.tta-about__badge-num {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.tta-about__badge-text {
  font-size: 11px;
  font-weight: 600;
  opacity: .88;
  line-height: 1.4;
  margin-top: 4px;
}

.tta-feature-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tta-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}

.tta-feature-item:hover {
  border-color: rgba(188, 20, 33, .35);
  box-shadow: 4px 0 0 0 var(--orange), var(--shadow-sm);
  transform: translateX(4px);
}

.tta-feature-item__icon {
  width: 44px;
  height: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.tta-feature-item__title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.tta-feature-item__sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.tta-checklist {
  margin: 20px 0 32px;
}

.tta-checklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.tta-checklist__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   WHO CAN ENROLL
══════════════════════════════════════════════════════════ */

.tta-enroll {
  padding: 80px 0;
  background: white;
}

.tta-enroll-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}

.tta-enroll-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.tta-enroll-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
  flex-shrink: 0;
}

.tta-enroll-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.tta-enroll-card:hover .tta-enroll-card__img {
  transform: scale(1.05);
}

.tta-enroll-card__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}

.tta-enroll-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tta-enroll-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.tta-enroll-card__text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.tta-enroll-card--scroll {
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* ══════════════════════════════════════════════════════════
   COURSES
══════════════════════════════════════════════════════════ */

.tta-courses {
  padding: 80px 0;
  background: var(--surface);
}

.tta-courses__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.tta-course-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}

.tta-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tta-course-card__img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

.tta-course-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.tta-course-card:hover .tta-course-card__img {
  transform: scale(1.05);
}

.tta-course-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.tta-course-card__body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tta-course-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}

.tta-course-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
  flex: 1;
}

.tta-course-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: gap .2s, color .2s;
  align-self: flex-start;
}

.tta-course-card__link:hover {
  gap: 12px;
  color: var(--orange-dark);
}

/* ══════════════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════════════ */

.tta-choose {
  padding: 20px 0;
  background: var(--white);
}

.tta-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.tta-choose-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}

.tta-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(188, 20, 33, .3);
}

.tta-choose-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.tta-choose-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.tta-choose-card__img-wrap:hover .tta-choose-card__img {
  transform: scale(1.06);
}

.tta-choose-card__body {
  padding: 24px;
  border-top: 3px solid var(--orange);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tta-choose-card__icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.tta-choose-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.tta-choose-card__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

/* ══════════════════════════════════════════════════════════
   VISION
══════════════════════════════════════════════════════════ */

.tta-vision {
  padding: 100px 0;
  background: var(--surface);
}

.tta-vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.tta-vision__boxes {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tta-vision-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  border-left: 4px solid transparent;
  transition: border-left-color .25s, box-shadow .25s, transform .25s;
}

.tta-vision-box:hover {
  border-left-color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.tta-vision-box__icon {
  width: 44px;
  height: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.tta-vision-box__title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.tta-vision-box__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.tta-vision__media {
  position: relative;
}

.tta-vision__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 460px;
}

.tta-vision__stat-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 12px 36px rgba(188, 20, 33, .35);
  text-align: center;
}

.tta-vision__stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.tta-vision__stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: .85;
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   LIVE FEATURES
══════════════════════════════════════════════════════════ */

.tta-live-features {
  padding: 80px 0;
  background: linear-gradient(135deg,
      #981522 0%,
      #9e1825 100%);
  position: relative;
  overflow: hidden;
}

.tta-live-features::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(245, 188, 194, 0.22) 0%, ),
    radial-gradient(ellipse at 90% 50%, rgba(243, 174, 191, 0.15) 0%, );
  pointer-events: none;
}

.tta-live-features .tta-container {
  position: relative;
  z-index: 1;
}

.tta-lf__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tta-lf-card {
  background: #FDFCE8;
  border: 1.5px solid #efe8bf;
  border-radius: 16px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
}

.tta-lf-card:hover {
  background: rgb(255, 233, 233);
  border-color: rgba(255, 255, 255, .35);
  transform: translateY(-5px);
}

.tta-lf-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(122, 2, 2, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.tta-lf-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.25;
}

.tta-lf-card__desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.65);
  flex: 1;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */

.tta-testimonials {
  padding: 80px 0;
  background: var(--white);
}

.tta-video-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  text-align: left;
  padding: 0;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.tta-video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.tta-video-card__thumb-wrap {
  position: relative;
  overflow: hidden;
  height: 140px;
  background: var(--surface-2);
}

.tta-video-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease), opacity .3s;
}

.tta-video-card:hover .tta-video-card__thumb {
  transform: scale(1.06);
  opacity: .75;
}

.tta-video-card__play-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(252, 171, 178, 0.2);
  transition: background .25s, transform .25s, box-shadow .25s;
}

.tta-video-card:hover .tta-video-card__play-ring {
  background: var(--orange-dark);
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 0 12px rgba(209, 125, 132, 0.15);
}

.tta-video-card__duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, .65);
  color: rgba(255, 255, 255, .9);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.tta-video-card__info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 2px solid var(--orange);
}

.tta-video-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.tta-video-card__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tta-video-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .25s ease;
}

.tta-video-modal__box {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .4);
}

.tta-video-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: var(--white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.tta-video-modal__close:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.tta-video-modal__frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.tta-video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ══════════════════════════════════════════════════════════
   AWARDS SECTION WRAPPER
══════════════════════════════════════════════════════════ */

.tta-awards {
  padding: 80px 0;
  background: var(--white);
}

/* ── Certifications: 2-up centred grid — no scroller, no empty space ── */

.tta-cert-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Cert card uses the same fixed dimensions as the award scroll card */

.tta-award-card--cert {
  width: var(--award-card-w);
  min-width: var(--award-card-w);
  max-width: var(--award-card-w);
  height: var(--award-card-h);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .tta-lf__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tta-award-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .tta-hero {
    min-height: unset;
    max-height: unset;
  }

  .tta-hero__inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .tta-hero__panel {
    order: -1;
    clip-path: none;
    height: 380px;
    position: relative;
  }

  .tta-hero__panel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: unset;
    object-fit: cover;
    object-position: top center;
  }

  .tta-hero__content {
    padding: 48px 24px 44px 24px;
  }

  .tta-hero__slashes {
    display: none;
  }

  .tta-stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tta-stats-bar__item:nth-child(2) {
    border-right: none;
  }

  .tta-about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tta-about__badge {
    left: 12px;
  }

  .tta-about__img-secondary {
    display: none;
  }

  .tta-courses__grid {
    grid-template-columns: 1fr;
  }

  .tta-lf__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tta-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .tta-cta__action {
    justify-content: center;
  }

  .tta-choose__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tta-vision__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tta-vision__img {
    height: 320px;
  }

  .tta-award-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .tta-award-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  :root {
    --award-card-w: 220px;
    --award-img-h: 170px;
    --award-body-h: 120px;
  }

  .tta-hero__panel {
    height: 280px;
  }

  .tta-hero__title {
    font-size: clamp(36px, 10vw, 54px);
  }

  .tta-stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tta-lf__grid {
    grid-template-columns: 1fr;
  }

  .tta-cta__action {
    flex-direction: column;
    width: 100%;
  }

  .tta-cta__action .tta-btn,
  .tta-cta__action .tta-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .tta-choose__grid {
    grid-template-columns: 1fr;
  }

  .tta-vision__stat-card {
    left: 12px;
    bottom: -16px;
  }

  .tta-video-card {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
  }

  .tta-video-card__thumb-wrap {
    height: 120px;
  }

  .tta-tscroll__arrow {
    display: none;
  }

  .tta-enroll-card--scroll {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }
}

@media (max-width: 400px) {
  .tta-hero__panel {
    height: 220px;
  }

  .tta-hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tta-video-card {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
  }
}

.nisoz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 42px;
  background: #bc1421;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  overflow: hidden;
  position: relative;
  transition: .35s;
}

.nisoz-btn:hover {
  background: #ffffff;
  color: #bc1421;
  transform: translateY(-3px);
}

.nisoz-btn__shape {
  display: none;
}

.nisoz-btn__text {
  position: relative;
  z-index: 2;
}

.nisoz-btn,
.tta-hero-dots__dot,
.main-slider-three__content a,
.main-slider-three__content button {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width:576px) {
  .nisoz-btn {
    padding: 14px 28px;
    font-size: 14px;
  }
}

.main-slider-three .container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.main-slider-three .row {
  display: flex;
  flex-wrap: wrap;
  min-height: 760px;
  align-items: center;
  margin: 0 -15px;
}

/* ── Smooth hero crossfade ── */

/* ── Hero background panel (crossfade) — fully independent of legacy classes ── */

.tta-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.tta-hero-bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: none;
  /* Remove slide */
  transition: opacity .6s ease;
  /* Only fade */
}

.tta-hero-bg__img.is-active {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .tta-hero-bg {
    display: none;
    /* shapes hidden below 991px already in original CSS too */
  }
}

.tta-hero-text {
  position: relative;
  min-height: 190px;
}

.tta-hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.tta-hero-dots__dot {
  width: 30px;
  height: 4px;
  border-radius: 4px;
  border: none;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.tta-hero-dots__dot.is-active {
  background: var(--nisoz-base);
  width: 50px;
}

@media (max-width: 767px) {
  .tta-hero-dots {
    justify-content: flex-start;
  }
}

/* Override the permanently-active ancestor rule with higher specificity
   so the original entrance animation replays on every slide change */

.main-slider-three .tta-hero-textblock.is-active .main-slider-three__sub-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.main-slider-three .tta-hero-textblock.is-active .main-slider-three__title {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 150ms;
}

.main-slider-three .tta-hero-textblock.is-active .main-slider-three__title-anim::after {
  transform: translateX(1%);
  transition-delay: 350ms;
}

.hero-subtitle,
.hero-title .reveal {
  overflow: hidden;
  display: inline-block;
  position: relative;
}

/* Text */

.hero-subtitle span,
.hero-title .reveal>span {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
}

/* Cover Block */

.hero-subtitle::before,
.hero-title .reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #bc1421;
  transform: translateX(-101%);
  z-index: 2;
}

.accent {
  color: #bc1421;
}

/* ---------- Active Animation ---------- */

.tta-hero-textblock.is-active .hero-subtitle::before,
.tta-hero-textblock.is-active .hero-title .reveal::before {
  animation: blockReveal 1s cubic-bezier(.77, 0, .18, 1) forwards;
}

.tta-hero-textblock.is-active .hero-subtitle span,
.tta-hero-textblock.is-active .hero-title .reveal>span {
  animation: textReveal .7s ease forwards;
}

/* Delays */

.hero-title .reveal:nth-of-type(1)::before {
  animation-delay: .25s;
}

.hero-title .reveal:nth-of-type(1)>span {
  animation-delay: .45s;
}

.hero-title .reveal:nth-of-type(2)::before {
  animation-delay: .55s;
}

.hero-title .reveal:nth-of-type(2)>span {
  animation-delay: .75s;
}

.hero-subtitle::before {
  animation-delay: 0s;
}

.hero-subtitle span {
  animation-delay: .2s;
}

/* Keyframes */

@keyframes blockReveal {

  0% {
    transform: translateX(-101%);
  }

  50% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(101%);
  }
}

@keyframes textReveal {

  from {
    transform: translateY(120%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nisoz-btn__text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nisoz-btn__icon {
  font-size: 22px;
  transition: transform .3s ease;
}

.nisoz-btn:hover .nisoz-btn__icon {
  transform: translate(4px, -4px);
}

/* ===========================================
   PREMIUM HERO
=========================================== */

.herocontainer {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.tta-premium-hero {
  position: relative;
  overflow: visible;
  padding: 25px 0 180px;
}

.tta-premium-hero__blur {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(188, 20, 33, .08),
      transparent 70%);
  pointer-events: none;
}

.tta-premium-hero__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT */

.tta-premium-left {
  flex: 0 0 46%;
}

.tta-premium-subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #bc1421;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tta-premium-title {
  font-size: 74px;
  line-height: 0.98;
  /* Keep lines close */
  font-weight: 800;
  margin-bottom: 20px;
}

.tta-premium-title span {
  display: block;
  color: #bc1421;
}

.tta-premium-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #6d6d6d;
  max-width: 520px;
  margin-bottom: 40px;
}

/* BUTTON */

.tta-premium-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tta-premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: 60px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: .35s;
  text-decoration: none;
}

.tta-premium-btn:hover {
  background: #bc1421;
  color: #fff;
  transform: translateY(-4px);
}

.tta-premium-btn-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #bc1421;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .35s;
}

.tta-premium-btn:hover .tta-premium-btn-icon {
  background: #fff;
  color: #bc1421;
}

/* IMAGE */

.tta-premium-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tta-blob {
  width: 540px;
  height: 560px;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.tta-hero-person {
  width: 650px;
  height: auto;
  object-fit: contain;

  transform: scale(1.08);
  transition: transform .4s ease;
}

.tta-founder-card {
  position: absolute;
  left: 40%;
  bottom: 0px;
  transform: translateX(-50%);

  width: 350px;
  padding: 16px 20px;

  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);

  border-radius: 16px;

  text-align: center;

  box-shadow: 0 15px 35px rgba(0, 0, 0, .10);

  border: 1px solid rgba(188, 20, 33, .08);

  z-index: 20;
}

.tta-founder-card::before {
  content: "";
  display: block;

  width: 34px;
  height: 3px;

  margin: 0 auto 10px;

  background: #bc1421;
  border-radius: 50px;
}

.tta-founder-card h3 {
  margin: 0;

  font-family: 'Poppins', sans-serif;

  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;

  color: #111;
}

.tta-founder-card span {
  display: block;

  margin-top: 8px;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 4px;

  color: #bc1421;

  text-transform: uppercase;
}

.tta-blob-bg {

  position: absolute;

  inset: 0;

  background: linear-gradient(135deg,
      #bc1421,
      #f04c5a);

  border-radius: 55% 45% 40% 60% / 40% 60% 55% 45%;

  animation:
    blobMorph 8s ease-in-out infinite,
    blobFloat 6s ease-in-out infinite;

  box-shadow:
    0 30px 70px rgba(188, 20, 33, .25);
}

.tta-premium-image {
  position: relative;
}

.tta-premium-image::before {
  content: '';
  position: absolute;
  inset: 40px;
  background: #f7f7f7;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.tta-premium-image img {
  width: 100%;
  max-width: 700px;
  display: block;
  object-fit: contain;
}

/* FLOATING CARD */

.tta-premium-stats {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);

  width: 92%;
  max-width: 1180px;
  height: 155px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-radius: 22px;
  overflow: hidden;

  background: #fff;

  border: 1px solid rgba(188, 20, 33, .08);

  box-shadow:
    0 20px 60px rgba(188, 20, 33, .12);

  backdrop-filter: blur(16px);

  isolation: isolate;
}

.tta-premium-stats::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    var(--img1) left/25% 100% no-repeat,
    var(--img2) 33%/25% 100% no-repeat,
    var(--img3) 66%/25% 100% no-repeat,
    var(--img4) right/25% 100% no-repeat;

  opacity: .08;
}

.tta-premium-stats::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(253, 252, 248, .90),
      rgba(253, 252, 248, .90));

  z-index: -1;
}

.tta-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 20px 16px;

  position: relative;

  transition: .35s ease;
}

.tta-stat:not(:last-child)::after {
  content: "";

  position: absolute;
  right: 0;
  top: 50%;

  transform: translateY(-50%);

  width: 1px;
  height: 65px;

  background: rgba(188, 20, 33, .12);
}

.tta-stat:hover {
  background: rgba(188, 20, 33, .03);
}

.tta-stat h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.6vw, 54px);
  font-weight: 800;

  color: #bc1421;

  line-height: 1;

  margin-bottom: 8px;

  white-space: nowrap;
}

.tta-stat span {
  font-size: clamp(10.5px, 1vw, 13px);
  font-weight: 700;

  color: #555;

  letter-spacing: clamp(1px, .15vw, 2px);
  text-transform: uppercase;

  text-align: center;
}

/* =====================================
   Large desktop
===================================== */

@media (min-width: 1400px) {

  .tta-premium-stats {
    max-width: 1260px;
  }
}

/* =====================================
   Small desktop / laptop
===================================== */

@media (max-width: 1200px) {

  .tta-premium-stats {
    width: 94%;
  }
}

/* =====================================
   Tablet & Mobile — same card, 2 per row
===================================== */

@media (max-width: 992px) {

  .tta-premium-stats {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .tta-stat {
    padding: 24px 16px;
  }

  /* vertical divider only between the 2 columns, not after every item */
  .tta-stat::after {
    display: none;
  }

  .tta-stat:nth-child(odd)::after {
    display: block;
  }

  /* horizontal divider between rows */
  .tta-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(188, 20, 33, .12);
  }
}

/* =====================================
   Small phones — bring card into normal
   flow so it never overlaps the hero
===================================== */

@media (max-width: 576px) {

  .tta-premium-stats {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;

    width: calc(100% - 24px);
    margin: 24px auto 0;
  }
}

/* TEXT ANIMATION */

/* Left → Right Slide Animation */

.tta-hero-textblock {
  opacity: 0;
  transform: translateX(-70px);
  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms ease;
  will-change: transform, opacity;
}

.tta-hero-textblock.is-active {
  opacity: 1;
  transform: translateX(0);
}

.tta-text-mask {
  display: block;
  overflow: hidden;
  padding: 0 0 8px 0;
  transform: translateY(-2px);
}

.tta-text-slide {
  opacity: 0;
  transform: translateX(-40px);
}

.tta-text-mask::after {

  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: #bc1421;

  z-index: 2;
}

.tta-hero-textblock.is-active .tta-text-mask::after {
  animation: blockMask .9s ease forwards;
}

.tta-hero-textblock.is-active .tta-text-slide {
  animation: textReveal .9s ease forwards;
}

@keyframes blockMask {

  0% {
    left: -100%;
  }

  50% {
    left: 0%;
  }

  100% {
    left: 100%;
  }

}

@keyframes textReveal {

  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }

}

/* RESPONSIVE */

@media(max-width:1200px) {

  .tta-premium-title {

    font-size: 62px;

  }

}

@media(max-width:991px) {

  .tta-premium-hero {

    padding: 60px 0 170px;

  }

  .tta-premium-hero__wrapper {

    flex-direction: column;

    text-align: center;

  }

  .tta-premium-left {

    flex: unset;

  }

  .tta-premium-desc {

    margin: auto auto 40px;

  }

  .tta-premium-buttons {

    justify-content: center;

  }

  .tta-premium-image img {

    max-width: 500px;

  }

  .tta-premium-stats {

    position: relative;

    left: auto;

    bottom: auto;

    transform: none;

    margin: 50px auto 0;

    flex-wrap: wrap;

    gap: 30px;

  }

}

@media(max-width:768px) {

  .tta-premium-title {

    font-size: 46px;

  }

  .tta-premium-desc {

    font-size: 16px;

  }

  .tta-premium-btn {

    padding: 16px 26px;

    font-size: 15px;

  }

  .tta-premium-btn-icon {

    width: 36px;

    height: 36px;

  }



  .tta-stat {

    width: 45%;

  }

  .tta-stat h2 {

    font-size: 30px;

  }

}

@keyframes heroFloat {

  0% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-8px) rotate(.5deg);
  }

  50% {
    transform: translateY(-16px);
  }

  75% {
    transform: translateY(-8px) rotate(-.5deg);
  }

  100% {
    transform: translateY(0);
  }

}

@keyframes heroFloat {

  0% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-8px) rotate(.5deg);
  }

  50% {
    transform: translateY(-16px);
  }

  75% {
    transform: translateY(-8px) rotate(-.5deg);
  }

  100% {
    transform: translateY(0);
  }

}

@keyframes blobFloat {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }

}

/* ================================
   ESTABLISHED BADGE
================================ */

.tta-established {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  /* margin: 18px 0 0px;

  /* padding: 10px 0px;*/

  background: #fff;

  border: 1px solid rgba(188, 20, 33, .12);

  border-radius: 999px;

  box-shadow: 0 12px 30px rgba(188, 20, 33, .08);

  width: max-content;
}

.tta-established__icon {
  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #bc1421;

  color: #fff;

  font-size: 14px;

  font-weight: 700;
}

.tta-established__text {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  letter-spacing: .4px;
}

.tta-established__text strong {
  color: #bc1421;
  font-weight: 800;
  margin-left: 4px;
}

@media(max-width:768px) {

  .tta-established {
    margin: 14px auto 22px;
  }

  .tta-established__text {
    font-size: 13px;
  }
}

/* ---------- Hero Brand ---------- */

.tta-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 12px;
}

.tta-hero-brand__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #bc1421;
  line-height: 1.1;
}

.tta-hero-brand__established {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 15px;
  font-weight: 500;
  color: #666;
}

.tta-hero-brand__established::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #bc1421;
  border-radius: 10px;
}

.tta-hero-brand__established strong {
  color: #bc1421;
  font-weight: 700;
}

.tta-about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 18px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  position: relative;

  transition: .3s;
}

.tta-about-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0;
  height: 2px;
  background: #bc1421;

  transition: .3s;
}

.tta-about-link svg {
  transition: .3s;
}

.tta-about-link:hover {
  color: #bc1421;
}

.tta-about-link:hover::after {
  width: 100%;
}

.tta-about-link:hover svg {
  transform: translateX(5px);
}

/* ── Premium heading treatment ── */

.tta-choose-head {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.tta-choose-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.tta-choose-head__eyebrow::before,
.tta-choose-head__eyebrow::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--orange);
  opacity: .6;
}

.tta-choose-head__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.tta-choose-head__rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 0 auto 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), #FBBF7A);
}

.tta-choose-head .tta-para--centered {
  max-width: 560px;
  font-size: 15.5px;
}

/* ── Scroll-triggered reveal (unchanged targets, now correctly wired) ── */

.tta-choose-inner .tta-choose-head__eyebrow,
.tta-choose-inner .tta-choose-head__title,
.tta-choose-inner .tta-choose-head__rule,
.tta-choose-inner .tta-para,
.tta-choose-inner .tta-why-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.tta-choose-inner.is-in-view .tta-choose-head__eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .05s;
}

.tta-choose-inner.is-in-view .tta-choose-head__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .15s;
}

.tta-choose-inner.is-in-view .tta-choose-head__rule {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .22s;
}

.tta-choose-inner.is-in-view .tta-para {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .28s;
}

.tta-choose-inner.is-in-view .tta-why-card {
  opacity: 1;
  transform: translateY(0);
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(1) {
  transition-delay: .38s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(2) {
  transition-delay: .45s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(3) {
  transition-delay: .52s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(4) {
  transition-delay: .59s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(5) {
  transition-delay: .66s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(6) {
  transition-delay: .73s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(7) {
  transition-delay: .80s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(8) {
  transition-delay: .87s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(9) {
  transition-delay: .94s;
}

/* ══════════════════════════════════════════════════════════
   WHY CHOOSE TTA — premium hover-reveal grid
══════════════════════════════════════════════════════════ */

.tta-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.tta-why-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 38px 34px;
  overflow: hidden;
  min-height: 250px;
  cursor: pointer;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}

.tta-why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(188, 20, 33, 0), rgba(188, 20, 33, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background .4s var(--ease);
  pointer-events: none;
}

.tta-why-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}

.tta-why-card__default {
  position: relative;
  z-index: 2;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.tta-why-card:hover .tta-why-card__default {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.tta-why-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(188, 20, 33, .08);
}

.tta-why-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.25;
}

.tta-why-card__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.tta-why-card__hover {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.tta-why-card:hover .tta-why-card__hover {
  opacity: 1;
}

/* Dimmed, moody image — no longer a bright photo, reads as a backdrop */

.tta-why-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
  transform: scale(1.12);
  filter: saturate(.85) contrast(1.05);
  transition: transform .7s var(--ease), opacity .5s var(--ease);
}

.tta-why-card:hover .tta-why-card__img {
  transform: scale(1.02);
  opacity: .8;
}

/* Solid ink wash sits between image and gradient for a premium, editorial feel */

.tta-why-card__hover::before {
  content: '';
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  z-index: 1;
}

.tta-why-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(180deg, rgba(58, 0, 14, 0) 25%, rgba(20, 0, 5, .92) 100%);
}

.tta-why-card__hover-title {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: 16px;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .4s var(--ease) .08s, opacity .4s var(--ease) .08s;
}

.tta-why-card:hover .tta-why-card__hover-title {
  transform: translateY(0);
  opacity: 1;
}

.tta-why-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(188, 20, 33, .35);
  transform: translateY(10px);
  opacity: 0;
  transition: transform .4s var(--ease) .16s, opacity .4s var(--ease) .16s, box-shadow .25s, filter .25s;
}

.tta-why-card:hover .tta-why-card__btn {
  transform: translateY(0);
  opacity: 1;
}

.tta-why-card__btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 900px) {
  .tta-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tta-why-grid {
    grid-template-columns: 1fr;
  }

  .tta-why-card {
    min-height: 230px;
    padding: 30px 26px;
  }
}

.tta-choose-head__title {
  color: #000;
}

/* Reveal targets for the showcase list items */

.tta-choose-inner .tta-audience-list__item {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.tta-choose-inner.is-in-view .tta-audience-list__item {
  opacity: 1;
  transform: translateX(0);
}

.tta-choose-inner.is-in-view .tta-audience-list__item:nth-child(1) {
  transition-delay: .38s;
}

.tta-choose-inner.is-in-view .tta-audience-list__item:nth-child(2) {
  transition-delay: .46s;
}

.tta-choose-inner.is-in-view .tta-audience-list__item:nth-child(3) {
  transition-delay: .54s;
}

.tta-choose-inner.is-in-view .tta-audience-list__item:nth-child(4) {
  transition-delay: .62s;
}

.tta-choose-inner.is-in-view .tta-audience-list__item:nth-child(5) {
  transition-delay: .70s;
}

.tta-choose-inner .tta-audience-panel {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s;
}

.tta-choose-inner.is-in-view .tta-audience-panel {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   WHO CAN ENROLL — interactive audience showcase
══════════════════════════════════════════════════════════ */

.tta-audience-showcase {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 0 44px;
  align-items: stretch;
  margin-top: 48px;
}

/* ── List ── */

.tta-audience-list {
  display: flex;
  flex-direction: column;
}

.tta-audience-list__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 6px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: padding .3s var(--ease);
}

.tta-audience-list__item:first-child {
  border-top: 1px solid var(--border);
}

.tta-audience-list__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s, transform .3s var(--ease);
}

.tta-audience-list__title {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  transition: color .3s;
}

.tta-audience-list__arrow {
  color: var(--border);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
  flex-shrink: 0;
}

.tta-audience-list__item.is-active {
  padding-left: 14px;
}

.tta-audience-list__item.is-active .tta-audience-list__icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.08);
}

.tta-audience-list__item.is-active .tta-audience-list__title {
  color: var(--ink);
}

.tta-audience-list__item.is-active .tta-audience-list__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--orange);
}

.tta-audience-list__item:hover .tta-audience-list__title {
  color: var(--ink);
}

/* Autoplay progress bar */

.tta-audience-list__progress {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 0;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.tta-audience-list__progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 2px;
  animation-name: audienceProgressFill;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-duration: inherit;
}

.tta-audience-showcase.is-paused .tta-audience-list__progress::after {
  animation-play-state: paused;
}

@keyframes audienceProgressFill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* ── Panel ── */

.tta-audience-panel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  min-height: 380px;
}

.tta-audience-panel__inner {
  animation: audiencePanelIn .5s var(--ease) both;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@keyframes audiencePanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tta-audience-panel__img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  flex-shrink: 0;
}

.tta-audience-panel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: audienceImgIn .6s var(--ease) both;
}

@keyframes audienceImgIn {
  from {
    opacity: 0;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tta-audience-panel__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(58, 0, 14, .6) 100%);
}

.tta-audience-panel__count {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  color: var(--orange);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
}

.tta-audience-panel__body {
  padding: 28px 32px 34px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tta-audience-panel__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -52px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.tta-audience-panel__title {
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.tta-audience-panel__text {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ── Responsive: collapse to stacked accordion-ish list ── */

@media (max-width: 900px) {
  .tta-audience-showcase {
    grid-template-columns: 1fr;
  }

  .tta-audience-panel {
    min-height: unset;
  }
}

@media (max-width: 500px) {
  .tta-audience-list__title {
    font-size: 16px;
  }

  .tta-audience-panel__img-wrap {
    height: 190px;
  }

  .tta-audience-panel__title {
    font-size: 21px;
  }
}

.tta-choose-inner .tta-why-card {
  opacity: 0;
  transform: translateY(50px);
}

.tta-choose-inner.is-in-view .tta-why-card {
  animation: whyCardRowReveal 0.7s ease forwards;
}

@keyframes whyCardRowReveal {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   WelcomeGiftPopup.css
   Premium luxury fintech "Welcome Offer" gift reveal.
   Palette: deep maroon (#6E0F1F / #4A0A15) + gold (#D9A24B / #F3D08B)
            + luxury cream (#FBF6EC / #F4E9D5)

   Layout concept:
   - No card/box wrapper behind the floating gift. It sits directly on
     the blurred backdrop, glowing magically, with orbiting sparkles.
   - The offer card (after opening) is the ONLY container element.
   - Confetti/paper/sparkle bursts loop continuously while open.
   ============================================================ */

:root {
  --wgp-maroon-deep: #4a0a15;
  --wgp-maroon: #6e0f1f;
  --wgp-maroon-bright: #8c1326;
  --wgp-gold: #d9a24b;
  --wgp-gold-light: #f3d08b;
  --wgp-gold-pale: #fff1cf;
  --wgp-cream: #fbf6ec;
  --wgp-cream-deep: #f4e9d5;
  --wgp-ink: #3a0e14;
}

/* ---------------- Overlay ---------------- */

.wgp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 24px;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.wgp-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.wgp-overlay--closing {
  opacity: 0;
  pointer-events: none;
}

/* ---------------- Close button (floats top-right of viewport) ---------------- */

.wgp-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243, 208, 139, 0.45);
  background: rgba(74, 10, 21, 0.55);
  color: var(--wgp-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  z-index: 50;
  backdrop-filter: blur(4px);
}

.wgp-close:hover {
  background: var(--wgp-gold);
  color: var(--wgp-maroon-deep);
  transform: rotate(90deg);
}

/* ---------------- Stage (shared coordinate space for gift + card) ---------------- */

.wgp-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ================================================================
   GIFT BOX — floats free on the backdrop, no container behind it
   ================================================================ */

.wgp-gift {
  position: absolute;
  width: 240px;
  height: 240px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 20;
   transform: translate(-50%, -50%);
    left: 50%;
  top: 50%;
}

.wgp-gift--idle {
  animation: wgp-float 3.6s ease-in-out infinite;
}

.wgp-gift:hover .wgp-box {
  transform: scale(1.05);
}

/* Soft radial glow pooling beneath/around the gift */
.wgp-gift-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(217, 162, 75, 0.45), rgba(217, 162, 75, 0.12) 45%, rgba(217, 162, 75, 0) 72%);
  filter: blur(6px);
  animation: wgp-glow-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Rotating soft rays behind the box for a "magical" feel */
.wgp-gift-rays {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(243, 208, 139, 0.16) 0deg 6deg,
    rgba(243, 208, 139, 0) 6deg 24deg
  );
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: wgp-rays-spin 14s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Small twinkling sparkles orbiting the closed gift box */
.wgp-orbit-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wgp-gold-pale);
  box-shadow: 0 0 8px 3px rgba(243, 208, 139, 0.85);
  z-index: 1;
}

.wgp-orbit-sparkle--1 {
  left: 8%;
  top: 18%;
  animation: wgp-orbit-twinkle 2.6s ease-in-out infinite;
}
.wgp-orbit-sparkle--2 {
  right: 6%;
  top: 30%;
  animation: wgp-orbit-twinkle 3.1s ease-in-out infinite 0.4s;
}
.wgp-orbit-sparkle--3 {
  left: 14%;
  bottom: 14%;
  animation: wgp-orbit-twinkle 2.8s ease-in-out infinite 0.8s;
}
.wgp-orbit-sparkle--4 {
  right: 12%;
  bottom: 20%;
  animation: wgp-orbit-twinkle 3.4s ease-in-out infinite 1.2s;
}

.wgp-box {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  z-index: 2;
}

.wgp-box-shadow-blob {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 150px;
  height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 75%);
  border-radius: 50%;
  z-index: 0;
}

/* --- Box body --- */

.wgp-box-body {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 168px;
  height: 120px;
  transform: translateX(-50%);
  background: linear-gradient(155deg, var(--wgp-maroon-bright) 0%, var(--wgp-maroon) 55%, var(--wgp-maroon-deep) 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 36px -10px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.wgp-box-shine {
  position: absolute;
  top: 0;
  left: -20%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 60%);
  transform: skewX(-12deg);
}

/* --- Box lid --- */

.wgp-box-lid {
  position: absolute;
  left: 50%;
  bottom: 136px;
  width: 188px;
  height: 46px;
  transform: translateX(-50%);
  background: linear-gradient(155deg, var(--wgp-maroon-bright) 0%, var(--wgp-maroon) 60%, var(--wgp-maroon-deep) 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 18px -6px rgba(0, 0, 0, 0.55);
  z-index: 3;
  transform-origin: 50% 100%;
}

/* --- Ribbon --- */

.wgp-ribbon-vert {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 26px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--wgp-gold-light), var(--wgp-gold) 50%, var(--wgp-gold-light));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* --- Bow --- */

.wgp-bow {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 110px;
  height: 56px;
  transform: translateX(-50%);
  z-index: 4;
}

.wgp-bow-loop {
  position: absolute;
  top: 4px;
  width: 50px;
  height: 44px;
  border-radius: 50% 50% 50% 50%;
  background: linear-gradient(135deg, var(--wgp-gold-light), var(--wgp-gold) 60%, #b9812f);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 6px 10px rgba(0, 0, 0, 0.35);
}

.wgp-bow-loop--left {
  left: 2px;
  transform: rotate(-18deg);
}

.wgp-bow-loop--right {
  right: 2px;
  transform: rotate(18deg);
}

.wgp-bow-knot {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 30%, var(--wgp-gold-pale), var(--wgp-gold) 65%, #b9812f);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.wgp-bow-tail {
  position: absolute;
  top: 30px;
  width: 16px;
  height: 34px;
  background: linear-gradient(180deg, var(--wgp-gold-light), var(--wgp-gold));
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 80%);
}

.wgp-bow-tail--left {
  left: 38px;
  transform: rotate(8deg);
}

.wgp-bow-tail--right {
  right: 38px;
  transform: rotate(-8deg) scaleX(-1);
}

/* --- Click-to-open tag --- */

.wgp-cta-tag {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.5);
  color: var(--wgp-cream);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(243, 208, 139, 0.5);
  animation: wgp-tag-pulse 2.2s ease-in-out infinite;
}

.wgp-cta-icon {
  font-size: 13px;
}

/* ================================================================
   PARTICLE BURST (confetti, paper strips, fireworks, sparkles, tickets)
   Continuous: new "waves" are spawned by JS on an interval, so this
   layer keeps emitting until the popup is closed/claimed.
   ================================================================ */

.wgp-burst {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.wgp-confetti {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--wgp-gold);
  border-radius: 2px;
  opacity: 0;
  animation: wgp-confetti-burst ease-out forwards;
}

.wgp-confetti:nth-child(3n) { background: var(--wgp-gold-light); border-radius: 50%; }
.wgp-confetti:nth-child(3n + 1) { background: var(--wgp-maroon-bright); }
.wgp-confetti:nth-child(5n) { width: 6px; height: 10px; }

.wgp-paper-strip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, var(--wgp-cream), var(--wgp-gold-light));
  border-radius: 2px;
  opacity: 0;
  animation: wgp-paper-fly ease-out forwards;
}

.wgp-sparkle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--wgp-gold-pale);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(243, 208, 139, 0.8);
  opacity: 0;
  animation: wgp-sparkle-pop 1.1s ease-out forwards;
}

.wgp-firework {
  position: absolute;
  width: 4px;
  height: 4px;
  opacity: 0;
  animation: wgp-firework-flash 0.9s ease-out forwards;
}

.wgp-firework-core {
  position: absolute;
  width: 6px;
  height: 6px;
  left: -1px;
  top: -1px;
  background: var(--wgp-gold-pale);
  border-radius: 50%;
}

.wgp-firework-ray {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 2px;
  height: 18px;
  background: linear-gradient(180deg, var(--wgp-gold-light), rgba(243, 208, 139, 0));
  transform-origin: top center;
  border-radius: 2px;
}

.wgp-ticket {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  background: var(--wgp-cream);
  color: var(--wgp-maroon);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 9px;
  border-radius: 4px;
  border: 1px dashed var(--wgp-gold);
  opacity: 0;
  white-space: nowrap;
  animation: wgp-ticket-shoot 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.wgp-ticket--1 { animation-delay: 0.05s; --ticket-x: -90px; --ticket-rot: -16deg; }
.wgp-ticket--2 { animation-delay: 0.16s; --ticket-x: 0px; --ticket-rot: 6deg; }
.wgp-ticket--3 { animation-delay: 0.1s; --ticket-x: 96px; --ticket-rot: 14deg; }

/* ================================================================
   OFFER CARD — the ONLY container in the whole UI. Glows on arrival.
   ================================================================ */

.wgp-card {
  position: fixed;
      left:50%;
    top:50%;

  width: 460px;
  max-width:calc(100vw - 40px);
  padding: 34px 26px 28px;
  border-radius: 24px;
  background: linear-gradient(165deg, #fffdf9, var(--wgp-cream) 60%, var(--wgp-cream-deep));
  border: 1.5px solid var(--wgp-gold);
  box-shadow:
    0 25px 60px -14px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
 
    transform:translate(-50%,-50%);
  pointer-events: none;
  box-sizing: border-box;
  text-align: center;
  z-index: 10000;
}

.wgp-card--shown {
animation: cardReveal .7s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes cardReveal{

    0%{
        opacity:0;
        transform:translate(-50%,80px) scale(.8);
    }

    70%{
        opacity:1;
        transform:translate(-50%,-55%) scale(1.03);
    }

    100%{
        opacity:1;
        transform:translate(-50%,-50%) scale(1);
    }

}

/* Halo glow that breathes around the card once it's revealed */
.wgp-card-glow {
  position: absolute;
  inset: -40px;
  border-radius: 36px;
  background: radial-gradient(ellipse at center, rgba(217, 162, 75, 0.5), rgba(217, 162, 75, 0) 70%);
  filter: blur(10px);
  z-index: -1;
  opacity: 0;
}

.wgp-card--shown .wgp-card-glow {
  animation: wgp-card-glow-pulse 2.4s ease-in-out infinite;
  animation-delay: 0.4s;
}

.wgp-card-icon {
  font-size: 30px;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(110, 15, 31, 0.25));
}

.wgp-card-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  color: var(--wgp-maroon);
  letter-spacing: 0.2px;
}

.wgp-card-subtitle {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: #6b4a52;
  line-height: 1.5;
}

/* --- Coupons row --- */

.wgp-coupons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.wgp-coupon {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 8px 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
}

.wgp-card--shown .wgp-coupon {
  animation: wgp-coupon-bounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
 
}



.wgp-coupon--side {
  background: var(--wgp-cream-deep);
  border: 1px solid rgba(217, 162, 75, 0.45);
  color: var(--wgp-maroon);
  animation-delay: 0.55s;
}

.wgp-coupon--center {
  background: linear-gradient(165deg, var(--wgp-maroon-bright), var(--wgp-maroon) 60%, var(--wgp-maroon-deep));
  color: var(--wgp-cream);
  padding: 18px 10px 16px;
  border-radius: 16px;
  box-shadow: 0 14px 26px -8px rgba(0, 0, 0, 0.55);
  transform-origin: bottom center;
  z-index: 1;
  animation-delay: 0.4s;
}

.wgp-coupon--side:nth-of-type(3) {
  animation-delay: 0.68s;
}

.wgp-coupon-star {
  font-size: 13px;
  margin-bottom: 4px;
}

.wgp-coupon-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: 0.85;
}

.wgp-coupon-value {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
}

.wgp-coupon-value--big {
  font-size: 30px;
}

.wgp-coupon-value--small {
  font-size: 17px;
}

.wgp-coupon-label {
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.wgp-coupon-sub {
  font-size: 10.5px;
  opacity: 0.75;
  margin-top: 4px;
}

/* --- Claim button --- */

.wgp-claim-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 50px;
  padding: 14px 30px;
  background: var(--wgp-cream);
  color: var(--wgp-maroon);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4), inset 0 0 0 1.5px var(--wgp-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.wgp-claim-btn:hover {
  transform: scale(1.045);
  background: var(--wgp-gold-pale);
  box-shadow: 0 14px 30px -6px rgba(217, 162, 75, 0.65), inset 0 0 0 1.5px var(--wgp-gold);
}

.wgp-claim-btn:active {
  transform: scale(0.98);
}

.wgp-claim-btn svg {
  transition: transform 0.25s ease;
}

.wgp-claim-btn:hover svg {
  transform: translateX(3px);
}

.wgp-card-footnote {
  margin: 16px 0 0;
  font-size: 12px;
  color: #9a7c83;
}

/* ================================================================
   KEYFRAMES
   ================================================================ */

@keyframes wgp-float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0) rotate(-1deg);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-12px) rotate(1deg);
  }
}

@keyframes wgp-glow-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes wgp-rays-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes wgp-orbit-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes wgp-tag-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
}

@keyframes wgp-confetti-burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rot)) scale(var(--scale));
  }
}

@keyframes wgp-paper-fly {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rot));
  }
}

@keyframes wgp-sparkle-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.3);
  }
}

@keyframes wgp-firework-flash {
  0% { opacity: 0; transform: scale(0.2); }
  25% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

@keyframes wgp-ticket-shoot {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.7);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--ticket-x)), calc(-50% - 170px)) rotate(var(--ticket-rot)) scale(1);
  }
}




@keyframes wgp-card-glow-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

@keyframes wgp-coupon-bounce {
  0% { opacity: 0; transform: translateY(20px) scale(0.85); }
  60% { opacity: 1; transform: translateY(-4px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 560px) {
  .wgp-gift {
    width: 190px;
    height: 190px;
  }

  .wgp-gift-glow,
  .wgp-gift-rays {
    width: 260px;
    height: 260px;
    position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  }

  .wgp-box-body { width: 142px; height: 102px; bottom: 18px; }
  .wgp-box-lid { width: 160px; height: 40px; bottom: 122px; }

.wgp-card {
    position: fixed;

    top: 50%;
    left: 50%;

    width: 460px;
    max-width: calc(100vw - 40px);

    transform: translate(-50%, -50%);

    z-index: 99999;

    opacity: 0;
}

  .wgp-coupons {
    gap: 6px;
  }

  .wgp-coupon-value--big { font-size: 24px; }
  .wgp-card-title { font-size: 22px; }

  .wgp-close {
    top: 16px;
    right: 16px;
  }
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .wgp-gift--idle,
  .wgp-gift-glow,
  .wgp-gift-rays,
  .wgp-orbit-sparkle,
  .wgp-cta-tag,
  .wgp-card-glow {
    animation: none !important;
  }

  .wgp-overlay,
  .wgp-card,
  .wgp-coupon {
    transition: opacity 0.3s ease !important;
    animation-duration: 0.3s !important;
     position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(80px) scale(0.9);
  z-index: 30;
  }
}

@keyframes cardReveal{

    0%{
        opacity:0;
        transform:translate(-50%,80px) scale(.8);
    }

    70%{
        opacity:1;
        transform:translate(-50%,-55%) scale(1.03);
    }

    100%{
        opacity:1;
        transform:translate(-50%,-50%) scale(1);
    }

}
/*=========================================================
                    TESTIMONIALS
=========================================================*/

.tta-testimonials {

    padding: 30px 20px;

    background: #fff;

    overflow: hidden;

}

.tta-testimonials__eyebrow {
    display: inline-block;
    color: #bc1421;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.tta-testimonials__eyebrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #bc1421;
    border-radius: 10px;
}

.tta-testimonials__title span {
    color: #bc1421;
}

.tta-testimonials__subtitle {
    max-width: 720px;
    margin: 24px auto 0;
    font-size: 18px;
    line-height: 1.9;
    color: #666;
}

.tta-testimonials__header {

    text-align: center;

    max-width: 760px;

    margin: 0 auto 60px;

}

.tta-testimonials__tag {

    display: inline-block;

    color: #bc1421;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 16px;


}

/*=========================================================
                    SLIDER
=========================================================*/

.tta-testimonials__slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 580px; /* Accommodate center card + hover lift */
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    overflow: hidden;
}

/*=========================================================
                    CARD
=========================================================*/

.tta-testimonial-card {
    position: absolute;
    width: 310px;
    height: 440px; /* side cards height */
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transform: translateX(0) scale(0.85);
}

.tta-testimonial-card__image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #eee;
    transition: .45s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .10);
}

.tta-testimonial-card.active {
    height: 520px; /* center card height */
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.tta-testimonial-card.active .tta-testimonial-card__image {
    box-shadow: 0 25px 65px rgba(0, 0, 0, .18);
}

.tta-testimonial-card.prev {
    transform: translateX(-110%);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.tta-testimonial-card.next {
    transform: translateX(110%);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.tta-testimonial-card.hidden-right {
    transform: translateX(220%) scale(0.85);
    opacity: 0;
    z-index: 1;
}

.tta-testimonial-card.hidden-left {
    transform: translateX(-220%) scale(0.85);
    opacity: 0;
    z-index: 1;
}

.tta-testimonial-card:hover .tta-testimonial-card__image {
    transform: translateY(-8px);
}


.tta-testimonial-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .6s;

}

.tta-testimonial-card:hover img {

    transform: scale(1.08);

}

/*=========================================================
                    OVERLAY
=========================================================*/

.tta-testimonial-card__overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(to top,

            rgba(0, 0, 0, .75) 0%,

            rgba(0, 0, 0, .20) 45%,

            rgba(0, 0, 0, .05) 100%);

}

/*=========================================================
                    PLAY BUTTON
=========================================================*/

.tta-play-btn {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 72px;

    height: 72px;

    border-radius: 50%;

    border: none;

    background: rgba(255, 255, 255, .95);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #bc1421;

    font-size: 28px;

    cursor: pointer;

    transition: .35s ease;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .25);

}

.tta-testimonial-card:hover .tta-play-btn {

    transform: translate(-50%, -50%) scale(1.12);

    background: #bc1421;

    color: #fff;

}

/*=========================================================
                    CONTENT
=========================================================*/

.tta-testimonial-card__content {

    position: absolute;

    left: 28px;

    right: 28px;

    bottom: 28px;

    color: #fff;

}

.tta-testimonial-card__quote {

    margin: 0 0 24px;

    font-size: 20px;

    line-height: 1.6;

    font-weight: 500;

}

.tta-testimonial-card__content h4 {

    margin: 0;

    font-size: 24px;

    font-weight: 700;

}

.tta-testimonial-card__content span {

    display: block;

    margin-top: 6px;

    font-size: 15px;

    color: rgba(255, 255, 255, .85);

}

/*=========================================================
                    ARROWS
=========================================================*/

.tta-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 26px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    transition: .3s;
    z-index: 10;
}

.tta-arrow:hover {
    background: #bc1421;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.tta-arrow--left {
    left: 10px;
}

.tta-arrow--right {
    right: 10px;
}

/*=========================================================
                RESPONSIVE
=========================================================*/

@media (max-width:992px) {
    .tta-testimonial-card {
        width: 270px;
        height: 380px;
    }
    .tta-testimonial-card.active {
        height: 460px;
    }
    .tta-testimonials__slider {
        height: 500px;
    }
}

@media (max-width:768px) {
    .tta-testimonials {
        padding: 80px 16px;
    }
    .tta-arrow {
        display: none;
    }
    .tta-testimonial-card {
        width: 250px;
        height: 350px;
    }
    .tta-testimonial-card.active {
        height: 420px;
    }
    .tta-testimonials__slider {
        height: 460px;
    }
    .tta-play-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .tta-testimonial-card__quote {
        font-size: 17px;
    }
    .tta-testimonial-card__content h4 {
        font-size: 20px;
    }
}

@media (max-width:480px) {
    .tta-testimonial-card {
        width: 80vw;
    }
    /* On mobile, only show the active card */
    .tta-testimonial-card.prev,
    .tta-testimonial-card.next {
        opacity: 0;
    }
}
/* =====================================================
   WHY CHOOSE US - PREMIUM CARDS
===================================================== */

.tta-choose {
    position: relative;
    overflow: hidden;
}

.tta-choose-head__title {
    color: #000;
}

.tta-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

/* =====================================================
   CARD
===================================================== */

.tta-why-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;

    padding: 38px 34px;

    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);

    cursor: pointer;

    transition:
        transform .45s ease,
        box-shadow .45s ease,
        border-color .45s ease;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .04);
}

/* Premium border */

.tta-why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;

    /*background: linear-gradient(135deg,
            rgba(188, 20, 33, .18),
            rgba(255, 180, 0, .12));*/

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.tta-why-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #bc1421;
    border-radius: 0 0 4px 4px;
    z-index: 10;
}

/* Decorative Pattern */

.tta-card-pattern {

    position: absolute;

    top: 0;
    right: 0;

    width: 170px;
    height: 170px;

    opacity: .18;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;

    transition:
        transform .8s ease,
        opacity .4s ease;

    pointer-events: none;

    z-index: 1;
}

.tta-why-card:hover .tta-card-pattern {

    transform:
        scale(1.08) rotate(4deg);

    opacity: .35;
}

/* Hover */

.tta-why-card:hover {

    transform: translateY(-8px);

    border-color: transparent;

    box-shadow:
        0 22px 60px rgba(0, 0, 0, .12);
}

.tta-para {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 640px;
}

.tta-para--centered {
    margin: 0 auto;
}

.tta-para strong {
    color: var(--ink);
    font-weight: 700;
}


/* =====================================================
   DEFAULT CONTENT
===================================================== */

.tta-why-card__default {

    position: relative;

    z-index: 3;

    transition:
        opacity .35s ease,
        transform .35s ease;
}

.tta-why-card:hover .tta-why-card__default {

    opacity: 0;

    transform: translateY(-12px);

    pointer-events: none;
}

/* =====================================================
   ICON
===================================================== */

.tta-why-card__icon {

    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    background: #fff;

    border: 2px solid rgba(188, 20, 33, .12);

    color: var(--orange);

    box-shadow:
        0 10px 25px rgba(188, 20, 33, .10);
}

/* =====================================================
   TITLE
===================================================== */

.tta-why-card__title {

    font-size: 22px;

    font-weight: 700;

    line-height: 1.35;

    margin-bottom: 12px;

    color: #111;

    font-family: 'Poppins', sans-serif;
}

/* =====================================================
   DESCRIPTION
===================================================== */

.tta-why-card__text {

    font-size: 15px;

    color: #666;

    line-height: 1.8;
}

/* =====================================================
   HOVER LAYER
===================================================== */

.tta-why-card__hover {

    position: absolute;

    inset: 0;

    opacity: 0;

    transition: opacity .45s ease;

    z-index: 2;
}

.tta-why-card:hover .tta-why-card__hover {

    opacity: 1;
}

/* =====================================================
   IMAGE
===================================================== */

.tta-why-card__img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.12);

    opacity: .35;

    transition:
        transform .8s ease,
        opacity .45s ease;
}

.tta-why-card:hover .tta-why-card__img {

    transform: scale(1);

    opacity: .85;
}

/* =====================================================
   DARK OVERLAY
===================================================== */

.tta-why-card__overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 30px;

    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0) 20%,
            rgba(10, 10, 10, .94) 100%);
}

/* =====================================================
   HOVER TITLE
===================================================== */

.tta-why-card__hover-title {

    color: #fff;

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 18px;

    transform: translateY(12px);

    opacity: 0;

    transition:
        transform .35s ease .1s,
        opacity .35s ease .1s;
}

.tta-why-card:hover .tta-why-card__hover-title {

    transform: translateY(0);

    opacity: 1;
}

/* =====================================================
   BUTTON
===================================================== */

.tta-why-card__btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    align-self: flex-start;

    padding: 12px 24px;

    border-radius: 50px;

    text-decoration: none;

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    background:
        linear-gradient(90deg,
            var(--orange),
            var(--orange-dark));

    box-shadow:
        0 12px 30px rgba(188, 20, 33, .35);

    transform: translateY(12px);

    opacity: 0;

    transition:
        opacity .35s ease .18s,
        transform .35s ease .18s;
}

.tta-why-card:hover .tta-why-card__btn {

    opacity: 1;

    transform: translateY(0);
}

.tta-why-card__btn:hover {

    filter: brightness(1.08);
}

/* =====================================================
   PATTERN 1
   Purple Flow
===================================================== */

.pattern-1 .tta-card-pattern {

    background:
        repeating-radial-gradient(circle at 100% 0,
            transparent 0 10px,
            #8b5cf6 11px 13px,
            transparent 14px 18px);

    opacity: .22;
}

/* =====================================================
   PATTERN 2
   Golden Dot Wave
===================================================== */
.pattern-2 .tta-card-pattern {

    background-image:
        radial-gradient(#f4b400 2px, transparent 2px);

    background-size: 14px 14px;

    clip-path: ellipse(65% 100% at 100% 0);

    opacity: .28;
}

/* =====================================================
   PATTERN 3
   Award Style Lines
===================================================== */

.pattern-3 .tta-card-pattern {

    background:
        repeating-linear-gradient(-45deg,
            transparent 0 8px,
            #ffb703 8px 12px);

    clip-path: polygon(100% 0,
            100% 100%,
            35% 100%);

    opacity: .24;
}

/* =====================================================
   PATTERN 4
   Concentric Rings
===================================================== */

.pattern-4 .tta-card-pattern {

    background:
        repeating-radial-gradient(circle at 100% 0,
            transparent 0 9px,
            #00b4d8 10px 12px,
            transparent 13px 18px);

    opacity: .22;
}


/* =====================================================
   PATTERN 5
   Hexagon / Honeycomb
===================================================== */

.pattern-5 .tta-card-pattern {

    background-image:
        radial-gradient(circle, #bc1421 2px, transparent 2px),
        radial-gradient(circle, #bc1421 2px, transparent 2px);

    background-position:
        0 0,
        10px 10px;

    background-size: 20px 20px;

    clip-path: polygon(100% 0,
            100% 100%,
            45% 100%,
            68% 0);

    opacity: .18;
}


/* =====================================================
   PATTERN 6
   Flowing Waves
===================================================== */

.pattern-6 .tta-card-pattern {

    background:
        repeating-radial-gradient(circle at 100% 0,
            transparent 0 7px,
            #00d4ff 8px 10px,
            transparent 11px 16px);

    transform: rotate(-10deg);

    opacity: .20;
}

.pattern-7 .tta-card-pattern {

    background:
        repeating-linear-gradient(45deg,
            transparent 0 14px,
            #c89b3c 15px 16px),
        repeating-linear-gradient(-45deg,
            transparent 0 14px,
            #c89b3c 15px 16px);

    clip-path: polygon(100% 0,
            100% 100%,
            30% 100%);

    opacity: .20;
}

.pattern-8 .tta-card-pattern {

    background:
        repeating-radial-gradient(circle at 100% 0,
            transparent 0 5px,
            #6d28d9 6px 8px,
            transparent 9px 14px);

    transform: rotate(12deg);

    opacity: .25;
}

.pattern-9 .tta-card-pattern {

    background:
        repeating-linear-gradient(90deg,
            transparent 0 12px,
            rgba(188, 20, 33, .8) 13px 15px);

    border-radius: 0 0 0 100%;

    opacity: .18;
}


/* =====================================================
   CARD HOVER ENHANCEMENTS
===================================================== */

.tta-why-card:hover .tta-why-card__icon {

    transform: scale(.95);

    transition: .35s ease;
}

.tta-why-card:hover {

    background: #fff;
}

.tta-why-card:hover::before {

    background:
        linear-gradient(135deg,
            rgba(188, 20, 33, .35),
            rgba(255, 190, 0, .25));
}


/* =====================================================
   IMAGE PARALLAX
===================================================== */

.tta-why-card__hover {

    overflow: hidden;
}

.tta-why-card__img {

    will-change: transform;
}


/* =====================================================
   BUTTON
===================================================== */

.tta-why-card__btn svg {

    transition: transform .3s ease;
}

.tta-why-card__btn:hover svg {

    transform: translateX(5px);
}


/* =====================================================
   REVEAL ANIMATION
===================================================== */

.tta-why-grid .tta-why-card {

    opacity: 0;

    transform:
        translateY(50px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.tta-choose-inner.is-in-view .tta-why-card {

    opacity: 1;

    transform:
        translateY(0);
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(1) {

    transition-delay: .15s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(2) {

    transition-delay: .28s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(3) {

    transition-delay: .41s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(4) {

    transition-delay: .54s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(5) {

    transition-delay: .67s;
}

.tta-choose-inner.is-in-view .tta-why-card:nth-child(6) {

    transition-delay: .80s;
}


.tta-why-card:nth-child(1) .tta-card-pattern {
    animation-duration: 8s;
}

.tta-why-card:nth-child(2) .tta-card-pattern {
    animation-duration: 9s;
    animation-delay: -1s;
}

.tta-why-card:nth-child(3) .tta-card-pattern {
    animation-duration: 7s;
    animation-delay: -2s;
}

.tta-why-card:nth-child(4) .tta-card-pattern {
    animation-duration: 10s;
}

.tta-why-card:nth-child(5) .tta-card-pattern {
    animation-duration: 8.5s;
    animation-delay: -3s;
}

.tta-why-card:nth-child(6) .tta-card-pattern {
    animation-duration: 7.5s;
}

.tta-why-card:nth-child(7) .tta-card-pattern {
    animation-duration: 9.5s;
}

.tta-why-card:nth-child(8) .tta-card-pattern {
    animation-duration: 8.2s;
    animation-delay: -2s;
}

.tta-why-card:nth-child(9) .tta-card-pattern {
    animation-duration: 10.5s;
    animation-delay: -4s;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:1100px) {

    .tta-why-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 24px;
    }

    .tta-why-card {

        min-height: 260px;
    }

    .tta-card-pattern {

        width: 140px;
        height: 140px;
    }

}


@media (max-width:768px) {

    .tta-why-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .tta-why-card {

        padding: 30px 24px;

        min-height: 240px;
    }

    .tta-card-pattern {

        width: 120px;
        height: 120px;
    }

    .tta-why-card__title {

        font-size: 20px;
    }

    .tta-why-card__hover-title {

        font-size: 20px;
    }

}


@media (max-width:480px) {

    .tta-why-card {

        padding: 26px 20px;

        border-radius: 18px;
    }

    .tta-why-card__icon {

        width: 54px;
        height: 54px;
    }

    .tta-why-card__title {

        font-size: 18px;
    }

    .tta-why-card__text {

        font-size: 14px;

        line-height: 1.7;
    }

    .tta-why-card__btn {

        padding: 10px 20px;

        font-size: 11px;
    }

}


/* =====================================================
   SMOOTH ANIMATIONS
===================================================== */

.tta-why-card,
.tta-why-card *,
.tta-card-pattern {

    backface-visibility: hidden;

    -webkit-font-smoothing: antialiased;
}
/* ==========================
   SECTION
========================== */

.wcj-section {
    padding: 50px 20px;
}

.wcj-container {
    max-width: 1320px;
    margin: 0 auto;
}

.wcj-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 90px;
    overflow: hidden;
}

.wcj-header-left {
    flex: 1.1;
}

.wcj-header-right {
    flex: 0.9;
    padding-top: 35px;
}

.wcj-tag {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #bc1421;
    text-transform: uppercase;
}

.wcj-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.wcj-title span {
    color: #bc1421;
}

.wcj-subtitle {
    position: relative;
    margin: 0;
    padding-left: 28px;
    max-width: 520px;
    color: #666;
    font-size: 17px;
    line-height: 1.9;
}

.wcj-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 70px;
    background: #bc1421;
    border-radius: 20px;
}

.wcj-audience-list {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
}

.wcj-audience-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 600;
    color: #222;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Audience-list icon — scoped so it never
   collides with the wcj-grid card icon below */
.wcj-audience-item .wcj-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bc1421;
    flex-shrink: 0;
}

.wcj-audience-item .wcj-icon svg {
    width: 22px;
    height: 22px;
}

/* ==========================
      RESPONSIVE — HEADER
========================== */

@media (max-width: 1200px) {

    .wcj-header {
        gap: 56px;
    }

    .wcj-header-right {
        padding-top: 24px;
    }
}

@media (max-width: 992px) {

    .wcj-header {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .wcj-header-right {
        width: 100%;
        padding-top: 0;
    }

    .wcj-subtitle {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .wcj-title {
        font-size: 2.4rem;
    }

    .wcj-subtitle {
        font-size: 16px;
    }

    .wcj-subtitle::before {
        height: 60px;
    }

    .wcj-audience-list {
        gap: 16px 20px;
    }

    .wcj-audience-item {
        font-size: 16px;
    }
}

@media (max-width: 560px) {

    .wcj-section {
        padding: 60px 16px;
    }

    .wcj-tag {
        font-size: 12.5px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .wcj-title {
        font-size: 1.9rem;
    }

    .wcj-subtitle {
        font-size: 15px;
        line-height: 1.75;
        padding-left: 22px;
    }

    .wcj-subtitle::before {
        height: 50px;
        width: 3px;
    }

    .wcj-audience-list {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 26px;
    }

    .wcj-audience-item {
        font-size: 15.5px;
    }

    .wcj-audience-item .wcj-icon {
        width: 36px;
        height: 36px;
    }

    .wcj-audience-item .wcj-icon svg {
        width: 19px;
        height: 19px;
    }
}

.wcj-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    overflow: hidden;
}

.wcj-card {
    position: relative;
    padding: 40px 30px;
    background: #fff;
    transition: all .35s ease;
    border-right: 1px solid #ececec;
}

.wcj-card:last-child {
    border-right: none;
}

.wcj-card:hover {
    background: #fff;
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .06);
    z-index: 2;
}

.wcj-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #bc1421;
    transition: .35s;
}

.wcj-card:hover .wcj-top-line {
    width: 100%;
}

.wcj-card .wcj-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bc1421;
    flex-shrink: 0;
}

.wcj-card .wcj-icon svg {
    width: 26px;
    height: 26px;
}

.wcj-card h3 {
    font-size: 23px;
    color: #1c1c1c;
    margin-bottom: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.wcj-card p {
    color: #6f6f6f;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 1200px) {

    .wcj-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wcj-card:nth-child(2) {
        border-right: none;
    }

    .wcj-card {
        border-bottom: 1px solid #ececec;
    }

    .wcj-card:nth-child(3),
    .wcj-card:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {

    .wcj-grid {
        grid-template-columns: 1fr;
    }

    .wcj-card {
        border-right: none;
        border-bottom: 1px solid #ececec;
        padding: 32px 24px;
    }

    .wcj-card:last-child {
        border-bottom: none;
    }

    .wcj-card .wcj-icon {
        width: 52px;
        height: 52px;
    }

    .wcj-card .wcj-icon svg {
        width: 28px;
        height: 28px;
    }

    .wcj-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 560px) {

    .wcj-card {
        padding: 26px 20px;
    }

    .wcj-card h3 {
        font-size: 18.5px;
    }

    .wcj-card p {
        font-size: 14px;
    }
}

.wcj-header-left,
.wcj-header-right {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
/* ============================
   CERTIFICATIONS
============================ */

.certifications {
    padding: 50px 20px;
    background: #fafafa;
}

.certifications-container {
    max-width: 1080px;
    margin: 0 auto;
}

/* ============================
   HEADING
============================ */

.certifications-heading {
    text-align: center;
    margin-bottom: 40px;
}

.certifications-tag {
    display: inline-block;
    margin-bottom: 12px;
    color: #bc1421;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.certifications-heading h2 {
    margin: 0;
    color: #1d1d1d;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
}


.certifications-title {
    margin: 0;
    color: #1d1d1d;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
}

.certifications-title span {
    color: #bc1421;
}

/* ============================
   GRID
============================ */

.certifications-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* ============================
   CARD
============================ */

.certification-card {
    width: 340px;
    text-align: center;
    transition: all .3s ease;
}



/* ============================
   LOGO
============================ */

.certification-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.certification-logo img {
    max-width: 180px;
    max-height: 75px;
    object-fit: contain;
}

/* ============================
   TITLE
============================ */

.certification-card h3 {
    margin: 0;
    color: #222;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.45;
    min-height: 72px;
}

/* ============================
   BADGE
============================ */

.certified-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 7px 18px;
    border-radius: 50px;
    background: rgba(188, 20, 33, .08);
    color: #bc1421;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 768px) {

    .certifications {
        padding: 55px 18px;
    }

    .certifications-heading {
        margin-bottom: 32px;
    }

    .certifications-heading h2 {
        font-size: 2rem;
    }

    .certifications-grid {
        gap: 20px;
    }

    .certification-card {
        width: 100%;
        max-width: 380px;
        padding: 24px;
    }

    .certification-card h3 {
        min-height: auto;
        font-size: 1.1rem;
    }

    .certification-logo {
        height: 70px;
    }

    .certification-logo img {
        max-width: 150px;
        max-height: 65px;
    }
}

/* =====================================
   FRAMER MOTION OPTIMIZATION
===================================== */

.certifications-container,
.certifications-heading,
.certifications-grid,
.certification-card {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.certifications {
    overflow: hidden;
}
/*=========================================================
                AWARDS SECTION
=========================================================*/

.awards-section {
    position: relative;
    padding: 70px 20px;
    background: radial-gradient(circle at top, #ffffff, #f7f7f7);
    overflow: hidden;
}

.awards-container {
    max-width: 1440px;
    margin: auto;
}

@media (max-width:1100px) {

    .award-image {
        max-width: 360px;
    }

    .award-image img {
        height: 220px;
    }
}

/*=========================================================
                    HEADING
=========================================================*/

.awards-heading {
    text-align: center;
    margin-bottom: 50px;
}

.awards-tag {
    display: inline-block;
    color: #bc1421;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.awards-title {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(2.1rem, 3.4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.5px;
}

.awards-title span {
    color: #bc1421;
}

/*=========================================================
                TIMELINE
=========================================================*/

.awards-timeline {
    position: relative;
}

/*=========================================================
                EACH ROW
=========================================================*/

.timeline-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 110px 1fr;
    align-items: center;
    gap: 20px;
    min-height: 190px;
}

/*=========================================================
                LEFT / RIGHT
=========================================================*/

.timeline-left,
.timeline-right {
    display: flex;
    align-items: center;
    position: relative;
}

.timeline-left {
    justify-content: flex-end;
    text-align: right;
}

.timeline-right {
    justify-content: flex-start;
    text-align: left;
}

/*=========================================================
                CENTER
=========================================================*/

.timeline-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/*=========================================================
            VERTICAL LINE
=========================================================*/

.timeline-line {
    position: absolute;
    top: -95px;
    bottom: -95px;
    width: 2px;
    background: linear-gradient(to bottom,
            rgba(188, 20, 33, 0) 0%,
            #e6e6e6 8%,
            #e6e6e6 92%,
            rgba(188, 20, 33, 0) 100%);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-row:first-child .timeline-line {
    top: 50%;
}

.timeline-row:last-child .timeline-line {
    bottom: 50%;
}

/*=========================================================
                AWARD CONTENT
=========================================================*/

.award-content {
    max-width: 360px;
}

.award-date {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 14px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #bc1421;
    color: #bc1421;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.award-content h3 {
    margin: 0;
    color: #181818;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.award-content p {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/*=========================================================
                    IMAGE CARD
=========================================================*/

/*=========================================================
                    IMAGE CARD
=========================================================*/

.award-image {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, .04),
        0 12px 30px rgba(0, 0, 0, .08);
    transition: .4s cubic-bezier(.22, 1, .36, 1);
}

.award-image img {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: cover;
    transition: .6s cubic-bezier(.22, 1, .36, 1);
}

.award-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    pointer-events: none;
    z-index: 2;
}

/*=========================================================
                HOVER EFFECT
=========================================================*/

.timeline-row:hover .award-image {
    transform: translateY(-6px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, .05),
        0 20px 40px rgba(0, 0, 0, .12);
}

.timeline-row:hover .award-image img {
    transform: scale(1.06);
}

.timeline-row:hover .award-content h3 {
    color: #bc1421;
}

/*=========================================================
            LEFT / RIGHT SPACING
=========================================================*/

.timeline-left .award-content {
    margin-right: 20px;
}

.timeline-right .award-content {
    margin-left: 20px;
}

.timeline-left .award-image {
    margin-right: 20px;
}

.timeline-right .award-image {
    margin-left: 20px;
}

/*=========================================================
                    TIMELINE LOGO
=========================================================*/

.timeline-logo {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, .06),
        0 8px 20px rgba(0, 0, 0, .10);
    border: 3px solid #fff;
    outline: 1px solid #f0e2e3;
    z-index: 5;
    transition: .35s ease;
}

.timeline-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/*=========================================================
                    TIMELINE DOT
=========================================================

.timeline-logo::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bc1421;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
}

/*=========================================================
                CONNECTOR LINES
=========================================================*/

.timeline-left::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    width: 20px;
    height: 1px;
    background: #e2e2e2;
}

.timeline-right::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    width: 20px;
    height: 1px;
    background: #e2e2e2;
}

/*=========================================================
                HOVER EFFECT
=========================================================*/

.timeline-row:hover .timeline-logo {
    transform: scale(1.1);
    border-color: #bc1421;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, .06),
        0 10px 26px rgba(188, 20, 33, .22);
}

.timeline-row:hover .timeline-logo::before {
    animation: pulseNode 1.5s infinite;
}

/*=========================================================
                PULSE ANIMATION
=========================================================*/

@keyframes pulseNode {
    0% {
        opacity: .5;
        box-shadow: 0 0 0 0 rgba(188, 20, 33, .35);
    }

    70% {
        opacity: 0;
        box-shadow: 0 0 0 14px rgba(188, 20, 33, 0);
    }

    100% {
        opacity: 0;
        box-shadow: 0 0 0 0 rgba(188, 20, 33, 0);
    }
}

/*=========================================================
                RESPONSIVE
=========================================================*/

@media (max-width:1100px) {

    .timeline-row {
        grid-template-columns: 1fr 90px 1fr;
        gap: 16px;
        min-height: 170px;
    }

    .award-content h3 {
        font-size: 18px;
    }

    .award-image {
        max-width: 260px;
    }

    .award-image img {
        height: 165px;
    }

    .timeline-logo {
        width: 48px;
        height: 48px;
    }

    .timeline-logo img {
        width: 26px;
        height: 26px;
    }
}

@media (max-width:900px) {

    .awards-section {
        padding: 50px 18px;
    }

    .awards-heading {
        margin-bottom: 36px;
    }

    .timeline-row {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding-left: 62px;
        margin-bottom: 44px;
        min-height: auto;
    }

    .timeline-row:last-child {
        margin-bottom: 0;
    }

    .timeline-left,
    .timeline-right {
        display: contents;
    }

    .timeline-left::after,
    .timeline-right::before {
        display: none;
    }

    .award-content {
        order: 1;
    }

    .award-image {
        order: 2;
    }

    .timeline-center {
        order: 0;
        position: absolute;
        left: 20px;
        top: 0;
        bottom: -44px;
        width: 44px;
        justify-content: flex-start;
    }

    .timeline-row:last-child .timeline-center {
        bottom: 0;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
    }

    .timeline-left .award-content,
    .timeline-right .award-content,
    .timeline-left .award-image,
    .timeline-right .award-image {
        margin: 0;
    }

    .award-content {
        max-width: 100%;
        text-align: left;
    }

    .award-image {
        max-width: 100%;
    }

    .award-image img {
        height: 190px;
    }
}

@media (max-width:600px) {

    .awards-title {
        font-size: 1.7rem;
    }

    .award-date {
        font-size: 10px;
        padding: 4px 12px;
    }

    .award-content h3 {
        font-size: 17px;
        line-height: 1.35;
    }

    .award-content p {
        font-size: 13px;
    }

    .award-image {
        border-radius: 14px;
    }

    .award-image img {
        height: 170px;
    }

    .timeline-logo {
        width: 44px;
        height: 44px;
    }

    .timeline-logo img {
        width: 24px;
        height: 24px;
    }
}

/*=========================================================
                SMOOTH TRANSITIONS
=========================================================*/

.award-content,
.award-image,
.timeline-logo,
.timeline-row,
.timeline-line {
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
}

/*=========================================================
                OPTIONAL SECTION DIVIDER
=========================================================*/

.awards-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #bc1421;
    border-radius: 20px;
}
/*=========================================================
                HERO SECTION
=========================================================*/

.hero-section {
    position: relative;
    padding: 50px 20px 40px;
    background: #fcfcfc;
    overflow: hidden;
    text-align: center;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*=========================================================
                BACKGROUND
=========================================================*/

.hero-bg-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    filter: blur(12px);
    pointer-events: none;
    z-index: 0;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .03) 1px, transparent 1px);

    background-size: 46px 46px;

    mask-image: radial-gradient(ellipse 65% 60% at 50% 20%,
            #000 40%,
            transparent 100%);

    -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 20%,
            #000 40%,
            transparent 100%);

    pointer-events: none;
}

/*=========================================================
                EYEBROW
=========================================================*/

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 18px;

    border-radius: 40px;

    color: #ff5f6b;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;

    margin-bottom: 24px;
}

/*=========================================================
                TITLE
=========================================================*/

.hero-title {
    margin: 0;

    color: #111;

    font-size: clamp(2.5rem, 5vw, 4.3rem);

    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -1px;
}

.hero-title span {

    background: #bc1421;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

/*=========================================================
                SUBTITLE
=========================================================*/

.hero-subtitle {

    margin-top: 24px;

    max-width: 650px;

    color: #444;

    font-size: 16.5px;

    line-height: 1.8;
}

/*=========================================================
                ACTIONS
=========================================================*/

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 30px;

    border-radius: 14px;

    font-size: 14.5px;
    font-weight: 600;

    cursor: pointer;

    transition: all .35s cubic-bezier(.22, 1, .36, 1);
}

.btn-primary {
    border: none;

    color: #fff;

    background: linear-gradient(135deg,
            #d3172a 0%,
            #bc1421 55%,
            #8f1018 100%);

    box-shadow:
        0 12px 30px rgba(188, 20, 33, .28);
}

.btn-primary:hover {

    transform: translateY(-4px);

    box-shadow:
        0 18px 42px rgba(188, 20, 33, .38);
}

.btn-secondary {

    background: #fff;

    border: 1px solid rgba(0, 0, 0, .08);

    color: #222;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .04);
}

.btn-secondary:hover {

    transform: translateY(-4px);

    border-color: rgba(188, 20, 33, .25);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, .08);
}

/*=========================================================
                FEATURES
=========================================================*/

.hero-features {

    width: 100%;

    margin-top: 65px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.feature-card {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 28px;

    text-align: left;

    border-radius: 22px;

    /*background: rgba(255, 255, 255, .72);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(0, 0, 0, .06);

    box-shadow:
        0 14px 40px rgba(0, 0, 0, .05);
*/
    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        box-shadow .35s ease,
        border-color .35s ease;
}

/*
.feature-card:hover {

    transform: translateY(-8px);

    border-color: rgba(188, 20, 33, .18);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .08);
}
*/
.feature-icon {

    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    /*  background:
        linear-gradient(135deg,
            rgba(188, 20, 33, .10),
            rgba(188, 20, 33, .03));
*/
    color: #bc1421;
}

.feature-text h3 {

    margin: 0 0 8px;

    color: #111;

    font-size: 17px;

    font-weight: 700;
}

.feature-text p {

    margin: 0;

    color: #666;

    line-height: 1.75;

    font-size: 14px;
}

/*=========================================================
                RESPONSIVE
=========================================================*/

@media (max-width: 992px) {

    .hero-section {
        padding: 80px 20px 60px;
    }

    .hero-features {
        gap: 18px;
    }

    .trade-candles {
        width: 170px;
        top: 25px;
        right: 20px;
    }
}

@media (max-width: 768px) {

    .hero-section {
        padding: 90px 18px 60px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 340px;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 45px;
    }

    .feature-card {
        padding: 22px;
    }

    .trade-candles {
        width: 120px;
        top: 15px;
        right: 12px;
        opacity: .9;
    }
}

@media (max-width: 480px) {

    .hero-section {
        padding: 80px 16px 55px;
    }

    .hero-title {
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .feature-card {
        gap: 14px;
        padding: 20px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
    }

    .trade-candles {
        width: 100px;
        top: 10px;
        right: 8px;
    }
}

/*=========================================================
                CANDLE CLUSTER
=========================================================*/

.trade-candles {

    position: absolute;

    top: 20px;
    right: 35px;

    width: 220px;
    height: auto;

    z-index: 3;

    pointer-events: none;

    filter: drop-shadow(0 12px 30px rgba(52, 199, 123, .18));

    animation: candlesFloat 6s ease-in-out infinite;
}

/* Framer Motion controls the grow animation */
.candle {
    transform-box: fill-box;
    transform-origin: center bottom;
}

/* Gentle floating only */
@keyframes candlesFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 992px) {
    .trade-candles {
        width: 220px;
        top: 10px;
        right: 10px;
        opacity: 0.95;
    }
}

@media (max-width: 768px) {
    .trade-candles {
        width: 180px;
        top: 8px;
        right: 8px;
        opacity: 0.95;
    }
}

@media (max-width: 480px) {
    .trade-candles {
        width: 150px;
        top: 6px;
        right: 6px;
        opacity: 0.9;
    }
}

@media (max-width: 360px) {
    .trade-candles {
        width: 130px;
        top: 4px;
        right: 4px;
        opacity: 0.85;
    }
}
/* ══════════════════════════════════════════════════════════
   WEBINAR REGISTRATION SECTION
══════════════════════════════════════════════════════════ */
.tta-webinar {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.tta-webinar__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.tta-webinar__glow--1 {
    width: 480px;
    height: 480px;
    top: -180px;
    left: -120px;
}

.tta-webinar__glow--2 {
    width: 420px;
    height: 420px;
    bottom: -160px;
    right: -100px;
}

.tta-webinar__container {
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════════════════
   TICKET HEADER — date · countdown · seats, one aligned row
══════════════════════════════════════════════════════════ */
.tta-webinar__ticket {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 28px;
    margin-bottom: 48px;
    box-shadow: 0 10px 30px rgba(20, 10, 12, .06);
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.tta-webinar--visible .tta-webinar__ticket {
    opacity: 1;
    transform: translateY(0);
}

.tta-webinar__ticket-segment {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tta-webinar__ticket-date {
    flex: 1.3;
    min-width: 0;
}

.tta-webinar__ticket-eyebrow {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #bc1421;
}

.tta-webinar__ticket-datetime {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.3;
}

.tta-webinar__ticket-datetime svg {
    flex-shrink: 0;
    color: #bc1421;
}

.tta-webinar__ticket-datetime strong {
    font-weight: 800;
    color: var(--ink);
}

.tta-webinar__ticket-divider {
    align-self: stretch;
    width: 1px;
    background-image: linear-gradient(to bottom, var(--border) 50%, transparent 50%);
    background-size: 1px 10px;
    background-repeat: repeat-y;
}

.tta-webinar__ticket-countdown {
    flex: 1;
    align-items: flex-start;
}

.tta-webinar__ticket-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.tta-webinar__ticket-clock {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.tta-webinar__ticket-unit {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.tta-webinar__ticket-num {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 1.2em;
    animation: ticketNumIn .3s ease;
}

@keyframes ticketNumIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tta-webinar__ticket-suffix {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.tta-webinar__ticket-seats {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink);
}

.tta-webinar__ticket-seats svg {
    color: #bc1421;
    flex-shrink: 0;
}

.tta-webinar__ticket-seats strong {
    color: #bc1421;
    font-weight: 800;
}

.tta-webinar__ticket-seat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bc1421;
    animation: ticketSeatPulse 2s ease-in-out infinite;
}

@keyframes ticketSeatPulse {

    0%,
    100% {
        opacity: .4;
    }

    50% {
        opacity: 1;
    }
}

.tta-webinar__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: start;
}

.tta-webinar__grid--full {
    grid-template-columns: 1fr;
}

/* ══════════════════════════════════════════════════════════
   SCROLL-TRIGGERED REVEAL
   left content -> from left, form -> from right, ticket -> fades down
══════════════════════════════════════════════════════════ */
.tta-webinar__content,
.tta-webinar__form-wrap {
    transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .8s ease;
}

.tta-webinar__content {
    transform: translateX(-48px);
    opacity: 0;
}

.tta-webinar__form-wrap {
    transform: translateX(48px);
    opacity: 0;
    transition-delay: .08s;
}

.tta-webinar--visible .tta-webinar__content,
.tta-webinar--visible .tta-webinar__form-wrap {
    transform: translateX(0);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

    .tta-webinar__content,
    .tta-webinar__form-wrap,
    .tta-webinar__ticket {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ── LEFT CONTENT ── */
.tta-webinar__title {
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 800;
    color: '#000';
    line-height: 1.1;
    margin-bottom: 18px;
}

.tta-webinar__title span {
    color: #bc1421;
}

.tta-webinar__subtitle {
    font-size: 15.5px;
    line-height: 1.8;
    color: '#000';
    max-width: 540px;
    margin-bottom: 40px;
}

.tta-webinar__subtitle strong {
    color: #bc1421;
    font-weight: 700;
}

/* ── Benefits ── */
.tta-webinar__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 28px;
    margin-bottom: 40px;
}

.tta-webinar__benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    animation: webinarBenefitIn .55s var(--ease) forwards;
}

@keyframes webinarBenefitIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tta-webinar__benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #ff8f97;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s, border-color .25s;
}

.tta-webinar__benefit-icon svg {
    width: 19px;
    height: 19px;
}

.tta-webinar__benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: "#000";
    margin-bottom: 4px;
    line-height: 1.3;
}

.tta-webinar__benefit-text {
    font-size: 12.5px;
    line-height: 1.65;
    color: '#000';
}

/* ── Trust strip ── */
.tta-webinar__trust {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tta-webinar__trust-text {
    font-size: 13px;
    color: #000;
}

.tta-webinar__trust-text strong {
    color: #bc1421;
}

/* ── RIGHT: Form card ── */
.tta-webinar__form-wrap {
    position: sticky;
    top: 24px;
}

.tta-webinar__form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 34px 32px 30px;
    animation: webinarCardIn .6s var(--ease) .1s both;
}

@keyframes webinarCardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tta-webinar__form-badge {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.tta-webinar__form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.tta-webinar__form-sub {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 26px;
}

.tta-webinar__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tta-webinar__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tta-webinar__field label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
}

.tta-webinar__required {
    color: #d33;
}

.tta-webinar__field input {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.tta-webinar__field input::placeholder {
    color: #b98d97;
}

.tta-webinar__field input:focus {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(188, 20, 33, .1);
}

.tta-webinar__field input.has-error {
    border-color: #d33;
}

.tta-webinar__error {
    font-size: 11.5px;
    color: #d33;
    font-weight: 600;
}

/* ── Preferred language: radio-card group ── */
.tta-webinar__radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 4px;
    border-radius: 12px;
}

.tta-webinar__radio-group.has-error {
    outline: 1.5px solid #d33;
    outline-offset: 2px;
    border-radius: 12px;
}

.tta-webinar__radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.tta-webinar__radio-option:hover {
    border-color: #e3a3a9;
}

.tta-webinar__radio-option.is-selected {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(188, 20, 33, .1);
}

.tta-webinar__radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tta-webinar__radio-dot {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--border);
    position: relative;
    transition: border-color .2s;
}

.tta-webinar__radio-option.is-selected .tta-webinar__radio-dot {
    border-color: var(--orange);
}

.tta-webinar__radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
    transform: translate(-50%, -50%) scale(0);
    transition: transform .15s ease;
}

.tta-webinar__radio-option.is-selected .tta-webinar__radio-dot::after {
    transform: translate(-50%, -50%) scale(1);
}

.tta-webinar__radio-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.tta-webinar__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    background: var(--orange);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(188, 20, 33, .35);
    transition: background .25s, transform .2s, box-shadow .25s;
    margin-top: 4px;
}

.tta-webinar__submit:hover:not(:disabled) {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(188, 20, 33, .45);
}

.tta-webinar__submit:active:not(:disabled) {
    transform: translateY(0);
}

.tta-webinar__submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.tta-webinar__submit svg {
    transition: transform .2s;
}

.tta-webinar__submit:hover:not(:disabled) svg {
    transform: translateX(3px);
}

.tta-webinar__form-error {
    font-size: 12.5px;
    color: #d33;
    text-align: center;
    font-weight: 600;
}

.tta-webinar__assurance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 6px;
}

.tta-webinar__assurance svg {
    color: var(--orange);
    flex-shrink: 0;
}

/* ── Success state ── */
.tta-webinar__success {
    text-align: center;
    padding: 24px 8px 12px;
    animation: webinarCardIn .4s var(--ease) both;
}

.tta-webinar__success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--orange-light);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tta-webinar__success h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.tta-webinar__success p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .tta-webinar__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tta-webinar__form-wrap {
        position: static;
    }

    .tta-webinar__benefits {
        grid-template-columns: 1fr;
    }

    .tta-webinar__ticket {
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .tta-webinar__ticket-date {
        flex: 1 1 100%;
    }

    .tta-webinar__ticket-divider:first-of-type {
        display: none;
    }

    .tta-webinar__ticket-countdown,
    .tta-webinar__ticket-seats {
        flex: 1 1 auto;
    }
}

@media (max-width: 640px) {
    .tta-webinar {
        padding: 60px 0;
    }

    .tta-webinar__form-card {
        padding: 26px 22px 24px;
    }

    .tta-webinar__ticket {
        padding: 16px 18px;
        gap: 14px;
    }

    .tta-webinar__ticket-divider {
        display: none;
    }

    .tta-webinar__ticket-datetime {
        font-size: 13.5px;
    }

    .tta-webinar__ticket-clock {
        gap: 8px;
    }

    .tta-webinar__ticket-num {
        font-size: 16px;
    }

    .tta-webinar__radio-group {
        grid-template-columns: 1fr;
    }
}
/*
  Base colors, the button pill styling, and the banner/overlay layout
  are all set as INLINE styles in CTA.jsx on purpose, so the design
  still renders correctly even if this stylesheet fails to load or is
  overridden elsewhere on the page. This file only adds:
  - the full-bleed trick (breaks the banner out of any parent
    container so it's truly edge-to-edge, regardless of what wraps it)
  - hover / focus states
  - the mobile media query
*/

/* Full-bleed: makes .cta span the full viewport width even if it
   sits inside a parent with a max-width or padding. Requires no
   ancestor to have `overflow-x: hidden` cutting off negative margins. */
.cta {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cta__banner {
    animation: cta-fade-in 0.9s ease both;
}

.cta__banner img {
    transform: scale(1);
    transition: transform 0.8s ease;
    will-change: transform;
}

.cta__banner:hover img {
    transform: scale(1.03);
}

.cta__btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease, border-color 0.2s ease;
}

.cta__btn--primary:hover,
.cta__btn--primary:focus-visible {
    background: #f9fafb !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.cta__btn--primary:hover svg {
    transform: translateX(2px);
}

.cta__btn--primary svg {
    transition: transform 0.2s ease;
}

.cta__btn--secondary:hover,
.cta__btn--secondary:focus-visible {
    background: #1a2436 !important;
    transform: translateY(-2px);
}

.cta__btn:focus-visible {
    outline: 2px solid #0b1220;
    outline-offset: 3px;
}

@keyframes cta-fade-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta__banner {
        animation: none;
    }

    .cta__banner img,
    .cta__btn {
        transition: none;
    }

    .cta__banner:hover img {
        transform: none;
    }
}

@media (max-width: 640px) {
    .cta__banner {
        height: auto;
        min-height: 440px;
    }
}


/* ── Google Fonts ───────────────────────────────────────── */
:root {
  --red: #bc1421;
  --red-dark: #991119;
  --red-light: #f9e8e9;
  --red-mid: rgba(188, 20, 33, 0.08);
  --charcoal: #2d2d2d;
  --slate: #4a4a5a;
  --muted: #6b6b7b;
  --border: #e8e4e4;
  --surface: #fafafa;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 15px 40px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 28px rgba(188, 20, 33, 0.12);
  --shadow-lg: 0 16px 56px rgba(188, 20, 33, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Poppins', sans-serif;
  --font-head: 'Poppins', sans-serif;
}
/* ── Reset & Base ───────────────────────────────────────── */
.about-page {
  font-family: 'Poppins', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}
.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.about-page img {
  max-width: 100%;
  height: auto;
  display: block;
}
.about-page a {
  text-decoration: none;
}
/* ── Container & Grid ───────────────────────────────────── */
.about-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-page .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
}
.about-page .row.align-items-center {
  align-items: center;
}
.about-page [class*="col-"] {
  padding: 0 16px;
  width: 100%;
}
@media (min-width: 992px) {
  .about-page .col-lg-5 {
    width: 41.666%;
  }

  .about-page .col-lg-6 {
    width: 50%;
  }

  .about-page .col-lg-7 {
    width: 58.333%;
  }
}
@media (min-width: 1200px) {
  .about-page .col-xl-6 {
    width: 50%;
  }
}
.about-page .text-center {
  text-align: center;
}
.about-page .mt-5 {
  margin-top: 3rem;
}
.about-page .d-none {
  display: none;
}
@media (min-width: 768px) {
  .about-page .d-md-block {
    display: block !important;
  }
}
/* ── Section Title ──────────────────────────────────────── */
.about-page .section-title {

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;


}
.about-page .section-title__tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid rgba(188, 20, 33, 0.18);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 5rem;

}
.about-page .section-title__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;

  margin: 12px 0 0;
  padding: 0;

}
/* ── Button ─────────────────────────────────────────────── */
.about-page .nisoz-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 50px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.about-page .nisoz-btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}
.about-page .nisoz-btn--light {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.about-page .nisoz-btn--light:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: var(--red);
}
/* ══════════════════════════════════════════════════════════
   PAGE HEADER  ← matches screenshot: light peach background
   ══════════════════════════════════════════════════════════ */
.ph2 {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Light peach / warm cream gradient — exactly like screenshot */
  background: linear-gradient(135deg, #fde8e0 0%, #fce8dc 30%, #fbeae0 60%, #f9e5db 100%);
}
/* Floating dots — coloured like screenshot (red + blue) */
.ph2-dot {
  position: absolute;
  border-radius: 50%;
  animation: ph2-pulse 3s ease-in-out infinite;
}
.ph2-dot--1 {
  width: 14px;
  height: 14px;
  background: #bc1421;
  top: 22%;
  left: 28%;
  animation-delay: 0s;
}
.ph2-dot--2 {
  width: 10px;
  height: 10px;
  background: #3b5bdb;
  top: 65%;
  left: 20%;
  animation-delay: 0.6s;
}
.ph2-dot--3 {
  width: 16px;
  height: 16px;
  background: #bc1421;
  top: 28%;
  right: 15%;
  animation-delay: 1.2s;
}
.ph2-dot--4 {
  width: 12px;
  height: 12px;
  background: #3b5bdb;
  bottom: 20%;
  right: 30%;
  animation-delay: 1.8s;
}
.ph2-dot--5 {
  width: 8px;
  height: 8px;
  background: #bc1421;
  bottom: 30%;
  left: 45%;
  animation-delay: 2.4s;
}
@keyframes ph2-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
/* Side decorations */
.ph2-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  width: 140px;
  height: 140px;
}
.ph2-deco--left {
  left: 4%;
}
.ph2-deco--right {
  right: 4%;
}
.ph2-svg-icon {
  width: 100%;
  height: 100%;
  animation: ph2-sway 6s ease-in-out infinite;
}
.ph2-svg-icon--right {
  animation-direction: reverse;
}
@keyframes ph2-sway {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}
/* Content */
.ph2-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
}
/* Breadcrumb ABOVE title (as in screenshot) */
.ph2-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.ph2-breadcrumb__link {
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.ph2-breadcrumb__link:hover {
  color: var(--red);
}
.ph2-breadcrumb__current {
  color: var(--slate);
  font-size: 0.875rem;
  font-weight: 500;
}
.ph2-breadcrumb__sep {
  color: var(--muted);
  font-size: 1rem;
}
/* Bold dark title — as in screenshot */
.ph2-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: #1e2235;
  line-height: 1.05;
  margin-bottom: 0.25rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.01em;
}
/* Red wavy underline SVG — animates in */
.ph2-underline {
  display: block;
  width: 100%;
  height: 18px;
  margin-top: 4px;
}
.ph2-underline svg {
  width: 100%;
  height: 100%;
}
.ph2-underline-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: ph2-draw 1.2s ease forwards 0.5s;
}
@keyframes ph2-draw {
  to {
    stroke-dashoffset: 0;
  }
}
/* ══════════════════════════════════════════════════════════
   ABOUT FOUR SECTION
   ══════════════════════════════════════════════════════════ */
.about-four {
  padding: 40px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.about-us-bg-blob {
  position: absolute;
  top: -150px;
  left: -200px;
  width: 600px;
  height: 600px;
  background-color: var(--red-light);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-15deg);
}
.about-four .container {
  position: relative;
  z-index: 1;
}
.about-four__content {
  padding: 20px 0;
}
.about-four__content__heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 1rem 0;
  line-height: 1.35;
}
.about-four__content__text {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  font-size: 0.97rem;
}
.about-four__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 2rem;
}
/* ── Red Card ───────────────────────────────────────────── */
.red-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.red-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-mid), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.red-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.red-card:hover::before {
  opacity: 1;
}
.red-card__icon {
  color: var(--red);
  margin-bottom: 10px;
  position: relative;
}
.red-card__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
  position: relative;
}
.red-card__text {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
}
.red-card--horizontal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
}
.red-card--horizontal .red-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.red-card--horizontal .red-card__title {
  font-size: 0.9rem;
}
.red-card--horizontal .red-card__text {
  font-size: 0.82rem;
}
/* ── Stats Panel ────────────────────────────────────────── */
.about-one__stats-visual {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 15px;

}
.about-stats-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-stats-panel__item {
  background: var(--white);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}
.about-stats-panel__item:hover {
  background: var(--red-light);
}
.about-stats-panel__num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}
.about-stats-panel__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 480px) {
  .about-stats-panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ══════════════════════════════════════════════════════════
   CEO / TEAM SECTION
   ══════════════════════════════════════════════════════════ */
.team-details {
  /* padding: 80px 0; */
  /* background: var(--surface); */
}
.team-details__card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--white);
  border: none;
  /* border-radius: var(--radius-lg); */
  padding: 40px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}
.team-details__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 220px;
}
.team-details__avatar-wrap img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.team-details__image-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.team-details__image-badge__count {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}
.team-details__image-badge__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 3px;
}
.team-details__content {
  flex: 1;
  min-width: 240px;
}
.team-details__role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}
.team-details__social {
  display: flex;
  gap: 10px;
  margin-bottom: 1.25rem;
}
.team-details__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(188, 20, 33, 0.2);
  transition: var(--transition);
}
.team-details__social a:hover {
  background: var(--red);
  color: var(--white);
}
.team-details__quote {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
}
.team-details__text {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.8;
  font-style: italic;
}
.team-details__cite {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 12px;
  font-style: normal;
}
@media (max-width: 768px) {
  .team-details__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .team-details__avatar-wrap {
    width: 180px;
  }

  .team-details__avatar-wrap img {
    width: 180px;
    height: 230px;
  }

  .team-details__social {
    justify-content: center;
  }
}
/* ══════════════════════════════════════════════════════════
   VISION SECTION
   ══════════════════════════════════════════════════════════ */
.feature-three {
  padding: 80px 0;
  background: var(--white);
}
.feature-three__text {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}
.feature-three__cards {
  margin-top: 1.5rem;
}
.vision-stats-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0 10px 20px;
}
.vision-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: var(--transition);
}
.vision-stat-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.vision-stat-card__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--red);
}
.vision-stat-card__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 3px;
}
.vision-stat-card__val {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}
@media (max-width: 991px) {
  .vision-stats-wrap {
    padding-left: 0;
    margin-top: 2rem;
  }
}
/* ══════════════════════════════════════════════════════════
   MISSION SECTION
   ══════════════════════════════════════════════════════════ */
.about-two {
  padding: 40px 0;
  /* background: var(--surface); */
}
.about-two__content {
  padding: 10px 0;
}
.about-two__text2 {
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.mission-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.mission-visual__graphic {
  width: 100%;
}
.mission-visual__graphic svg {
  width: 100%;
}
.mission-visual__badge {
  background: var(--white);
  border-top: 1.5px solid var(--border);
  padding: 20px 24px;
}
.mission-visual__badge-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.mission-visual__progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mission-visual__prog-label {
  font-size: 0.75rem;
  color: var(--muted);
  width: 56px;
  flex-shrink: 0;
}
.mission-visual__prog-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.mission-visual__prog-bar {
  height: 100%;
  background: var(--muted);
  border-radius: 100px;
  transition: width 1s ease;
}
.mission-visual__prog-bar--accent {
  background: var(--red);
}
.mission-visual__prog-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  width: 34px;
  text-align: right;
}
.mission-visual__prog-pct--accent {
  color: var(--red);
}
/* ══════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════ */
.cta-three__inner {
  position: relative;
  background: linear-gradient(135deg, #1e2235, #111424);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 50px 24px;
  overflow: hidden;
}
.cta-three::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(188, 20, 33, 0.25) 0%, transparent 70%);
}
.cta-three__badge {
  display: inline-block;
  background: rgba(19, 18, 18, 0.966);
  color: rgb(255, 255, 255);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 94, 108, 0.4);
  margin-bottom: 1.25rem;
}
.cta-three__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: rgb(255, 255, 255);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.cta-three__sub {
  color: rgb(255, 255, 255);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
/* ══════════════════════════════════════════════════════════
   WHY CHOOSE TTA
   ══════════════════════════════════════════════════════════ */
.about-one {
  padding: 40px 0;
  background: var(--white);
}
.about-one__stats-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);

}
.stat-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.stat-card__icon {
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
.stat-card__count {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.why-item__bullet {
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item__title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.why-item__text {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .about-one__stats-visual {
    margin-bottom: 2rem;
    margin-top: 12px;
  }
}
/* ══════════════════════════════════════════════════════════
   REVIEWS SECTION
   ══════════════════════════════════════════════════════════ */
.reviews-section {
  padding: 40px 0;
  /* background: var(--surface); */
  overflow: hidden;
}
.reviews-section__sub {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
.reviews-heading {
  text-align: center;
  margin-top: 10px;
}
.reviews-heading__title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}
.reviews-heading__sub {
  margin-top: 12px;
  font-size: 15px;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
/* Auto-scroll track */
.reviews-track-wrap {
  position: relative;
  margin-top: 2.5rem;
  cursor: grab;
  user-select: none;
}
.reviews-track-wrap:active {
  cursor: grabbing;
}
.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 40px;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.reviews-track__item {
  flex: 0 0 320px;
}
/* Fade edges */
.reviews-track__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.reviews-track__fade--left {
  left: 0;
  background: linear-gradient(to right, transparent);
}
.reviews-track__fade--right {
  right: 0;
  background: linear-gradient(to left, transparent);
}
/* Review card — now an <a> link */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 22px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.review-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__meta {
  flex: 1;
}
.review-card__name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
}
.review-card__date {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1px;
}
.review-stars {
  display: flex;
  gap: 2px;
}
.review-card__text {
  font-size: 0.83rem;
  color: var(--slate);
  line-height: 1.65;
  flex: 1;
}
.review-card__cta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 4px;
  opacity: 0;
  transition: opacity var(--transition);
}
.review-card:hover .review-card__cta {
  opacity: 1;
}
/* All reviews expandable grid */
.reviews-all {
  margin-top: 2rem;
}
.reviews-all__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(188, 20, 33, 0.25);
  background: var(--white);
  width: fit-content;
  margin: 0 auto;
  list-style: none;
  transition: var(--transition);
}
.reviews-all__toggle:hover {
  background: var(--red-light);
  border-color: var(--red);
}
.reviews-all[open] .reviews-all__toggle svg {
  transform: rotate(180deg);
}
.reviews-all summary {
  list-style: none;
}
.reviews-all summary::-webkit-details-marker {
  display: none;
}
.reviews-all__google-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 2rem;
  animation: reviewsFadeIn 0.4s ease;
}
@keyframes reviewsFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ══════════════════════════════════════════════════════════
   REGISTRATION FORM SECTION
   ══════════════════════════════════════════════════════════ */
.reg-section {
  padding: 80px 0;
  background: var(--white);
}
.reg-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  align-items: start;
  /* background: var(--surface); */
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* Info panel */
.reg-info {
  padding: 48px 36px;
  background: linear-gradient(160deg, #1a0305 0%, #3d0a0e 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.reg-info .section-title__tagline {
  background: rgba(188, 20, 33, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}
.reg-info__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.reg-info__sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.reg-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
  flex: 1;
}
.reg-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
}
.reg-info__icon {
  font-size: 1rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}
.reg-info__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  margin-top: auto;
}
.reg-info__badge svg {
  flex-shrink: 0;
  opacity: 0.7;
}
/* Form panel */
.reg-form-wrap {
  padding: 48px 40px;
}
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reg-form__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.reg-form__sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.reg-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.reg-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}
.reg-form__label span {
  color: var(--red);
  margin-left: 2px;
}
.reg-form__input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.reg-form__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(188, 20, 33, 0.1);
}
.reg-form__input--err {
  border-color: var(--red);
  background: #fff8f8;
}
.reg-form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b7b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.reg-form__textarea {
  resize: vertical;
  min-height: 80px;
}
.reg-form__err {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 500;
}
.reg-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 14px;
  font-size: 1rem;
}
/* Success state */
.reg-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 20px 0;
  animation: reviewsFadeIn 0.4s ease;
}
.reg-success__icon {
  color: var(--red);
}
.reg-success__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
}
.reg-success__text {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 340px;
}
/* ── Responsive: Registration ──────────────────────────── */
@media (max-width: 768px) {
  .reg-wrapper {
    grid-template-columns: 1fr;
  }

  .reg-info {
    padding: 32px 24px;
  }

  .reg-form-wrap {
    padding: 32px 24px;
  }

  .reg-form__row {
    grid-template-columns: 1fr;
  }
}
/* ══════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

  .about-four,
  .team-details,
  .feature-three,
  .about-two,
  .about-one,
  .reviews-section,
  .reg-section {
    padding: 60px 0;
  }

  .about-four .row>[class*="col-"]+[class*="col-"] {
    margin-top: 2.5rem;
  }

  .feature-three .row>[class*="col-"]+[class*="col-"] {
    margin-top: 2.5rem;
  }

  .about-two .row>[class*="col-"]+[class*="col-"] {
    margin-top: 2.5rem;
  }

  .about-one .row>[class*="col-"]+[class*="col-"] {
    margin-top: 2.5rem;
  }
}
@media (max-width: 600px) {
  .about-page .container {
    padding: 0 16px;
  }

  .about-four__cards {
    grid-template-columns: 1fr;
  }

  .ph2-deco {
    display: none;
  }

  .reviews-track__item {
    flex: 0 0 280px;
  }
}
/* ══════════════════════════════════════════════════════════
   ABOUT HERO SLIDER (CUSTOM)
   ══════════════════════════════════════════════════════════ */
.about-hero-wrapper {
  padding: 80px 24px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}
.about-hero-container {
  display: grid;
  grid-template-columns: 35% 40% 20%;
  gap: 2.5%;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}
/* LEFT: Typography */
.ah-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ah-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: #bc1421;
  margin: 0;
}
.ah-title span {
  color: #000;
}
.ah-subtexts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 90%;
}
.ah-subtext-bold {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  margin: 0;
}
.ah-subtext-light {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
/* CENTER: Image Slider */
.ah-center {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  /* neutral background for contain */
}
.ah-image-track-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ah-image-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.87, 0, 0.13, 1);
}
.ah-slide {
  height: 100%;
}
.ah-award-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* reverted to cover to fill the card bounds completely */
  display: block;
}
/* RIGHT: Icon & Philosophy */
.ah-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-left: 16px;
}
.ah-icon-track-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.ah-icon-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.87, 0, 0.13, 1);
}
.ah-icon-slide {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ah-icon-img-wrap {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.ah-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.ah-philosophy-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.2;
}
.ah-philosophy-desc {
  font-size: 0.9rem;
  color: var(--muted);
}
.ah-philosophy-text {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (max-width: 992px) {
  .about-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ah-left {
    align-items: center;
    text-align: center;
  }

  .ah-subtexts {
    max-width: 100%;
  }

  .ah-right {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .ah-icon-slide {
    align-items: center;
  }
}
/* ══════════════════════════════════════════════════════════
   IMPORTANT FACTS
   ══════════════════════════════════════════════════════════ */
.important-facts {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 44px 0 !important;
  min-height: 0 !important;
  height: auto !important;
  font-family: 'Poppins', sans-serif;
}
.important-facts .container {
  position: relative;
  z-index: 1;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}
.important-facts__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}
.important-facts__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: min-content;
  align-content: start;
  gap: 26px 24px;
  min-height: 0 !important;
  background: transparent !important;
}
.important-facts__item {
  display: flex;
  flex-direction: column;
}
.important-facts__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.important-facts__num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.important-facts__icon {
  opacity: 0.8;
  display: flex;
  align-items: center;
}
.important-facts__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}
.important-facts__text {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}
.important-facts__title-col {
  flex-shrink: 0;
  width: 250px;
  text-align: right;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 40px;
}
.important-facts__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.2;
}
.important-facts__line {
  height: 3px;
  width: 60px;
  background: var(--white);
  margin: 0 0 16px auto;
  border-radius: 2px;
}
.important-facts__subtitle {
  font-size: 1rem;
  opacity: 0.9;
}
@media (max-width: 992px) {
  .important-facts__inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .important-facts__title-col {
    text-align: center;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-bottom: 30px;
    width: 100%;
  }

  .important-facts__line {
    margin: 0 auto 16px auto;
  }

  .important-facts__grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}
@media (max-width: 576px) {
  .important-facts__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .important-facts__item {
    align-items: center;
  }
}
/* ══════════════════════════════════════════════════════════
   TRAINERS — arch avatar cards + soft blob backdrop
   ══════════════════════════════════════════════════════════ */
.about-trainers {
  padding: 64px 0;
  background: #ffffff !important;
  background-color: #ffffff !important;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
/* soft, light-red blobs drifting slowly behind the trainer cards */
.trainers-blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--red-light), transparent 70%);
  opacity: 0.55;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.trainers-blob--one {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -120px;
  animation: trainers-blob-float-a 16s ease-in-out infinite;
}
.trainers-blob--two {
  width: 340px;
  height: 340px;
  bottom: -120px;
  right: -100px;
  animation: trainers-blob-float-b 18s ease-in-out infinite;
}
@keyframes trainers-blob-float-a {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, 25px) scale(1.08);
  }
}
@keyframes trainers-blob-float-b {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-25px, -20px) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {

  .trainers-blob--one,
  .trainers-blob--two {
    animation: none;
  }
}
.trainer-zigzag-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 960px;
  margin: 0 auto;
}
.trainer-zigzag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.trainer-zigzag-row--reverse {
  flex-direction: row-reverse;
}
.trainer-arch {
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}
.trainer-zigzag-desc {
  flex: 1;
  text-align: left;
}
.trainer-arch__frame {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 20px;
}
.trainer-arch__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.trainer-arch__img {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 72%;
  height: 78%;
  object-fit: cover;
  border-radius: 999px 999px 10px 10px;
  box-shadow: 0 12px 26px -10px rgba(45, 45, 45, 0.28);
}
.trainer-arch__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 45, 45, 0.06);
  color: rgba(45, 45, 45, 0.35);
}
.trainer-arch__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 4px;
}
.trainer-arch__role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.trainer-arch__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate);
}
@media (max-width: 768px) {

  .trainer-zigzag-row,
  .trainer-zigzag-row--reverse {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .trainer-zigzag-desc {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .trainer-arch {
    width: 200px;
  }

  .trainer-arch__frame {
    height: 180px;
  }

  .trainers-blob--one {
    width: 280px;
    height: 280px;
  }

  .trainers-blob--two {
    width: 240px;
    height: 240px;
  }
}
/* ══════════════════════════════════════════════════════════
   LEARN SECTION — "A Better Way to Learn the Stock Market"
   Everything in this block is scoped to .learn-section only —
   the floating/blob effect does not leak into any other section.
   ══════════════════════════════════════════════════════════ */
.learn-section {
  position: relative;
  padding: 130px 24px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  isolation: isolate;
  /* contains child z-index/stacking to this section only */
}
/* ── Content ────────────────────────────────────────────── */
.learn-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.learn-content__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid rgba(188, 20, 33, 0.18);
  border-radius: 100px;
  padding: 6px 16px;
}
.learn-content__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
}
.learn-content__desc {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 460px;
}
/* ── Background blend layer — blobs + dot texture ─────────
   Same visual language as .about-us-bg-blob / .trainers-blob
   elsewhere on the page. Confined to .learn-section via
   position:absolute + inset:0 on the parent. ────────────── */
.learn-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.learn-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
}
.learn-blob--a {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle at 35% 35%, var(--red-light), transparent 70%);
  animation: learn-blob-drift-a 18s ease-in-out infinite;
}
.learn-blob--b {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: -120px;
  background: radial-gradient(circle at 60% 60%, #fbe3d1, transparent 70%);
  opacity: 0.5;
  animation: learn-blob-drift-b 20s ease-in-out infinite;
}
.learn-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(188, 20, 33, 0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 0%, transparent 75%);
  opacity: 0.6;
}
@keyframes learn-blob-drift-a {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(35px, 25px) scale(1.08);
  }
}
@keyframes learn-blob-drift-b {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30px, -20px) scale(1.06);
  }
}
/* ── Floating image columns ────────────────────────────────
   Position/size/timing for each image come from inline styles
   in JS (LEARN_LEFT_SLOTS / LEARN_RIGHT_SLOTS). These rules
   only handle shared look + animation curves, scoped to
   .learn-decor / .learn-float which only exist inside
   .learn-section's markup. ─────────────────────────────── */
.learn-decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 320px;
  pointer-events: none;
  z-index: 1;
}
.learn-decor--left {
  left: 1%;
}
.learn-decor--right {
  right: 1%;
}
.learn-float {
  position: absolute;
  border-radius: 16px;
  object-fit: cover;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  will-change: transform;
}
.learn-float--a {
  animation-name: learn-float-a;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.learn-float--b {
  animation-name: learn-float-b;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes learn-float-a {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}
@keyframes learn-float-b {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(14px);
  }
}
/* ── Motion & responsive ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  .learn-float,
  .learn-blob--a,
  .learn-blob--b {
    animation: none !important;
  }
}
@media (max-width: 1200px) {
  .learn-decor {
    display: none;
  }
}
@media (max-width: 768px) {
  .learn-section {
    padding: 70px 24px;
    min-height: auto;
  }
}


.vm-wrapper {
    --vm-white: #ffffff;
    --vm-white-alt: #fafafa;
    --vm-black: #0a0a0a;
    --vm-ink: #16161a;
    --vm-ink-muted: #5c5d64;
    --vm-red: #bc1421;
    --vm-red-soft: rgba(188, 20, 33, 0.28);
    --vm-red-faint: rgba(188, 20, 33, 0.08);
    --vm-line: rgba(10, 10, 10, 0.08);
    --vm-white-70: rgba(255, 255, 255, 0.7);
    --vm-white-40: rgba(255, 255, 255, 0.4);
    --vm-white-12: rgba(255, 255, 255, 0.12);
    --vm-font-display: "Poppins", "Segoe UI", sans-serif;
    --vm-font-body: "Poppins", "Segoe UI", sans-serif;

    background: var(--vm-white);
    color: var(--vm-ink);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.vm-bg-shape {
    position: absolute;
    border-radius: 40px;
    border: 1px solid rgba(188, 20, 33, 0.2);
    box-shadow: 0 0 30px rgba(188, 20, 33, 0.04), inset 0 0 30px rgba(188, 20, 33, 0.04);
    z-index: 0;
    pointer-events: none;
    transform: rotate(45deg);
}

.vm-bg-shape-1 {
    width: 280px;
    height: 280px;
    top: -60px;
    left: -80px;
}

.vm-bg-shape-2 {
    width: 160px;
    height: 160px;
    top: 40%;
    right: -40px;
}

.vm-bg-shape-3 {
    width: 380px;
    height: 380px;
    bottom: -120px;
    left: 20%;
}

/* ---------- Section shell ---------- */

.vm-section {
    padding: 6.5rem 6vw;
    position: relative;
    z-index: 1;
}

.vm-vision {
    background: transparent;
}

.vm-mission {
    background: transparent;
    border-top: 1px solid var(--vm-line);
}

.vm-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* ---------- Description column ---------- */

.vm-copy {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible .vm-copy {
    opacity: 1;
    transform: translateY(0);
}

.vm-quote {
    margin: 0 0 1.75rem;
    padding-left: 1.25rem;
    border-left: 3px solid var(--vm-red);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--vm-ink);
}

.vm-para {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--vm-ink-muted);
    margin: 0 0 1.15rem;
}

.vm-para strong {
    color: var(--vm-ink);
    font-weight: 600;
}

.vm-tagline {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vm-line);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: var(--vm-red);
}

/* ---------- Heading + image column ---------- */

.vm-visual {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.8s ease, transform 0.8s ease 0.1s;
}

.is-visible .vm-visual {
    opacity: 1;
    transform: translateY(0);
}

.vm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--vm-red);
    margin-bottom: 0.9rem;
}

.vm-eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--vm-red);
    box-shadow: 0 0 0 4px var(--vm-red-faint);
}

.vm-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 2.1rem;
    color: var(--vm-black);
}

/* ---------- Chart image ---------- */

.vm-chart-wrap {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.vm-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--vm-red-soft), transparent 70%);
    filter: blur(46px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.vm-chart-card {
    position: relative;
    z-index: 1;
    background: transparent;
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

.vm-chart-card--vision {
    transform: translateX(-64px);
    opacity: 0;
}

.vm-chart-card--mission {
    transform: translateX(64px);
    opacity: 0;
}

.is-visible .vm-chart-card--vision,
.is-visible .vm-chart-card--mission {
    transform: translateX(0);
    opacity: 1;
}

.vm-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
}

.vm-chart-caption {
    display: block;
    margin-top: 0.9rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--vm-ink-muted);
    text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .vm-section {
        padding: 4.5rem 6vw;
    }

    .vm-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .vm-mission .vm-grid {
        display: flex;
        flex-direction: column;
    }

    .vm-visual {
        order: -1;
    }

    .vm-chart-wrap {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .vm-heading {
        font-size: 1.45rem;
    }

    .vm-chart-wrap {
        max-width: 100%;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

    .vm-copy,
    .vm-visual,
    .vm-chart-card,
    .vm-candle {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


.fm-section {
    --fm-red: #bc1421;
    --fm-red-soft: rgba(188, 20, 33, 0.4);
    --fm-white: #ffffff;
    --fm-white-85: rgba(255, 255, 255, 0.85);
    --fm-white-15: rgba(255, 255, 255, 0.15);
    --fm-font: "Poppins", "Segoe UI", sans-serif;

    padding: 48px 6vw;
    font-family: 'Poppins', sans-serif;
}

.fm-card {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    align-items: stretch;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0305 0%, #3d0a0e 55%, #1a0305 100%);
    box-shadow: 0 30px 70px -20px rgba(26, 3, 5, 0.55);
}

/* subtle glow accent */

.fm-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, var(--fm-red-soft), transparent 55%);
    opacity: 0.6;
    pointer-events: none;
}

/* ---------- Content ---------- */

.fm-content {
    position: relative;
    z-index: 1;
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
}

.fm-quote-mark {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 0.6;
    color: var(--fm-white);
    opacity: 0.14;
    user-select: none;
}

.fm-quote-mark--open {
    font-size: 6rem;
    margin-bottom: -0.5rem;
}

.fm-quote-mark--close {
    align-self: flex-end;
    font-size: 6rem;
    margin: -1.5rem -6px 0.5rem 0;
}

.fm-text {
    color: var(--fm-white-85);
    font-size: 1.02rem;
    line-height: 1.85;
    margin: 0 0 1.1rem;
}

.fm-person {
    margin-top: 1.25rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--fm-white-15);
}

.fm-person__name {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--fm-white);
    letter-spacing: 0.01em;
}

.fm-person__role {
    display: block;
    margin-top: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fm-red);
}

.fm-socials {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.fm-socials__link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fm-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.fm-socials__link:hover {
    background: var(--fm-red);
    border-color: var(--fm-red);
    transform: translateY(-2px);
}

/* ---------- Media ---------- */

.fm-media {
    position: relative;
    min-height: 340px;
}

.fm-media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* fade the image into the card on its inner edge, like the reference */

.fm-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 3, 5, 0.55) 0%, rgba(26, 3, 5, 0) 18%);
    z-index: 1;
    pointer-events: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .fm-card {
        grid-template-columns: 1fr;
    }

    .fm-media {
        order: -1;
        min-height: 300px;
    }

    .fm-media::before {
        background: linear-gradient(180deg, rgba(26, 3, 5, 0) 60%, rgba(26, 3, 5, 0.85) 100%);
    }

    .fm-content {
        padding: 40px 28px 44px;
    }

    .fm-quote-mark--open {
        font-size: 4.5rem;
    }

    .fm-quote-mark--close {
        font-size: 4.5rem;
    }
}

@media (max-width: 480px) {
    .fm-section {
        padding: 32px 5vw;
    }

    .fm-content {
        padding: 32px 22px 36px;
    }

    .fm-text {
        font-size: 0.95rem;
    }
}
/* ─────────────────────────────────────────
   Brand tokens  (mirrors root variables)
───────────────────────────────────────── */
:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188, 20, 33, 0.07);
  --shadow-md:  0 6px 28px rgba(188, 20, 33, 0.12);
  --shadow-lg:  0 16px 56px rgba(188, 20, 33, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* ─────────────────────────────────────────
   PAGE HEADER  (matches brand screenshot)
───────────────────────────────────────── */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 40%, #f5f0fa 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Pendant lamps */
.ph-lamp {
  position: absolute;
  top: 0;
  width: 52px;
  height: 90px;
  background: linear-gradient(180deg, #d0ccd0 0%, #a8a4a8 100%);
  border-radius: 0 0 50% 50%;
}
.ph-lamp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 28px;
  background: #b0acb0;
  border-radius: 2px;
}
.ph-lamp-1 { left: 14%; }
.ph-lamp-2 { left: 22%; width: 42px; height: 72px; }

/* Floating dots */
.ph-dot {
  position: absolute;
  border-radius: 50%;
}
.ph-dot-1 { width: 18px; height: 18px; background: #e85c5c; top: 28%;  left: 34%; }
.ph-dot-2 { width: 14px; height: 14px; background: #5a7bc4; top: 68%;  left: 21%; }
.ph-dot-3 { width: 12px; height: 12px; background: #5a7bc4; top: 15%;  right: 14%; }
.ph-dot-4 { width: 16px; height: 16px; background: #e85c5c; bottom: 18%; right: 28%; }

/* Stacked books (right side) */
.ph-books {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: 80px;
  height: 110px;
  background:
    linear-gradient(180deg,
      #5ba08a 0%, #5ba08a 16%,
      #e8c840 16%, #e8c840 32%,
      #d4504a 32%, #d4504a 48%,
      #6890c4 48%, #6890c4 64%,
      #c87840 64%, #c87840 80%,
      #9060b8 80%, #9060b8 100%
    );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

/* Centre content */
.ph-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ph-breadcrumb {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.ph-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.ph-breadcrumb a:hover { color: var(--red); }
.ph-sep { margin: 0 8px; }

.ph-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

/* Brush-stroke underline */
.ph-underline {
  display: block;
  position: relative;
  height: 8px;
  background: none;
  width: 70%;
  margin: 4px auto 0;
}
.ph-underline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-6deg) scaleX(1.05);
}

/* ─────────────────────────────────────────
   RESOURCES SECTION
───────────────────────────────────────── */
.res-section {
  background: var(--surface);
  padding: 56px 0 72px;
  font-family: 'Poppins', sans-serif;
}

.res-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section title block */
.res-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.res-tagline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--red);
  margin-bottom: 8px;
}

.res-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.res-subheading {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   CAROUSEL
───────────────────────────────────────── */
.res-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Track ── */
.res-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;           /* Firefox */
  cursor: grab;
  flex: 1;
  padding: 8px 4px 16px;
}
.res-track::-webkit-scrollbar { display: none; }
.res-track:active { cursor: grabbing; }

/* ── Card ── */
.res-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
  max-width: 420px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  transform: scale(0.97);
  opacity: 0.85;
}
.res-card--active {
  transform: scale(1);
  opacity: 1;
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.res-card:hover {
  transform: scale(1) translateY(-4px);
  opacity: 1;
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}

/* ── Video wrapper (16:9) ── */
.res-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #111;
  overflow: hidden;
}
.res-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Card footer ── */
.res-card-footer {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--border);
}
.res-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 5px;
  line-height: 1.3;
  letter-spacing: 0.2px;
}
.res-card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Arrow buttons ── */
.res-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 2;
}
.res-arrow svg {
  width: 18px;
  height: 18px;
}
.res-arrow:hover:not(:disabled) {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.08);
}
.res-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.res-arrow--prev { margin-right: 12px; }
.res-arrow--next { margin-left: 12px; }

/* ── Dot indicators ── */
.res-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.res-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.res-dot--active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}
.res-dot:hover:not(.res-dot--active) {
  background: var(--muted);
}

/* ── Counter ── */
.res-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
}
.res-counter__current {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.res-counter__sep {
  font-size: 0.9rem;
  color: var(--muted);
}
.res-counter__total {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   LOADING / EMPTY STATES
───────────────────────────────────────── */
.res-loading,
.res-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.res-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--red-light);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: res-spin 0.75s linear infinite;
}
@keyframes res-spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

/* Tablet */
@media (max-width: 960px) {
  .res-card {
    flex: 0 0 calc(50% - 12px);
  }
  .res-arrow {
    width: 38px;
    height: 38px;
  }
  .res-arrow--prev { margin-right: 8px; }
  .res-arrow--next { margin-left: 8px; }
}

/* Large mobile */
@media (max-width: 640px) {
  .page-header { min-height: 180px; }
  .ph-lamp, .ph-books { display: none; }

  .res-section { padding: 36px 0 52px; }

  .res-card {
    flex: 0 0 calc(90vw - 32px);
    min-width: 0;
    max-width: 100%;
  }

  .res-arrow {
    display: none;
  }

  .res-track {
    padding: 8px 0 16px;
    gap: 16px;
  }

  .res-counter__current { font-size: 1.3rem; }
}

/* Small mobile */
@media (max-width: 400px) {
  .res-container { padding: 0 14px; }

  .res-card {
    flex: 0 0 calc(95vw - 28px);
  }
}
.social-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  /* background: rgba(255,255,255,0.9); */
  margin: 40px 0 60px;
}

/* Main Button */
.social-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 16px 30px;

  border-radius: 60px;
  border: 2px solid transparent;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition: all .4s ease;

  box-shadow:
    0 10px 30px rgba(0,0,0,.08);

  overflow: hidden;
}

/* Glow Circle */
.social-btn::before {
  content: "";

  position: absolute;
  inset: -2px;

  border-radius: 60px;

  opacity: 0;

  transition: .4s ease;
}

/* Hover */
.social-btn:hover {
  transform: translateY(-8px) scale(1.04);
}

.social-btn:hover::before {
  opacity: 1;
}

/* Instagram */
.instagram {
  color: #c13584;
  border-color: rgba(193,53,132,.25);
}

.instagram::before {
  box-shadow:
    0 0 18px rgba(193,53,132,.4),
    0 0 35px rgba(193,53,132,.2);
}

/* Facebook */
.facebook {
  color: #1877f2;
  border-color: rgba(24,119,242,.25);
}

.facebook::before {
  box-shadow:
    0 0 18px rgba(24,119,242,.4),
    0 0 35px rgba(24,119,242,.2);
}

/* LinkedIn */
.linkedin {
  color: #0a66c2;
  border-color: rgba(10,102,194,.25);
}

.linkedin::before {
  box-shadow:
    0 0 18px rgba(10,102,194,.4),
    0 0 35px rgba(10,102,194,.2);
}

/* YouTube */
.youtube {
  color: #ff0000;
  border-color: rgba(255,0,0,.25);
}

.youtube::before {
  box-shadow:
    0 0 18px rgba(255,0,0,.4),
    0 0 35px rgba(255,0,0,.2);
}

.social-btn:hover {
  transform: translateY(-6px);
}


.social-section {
  margin: 80px 0;
}

.social-section h2 {
  font-size: 34px;
  margin-bottom: 30px;
  text-align: center;
}

.feed-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.social-icon{
  font-size: 24px;
  transition: .35s ease;
}

.social-btn:hover .social-icon{
  transform: scale(1.2) rotate(8deg);
}.res-section {
  padding: 40px 0;   /* reduce from current value */
  margin: 0;
}

.res-container {
  margin-bottom: 10px;
}

.res-section + .res-section {
  margin-top:2px; /* space between YouTube, Instagram, Facebook, LinkedIn */
}
/* ============================================================
   AnimatedPageHeader.css
   ============================================================ */

.aph-root {
  position: relative;
  width: 100%;
  min-height: 150px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
}

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */

.aph-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #7c1322 0%, #6e0f1f 45%, #560a17 100%);
}

.aph-bg-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 35%, rgba(255, 178, 150, 0.3) 0%, rgba(255, 178, 150, 0) 45%),
    radial-gradient(circle at 12% 88%, rgba(139, 30, 45, 0.5) 0%, rgba(139, 30, 45, 0) 50%);
  mix-blend-mode: screen;
}

.aph-bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(15, 2, 5, 0.5) 100%);
}

.aph-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(246, 232, 213, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 232, 213, 0.6) 1px, transparent 1px);
  background-size: 44px 44px;
}

.aph-bg-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.aph-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(246, 232, 213, 0.4);
  animation: aphParticleDrift linear infinite;
}

@keyframes aphParticleDrift {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  10% {
    opacity: 0.75;
  }

  90% {
    opacity: 0.45;
  }

  100% {
    transform: translate(-22px, -56px);
    opacity: 0;
  }
}

/* ============================================================
   LAYOUT — DESKTOP
   ============================================================ */

.aph-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 7rem 0 5rem 0;
}

.aph-left {
  flex: 0 0 42%;
  max-width: 42%;
  margin-left: 7%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 6;
}

.aph-visual {
  position: relative;
  z-index: 6;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4% 1.5rem 0;
  min-height: 230px;
  overflow: visible;
}

.aph-visual-full {
  padding: 0;
  justify-content: flex-end;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.aph-topic-image-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.aph-topic-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* If you want it to fade gracefully on the left edge */
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%);
  mask-image: linear-gradient(to right, transparent, black 15%);
}

/* ============================================================
   SOCIALS VISUAL
   ============================================================ */

.aph-socials-scene {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.aph-social-float {
  position: absolute;
  width: 120px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

.aph-social-1 {
  top: 10%;
  left: 0%;
  animation: aphFloatSocial 5s ease-in-out infinite;
}

.aph-social-2 {
  top: 40%;
  right: 5%;
  width: 140px;
  animation: aphFloatSocial 6s ease-in-out infinite 1s;
}

.aph-social-3 {
  bottom: 5%;
  left: 20%;
  animation: aphFloatSocial 5.5s ease-in-out infinite 0.5s;
}

@keyframes aphFloatSocial {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

/* ============================================================
   LEFT CONTENT
   ============================================================ */

.aph-crumb {
  font-size: 12px;
  color: rgba(246, 232, 213, 0.55);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.aph-crumb a {
  color: rgba(246, 232, 213, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}

.aph-crumb a:hover {
  color: #f6e8d5;
}

.aph-crumb-cur {
  color: #f6e8d5;
}

.aph-eyebrow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.aph-eyebrow span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #f6e8d5;
}

.aph-eyebrow-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #f6e8d5, rgba(246, 232, 213, 0));
  border-radius: 2px;
}

.aph-title {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  color: #f6e8d5;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.aph-sub {
  margin: 0 0 26px;
  max-width: 430px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.aph-cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  align-self: flex-start;
  padding: 14px 26px;
  border: none;
  border-radius: 100px;
  background: #f6e8d5;
  color: #6e0f1f;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.35);
}

.aph-cta-icon {
  font-size: 13px;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.aph-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.45),
    0 0 0 6px rgba(246, 232, 213, 0.12);
}

.aph-cta:hover .aph-cta-icon {
  transform: translateX(4px);
}

.aph-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.aph-cta:active {
  transform: translateY(-1px) scale(0.99);
}

/* ============================================================
   SIGNATURE VISUAL A — CANDLESTICKS
   ============================================================ */

.aph-candles {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 200px;
  display: flex;
  align-items: stretch;
  gap: 11px;
}

.aph-candle-col {
  position: relative;
  flex: 1;
  height: 100%;
  animation: aphCandleFade 0.4s ease-out backwards;
}

.aph-candle-wick {
  position: absolute;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: rgba(246, 232, 213, 0.35);
}

.aph-candle-body {
  position: absolute;
  left: 50%;
  width: 60%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: center;
  border-radius: 1.5px;
  animation: aphCandleGrow 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.aph-candle-body.up {
  background: #f6e8d5;
}

.aph-candle-body.down {
  background: #e08a78;
}

@keyframes aphCandleFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes aphCandleGrow {
  from {
    transform: translateX(-50%) scaleY(0);
  }

  to {
    transform: translateX(-50%) scaleY(1);
  }
}

/* ============================================================
   SIGNATURE VISUAL B — BULL VS BEAR
   ============================================================ */

.aph-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 290px;
}

.aph-arrow {
  position: absolute;
  top: 2%;
  right: 0;
  width: 50%;
  max-width: 220px;
  color: rgba(246, 232, 213, 0.2);
  z-index: 1;
  animation: aphArrowPulse 5s ease-in-out infinite;
  transform: rotate(2deg);
}

.aph-arrow svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes aphArrowPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: rotate(2deg) scale(1);
  }

  50% {
    opacity: 1;
    transform: rotate(2deg) scale(1.05);
  }
}

.aph-scene-candles {
  position: absolute;
  bottom: 6%;
  left: 0;
  width: 55%;
  height: 60%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  z-index: 1;
  opacity: 0.2;
}

.aph-scene-candle {
  width: 10px;
  border-radius: 2px;
  background: #f6e8d5;
  animation: aphSceneCandleBreathe 3.2s ease-in-out infinite;
}

.aph-scene-candle.down {
  background: #c44a4a;
}

@keyframes aphSceneCandleBreathe {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.85;
  }
}

.aph-dust {
  position: absolute;
  bottom: 2%;
  width: 170px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(110, 15, 31, 0.5) 0%, rgba(110, 15, 31, 0) 70%);
  filter: blur(6px);
  z-index: 2;
  animation: aphDustDrift 6s ease-in-out infinite;
}

.aph-dust-left {
  left: 4%;
  animation-delay: 0.4s;
}

.aph-dust-right {
  right: 12%;
  animation-delay: 1.2s;
}

@keyframes aphDustDrift {

  0%,
  100% {
    transform: translateY(0) scaleX(1);
    opacity: 0.55;
  }

  50% {
    transform: translateY(-5px) scaleX(1.08);
    opacity: 0.8;
  }
}

.aph-bull {
  position: absolute;
  z-index: 4;
  left: -32%;
  bottom: -24%;
  width: 100%;
  max-width: 620px;
  height: auto;
  transform: rotate(3deg);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.5));
  animation: aphBullFloat 4.5s ease-in-out infinite;
}

.aph-bear {
  position: absolute;
  z-index: 3;
  right: -11%;
  bottom: -28%;
  width: 90%;
  max-width: 550px;
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
  animation: aphBearFloat 4.5s ease-in-out infinite;
}

@keyframes aphBullFloat {

  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }

  50% {
    transform: rotate(3deg) translateY(-10px);
  }
}

@keyframes aphBearFloat {

  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }

  50% {
    transform: rotate(-4deg) translateY(-6px);
  }
}

/* ============================================================
   WAVE
   ============================================================ */

.aph-wave {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .aph-left {
    flex: 0 0 46%;
    max-width: 46%;
    margin-left: 5%;
  }

  .aph-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .aph-scene {
    max-width: 420px;
    height: 240px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL TABLET (≤ 900px)
   Stack text on top, visual below
   ============================================================ */

@media (max-width: 900px) {
  .aph-root {
    min-height: auto;
  }

  .aph-inner {
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 0 0;
  }

  .aph-left {
    flex: none;
    width: 90%;
    max-width: 90%;
    margin-left: 0;
    padding: 0 5%;
    text-align: left;
  }

  /* Visual sits BELOW text, full width, visible height */
  .aph-visual {
    width: 100%;
    flex: none;
    min-height: 200px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    margin-bottom: 2.5rem;
  }

  .aph-scene {
    width: 90%;
    max-width: 420px;
    height: 200px;
  }

  .aph-candles {
    max-width: 360px;
    height: 160px;
  }

  /* Keep bull/bear inside visible area on tablet */
  .aph-bull {
    left: -10%;
    bottom: -10%;
    width: 55%;
    max-width: 380px;
  }

  .aph-bear {
    right: -4%;
    bottom: -12%;
    width: 48%;
    max-width: 320px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE LANDSCAPE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
  .aph-title {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .aph-sub {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .aph-cta {
    padding: 11px 20px;
    font-size: 13px;
  }

  .aph-scene {
    max-width: 380px;
    height: 180px;
  }

  .aph-bull {
    width: 68%;
    max-width: 300px;
    left: -8%;
    bottom: -8%;
  }

  .aph-bear {
    width: 60%;
    max-width: 260px;
    right: -2%;
    bottom: -10%;
  }

  .aph-candles {
    max-width: 320px;
    height: 140px;
    gap: 8px;
  }

  .aph-dust {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE PORTRAIT (≤ 560px)
   ============================================================ */

@media (max-width: 560px) {
  .aph-inner {
    padding: 1.5rem 0 0 0;
  }

  .aph-left {
    width: 92%;
    max-width: 92%;
    padding: 0 4%;
  }

  .aph-title {
    font-size: clamp(1.6rem, 8.5vw, 2.2rem);
    margin-bottom: 8px;
  }

  .aph-crumb {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .aph-eyebrow {
    margin-bottom: 12px;
    gap: 6px;
  }

  .aph-eyebrow span:first-child {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .aph-sub {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .aph-cta {
    padding: 10px 18px;
    font-size: 12.5px;
    gap: 8px;
  }

  .aph-visual {
    min-height: 170px;
    margin-bottom: 2rem;
  }

  .aph-scene {
    width: 94%;
    max-width: 320px;
    height: 160px;
  }

  /* Bull and bear fully visible on small screens */
  .aph-bull {
    width: 72%;
    max-width: 260px;
    left: -4%;
    bottom: -6%;
  }

  .aph-bear {
    width: 62%;
    max-width: 210px;
    right: 0%;
    bottom: -8%;
  }

  .aph-candles {
    max-width: 280px;
    height: 120px;
    gap: 6px;
  }

  .aph-scene-candles {
    display: none;
  }

  .aph-arrow {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 400px)
   ============================================================ */

@media (max-width: 400px) {
  .aph-left {
    width: 94%;
    max-width: 94%;
    padding: 0 3%;
  }

  .aph-title {
    font-size: clamp(1.4rem, 9vw, 1.9rem);
  }

  .aph-sub {
    font-size: 12.5px;
    margin-bottom: 14px;
  }

  .aph-cta {
    padding: 9px 16px;
    font-size: 12px;
  }

  .aph-visual {
    min-height: 150px;
  }

  .aph-scene {
    max-width: 280px;
    height: 140px;
  }

  .aph-bull {
    width: 75%;
    max-width: 220px;
    left: -2%;
    bottom: -4%;
  }

  .aph-bear {
    width: 65%;
    max-width: 180px;
    right: 1%;
    bottom: -6%;
  }

  .aph-candles {
    max-width: 240px;
    height: 100px;
    gap: 5px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .aph-bull,
  .aph-bear,
  .aph-arrow,
  .aph-dust,
  .aph-scene-candle,
  .aph-candle-body,
  .aph-particle,
  .aph-cta {
    animation: none !important;
    transition: none !important;
  }
}
:root {
  --red: #bc1421;
  --red-dark: #991119;
  --red-light: #f9e8e9;
  --red-mid: rgba(188, 20, 33, 0.08);
  --charcoal: #2d2d2d;
  --slate: #4a4a5a;
  --muted: #6b6b7b;
  --border: #e8e4e4;
  --surface: #fafafa;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(188, 20, 33, 0.07);
  --shadow-md: 0 6px 28px rgba(188, 20, 33, 0.12);
  --shadow-lg: 0 16px 56px rgba(188, 20, 33, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* Contact Movement Section */
.contact-movement-section {
  position: relative;
  background-color: #ffffff;
  padding: 40px 2% 20px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Decorative SVG Icons */
.cms-decorative {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.cms-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}

/* Using a simple CSS-drawn iris/aperture shape to mimic the screenshot icons */
.cms-icon::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border: 4px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(45deg);
}

.cms-icon::after {
  content: '';
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.cms-icon-1 {
  top: 15%;
  left: 20%;
  color: #b7a9e6;
  transform: scale(0.6);
}

.cms-icon-2 {
  top: 40%;
  left: 5%;
  color: #1e4a86;
  transform: scale(0.8);
}

.cms-icon-3 {
  top: 20%;
  right: 10%;
  color: #e6a9d7;
  transform: scale(0.5);
}

.cms-icon-4 {
  top: 55%;
  right: 25%;
  color: #2ecc71;
  transform: scale(0.7);
}

/* Hero Headline */
.cms-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.cms-headline {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: #838383;
  /* Grey text for "More Than" */
  line-height: 1.3;
  margin: 0;
}

.cms-text-normal {
  display: inline-block;
  margin: 0 15px;
  color: #000;
}

.cms-pill {
  display: inline-block;
  background-color: #bc1421;
  /* Dark purple/blue */
  color: #ffffff;
  padding: 5px 40px;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform-origin: center;
}

.cms-pill-1 {
  transform: rotate(-8deg) translateY(-10px);
  position: relative;
  z-index: 2;
}

.cms-pill-2 {
  transform: rotate(-8deg) translateY(-10px) translateX(-20px);
  position: relative;
  z-index: 1;
}

/* Middle Grid */
.cms-middle-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}

/* Visit Us */
.cms-visit-us {
  max-width: 350px;
}

.cms-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.cms-title-line {
  flex: 1;
  height: 2px;
  background-color: #e4d754;
  /* Yellow line */
}

.cms-address-text {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 25px;
}

.cms-circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #bc1421;
  /* Very dark blue */
  color: #fff;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cms-circle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(15, 30, 66, 0.3);
}

/* Explore Button */
.cms-explore {
  text-align: center;
}

.cms-pill-btn {
  background-color: #ffffff;
  color: #bc1421;
  border: 2px solid #bc1421;
  border-radius: 50px;
  padding: 10px 20px 10px 30px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cms-pill-btn:hover {
  background-color: #bc1421;
  color: #ffffff;
}

.cms-btn-icon {
  background-color: #bc1421;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cms-pill-btn:hover .cms-btn-icon {
  background-color: #ffffff;
  color: #bc1421;
}

/* Quote */
.cms-quote {
  position: relative;
  max-width: 300px;
  margin-left: auto;
}

.cms-quote-mark {
  position: absolute;
  color: #e4d754;
  /* Yellow quote */
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}

.cms-quote-mark-start {
  top: -15px;
  left: -25px;
}

.cms-quote-mark-end {
  bottom: -30px;
  right: -5px;
}

.cms-quote-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #838383;
  line-height: 1.4;
  margin: 0;
}

/* Stats Row */
.cms-stats-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 50px;
}

.cms-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #bc1421;
  /* Purple */
  margin: 0 0 10px;
}

.cms-stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cms-stat-icon {
  color: #bc1421;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .cms-middle-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .cms-visit-us,
  .cms-quote {
    margin: 0 auto;
  }

  .cms-title-line {
    display: none;
  }

  .cms-section-title {
    justify-content: center;
  }

  .cms-circle-btn {
    margin: 0 auto;
  }

  .cms-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
}

@media (max-width: 768px) {
  .cms-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .cms-pill-1,
  .cms-pill-2 {
    transform: rotate(0deg) !important;
    padding: 5px 20px;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .cms-stats-row {
    grid-template-columns: 1fr;
  }
}


/* ─────────────────────────────────────────
   CONTACT PAGE WRAPPER
───────────────────────────────────────── */
.contact-page {
  background: var(--surface);
  padding: 48px 0 64px;
  font-family: 'Poppins', sans-serif;
}

.cp-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ── Info cards ── */
.cp-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cp-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cp-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.cp-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: var(--transition);
}

.cp-info-card:hover .cp-info-icon {
  background: var(--red);
}

.cp-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  transition: var(--transition);
}

.cp-info-card:hover .cp-info-icon svg {
  color: var(--white);
}

.cp-info-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}

.cp-info-card a,
.cp-info-card p {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}

.cp-info-card a:hover {
  color: var(--red);
}

/* ── Body row: form + map ── */
.cp-body-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* ─────────────────────────────────────────
   FORM CARD
───────────────────────────────────────── */
.cp-form-card {
  background: var(--white);
  border: none;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.cp-form-header {
  margin-bottom: 22px;
}

.cp-tagline {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--red);
  margin-bottom: 6px;
}

.cp-form-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cp-field label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
}

.cp-optional {
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
  letter-spacing: 0;
}

.error-text {
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  margin-top: 4px;
}

.cp-form input.has-error,
.cp-form select.has-error,
.cp-form textarea.has-error {
  border-color: var(--red);
  background: #fffafa;
}

.cp-form input,
.cp-form select,
.cp-form textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: #f8f9fa;
  border: 1.5px solid #eaeaea;
  border-radius: 12px;
  padding: 12px 18px;
  outline: none;
  transition: all 0.3s ease;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}

.cp-form select {
  cursor: pointer;
}

.cp-form input:focus,
.cp-form select:focus,
.cp-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-mid);
}

.cp-form input::placeholder,
.cp-form textarea::placeholder {
  color: #bbb;
}

/* ── Buttons ── */
.cp-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cp-btn:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cp-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cp-btn-full {
  width: 100%;
}

/* Spinner */
.cp-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cp-success {
  text-align: center;
  padding: 32px 20px;
}

.cp-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.cp-success h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin: 0 0 6px;
}

.cp-success p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 18px;
}


/* ─────────────────────────────────────────
   ANIMATED GALLERY CARD
───────────────────────────────────────── */
.cp-gallery-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 100%;
}

.cp-gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-width: 420px;
}

.cp-gallery-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48%;
  height: 48%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  /* Start scale at 0 from absolute center */
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Add slight stagger to the animation */
.cp-gallery-img.img-1 {
  transition-delay: 0.1s;
}

.cp-gallery-img.img-2 {
  transition-delay: 0.2s;
}

.cp-gallery-img.img-3 {
  transition-delay: 0.3s;
}

.cp-gallery-img.img-4 {
  transition-delay: 0.4s;
}

/* The Fan-out Animation (2x2 grid) when scrolled into view */
.cp-gallery-card.is-visible .cp-gallery-img {
  opacity: 1;
}

.cp-gallery-card.is-visible .img-1 {
  transform: translate(-103%, -103%) scale(1) rotate(-2deg);
}

.cp-gallery-card.is-visible .img-2 {
  transform: translate(3%, -103%) scale(1) rotate(3deg);
}

.cp-gallery-card.is-visible .img-3 {
  transform: translate(-103%, 3%) scale(1) rotate(1deg);
}

.cp-gallery-card.is-visible .img-4 {
  transform: translate(3%, 3%) scale(1) rotate(-1deg);
}


@media (max-width: 900px) {
  .cp-body-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cp-info-row {
    grid-template-columns: 1fr;
  }

  .cp-row-2 {
    grid-template-columns: 1fr;
  }

  .cp-form-card {
    padding: 24px 18px;
  }

  .page-header {
    min-height: 180px;
  }

  .ph-lamp,
  .ph-books {
    display: none;
  }
}
/* ─────────────────────────────────────────
   Brand tokens (mirrors root variables)
───────────────────────────────────────── */
:root {
  --red: #bc1421;
  --red-dark: #991119;
  --red-light: #f9e8e9;
  --red-mid: rgba(188, 20, 33, 0.08);
  --charcoal: #2d2d2d;
  --slate: #4a4a5a;
  --muted: #6b6b7b;
  --border: #e8e4e4;
  --surface: #fafafa;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(188, 20, 33, 0.07);
  --shadow-md: 0 6px 28px rgba(188, 20, 33, 0.12);
  --shadow-lg: 0 16px 56px rgba(188, 20, 33, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* ─────────────────────────────────────────
   PAGE HEADER  (matches screenshot style)
───────────────────────────────────────── */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 40%, #f5f0fa 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* ── Pendant lamps (top-left decorative) ── */
.ph-lamp {
  position: absolute;
  top: 0;
  width: 52px;
  height: 90px;
  background: linear-gradient(180deg, #d0ccd0 0%, #a8a4a8 100%);
  border-radius: 0 0 50% 50%;
}

.ph-lamp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 28px;
  background: #b0acb0;
  border-radius: 2px;
}

.ph-lamp-1 {
  left: 14%;
}

.ph-lamp-2 {
  left: 22%;
  width: 42px;
  height: 72px;
}

/* ── Floating dots ── */
.ph-dot {
  position: absolute;
  border-radius: 50%;
}

.ph-dot-1 {
  width: 18px;
  height: 18px;
  background: #e85c5c;
  top: 28%;
  left: 34%;
}

.ph-dot-2 {
  width: 14px;
  height: 14px;
  background: #5a7bc4;
  top: 68%;
  left: 21%;
}

.ph-dot-3 {
  width: 12px;
  height: 12px;
  background: #5a7bc4;
  top: 15%;
  right: 14%;
}

.ph-dot-4 {
  width: 16px;
  height: 16px;
  background: #e85c5c;
  bottom: 18%;
  right: 28%;
}

/* ── Stacked books (right side) ── */
.ph-books {
  position: absolute;
  right: 7%;
  bottom: 0;
  width: 80px;
  height: 110px;
  background:
    linear-gradient(180deg, #5ba08a 0%, #5ba08a 16%,
      #e8c840 16%, #e8c840 32%,
      #d4504a 32%, #d4504a 48%,
      #6890c4 48%, #6890c4 64%,
      #c87840 64%, #c87840 80%,
      #9060b8 80%, #9060b8 100%);
  border-radius: 4px 4px 0 0;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

/* ── Centre text ── */
.ph-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ph-breadcrumb {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.ph-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.ph-breadcrumb a:hover {
  color: var(--red);
}

.ph-sep {
  margin: 0 8px;
}

.ph-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.5px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.ph-underline {
  display: block;
  height: 6px;
  background: var(--red);
  border-radius: 3px;
  margin: 6px auto 0;
  width: 60%;
  clip-path: path('M0,3 Q30,0 60,3 Q90,6 120,3');
  /* Fallback straight line for unsupported clip-path */
}

/* SVG-style brush stroke via mask */
.ph-underline {
  position: relative;
  height: 8px;
  background: none;
  width: 70%;
  margin: 4px auto 0;
}

.ph-underline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-6deg) scaleX(1.05);
}

/* ─────────────────────────────────────────
   CONTACT PAGE WRAPPER
───────────────────────────────────────── */
.contact-page {
  background: var(--surface);
  padding: 48px 0 64px;
  font-family: 'Poppins', sans-serif;
}

.cp-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ── Info cards ── */
.cp-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cp-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cp-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.cp-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: var(--transition);
}

.cp-info-card:hover .cp-info-icon {
  background: var(--red);
}

.cp-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  transition: var(--transition);
}

.cp-info-card:hover .cp-info-icon svg {
  color: var(--white);
}

.cp-info-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 6px;
  letter-spacing: 0.3px;
}

.cp-info-card a,
.cp-info-card p {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.5;
  margin: 0;
}

.cp-info-card a:hover {
  color: var(--red);
}

/* ── Body row: form + map ── */
.cp-body-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ─────────────────────────────────────────
   FORM CARD
───────────────────────────────────────── */
.cp-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.cp-form-header {
  margin-bottom: 22px;
}

.cp-tagline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--red);
  margin-bottom: 6px;
}

.cp-form-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}

.cp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cp-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cp-optional {
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
  letter-spacing: 0;
}

.cp-form input,
.cp-form select,
.cp-form textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
  resize: none;
  width: 100%;
  box-sizing: border-box;
}

.cp-form select {
  cursor: pointer;
}

.cp-form input:focus,
.cp-form select:focus,
.cp-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-mid);
}

.cp-form input::placeholder,
.cp-form textarea::placeholder {
  color: #bbb;
}

/* ── Buttons ── */
.cp-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.cp-btn:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cp-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cp-btn-full {
  width: 100%;
}

/* Spinner */
.cp-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Success state ── */
.cp-success {
  text-align: center;
  padding: 32px 20px;
}

.cp-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.cp-success h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  color: var(--charcoal);
  margin: 0 0 6px;
}

.cp-success p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 18px;
}

/* ─────────────────────────────────────────
   MAP CARD
───────────────────────────────────────── */
.cp-map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.cp-map-card iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: none;
}

.cp-map-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.cp-review-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: var(--radius);
  padding: 9px 20px;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.cp-review-btn:hover {
  background: var(--red);
  color: var(--white);
}


@media (max-width: 900px) {
  .cp-body-row {
    grid-template-columns: 1fr;
  }

  .cp-map-card iframe {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .cp-info-row {
    grid-template-columns: 1fr;
  }

  .cp-row-2 {
    grid-template-columns: 1fr;
  }

  .cp-form-card {
    padding: 24px 18px;
  }

  .page-header {
    min-height: 180px;
  }

  .ph-lamp,
  .ph-books {
    display: none;
  }
}

/* ─────────────────────────────────────────
   BRANCH TABS  (top navigation)
───────────────────────────────────────── */
.branches-wrapper {
  min-height: 100vh;
  background: var(--surface);
}

.branch-tabs {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(188, 20, 33, 0.07);
}

.branch-tabs__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.branch-tabs__inner::-webkit-scrollbar {
  display: none;
}

.branch-tab-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 22px 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  bottom: -2px;
}

.branch-tab-btn:hover {
  color: var(--charcoal);
  background: var(--red-mid);
  border-radius: var(--radius) var(--radius) 0 0;
}

.branch-tab-btn--active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.branch-tab-btn__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  flex-shrink: 0;
}

.branch-tab-btn--active .branch-tab-btn__dot {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-light);
}

@media (max-width: 640px) {
  .branch-tab-btn {
    font-size: 0.82rem;
    padding: 14px 14px 11px;
    gap: 6px;
  }
}

.branches-globe-container {
  width: 100%;
  height: 700px;
  margin-bottom: 50px;
  border-radius: 24px;
  overflow: hidden;
  background: #fCFDE8;
}

@media (max-width: 768px) {
  .branches-globe-container {
    height: 450px;
  }
}

.branches-globe-container canvas {
  border-radius: 24px;
}

@media (max-width: 768px) {
  .branches-globe-container {
    margin: 20px 0 40px;
  }
}/* ════════════════════════════════════════
   BRAND TOKENS
════════════════════════════════════════ */
:root {
  --red:        #bc1421;
  --red-dark:   #9b1019;
  --red-deep:   #800020;
  --red-light:  #f8e8ea;
  --red-mid:    rgba(188,20,33,0.10);

  --ink:        #3a000e;
  --ink-mid:    #5c1a28;
  --muted:      #8c4054;
  --border:     #f0dade;
  --surface:    #fdf5f6;
  --surface-2:  #fbeaec;
  --white:      #ffffff;

  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --shadow-sm:  0 2px 12px rgba(128,0,32,.06);
  --shadow-md:  0 6px 28px rgba(128,0,32,.11);
  --shadow-lg:  0 16px 56px rgba(128,0,32,.16);
  --trans:      0.28s cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════════════════
   RESET / PAGE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

.pp-page {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  min-height: 100vh;
  color: var(--ink);
}

.pp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ════════════════════════════════════════
   HERO — matches screenshot design
════════════════════════════════════════ */
.pp-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 42%, #f3effa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Pendant lamps ── */
.pp-hero__lamp {
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #cec9ce 0%, #a5a1a5 100%);
  border-radius: 0 0 50% 50%;
}
.pp-hero__lamp::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 32px;
  background: #b0adb0;
  border-radius: 2px;
}
.pp-hero__lamp--1 { left: 13%; width: 56px; height: 96px; }
.pp-hero__lamp--2 { left: 22%; width: 44px; height: 76px; }

/* ── Floating dots ── */
.pp-hero__dot {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.pp-hero__dot--1 { width: 20px; height: 20px; background: #e85c5c; top: 27%;  left: 35%; }
.pp-hero__dot--2 { width: 14px; height: 14px; background: #5a7bc4; top: 72%;  left: 21%; }
.pp-hero__dot--3 { width: 13px; height: 13px; background: #5a7bc4; top: 15%;  right: 14%; }
.pp-hero__dot--4 { width: 18px; height: 18px; background: #e85c5c; bottom: 18%; right: 28%; }

/* ── Stacked books ── */
.pp-hero__books {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 90px;
  height: 126px;
  background: linear-gradient(180deg,
    #5ba08a 0%,  #5ba08a 16%,
    #e8c840 16%, #e8c840 30%,
    #d4504a 30%, #d4504a 46%,
    #6890c4 46%, #6890c4 62%,
    #c87840 62%, #c87840 78%,
    #9060b8 78%, #9060b8 100%
  );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}

/* ── Hero centre text ── */
.pp-hero__body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.pp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.pp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--trans);
}
.pp-breadcrumb a:hover { color: var(--red); }
.pp-breadcrumb span:nth-child(2) {
  font-size: 0.5rem;
  color: var(--red);
}

.pp-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.1;
  display: inline-block;
  position: relative;
}

/* Red skewed underline stroke */
.pp-hero__stroke {
  display: block;
  height: 8px;
  width: 75%;
  margin: 7px auto 0;
  position: relative;
  font-style: normal;
}
.pp-hero__stroke::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-8deg) scaleX(1.06);
}

.pp-hero__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ════════════════════════════════════════
   INTRO STRIP
════════════════════════════════════════ */
.pp-intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pp-intro__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}

.pp-intro__badge {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red-light);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-intro__badge svg { width: 26px; height: 26px; color: var(--red); }

.pp-intro__text { flex: 1; min-width: 220px; }

.pp-intro__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-intro__desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
}

.pp-intro__stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.pp-stat {
  text-align: center;
}
.pp-stat__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.pp-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

/* ════════════════════════════════════════
   MAIN LAYOUT  (sidebar + accordion)
════════════════════════════════════════ */
.pp-main {
  padding: 52px 0 80px;
}

.pp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Sticky Sidebar TOC ── */
.pp-toc {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pp-toc::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--red);
  margin-bottom: 16px;
}

.pp-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 0 20px;
  margin: 0 0 10px;
}

.pp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pp-toc__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: var(--ink-mid);
  text-align: left;
  line-height: 1.4;
  transition: background var(--trans), color var(--trans), padding-left var(--trans);
  border-left: 3px solid transparent;
}
.pp-toc__item:hover {
  background: var(--red-light);
  color: var(--ink);
}
.pp-toc__item--active {
  background: var(--red-light);
  color: var(--red);
  font-weight: 600;
  border-left-color: var(--red);
}

.pp-toc__num {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
}

/* ── Accordion Sections ── */
.pp-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pp-sec {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  animation: ppRise 0.38s var(--ease) both;
}
.pp-sec:hover {
  box-shadow: var(--shadow-md);
}
.pp-sec--open {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}

@keyframes ppRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Section header button */
.pp-sec__hd {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans);
  font-family: 'Poppins', sans-serif;
}
.pp-sec__hd:hover { background: var(--surface); }
.pp-sec--open .pp-sec__hd {
  background: var(--red-light);
  border-bottom: 1px solid var(--border);
}

.pp-sec__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.pp-sec__icon svg {
  width: 19px; height: 19px;
  color: var(--red);
  transition: color var(--trans);
}
.pp-sec--open .pp-sec__icon { background: var(--red); }
.pp-sec--open .pp-sec__icon svg { color: var(--white); }

.pp-sec__num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-mid);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.pp-sec__title {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.pp-sec--open .pp-sec__title { color: var(--red-deep); }

.pp-sec__arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans), color var(--trans);
}
.pp-sec__arrow svg { width: 18px; height: 18px; }
.pp-sec--open .pp-sec__arrow {
  transform: rotate(180deg);
  color: var(--red);
}

/* Accordion body — max-height technique (most reliable) */
.pp-sec__bd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.pp-sec--open .pp-sec__bd {
  max-height: 400px;
}

.pp-sec__bd-inner {
  padding: 0;
}

.pp-sec__text {
  font-size: 0.91rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin: 0;
  padding: 20px 22px 22px 78px;
}

/* ── App Policy Card ── */
.pp-app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pp-app-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}

.pp-app-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.pp-app-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-app-card__icon svg { width: 22px; height: 22px; color: var(--red); }

.pp-app-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.pp-app-card__desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.pp-app-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  padding: 11px 22px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pp-app-card__btn svg { width: 15px; height: 15px; }
.pp-app-card__btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .pp-layout {
    grid-template-columns: 1fr;
  }
  .pp-toc {
    position: static;
    display: none;
  }
}

@media (max-width: 640px) {
  .pp-hero { min-height: 210px; }
  .pp-hero__lamp, .pp-hero__books { display: none; }
  .pp-wrap { padding: 0 16px; }
  .pp-intro__inner { padding: 20px 0; gap: 16px; }
  .pp-intro__stats { gap: 16px; }
  .pp-main { padding: 32px 0 56px; }
  .pp-sec__hd { padding: 14px 16px; gap: 10px; }
  .pp-sec__text { padding: 16px 16px 18px 16px; }
  .pp-sec__num { display: none; }
  .pp-app-card { padding: 18px 20px 18px 28px; }
  .pp-app-card__btn { width: 100%; justify-content: center; margin-top: 4px; }
}


/* ════════════════════════════════════════
   BRAND TOKENS
════════════════════════════════════════ */
:root {
  --red:        #bc1421;
  --red-dark:   #9b1019;
  --red-deep:   #800020;
  --red-light:  #f8e8ea;
  --red-mid:    rgba(188,20,33,0.10);

  --ink:        #3a000e;
  --ink-mid:    #5c1a28;
  --muted:      #8c4054;
  --border:     #f0dade;
  --surface:    #fdf5f6;
  --surface-2:  #fbeaec;
  --white:      #ffffff;

  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --radius:     10px;
  --radius-lg:  18px;
  --shadow-sm:  0 2px 12px rgba(128,0,32,.06);
  --shadow-md:  0 6px 28px rgba(128,0,32,.11);
  --shadow-lg:  0 16px 56px rgba(128,0,32,.16);
  --trans:      0.28s cubic-bezier(.4,0,.2,1);
}
/* ════════════════════════════════════════
   RESET / PAGE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
.pp-page {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  min-height: 100vh;
  color: var(--ink);
}
.pp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.pp-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 42%, #f3effa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pp-hero__lamp {
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #cec9ce 0%, #a5a1a5 100%);
  border-radius: 0 0 50% 50%;
}
.pp-hero__lamp::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 32px;
  background: #b0adb0;
  border-radius: 2px;
}
.pp-hero__lamp--1 { left: 13%; width: 56px; height: 96px; }
.pp-hero__lamp--2 { left: 22%; width: 44px; height: 76px; }
.pp-hero__dot {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.pp-hero__dot--1 { width: 20px; height: 20px; background: #e85c5c; top: 27%;  left: 35%; }
.pp-hero__dot--2 { width: 14px; height: 14px; background: #5a7bc4; top: 72%;  left: 21%; }
.pp-hero__dot--3 { width: 13px; height: 13px; background: #5a7bc4; top: 15%;  right: 14%; }
.pp-hero__dot--4 { width: 18px; height: 18px; background: #e85c5c; bottom: 18%; right: 28%; }
.pp-hero__books {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 90px;
  height: 126px;
  background: linear-gradient(180deg,
    #5ba08a 0%,  #5ba08a 16%,
    #e8c840 16%, #e8c840 30%,
    #d4504a 30%, #d4504a 46%,
    #6890c4 46%, #6890c4 62%,
    #c87840 62%, #c87840 78%,
    #9060b8 78%, #9060b8 100%
  );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}
.pp-hero__alert-badge {
  position: absolute;
  left: 6%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 14px 6px 8px;
  box-shadow: var(--shadow-sm);
}
.pp-hero__alert-badge svg {
  width: 16px; height: 16px;
  color: var(--red);
}
.pp-hero__alert-badge span {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-mid);
}
.pp-hero__body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.pp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.pp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--trans);
}
.pp-breadcrumb a:hover { color: var(--red); }
.pp-breadcrumb__sep {
  font-size: 0.5rem;
  color: var(--red);
}
.pp-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.1;
  display: inline-block;
  position: relative;
}
.pp-hero__stroke {
  display: block;
  height: 8px;
  width: 75%;
  margin: 7px auto 0;
  position: relative;
  font-style: normal;
}
.pp-hero__stroke::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-8deg) scaleX(1.06);
}
.pp-hero__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}
/* ════════════════════════════════════════
   INTRO STRIP
════════════════════════════════════════ */
.pp-intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pp-intro__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.pp-intro__badge {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red-light);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-intro__badge svg { width: 26px; height: 26px; color: var(--red); }
.pp-intro__text { flex: 1; min-width: 220px; }
.pp-intro__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-intro__desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
}
.pp-intro__stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.pp-stat {
  text-align: center;
}
.pp-stat__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.pp-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}
/* ════════════════════════════════════════
   MAIN LAYOUT
════════════════════════════════════════ */
.pp-main {
  padding: 52px 0 80px;
}
.pp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
/* ── Sticky Sidebar TOC ── */
.pp-toc {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pp-toc::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--red);
  margin-bottom: 16px;
}
.pp-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 0 20px;
  margin: 0 0 10px;
}
.pp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pp-toc__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: var(--ink-mid);
  text-align: left;
  line-height: 1.4;
  transition: background var(--trans), color var(--trans);
  border-left: 3px solid transparent;
}
.pp-toc__item:hover {
  background: var(--red-light);
  color: var(--ink);
}
.pp-toc__item--active {
  background: var(--red-light);
  color: var(--red);
  font-weight: 600;
  border-left-color: var(--red);
}
.pp-toc__num {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
}
/* ── Accordion Sections ── */
.pp-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-sec {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  animation: ppRise 0.38s var(--ease) both;
}
.pp-sec:nth-child(2) { animation-delay: 0.04s; }
.pp-sec:nth-child(3) { animation-delay: 0.08s; }
.pp-sec:nth-child(4) { animation-delay: 0.12s; }
.pp-sec:nth-child(5) { animation-delay: 0.16s; }
.pp-sec:nth-child(6) { animation-delay: 0.20s; }
.pp-sec:nth-child(7) { animation-delay: 0.24s; }
.pp-sec:hover { box-shadow: var(--shadow-md); }
.pp-sec--open {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
@keyframes ppRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pp-sec__hd {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans);
  font-family: 'Poppins', sans-serif;
}
.pp-sec__hd:hover { background: var(--surface); }
.pp-sec--open .pp-sec__hd {
  background: var(--red-light);
  border-bottom: 1px solid var(--border);
}
.pp-sec__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.pp-sec__icon svg {
  width: 19px; height: 19px;
  color: var(--red);
  transition: color var(--trans);
}
.pp-sec--open .pp-sec__icon { background: var(--red); }
.pp-sec--open .pp-sec__icon svg { color: var(--white); }
.pp-sec__num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-mid);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.pp-sec__title {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.pp-sec--open .pp-sec__title { color: var(--red-deep); }
.pp-sec__arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans), color var(--trans);
}
.pp-sec__arrow svg { width: 18px; height: 18px; }
.pp-sec--open .pp-sec__arrow {
  transform: rotate(180deg);
  color: var(--red);
}
.pp-sec__bd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.pp-sec--open .pp-sec__bd {
  max-height: 500px;
}
.pp-sec__text {
  font-size: 0.91rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin: 0;
  padding: 20px 22px 22px 78px;
}
/* ── Note / Alert Cards ── */
.pp-note-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.pp-note-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-note-card--warn {
  background: #fff8f8;
}
.pp-note-card--warn::before {
  background: #c87840;
}
.pp-note-card--warn .pp-note-card__icon {
  background: #fff0e0;
  border-color: #f0d0b0;
}
.pp-note-card--warn .pp-note-card__icon svg { color: #c87840; }
.pp-note-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-left: 4px;
}
.pp-note-card__icon svg { width: 20px; height: 20px; color: var(--red); }
.pp-note-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-note-card__text {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
/* ── CTA Card ── */
.pp-app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 4px;
}
.pp-app-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-app-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.pp-app-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-app-card__icon svg { width: 22px; height: 22px; color: var(--red); }
.pp-app-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.pp-app-card__desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.pp-app-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  padding: 11px 22px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pp-app-card__btn svg { width: 15px; height: 15px; }
.pp-app-card__btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .pp-layout { grid-template-columns: 1fr; }
  .pp-toc { position: static; display: none; }
}
@media (max-width: 640px) {
  .pp-hero { min-height: 210px; }
  .pp-hero__lamp, .pp-hero__books, .pp-hero__alert-badge { display: none; }
  .pp-wrap { padding: 0 16px; }
  .pp-intro__inner { padding: 20px 0; gap: 16px; }
  .pp-intro__stats { gap: 16px; }
  .pp-main { padding: 32px 0 56px; }
  .pp-sec__hd { padding: 14px 16px; gap: 10px; }
  .pp-sec__text { padding: 16px 16px 18px 16px; }
  .pp-sec__num { display: none; }
  .pp-app-card { padding: 18px 20px 18px 28px; }
  .pp-app-card__btn { width: 100%; justify-content: center; margin-top: 4px; }
  .pp-note-card { padding: 16px 18px 16px 26px; }
}


/* ════════════════════════════════════════
   BRAND TOKENS
════════════════════════════════════════ */
:root {
  --red:        #bc1421;
  --red-dark:   #9b1019;
  --red-deep:   #800020;
  --red-light:  #f8e8ea;
  --red-mid:    rgba(188,20,33,0.10);

  --ink:        #3a000e;
  --ink-mid:    #5c1a28;
  --muted:      #8c4054;
  --border:     #f0dade;
  --surface:    #fdf5f6;
  --surface-2:  #fbeaec;
  --white:      #ffffff;

  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --shadow-sm:  0 2px 12px rgba(128,0,32,.06);
  --shadow-md:  0 6px 28px rgba(128,0,32,.11);
  --shadow-lg:  0 16px 56px rgba(128,0,32,.16);
  --trans:      0.28s cubic-bezier(.4,0,.2,1);
}
/* ════════════════════════════════════════
   RESET / PAGE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
.pp-page {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  min-height: 100vh;
  color: var(--ink);
}
.pp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.pp-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #fdf6f0 0%, #fce8ea 42%, #f3effa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* ── Pendant lamps ── */
.pp-hero__lamp {
  position: absolute;
  top: 0;
  background: linear-gradient(180deg, #cec9ce 0%, #a5a1a5 100%);
  border-radius: 0 0 50% 50%;
}
.pp-hero__lamp::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 32px;
  background: #b0adb0;
  border-radius: 2px;
}
.pp-hero__lamp--1 { left: 13%; width: 56px; height: 96px; }
.pp-hero__lamp--2 { left: 22%; width: 44px; height: 76px; }
/* ── Floating dots ── */
.pp-hero__dot {
  position: absolute;
  border-radius: 50%;
  display: block;
}
.pp-hero__dot--1 { width: 20px; height: 20px; background: #e85c5c; top: 27%;  left: 35%; }
.pp-hero__dot--2 { width: 14px; height: 14px; background: #5a7bc4; top: 72%;  left: 21%; }
.pp-hero__dot--3 { width: 13px; height: 13px; background: #5a7bc4; top: 15%;  right: 14%; }
.pp-hero__dot--4 { width: 18px; height: 18px; background: #e85c5c; bottom: 18%; right: 28%; }
/* ── Stacked books ── */
.pp-hero__books {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 90px;
  height: 126px;
  background: linear-gradient(180deg,
    #5ba08a 0%,  #5ba08a 16%,
    #e8c840 16%, #e8c840 30%,
    #d4504a 30%, #d4504a 46%,
    #6890c4 46%, #6890c4 62%,
    #c87840 62%, #c87840 78%,
    #9060b8 78%, #9060b8 100%
  );
  border-radius: 4px 4px 0 0;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}
/* ── Scroll mini badge ── */
.pp-hero__scroll-badge {
  position: absolute;
  left: 6%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 14px 6px 8px;
  box-shadow: var(--shadow-sm);
}
.pp-hero__scroll-badge svg {
  width: 16px; height: 16px;
  color: var(--red);
}
.pp-hero__scroll-badge span {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-mid);
}
/* ── Hero centre text ── */
.pp-hero__body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.pp-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.pp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--trans);
}
.pp-breadcrumb a:hover { color: var(--red); }
.pp-breadcrumb__sep {
  font-size: 0.5rem;
  color: var(--red);
}
.pp-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.1;
  display: inline-block;
  position: relative;
}
.pp-hero__stroke {
  display: block;
  height: 8px;
  width: 75%;
  margin: 7px auto 0;
  position: relative;
  font-style: normal;
}
.pp-hero__stroke::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 4px;
  transform: skewX(-8deg) scaleX(1.06);
}
.pp-hero__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}
/* ════════════════════════════════════════
   INTRO STRIP
════════════════════════════════════════ */
.pp-intro {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pp-intro__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.pp-intro__badge {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red-light);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-intro__badge svg { width: 26px; height: 26px; color: var(--red); }
.pp-intro__text { flex: 1; min-width: 220px; }
.pp-intro__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-intro__desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
}
.pp-intro__stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.pp-stat {
  text-align: center;
}
.pp-stat__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.pp-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
}
/* ════════════════════════════════════════
   MAIN LAYOUT  (sidebar + accordion)
════════════════════════════════════════ */
.pp-main {
  padding: 52px 0 80px;
}
.pp-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
/* ── Sticky Sidebar TOC ── */
.pp-toc {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pp-toc::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--red);
  margin-bottom: 16px;
}
.pp-toc__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding: 0 20px;
  margin: 0 0 10px;
}
.pp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pp-toc__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: var(--ink-mid);
  text-align: left;
  line-height: 1.4;
  transition: background var(--trans), color var(--trans);
  border-left: 3px solid transparent;
}
.pp-toc__item:hover {
  background: var(--red-light);
  color: var(--ink);
}
.pp-toc__item--active {
  background: var(--red-light);
  color: var(--red);
  font-weight: 600;
  border-left-color: var(--red);
}
.pp-toc__num {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-light);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
}
/* ── Accordion Sections ── */
.pp-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pp-sec {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
  animation: ppRise 0.38s var(--ease) both;
}
.pp-sec:nth-child(2)  { animation-delay: 0.04s; }
.pp-sec:nth-child(3)  { animation-delay: 0.08s; }
.pp-sec:nth-child(4)  { animation-delay: 0.12s; }
.pp-sec:nth-child(5)  { animation-delay: 0.16s; }
.pp-sec:nth-child(6)  { animation-delay: 0.20s; }
.pp-sec:nth-child(7)  { animation-delay: 0.24s; }
.pp-sec:nth-child(8)  { animation-delay: 0.28s; }
.pp-sec:nth-child(9)  { animation-delay: 0.32s; }
.pp-sec:nth-child(10) { animation-delay: 0.36s; }
.pp-sec:nth-child(11) { animation-delay: 0.40s; }
.pp-sec:nth-child(12) { animation-delay: 0.44s; }
.pp-sec:nth-child(13) { animation-delay: 0.48s; }
.pp-sec:hover {
  box-shadow: var(--shadow-md);
}
.pp-sec--open {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
@keyframes ppRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Section header button */
.pp-sec__hd {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--trans);
  font-family: 'Poppins', sans-serif;
}
.pp-sec__hd:hover { background: var(--surface); }
.pp-sec--open .pp-sec__hd {
  background: var(--red-light);
  border-bottom: 1px solid var(--border);
}
.pp-sec__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.pp-sec__icon svg {
  width: 19px; height: 19px;
  color: var(--red);
  transition: color var(--trans);
}
.pp-sec--open .pp-sec__icon { background: var(--red); }
.pp-sec--open .pp-sec__icon svg { color: var(--white); }
.pp-sec__num {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-mid);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.pp-sec__title {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.pp-sec--open .pp-sec__title { color: var(--red-deep); }
.pp-sec__arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--trans), color var(--trans);
}
.pp-sec__arrow svg { width: 18px; height: 18px; }
.pp-sec--open .pp-sec__arrow {
  transform: rotate(180deg);
  color: var(--red);
}
/* Accordion body */
.pp-sec__bd {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.pp-sec--open .pp-sec__bd {
  max-height: 600px;
}
.pp-sec__text {
  font-size: 0.91rem;
  color: var(--ink-mid);
  line-height: 1.85;
  margin: 0;
  padding: 20px 22px 22px 78px;
}
.pp-sec__text a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--trans);
}
.pp-sec__text a:hover { color: var(--red-dark); text-decoration: underline; }
/* ── Bottom Note Card ── */
.pp-note-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}
.pp-note-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-note-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-left: 4px;
}
.pp-note-card__icon svg { width: 20px; height: 20px; color: var(--red); }
.pp-note-card__content {}
.pp-note-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pp-note-card__text {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
/* ── Contact/Refund CTA Card ── */
.pp-app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pp-app-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.pp-app-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.pp-app-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.pp-app-card__icon svg { width: 22px; height: 22px; color: var(--red); }
.pp-app-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.pp-app-card__desc {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.pp-app-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
  padding: 11px 22px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pp-app-card__btn svg { width: 15px; height: 15px; }
.pp-app-card__btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 860px) {
  .pp-layout {
    grid-template-columns: 1fr;
  }
  .pp-toc {
    position: static;
    display: none;
  }
}
@media (max-width: 640px) {
  .pp-hero { min-height: 210px; }
  .pp-hero__lamp, .pp-hero__books, .pp-hero__scroll-badge { display: none; }
  .pp-wrap { padding: 0 16px; }
  .pp-intro__inner { padding: 20px 0; gap: 16px; }
  .pp-intro__stats { gap: 16px; }
  .pp-main { padding: 32px 0 56px; }
  .pp-sec__hd { padding: 14px 16px; gap: 10px; }
  .pp-sec__text { padding: 16px 16px 18px 16px; }
  .pp-sec__num { display: none; }
  .pp-app-card { padding: 18px 20px 18px 28px; }
  .pp-app-card__btn { width: 100%; justify-content: center; margin-top: 4px; }
  .pp-note-card { padding: 16px 18px 16px 26px; }
}


/* ─── DESIGN TOKENS (identical to Login) ────────────────────── */

:root {
  --red:         #bc1421;
  --red-dark:    #991119;
  --red-deeper:  #7a0d13;
  --red-light:   #fdf1f2;
  --red-mid:     rgba(188, 20, 33, 0.10);
  --red-glow:    rgba(188, 20, 33, 0.18);
  --charcoal:    #1e1e2e;
  --slate:       #3d3d52;
  --muted:       #6b6b80;
  --muted-light: #9999aa;
  --border:      #e4e1e8;
  --border-soft: #f0edf3;
  --surface:     #f7f5f9;
  --white:       #ffffff;
  --success-bg:  #edfaf3;
  --success-fg:  #146b3f;
  --success-bd:  #a3dfbf;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm:  0 2px 8px rgba(30, 30, 46, 0.06);
  --shadow-md:  0 8px 32px rgba(30, 30, 46, 0.10);
  --shadow-lg:  0 20px 60px rgba(30, 30, 46, 0.14);
  --shadow-red: 0 8px 28px rgba(188, 20, 33, 0.28);

  --transition:      0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  --font-body:    'DM Sans', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── ROOT ───────────────────────────────────────────────────── */

.rp-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(188,20,33,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(188,20,33,0.04) 0%, transparent 60%);
  font-family: 'Poppins', sans-serif;
  padding: 28px 24px;
}

/* ─── CARD ───────────────────────────────────────────────────── */

.rp-card {
  display: flex;
  width: 100%;
  max-width: 980px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* ─── LEFT PANEL ─────────────────────────────────────────────── */

.rp-left {
  flex: 0 0 38%;
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.rp-left-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
}

.rp-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-deeper) 0%, var(--red) 50%, #d41e2e 100%);
  z-index: 0;
}

.rp-left::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  z-index: 0;
}

/* Dot grid */

.rp-left-pattern {
  position: absolute;
  bottom: 24px; left: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  z-index: 0;
  opacity: 0.2;
}

.rp-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

.rp-left-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rp-shield-icon {
  font-size: 38px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rp-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.rp-divider {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  margin-bottom: 16px;
}

.rp-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-weight: 500;
}

.rp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.rp-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  font-weight: 500;
  text-align: left;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.10);
}

.rp-check {
  color: rgba(255,255,255,0.90);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── RIGHT PANEL ────────────────────────────────────────────── */

.rp-right {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.rp-right-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
  min-height: 100%;
}

/* ─── FORM ───────────────────────────────────────────────────── */

.rp-form {
  width: 100%;
  animation: rp-fadeIn 0.3s ease both;
}

@keyframes rp-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HEADING ────────────────────────────────────────────────── */

.rp-heading {
  margin-bottom: 24px;
}

.rp-heading h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.2px;
  line-height: 1.05;
  margin-bottom: 6px;
}

.rp-heading h1 span { color: var(--red); }

.rp-heading p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.rp-email-highlight {
  color: var(--charcoal);
  font-weight: 600;
  word-break: break-all;
}

/* ─── TWO-COLUMN ROW ─────────────────────────────────────────── */

.rp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* ─── FIELD ──────────────────────────────────────────────────── */

.rp-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.rp-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── INPUT BOX ──────────────────────────────────────────────── */

.rp-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  height: 50px;
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.rp-input-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.rp-input-box--error {
  border-color: var(--red) !important;
  background: var(--red-light) !important;
}

.rp-icon {
  color: var(--muted-light);
  flex-shrink: 0;
  font-size: 13px;
  transition: color var(--transition);
}

.rp-input-box:focus-within .rp-icon { color: var(--red); }

.rp-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
  font-weight: 500;
}

.rp-input-box input::placeholder {
  color: var(--muted-light);
  font-weight: 400;
}

.rp-eye {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-light);
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.rp-eye:hover {
  color: var(--red);
  background: var(--red-mid);
}

.rp-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  padding-left: 2px;
  font-weight: 500;
  display: block;
}

/* ─── TERMS ──────────────────────────────────────────────────── */

.rp-terms-wrap {
  margin-bottom: 20px;
}

.rp-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rp-checkbox {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 4px;
  accent-color: var(--red);
  cursor: pointer;
  margin-top: 2px;
}

.rp-terms-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

/* ─── LINK BUTTON ────────────────────────────────────────────── */

.rp-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: inherit;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: opacity var(--transition);
  display: inline;
}

.rp-link-btn:hover {
  opacity: 0.72;
  text-decoration: underline;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */

.rp-btn {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition-fast), box-shadow var(--transition);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.rp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.rp-btn:hover:not(:disabled) {
  background: var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.rp-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.rp-btn:disabled {
  opacity: 0.60;
  cursor: not-allowed;
}

.rp-btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.rp-btn--ghost::after { display: none; }

.rp-btn--ghost:hover:not(:disabled) {
  background: var(--surface);
  border-color: var(--red);
  color: var(--red);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ─── SPINNER ────────────────────────────────────────────────── */

.rp-spinner {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: rp-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes rp-spin { to { transform: rotate(360deg); } }

/* ─── LOGIN LINK ─────────────────────────────────────────────── */

.rp-login-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ─── OTP BOXES ──────────────────────────────────────────────── */

.rp-otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.rp-otp-box {
  flex: 1;
  max-width: 52px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--charcoal);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  caret-color: var(--red);
}

.rp-otp-box:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.rp-otp-box:not(:placeholder-shown) {
  border-color: var(--red);
  background: var(--red-light);
}

/* ─── MESSAGE ────────────────────────────────────────────────── */

.rp-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  animation: rp-fadeIn 0.25s ease both;
}

.rp-msg-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

.rp-msg--success {
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid var(--success-bd);
}

.rp-msg--success .rp-msg-icon {
  background: var(--success-fg);
  color: var(--white);
}

.rp-msg--error {
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid rgba(188,20,33,0.22);
}

.rp-msg--error .rp-msg-icon {
  background: var(--red);
  color: var(--white);
}

/* ─── BACK BUTTON ────────────────────────────────────────────── */

.rp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 24px;
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.rp-back:hover { color: var(--red); }

/* ─── STEP BADGE ─────────────────────────────────────────────── */

.rp-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-mid);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  margin-left: 12px;
  letter-spacing: 0.4px;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
}

/* ─── MODAL ──────────────────────────────────────────────────── */

.rp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: rp-fadeIn 0.2s ease both;
}

.rp-modal {
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(10,10,20,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.rp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.rp-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.2px;
}

.rp-modal-close {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.rp-modal-close:hover {
  background: var(--red-light);
  color: var(--red);
  border-color: rgba(188,20,33,0.25);
}

.rp-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.75;
}

.rp-modal-body section {
  margin-bottom: 20px;
}

.rp-modal-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  margin-top: 4px;
  letter-spacing: 0.1px;
}

.rp-modal-body h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  margin-top: 14px;
}

.rp-modal-body p {
  margin-bottom: 8px;
  color: var(--muted);
}

.rp-modal-body ul {
  padding-left: 20px;
  margin-bottom: 8px;
}

.rp-modal-body ul li {
  margin-bottom: 4px;
  color: var(--muted);
}

.rp-modal-body a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.rp-modal-body a:hover { text-decoration: underline; }

.rp-modal-footer {
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}

.rp-agree-btn {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.rp-agree-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.rp-agree-btn:hover {
  background: var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

/* ─── FOCUS VISIBLE ──────────────────────────────────────────── */

.rp-btn:focus-visible,
.rp-back:focus-visible,
.rp-link-btn:focus-visible,
.rp-eye:focus-visible,
.rp-modal-close:focus-visible,
.rp-agree-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ─── RESPONSIVE — TABLET (≤860px) ──────────────────────────── */

@media (max-width: 860px) {
  .rp-root {
    padding: 16px;
    align-items: flex-start;
    padding-top: 24px;
  }

  .rp-card {
    flex-direction: column;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .rp-left {
    flex: none;
  }

  .rp-left-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 28px;
    gap: 16px;
  }

  .rp-left::after { display: none; }
  .rp-left-pattern { display: none; }

  .rp-shield-icon {
    width: 46px; height: 46px;
    font-size: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .rp-left-content {
    align-items: flex-start;
    text-align: left;
    gap: 2px;
  }

  .rp-brand { font-size: 17px; margin-bottom: 0; }
  .rp-divider { display: none; }
  .rp-tagline { font-size: 11px; margin-bottom: 0; }
  .rp-features { display: none; }

  .rp-right-inner { padding: 32px 32px 40px; }
  .rp-heading h1 { font-size: 30px; }
}

/* ─── RESPONSIVE — MOBILE (≤560px) ──────────────────────────── */

@media (max-width: 560px) {
  .rp-root {
    padding: 0;
    background: var(--white);
    align-items: stretch;
  }

  .rp-card {
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    min-height: 100dvh;
  }

  .rp-left-inner { padding: 14px 18px; gap: 10px; }
  .rp-shield-icon { width: 38px; height: 38px; font-size: 17px; }
  .rp-brand { font-size: 15px; }
  .rp-tagline { display: none; }

  .rp-right { flex: 1; }

  .rp-right-inner {
    padding: 28px 20px 48px;
    justify-content: flex-start;
  }

  /* Stack two-col rows on mobile */
  .rp-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rp-heading h1 { font-size: 28px; }

  .rp-input-box { height: 48px; }

  .rp-btn { height: 50px; font-size: 16px; }

  .rp-otp-box {
    height: 52px;
    font-size: 22px;
    max-width: 44px;
  }

  .rp-otp-boxes { gap: 8px; }

  /* Modal full-screen on mobile */
  .rp-modal-overlay { padding: 0; align-items: flex-end; }
  .rp-modal {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
}

/* Overlay */

.rp-verify-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    backdrop-filter:blur(5px);
    animation:fadeIn .25s ease;
}

/* Modal */

.rp-verify-modal{
    width:min(480px,92%);
    background:#fff;
    border-radius:24px;
    padding:34px;
    position:relative;
    text-align:center;
    animation:popup .35s ease;
    box-shadow:0 30px 80px rgba(0,0,0,.18);
}

.rp-verify-close{
    position:absolute;
    right:18px;
    top:18px;
    border:none;
    background:none;
    font-size:20px;
    cursor:pointer;
    color:#666;
}

.rp-verify-icon{
    width:72px;
    height:72px;
    margin:auto;
    border-radius:50%;
    background:#ffe8eb;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#bc1421;
    font-size:30px;
    margin-bottom:18px;
}

.rp-verify-modal h2{
    margin:0;
    font-size:28px;
    color:#222;
}

.rp-verify-modal p{
    margin:10px 0 30px;
    color:#777;
    font-size:15px;
}

.rp-verify-options{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.rp-verify-card{
    width:100%;
    border:none;
    background:#fff;
    border:2px solid #ececec;
    border-radius:18px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:18px;
    cursor:pointer;
    transition:.3s;
}

.rp-verify-card:hover{
    border-color:#bc1421;
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(188,20,33,.18);
}

.rp-card-icon{
    width:60px;
    height:60px;
    border-radius:16px;
    background:#bc1421;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:24px;
    flex-shrink:0;
}

.rp-card-content{
    text-align:left;
}

.rp-card-content h4{
    margin:0;
    color:#222;
    font-size:18px;
}

.rp-card-content span{
    color:#777;
    font-size:14px;
}

.rp-cancel-btn{
    margin-top:25px;
    border:none;
    background:none;
    color:#666;
    font-size:15px;
    cursor:pointer;
}

.rp-cancel-btn:hover{
    color:#bc1421;
}

@keyframes popup{
    from{
        opacity:0;
        transform:scale(.85);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}

@media(max-width:600px){

.rp-verify-modal{
    padding:24px;
}

.rp-card-icon{
    width:52px;
    height:52px;
    font-size:20px;
}

.rp-card-content h4{
    font-size:16px;
}

}

/* ─── RESPONSIVE — SMALL MOBILE (≤380px) ────────────────────── */

@media (max-width: 380px) {
  .rp-right-inner { padding: 24px 14px 44px; }
  .rp-heading h1 { font-size: 24px; }
  .rp-otp-boxes { gap: 6px; }
  .rp-otp-box {
    height: 48px;
    font-size: 20px;
    max-width: 40px;
    border-radius: var(--radius-sm);
  }
}


/* ─── DESIGN TOKENS ─────────────────────────────────────────── */

:root {
  --red:         #bc1421;
  --red-dark:    #991119;
  --red-deeper:  #7a0d13;
  --red-light:   #fdf1f2;
  --red-mid:     rgba(188, 20, 33, 0.1);
  --red-glow:    rgba(188, 20, 33, 0.18);
  --charcoal:    #1e1e2e;
  --slate:       #3d3d52;
  --muted:       #6b6b80;
  --muted-light: #9999aa;
  --border:      #e4e1e8;
  --border-soft: #f0edf3;
  --surface:     #f7f5f9;
  --white:       #ffffff;
  --success-bg:  #edfaf3;
  --success-fg:  #146b3f;
  --success-bd:  #a3dfbf;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(30, 30, 46, 0.06);
  --shadow-md: 0 8px 32px rgba(30, 30, 46, 0.1);
  --shadow-lg: 0 20px 60px rgba(30, 30, 46, 0.14);
  --shadow-red: 0 8px 28px rgba(188, 20, 33, 0.28);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  --font-body:    'DM Sans', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── ROOT ───────────────────────────────────────────────────── */

.lp-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(188, 20, 33, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(188, 20, 33, 0.04) 0%, transparent 60%);
  font-family: 'Poppins', sans-serif;
  padding: 24px;
}

/* ─── CARD ───────────────────────────────────────────────────── */

.lp-card {
  display: flex;
  width: 100%;
  max-width: 920px;
  min-height: 560px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

/* ─── LEFT PANEL ─────────────────────────────────────────────── */

.lp-left {
  flex: 0 0 40%;
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.lp-left-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
}

/* Layered background shapes */

.lp-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--red-deeper) 0%, var(--red) 50%, #d41e2e 100%);
  z-index: 0;
}

.lp-left::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  z-index: 0;
}

/* Dot grid */

.lp-left-pattern {
  position: absolute;
  bottom: 24px; left: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  z-index: 0;
  opacity: 0.2;
}

.lp-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--white);
  display: block;
}

.lp-left-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.lp-shield-icon {
  font-size: 40px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.lp-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.lp-divider {
  width: 40px; height: 2px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  margin-bottom: 16px;
}

.lp-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-weight: 500;
}

.lp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.lp-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-align: left;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
}

.lp-check {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* ─── RIGHT PANEL ────────────────────────────────────────────── */

.lp-right {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.lp-right-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 48px;
  min-height: 100%;
}

/* ─── FORM WRAPPER ───────────────────────────────────────────── */

.lp-form {
  width: 100%;
 
  animation: lp-fadeIn 0.3s ease both;
}

@keyframes lp-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── LOGO ───────────────────────────────────────────────────── */

.lp-logo-wrap {
  margin-bottom: 24px;
}

.lp-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* ─── HEADING ────────────────────────────────────────────────── */

.lp-heading {
  margin-bottom: 28px;
}

.lp-heading h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.2px;
  line-height: 1.05;
  margin-bottom: 6px;
}

.lp-heading h1 span {
  color: var(--red);
}

.lp-heading p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
}

.lp-email-highlight {
  color: var(--charcoal);
  font-weight: 600;
  word-break: break-all;
}

/* ─── FIELD ──────────────────────────────────────────────────── */

.lp-field {
  margin-bottom: 16px;
}

.lp-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.lp-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  height: 52px;
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.lp-input-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.lp-input-box--error {
  border-color: var(--red) !important;
  background: var(--red-light) !important;
}

.lp-input-box .lp-icon {
  color: var(--muted-light);
  flex-shrink: 0;
  font-size: 14px;
  transition: color var(--transition);
}

.lp-input-box:focus-within .lp-icon {
  color: var(--red);
}

.lp-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
  font-weight: 500;
}

.lp-input-box input::placeholder {
  color: var(--muted-light);
  font-weight: 400;
}

.lp-eye {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-light);
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.lp-eye:hover {
  color: var(--red);
  background: var(--red-mid);
}

.lp-error {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  padding-left: 2px;
  font-weight: 500;
}

/* ─── FORGOT LINK ────────────────────────────────────────────── */

.lp-forgot {
  text-align: right;
  margin-bottom: 22px;
  margin-top: -4px;
}

/* ─── LINK BUTTON ────────────────────────────────────────────── */

.lp-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: opacity var(--transition);
  text-decoration: none;
  display: inline;
}

.lp-link-btn:hover {
  opacity: 0.72;
  text-decoration: underline;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */

.lp-btn {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition-fast), box-shadow var(--transition);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.lp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

.lp-btn:hover:not(:disabled) {
  background: var(--red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.lp-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.lp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.lp-btn--ghost {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.lp-btn--ghost::after { display: none; }

.lp-btn--ghost:hover:not(:disabled) {
  background: var(--surface);
  border-color: var(--red);
  color: var(--red);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ─── SPINNER ────────────────────────────────────────────────── */

.lp-spinner {
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: lp-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.lp-btn--ghost .lp-spinner {
  border-color: rgba(0,0,0,0.15);
  border-top-color: var(--slate);
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

/* ─── REGISTER LINK ──────────────────────────────────────────── */

.lp-register {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 400;
}

/* ─── OTP BOXES ──────────────────────────────────────────────── */

.lp-otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.lp-otp-box {
  flex: 1;
  max-width: 52px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--charcoal);
  background: var(--surface);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  caret-color: var(--red);
  -moz-appearance: textfield;
}

.lp-otp-box::-webkit-outer-spin-button,
.lp-otp-box::-webkit-inner-spin-button { -webkit-appearance: none; }

.lp-otp-box:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-mid);
  background: var(--white);
}

.lp-otp-box:not(:placeholder-shown) {
  border-color: var(--red);
  background: var(--red-light);
}

/* ─── MESSAGE ────────────────────────────────────────────────── */

.lp-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  animation: lp-fadeIn 0.25s ease both;
}

.lp-msg-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

.lp-msg--success {
  background: var(--success-bg);
  color: var(--success-fg);
  border: 1px solid var(--success-bd);
}

.lp-msg--success .lp-msg-icon {
  background: var(--success-fg);
  color: var(--white);
}

.lp-msg--error {
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid rgba(188, 20, 33, 0.22);
}

.lp-msg--error .lp-msg-icon {
  background: var(--red);
  color: var(--white);
}

/* ─── BACK BUTTON ────────────────────────────────────────────── */

.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 24px;
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.lp-back:hover { color: var(--red); }

/* ─── STEP BADGE ─────────────────────────────────────────────── */

.lp-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-mid);
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  margin-left:20px;
}

/* ─── RESPONSIVE — TABLET (≤820px) ──────────────────────────── */

@media (max-width: 820px) {
  .lp-root {
    padding: 16px;
    align-items: flex-start;
    padding-top: 28px;
  }

  .lp-card {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    min-height: unset;
  }

  /* Compact header strip */
  .lp-left {
    flex: none;
  }

  .lp-left-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 28px;
    gap: 16px;
  }

  .lp-left::after { display: none; }

  .lp-left-pattern { display: none; }

  .lp-shield-icon {
    width: 48px; height: 48px;
    font-size: 22px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .lp-left-content {
    align-items: flex-start;
    text-align: left;
    gap: 2px;
  }

  .lp-brand {
    font-size: 18px;
    margin-bottom: 0;
  }

  .lp-divider { display: none; }
  .lp-tagline { font-size: 11px; margin-bottom: 0; }
  .lp-features { display: none; }

  .lp-right-inner {
    padding: 36px 36px 40px;
  }
}

/* ─── RESPONSIVE — MOBILE (≤540px) ──────────────────────────── */

@media (max-width: 540px) {
  .lp-root {
    padding: 0;
    background: var(--white);
    align-items: stretch;
  }

  .lp-card {
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    min-height: 100dvh;
  }

  .lp-left-inner {
    padding: 16px 20px;
    gap: 12px;
  }

  .lp-shield-icon {
    width: 40px; height: 40px;
    font-size: 18px;
  }

  .lp-brand { font-size: 16px; }
  .lp-tagline { display: none; }

  .lp-right {
    flex: 1;
  }

  .lp-right-inner {
    padding: 32px 22px 44px;
    justify-content: flex-start;
  }

  .lp-heading h1 { font-size: 30px; }

  .lp-logo { height: 38px; }

  .lp-input-box { height: 50px; }

  .lp-btn { height: 50px; font-size: 16px; }

  .lp-otp-box {
    height: 54px;
    font-size: 22px;
    max-width: 46px;
  }

  .lp-otp-boxes { gap: 8px; }
}

/* ─── RESPONSIVE — SMALL MOBILE (≤380px) ────────────────────── */

@media (max-width: 380px) {
  .lp-right-inner {
    padding: 28px 16px 40px;
  }

  .lp-heading h1 { font-size: 26px; }

  .lp-otp-boxes { gap: 6px; }

  .lp-otp-box {
    height: 50px;
    font-size: 20px;
    max-width: 42px;
    border-radius: var(--radius-sm);
  }
}

/* ─── FOCUS VISIBLE ──────────────────────────────────────────── */

.lp-btn:focus-visible,
.lp-back:focus-visible,
.lp-link-btn:focus-visible,
.lp-eye:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.register-link-wrap{
  margin-top:16px;
  text-align:center;
  font-size:14px;
  color:#666;
}

.register-link{
  color:#BC1421;
  font-weight:600;
  text-decoration:none;
}

.register-link:hover{
  text-decoration:underline;
}


/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */

:root {
  --red: #bc1421;
  --red-dark: #991119;
  --red-light: #f9e8e9;
  --red-mid: rgba(188, 20, 33, 0.08);
  --charcoal: #2d2d2d;
  --slate: #4a4a5a;
  --muted: #6b6b7b;
  --border: #e8e4e4;
  --surface: #fafafa;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(188, 20, 33, 0.07);
  --shadow-md: 0 6px 28px rgba(188, 20, 33, 0.12);
  --shadow-lg: 0 16px 56px rgba(188, 20, 33, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   PAGE
══════════════════════════════════════════ */

.branches-page {
  width: 100%;
  min-height: 100vh;
  background: var(--surface);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */

.branches-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 4px solid var(--red);
}

/* Glow orbs */

.branches-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}

.branches-glow1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #bc1421 0%, transparent 70%);
  top: -120px;
  left: -80px;
}

.branches-glow2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #1a73e8 0%, transparent 70%);
  bottom: -100px;
  right: -60px;
}

.branches-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.branches-hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.branches-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 14px;
}

.branches-subtitle {
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   BODY
══════════════════════════════════════════ */

.branches-body {
  padding: 40px 0 72px;
}

.branches-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

/* ══════════════════════════════════════════
   SIDEBAR — BRANCH CARDS
══════════════════════════════════════════ */

.branches-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 24px;
}

.branch-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--transition);
  border-radius: 0 3px 3px 0;
}

.branch-card:hover,
.branch-card--active {
  border-color: rgba(188, 20, 33, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.branch-card:hover::before,
.branch-card--active::before {
  transform: scaleY(1);
}

.branch-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.branch-card-icon svg {
  width: 18px;
  height: 18px;
}

.branch-card--active .branch-card-icon,
.branch-card:hover .branch-card-icon {
  background: var(--red);
  color: var(--white);
}

.branch-card-info {
  flex: 1;
  min-width: 0;
}

.branch-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.branch-card-addr {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 3px;
}

.branch-card-phone {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 600;
}

.branch-card-btn {
  flex-shrink: 0;
  background: none;
  border: 1.5px solid var(--red);
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  align-self: center;
}

.branch-card-btn:hover {
  background: var(--red);
  color: var(--white);
}

/* ══════════════════════════════════════════
   MAP CARD
══════════════════════════════════════════ */

.map-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* ── Leaflet map ── */

.leaflet-map {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 1;
}

/* Leaflet popup */

.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
  padding: 0 !important;
  overflow: hidden;
  border-top: 3px solid var(--red) !important;
  font-family: 'Poppins', sans-serif;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
  min-width: 200px;
}

.leaflet-popup-tip {
  background: var(--white) !important;
}

.popup-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.popup-addr,
.popup-phone {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.popup-phone {
  color: var(--red);
  font-weight: 600;
}

.popup-btn {
  margin-top: 10px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.popup-btn:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Map legend */

.map-legend {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.map-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.map-legend-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   LEAFLET OVERRIDES
══════════════════════════════════════════ */

.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  font-family: 'Poppins', sans-serif;
  font-weight: 800 !important;
  color: var(--charcoal) !important;
  background: var(--white) !important;
  border: none !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 18px !important;
  transition: var(--transition) !important;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .branches-inner {
    grid-template-columns: 260px 1fr;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .branches-hero {
    min-height: 200px;
  }

  .branches-title {
    font-size: 2.4rem;
  }

  .branches-inner {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  /* sidebar above map on mobile */
  .branches-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .branch-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transform: none !important;
  }

  .branch-card:hover,
  .branch-card--active {
    transform: none !important;
  }

  .branch-card::before {
    display: none;
  }

  .branch-card--active {
    border-color: var(--red);
  }

  .branch-card-btn {
    align-self: flex-start;
  }

  .leaflet-map {
    height: 380px;
  }
}

@media (max-width: 520px) {
  .branches-sidebar {
    grid-template-columns: 1fr;
  }

  .leaflet-map {
    height: 300px;
  }

  .branches-body {
    padding: 24px 0 48px;
  }

  .branches-hero {
    min-height: 180px;
  }

  .branches-title {
    font-size: 2rem;
  }
}/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}



/* ═══════════════════════════════════════════════════════
   Blogs.css  —  uses brand tokens from global stylesheet
   ═══════════════════════════════════════════════════════ */
/* ── Brand token layer (mirror of root vars) ─────────────────────────── */
:root {
  --red: #bc1421;
  --red-dark: #991119;
  --red-light: #f9e8e9;
  --red-mid: rgba(188, 20, 33, 0.08);
  --charcoal: #2d2d2d;
  --slate: #4a4a5a;
  --muted: #6b6b7b;
  --border: #e8e4e4;
  --surface: #fafafa;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(188, 20, 33, 0.07);
  --shadow-md: 0 6px 28px rgba(188, 20, 33, 0.12);
  --shadow-lg: 0 16px 56px rgba(188, 20, 33, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}
/* ── Page shell ───────────────────────────────────────────────────────── */
.blogs-page {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  min-height: 100vh;
}
/* ═══════════════════════════════════════════════════════
   HEADER — custom, self-contained (AnimatedPageHeader
   couldn't be restyled from here)
   ═══════════════════════════════════════════════════════ */
.blogs-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.blogs-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blogs-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  display: block;
}
.blogs-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(2, 8, 16, 0.55) 0%,
      rgba(2, 8, 16, 0.3) 30%,
      rgba(2, 8, 16, 0.42) 65%,
      rgba(2, 8, 16, 0.82) 100%);
}
/* ── Top-left: brand identity block ── */
.blogs-hero__profile {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: blogsHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.blogs-hero__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}
.blogs-hero__profile-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.blogs-hero__profile-name {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.blogs-hero__profile-role {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
/* ── Vertical social rail, below the profile block ── */
.blogs-hero__social {
  position: absolute;
  z-index: 2;
  top: 94px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: blogsHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.blogs-hero__social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.blogs-hero__social-link:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
/* ── Center title block ── */
.blogs-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px;
  width: 100%;
  text-align: left;
  animation: blogsHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
@keyframes blogsHeroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.blogs-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -1.5px;
  line-height: 1.08;
  max-width: 560px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.3);
}
.blogs-hero__title span {
  font-weight: 800;
  color: #bc1421;
}
.blogs-hero__sub {
  margin: 18px 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
  line-height: 1.7;
  letter-spacing: 0.1px;
}
/* ── Top-right: real featured posts ── */
.blogs-hero__featured {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: 24px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: blogsHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.blogs-hero__featured-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.blogs-hero__featured-plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}
.blogs-hero__featured-item:hover .blogs-hero__featured-plus {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}
.blogs-hero__featured-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.blogs-hero__featured-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.blogs-hero__featured-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ── Giant outlined watermark word, bottom edge ── */
.blogs-hero__watermark {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -0.14em;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(70px, 13vw, 190px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
/* ═══════════════════════════════════════════════════════
   BLOGS SECTION
   ═══════════════════════════════════════════════════════ */
.blogs-section {
  padding: 48px 0 64px;
}
.blogs-section .cp-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ═══════════════════════════════════════════════════════
   BLOG LIST — one post after another
   ═══════════════════════════════════════════════════════ */
.blogs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blogs-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}
.blog-row {
  display: flex;
  align-items: stretch;
  height: 168px;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(45, 45, 45, 0.05);
  transition: var(--transition);
  cursor: pointer;
}
.blog-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(188, 20, 33, 0.14);
  border-color: var(--red);
}
/* ── Image ────────────────────────────────────────────────────────────── */
.blog-row-image-wrap {
  position: relative;
  flex: 0 0 220px;
  overflow: hidden;
  background: var(--red-light);
}
.blog-row-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-row:hover .blog-row-image {
  transform: scale(1.06);
}
.blog-row-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 35%);
  pointer-events: none;
}
/* Floating glass badge, over the image */
.blog-read-time {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: rgba(10, 10, 12, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  border-radius: 999px;
}
/* ── Content ──────────────────────────────────────────────────────────── */
.blog-row-content {
  flex: 1;
  min-width: 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.blog-row-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  letter-spacing: -0.2px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.blog-row:hover .blog-row-title {
  color: var(--red-dark);
}
.blog-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--red);
  width: fit-content;
  margin-top: 2px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: gap 0.2s ease, border-color 0.2s ease;
}
.blog-row:hover .blog-row-cta {
  gap: 9px;
  border-color: var(--red);
}
/* ═══════════════════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════════════════ */
@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }

  100% {
    background-position: 600px 0;
  }
}
.skeleton-img,
.skeleton-line {
  background: linear-gradient(90deg, #f0eaea 25%, #fde9e9 50%, #f0eaea 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius);
}
.blog-row--skeleton {
  cursor: default;
}
.blog-row--skeleton:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.blog-row--skeleton .blog-row-content {
  gap: 10px;
}
.skeleton-img {
  border-radius: 0;
}
.skeleton-line {
  height: 12px;
}
.skeleton-line--title {
  width: 80%;
  height: 18px;
}
.skeleton-line--med {
  width: 55%;
}
.skeleton-line--btn {
  width: 100px;
  height: 16px;
  margin-top: 4px;
}
/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
/* Tablet — drop the featured list, not enough width for 3 columns */
@media (max-width: 900px) {
  .blog-row-image-wrap {
    flex-basis: 180px;
  }

  .blogs-hero {
    min-height: 460px;
  }

  .blogs-hero__featured {
    display: none;
  }
}
/* Large mobile — decorative corner elements step aside; title + watermark carry the header */
@media (max-width: 640px) {
  .blogs-hero {
    min-height: 420px;
  }

  .blogs-hero__inner {
    padding: 90px 20px 40px;
  }

  .blogs-hero__bg-overlay {
    background: linear-gradient(180deg,
        rgba(2, 8, 16, 0.35) 0%,
        rgba(2, 8, 16, 0.5) 40%,
        rgba(2, 8, 16, 0.88) 100%);
  }

  .blogs-hero__profile {
    top: 20px;
    left: 16px;
  }

  .blogs-hero__social {
    display: none;
  }

  .blogs-hero__title {
    max-width: 100%;
  }

  .blogs-hero__sub {
    max-width: 100%;
  }

  .blogs-hero__watermark {
    font-size: clamp(52px, 18vw, 90px);
  }

  .blogs-section .cp-container {
    padding: 0 16px;
  }

  .blog-row {
    flex-direction: column;
    height: auto;
  }

  .blog-row-image-wrap {
    flex-basis: auto;
    height: 180px;
  }

  .blog-row-content {
    padding: 16px 18px 18px;
    justify-content: flex-start;
  }

  .blog-row-title {
    font-size: 1.05rem;
  }
}
@media (prefers-reduced-motion: reduce) {

  .blogs-hero__inner,
  .blogs-hero__profile,
  .blogs-hero__social,
  .blogs-hero__featured {
    animation: none;
  }
}

/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */

:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188,20,33,0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #f3f3f3;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 28px rgba(0,0,0,0.09);
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--surface);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   PAGE
══════════════════════════════════════════ */

.blog-details-page {
  width: 100%;
  min-height: 100vh;
  background: var(--surface);
}

/* ══════════════════════════════════════════
   LOADING
══════════════════════════════════════════ */

.blog-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px,4vw,46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal);
}

/* ══════════════════════════════════════════
   BANNER
══════════════════════════════════════════ */

.blog-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--red);
  background: var(--charcoal);
}

.blog-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(45,45,45,0.45) 100%);
  pointer-events: none;
}

.blog-banner-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}

.blog-banner:hover .blog-banner-image { transform: scale(1.03); }

/* ══════════════════════════════════════════
   TITLE STRIP
══════════════════════════════════════════ */

.bd-title-strip {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px 32px;
}

.bd-title-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 6px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 18px;
}

.blog-time::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

.blog-main-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: -1px;
  padding-left: 20px;
  border-left: 5px solid var(--red);
  margin-bottom: 22px;
}

/* ══════════════════════════════════════════
   ALL BLOGS BUTTON
══════════════════════════════════════════ */

.bd-all-blogs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.bd-all-blogs-btn:hover {
  background: var(--red);
  color: var(--white);
}

/* ══════════════════════════════════════════
   INTRO
══════════════════════════════════════════ */

.bd-intro-wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 16px;
}

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */

.bd-layout {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

/* ══════════════════════════════════════════
   LEFT SIDEBAR
══════════════════════════════════════════ */

.bd-sidebar {
  position: sticky;
  top: 24px;
}

.bd-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.bd-sidebar-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.bd-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bd-toc-item { width: 100%; }

.bd-toc-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 10px;
  border-radius: 10px;
  text-align: left;
  transition: background 0.2s var(--ease);
}

.bd-toc-btn:hover { background: var(--red-mid); }

.bd-toc-btn--active {
  background: var(--red-mid);
}

.bd-toc-num {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.5px;
  min-width: 24px;
  padding-top: 1px;
  flex-shrink: 0;
}

.bd-toc-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.45;
}

.bd-toc-btn--active .bd-toc-text { color: var(--red); }

/* ══════════════════════════════════════════
   RIGHT — ACCORDION
══════════════════════════════════════════ */

.bd-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card */

.bd-acc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.bd-acc-card--open {
  border-color: rgba(188,20,33,0.2);
  box-shadow: 0 4px 24px rgba(188,20,33,0.09);
}

/* Header row */

.bd-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s var(--ease);
}

.bd-acc-header:hover { background: var(--surface); }

.bd-acc-card--open .bd-acc-header { background: var(--surface); }

/* Icon circle */

.bd-acc-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bd-acc-icon svg { width: 22px; height: 22px; }

/* Number badge */

.bd-acc-num {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.5px;
  min-width: 30px;
  flex-shrink: 0;
}

/* Title */

.bd-acc-title {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

/* Chevron */

.bd-chevron {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.bd-chevron--open { transform: rotate(180deg); }

/* Body — collapsible */

.bd-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}

.bd-acc-body--open {
  max-height: 4000px;
}

.bd-acc-content {
  padding: 0 24px 28px 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ══════════════════════════════════════════
   HTML CONTENT STYLES
══════════════════════════════════════════ */

.blog-html-content { width: 100%; color: var(--charcoal); }

.blog-html-content body { padding:0!important; margin:0!important; background:none!important; }

.blog-html-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px,3vw,40px)!important;
  font-weight: 900!important;
  line-height: 1.1!important;
  text-transform: uppercase!important;
  color: var(--charcoal)!important;
  margin: 10px 0 22px!important;
}

.blog-html-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px,2.5vw,30px)!important;
  font-weight: 800!important;
  text-transform: uppercase!important;
  color: var(--charcoal)!important;
  margin: 36px 0 14px!important;
  padding-left: 16px!important;
  position: relative!important;
}

.blog-html-content h2::before {
  content:'';
  position:absolute;
  left:0; top:3px; bottom:3px;
  width:4px;
  background:var(--red);
  border-radius:3px;
}

.blog-html-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(17px,1.8vw,23px)!important;
  font-weight: 700!important;
  text-transform: uppercase!important;
  color: var(--slate)!important;
  margin: 28px 0 12px!important;
}

.blog-html-content p {
  font-size: clamp(14px,1vw,17px)!important;
  line-height: 1.95!important;
  color: var(--slate)!important;
  margin-bottom: 18px!important;
}

.blog-html-content ul,
.blog-html-content ol {
  padding-left:0!important;
  margin-bottom:22px!important;
  list-style:none!important;
}

.blog-html-content li {
  font-size: clamp(14px,0.95vw,16px)!important;
  line-height:1.8!important;
  color:var(--slate)!important;
  margin-bottom:8px!important;
  padding-left:20px!important;
  position:relative!important;
}

.blog-html-content li::before {
  content:'';
  position:absolute;
  left:0; top:9px;
  width:7px; height:7px;
  background:var(--red);
  border-radius:50%;
}

.blog-html-content strong,
.blog-html-content b { color:var(--red)!important; font-weight:700!important; }

.blog-html-content blockquote {
  border-left:4px solid var(--red)!important;
  background:var(--red-light)!important;
  margin:24px 0!important;
  padding:18px 22px!important;
  border-radius:0 var(--radius) var(--radius) 0!important;
}

.blog-html-content blockquote p {
  color:var(--red-dark)!important;
  font-style:italic!important;
  font-weight:600!important;
  margin-bottom:0!important;
}

.blog-html-content code {
  background:var(--red-mid)!important;
  color:var(--red-dark)!important;
  font-size:13px!important;
  padding:2px 6px!important;
  border-radius:4px!important;
}

.blog-html-content pre {
  background:var(--charcoal)!important;
  color:#f8f8f2!important;
  padding:20px!important;
  border-radius:var(--radius)!important;
  overflow-x:auto!important;
  margin-bottom:22px!important;
  border-left:4px solid var(--red)!important;
}

.blog-html-content hr {
  border:none!important;
  border-top:1px solid var(--border)!important;
  margin:32px 0!important;
}

.blog-html-content img {
  width:100%!important;
  height:auto!important;
  border-radius:var(--radius)!important;
  margin:22px 0!important;
  box-shadow:var(--shadow-md)!important;
  display:block!important;
}

.blog-html-content a {
  color:var(--red)!important;
  font-weight:600!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
  text-decoration-color:rgba(188,20,33,0.3)!important;
}

.blog-html-content a:hover { text-decoration-color:var(--red)!important; }

.blog-html-content table { width:100%!important; border-collapse:collapse!important; margin-bottom:22px!important; }

.blog-html-content th { background:var(--red)!important; color:var(--white)!important; padding:10px 14px!important; text-align:left!important; font-size:12px!important; font-weight:700!important; letter-spacing:1px!important; text-transform:uppercase!important; }

.blog-html-content td { padding:10px 14px!important; border-bottom:1px solid var(--border)!important; color:var(--slate)!important; font-size:14px!important; }

.blog-html-content tr:last-child td { border-bottom:none!important; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .bd-layout { grid-template-columns: 230px 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .blog-banner-image { height: 260px; }
  .blog-main-title { font-size: 28px; }

  .bd-layout {
    grid-template-columns: 1fr;
    padding: 24px 16px 60px;
  }

  .bd-sidebar {
    position: static;
    order: -1;
  }

  .bd-title-strip { padding: 24px 16px 22px; }

  .bd-acc-header { padding: 16px 18px; gap: 12px; }
  .bd-acc-icon { width: 38px; height: 38px; }
  .bd-acc-icon svg { width: 18px; height: 18px; }
  .bd-acc-title { font-size: 14px; }
  .bd-acc-content { padding: 0 18px 22px; padding-top: 18px; }

  .bd-all-blogs-btn { font-size: 12px; padding: 8px 16px; }
}

@media (max-width: 480px) {
  .blog-banner-image { height: 200px; }
  .blog-main-title { font-size: 22px; letter-spacing: -0.5px; }
  .bd-layout { padding: 16px 12px 50px; gap: 14px; }
  .bd-sidebar-card { padding: 20px 16px; }
}



:root {
  --red: #bc1421;
  --red-dk: #9b1019;
  --red-xdk: #7a0d15;
  --red-lt: #fff0f1;
  --red-soft: #fde8ea;
  --red-border: #f5cdd0;

  --ink: #1e0608;
  --ink-2: #2e2035;
  --ink-mid: #4d1c26;
  --muted: #7a3040;
  --subtle: #ad7080;

  --bg: #fdfafa;
  --card: #ffffff;
  --surf-2: #fdf3f4;
  --surf-3: #fce9eb;
  --border: #f0dde0;
  --border-2: #e8c5ca;

  --font-body: 'Poppins', sans-serif;
  --font-display: 'Poppins', sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --sh-xs: 0 1px 4px rgba(140, 20, 30, .06);
  --sh-sm: 0 2px 12px rgba(140, 20, 30, .09);
  --sh-md: 0 8px 28px rgba(140, 20, 30, .12);
  --sh-lg: 0 18px 56px rgba(140, 20, 30, .17);
  --sh-xl: 0 28px 72px rgba(140, 20, 30, .22);
}


/* ── Reset ──────────────────────────────────────────────────────────── */


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}


/* ── Animations ─────────────────────────────────────────────────────── */


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(.93) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* Subtle back-and-forth nudge for the details-button arrow on card hover */


@keyframes arrowNudge {
  0% {
    transform: translateX(0);
  }

  30% {
    transform: translateX(4px);
  }

  60% {
    transform: translateX(-2px);
  }

  100% {
    transform: translateX(0);
  }
}


.page {
  min-height: 100vh;
  background: var(--bg);
}


.page__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px 80px;
}


.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 480px;
  border-bottom: 1px solid var(--border);
}


/* Full-bleed background photo */


.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}


.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}


/* Gradient so the left-aligned text stays readable over the photo,
   fading from solid white on the left into the image on the right */


.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      #ffffff 0%,
      #ffffff 32%,
      rgba(255, 255, 255, .88) 46%,
      rgba(255, 255, 255, .35) 62%,
      rgba(255, 255, 255, 0) 78%);
}


.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 28px;
}


.hero__content {
  max-width: 560px;
  text-align: left;
}


.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--ink-2);
  letter-spacing: -.01em;
  line-height: 1.02;
  text-transform: uppercase;
  animation: fadeUp .5s .04s var(--ease) both;
}


.hero__title span {
  color: var(--red);
}


.hero__divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 18px;
  animation: fadeUp .55s .08s var(--ease) both;
}


.hero__divider span {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}


.hero__sub {
  font-size: .95rem;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.75;
  animation: fadeUp .6s .12s var(--ease) both;
}


.hero__stats {
  display: flex;
  align-items: stretch;
  width: fit-content;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  margin-top: 38px;
  animation: fadeUp .65s .16s var(--ease) both;
  box-shadow: var(--sh-md);
}


.hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 12px;
  transition: background .18s var(--ease);
}


.hero__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--red);
  flex-shrink: 0;
}


.hero__stat-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}


.hero__stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-2);
  line-height: 1.1;
  letter-spacing: -.01em;
  white-space: nowrap;
}


.hero__stat-lbl {
  font-size: .64rem;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}


.hero__stat-sep {
  width: 1px;
  align-self: center;
  height: 38px;
  background: var(--border);
  flex-shrink: 0;
}


/* ── Session-expired alert (premium neutral, no yellow) ───────────────── */


.session-alert {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--r);
  padding: 13px 18px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-mid);
  max-width: 1240px;
  margin: 22px auto 0;
  box-shadow: var(--sh-xs);
}


.session-alert__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--red);
}


.session-alert__text strong {
  color: var(--ink);
  font-weight: 700;
}


.session-alert__link {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--red);
  text-decoration: underline;
  font-weight: 700;
  font-size: inherit;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}


.session-alert__close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--subtle);
  opacity: .8;
  display: flex;
  align-items: center;
  transition: opacity .15s, color .15s;
}


.session-alert__close:hover {
  opacity: 1;
  color: var(--red);
}


.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 0 4px;
  flex-wrap: wrap;
}


.filter-bar__pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}


.pill {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  background: var(--card);
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s var(--ease);
  white-space: nowrap;
  line-height: 1;
}


.pill:hover {
  background: var(--red-soft);
  border-color: rgba(188, 20, 33, .3);
  color: var(--red-dk);
}


.pill--on {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(188, 20, 33, .28);
}


.filter-bar__count {
  margin-left: auto;
  font-size: .78rem;
  color: var(--subtle);
  font-weight: 600;
  white-space: nowrap;
}


.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 50px;
}


.grid__cell {
  animation: fadeUp .42s var(--ease) both;
  display: flex;
}


.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: var(--sh-xs);
  /* No transform/box-shadow/border animation on card hover —
     only the "View Course Details" button reacts to hover. */
}


/* Image */


.card__img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}


.card__img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  object-position: center;
  display: block;
  box-sizing: border-box;
  padding: 18px;
}


.card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}


.card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f2bdc1;
  color: #681616;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}


.card__badge1 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #cebdf2;
  color: #3d1668;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}


/* Body */


.card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}


.card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: .01em;
  margin-bottom: 7px;
}


.card__desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.card__meta {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}


.card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--subtle);
}


.card__meta-item svg {
  flex-shrink: 0;
}


.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 9px 12px;
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 14px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-mid);
}


.card__tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


.card__tags svg {
  color: var(--red);
  flex-shrink: 0;
}


/* Category + Popular / Best Seller row */


.card__tagrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}


.card__category {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red-dk);
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  padding: 3px 10px;
  border-radius: 999px;
}


.card__hot {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(188, 20, 33, .25);
}


/* Duration + mode, combined pill row */


.card__meta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}


.card__meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--surf-2);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: var(--r);
}


.card__meta-pill svg {
  color: var(--red);
  flex-shrink: 0;
}


/* Footer — price on the left, details button pinned to the right corner */


.card__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}


.card__price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}


/* Price row: current price + GST + old price + discount, single line */


.card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  row-gap: 4px;
  column-gap: 8px;
}


.card__price-main {
  font-family: 'Poppins', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink-2);
  letter-spacing: -.01em;
  line-height: 1;
}


.card__gst-inline {
  font-size: .64rem;
  font-weight: 700;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .04em;
}


.card__price-old {
  font-size: .84rem;
  font-weight: 600;
  color: var(--subtle);
  text-decoration: line-through;
}


.card__price-save {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #15803d;
  background: #ecfdf3;
  border: 1px solid #bbf0cf;
  padding: 2px 9px;
  border-radius: 999px;
}


.card__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}


.btn-enroll {
  padding: 8px 18px;
  border-radius: var(--r);
  border: none;
  background: var(--red);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .18s var(--ease), transform .14s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}


.btn-enroll:hover {
  background: var(--red-dk);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(188, 20, 33, .28);
}


.btn-enroll:active {
  transform: translateY(0);
}


.btn-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r);
  border: 1.5px solid var(--border-2);
  background: transparent;
  color: var(--red);
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .14s var(--spring);
  flex-shrink: 0;
}


.btn-fav:hover {
  background: var(--red-soft);
  border-color: rgba(188, 20, 33, .3);
  transform: scale(1.12);
}


.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 36vh;
  gap: 14px;
  padding: 60px 24px;
}


.state-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surf-3);
  border: 1.5px solid var(--border);
  color: var(--subtle);
}


.state-box__icon svg {
  width: 20px;
  height: 20px;
}


.state-box__icon--err {
  background: rgba(188, 20, 33, .07);
  border-color: rgba(188, 20, 33, .15);
  color: var(--red);
}


.state-box__txt {
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
}


.state-box__txt--err {
  color: var(--red);
}


.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(188, 20, 33, .12);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .72s linear infinite;
  flex-shrink: 0;
}


.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 3, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s var(--ease);
}


.modal {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: var(--sh-xl);
  animation: popIn .28s var(--spring);
}


.modal::-webkit-scrollbar {
  width: 4px;
}


.modal::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border-radius: 4px;
}


/* ── Modal header (image + title overlay) */


.modal__hdr {
  position: relative;
  flex-shrink: 0;
  min-height: 170px;
  background: linear-gradient(135deg, #2e0a10 0%, #5c1020 100%);
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}


.modal__hdr-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .55;
}


.modal__hdr-blank {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2e0a10, #5c1020);
}


/* Gradient overlay so text is always readable */


.modal__hdr-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 2, 3, .15) 0%, rgba(10, 2, 3, .72) 100%);
}


.modal__hdr-content {
  position: relative;
  z-index: 2;
  padding: 46px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.modal__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .85);
  width: fit-content;
}


.modal__chip--offer {
  background: rgba(188, 20, 33, .5);
  border-color: rgba(188, 20, 33, .7);
  color: #ffc0c5;
}


/* Title inside header */


.modal__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: .01em;
}


.modal__hdr-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
}


.modal__close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  transition: background .18s, transform .14s var(--spring);
}


.modal__close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.08);
}


/* ── Modal body */


.modal__body {
  padding: 24px 24px 28px;
}


.modal__desc {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.68;
  margin-bottom: 20px;
}


.modal__load {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  padding: 16px 0;
}


/* Messages */


.msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: var(--r);
  padding: 10px 13px;
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}


.msg svg {
  flex-shrink: 0;
  margin-top: 1px;
}


.msg--warn {
  background: rgba(202, 138, 4, .06);
  border: 1px solid rgba(202, 138, 4, .22);
  color: #854d0e;
}


.msg--err {
  background: rgba(188, 20, 33, .06);
  border: 1px solid rgba(188, 20, 33, .18);
  color: var(--red-xdk);
}


.msg--ok {
  background: rgba(21, 128, 61, .06);
  border: 1px solid rgba(21, 128, 61, .2);
  color: #166534;
}


/* Two-col form row */


.modal__row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}


/* Fields */


.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.field__lbl {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
}


.field__ctrl {
  padding: 10px 13px;
  background: var(--surf-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  outline: none;
  width: 100%;
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}


select.field__ctrl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a3040' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}


.field__ctrl:focus {
  border-color: var(--red);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(188, 20, 33, .09);
}


/* Price box */


.modal__price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  margin-bottom: 16px;
}


.modal__price-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.modal__price-lbl {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--subtle);
}


.modal__price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.01em;
}


.modal__offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(188, 20, 33, .09);
  border: 1px solid rgba(188, 20, 33, .2);
  color: var(--red-dk);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .71rem;
  font-weight: 700;
  white-space: nowrap;
}


/* Pay button */


.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 0;
  border-radius: var(--r-lg);
  border: none;
  background: linear-gradient(135deg, #c41525 0%, #a0101e 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .18s var(--ease), opacity .18s;
  box-shadow: 0 6px 22px rgba(188, 20, 33, .28);
}


.btn-pay:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(188, 20, 33, .38);
}


.btn-pay:active:not(:disabled) {
  transform: translateY(0);
}


.btn-pay:disabled {
  opacity: .58;
  cursor: not-allowed;
  box-shadow: none;
}


.btn-spin {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  flex-shrink: 0;
}


.modal__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: .72rem;
  color: var(--subtle);
  font-weight: 600;
  margin-top: 10px;
  letter-spacing: .03em;
}


/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */


/* ── Tablet ── */


@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ── Small tablet / large phone ── */


@media (max-width: 900px) {
  .hero {
    min-height: 420px;
  }

  .hero__bg-overlay {
    background: linear-gradient(180deg,
        #ffffff 0%,
        #ffffff 44%,
        rgba(255, 255, 255, .9) 60%,
        rgba(255, 255, 255, .4) 78%,
        rgba(255, 255, 255, 0) 100%);
  }

  .hero__inner {
    padding: 56px 24px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__sub {
    max-width: 100%;
  }
}


@media (max-width: 768px) {
  .hero {
    min-height: 380px;
  }

  .hero__title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .hero__inner {
    padding: 44px 20px;
  }

  .hero__stat {
    padding: 9px 16px;
    gap: 10px;
  }

  .hero__stat-icon {
    width: 34px;
    height: 34px;
  }

  .hero__stat-num {
    font-size: 1.2rem;
  }

  .page__inner {
    padding: 0 16px 60px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .card__img {
    height: 180px;
    padding: 14px;
  }

  .card__body {
    padding: 15px 16px 16px;
  }

  .card__title {
    font-size: 1.1rem;
  }

  .card__price-main {
    font-size: 1.6rem;
  }

  .modal__row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .session-alert {
    margin: 14px 16px 0;
  }
}


/* ── Mobile ── */


@media (max-width: 560px) {
  .hero {
    min-height: 340px;
  }

  .hero__title {
    font-size: clamp(1.9rem, 11vw, 2.6rem);
  }

  .hero__sub {
    font-size: .88rem;
  }

  .hero__bg-overlay {
    background: linear-gradient(180deg,
        #ffffff 0%,
        #ffffff 52%,
        rgba(255, 255, 255, .92) 68%,
        rgba(255, 255, 255, .5) 84%,
        rgba(255, 255, 255, .15) 100%);
  }

  /* Stats stack into a full-width column of rows on mobile */
  .hero__stats {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    padding: 6px;
    gap: 2px;
  }

  .hero__stat {
    justify-content: flex-start;
    padding: 9px 12px;
  }

  .hero__stat-sep {
    display: none;
  }

  .hero__stat-icon {
    width: 32px;
    height: 32px;
  }

  .hero__stat-num {
    font-size: 1.1rem;
  }

  .hero__stat-lbl {
    font-size: .6rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card__img {
    height: 190px;
    padding: 14px;
  }

  .card__badges {
    top: 10px;
    left: 10px;
    gap: 5px;
  }

  .card__badge {
    font-size: .64rem;
    padding: 3px 8px;
  }

  .save-course-btn {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }

  .save-course-btn svg {
    width: 12px;
    height: 12px;
  }

  .card__body {
    padding: 14px 15px 15px;
  }

  .card__title {
    font-size: 1.08rem;
  }

  .card__desc {
    font-size: .8rem;
  }

  .card__price-main {
    font-size: 1.4rem;
  }

  /* Price + button no longer share a row on narrow cards —
     price sits full width, button drops to its own row, pinned right */
  .card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .card__price-block {
    text-align: left;
  }

  .card__details-btn {
    align-self: flex-end;
    padding: 9px 12px 9px 16px;
    font-size: .8rem;
  }

  /* Bottom-sheet modal on mobile */
  .overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    max-height: 95dvh;
    max-width: 100%;
  }

  .modal__hdr {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }

  .modal__body {
    padding: 20px 18px 28px;
  }

  .modal__price {
    font-size: 1.6rem;
  }
}


/* ── Very small ── */


@media (max-width: 380px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__divider span {
    width: 32px;
  }

  .pill {
    padding: 6px 13px;
    font-size: .76rem;
  }

  .card__price {
    font-size: 1.3rem;
  }

  .btn-enroll {
    padding: 7px 14px;
    font-size: .88rem;
  }
}


.card__gst {
  font-size: clamp(.68rem, 2vw, .76rem);
  font-weight: 700;
  color: var(--red-dk);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.9;
}


/* ── "View Course Details" button ──────────────────────────────────────
   Default: white bg, red outline/text. Sits in the footer's right
   corner (not full-width) next to the price on the left.
   Card hover: bg turns #bc1421, text/icon turn white, chevron nudges
   left-and-right. The card itself does NOT lift or gain a shadow. */


.card__details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  flex-shrink: 0;
  padding: 9px 12px 9px 18px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  background: #ffffff;
  color: var(--red-dk);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}


.card__details-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  flex-shrink: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}


.card__details-arrow svg {
  width: 9px;
  height: 9px;
}


/* Hovering anywhere on the card triggers the button state + arrow nudge */


.card:hover .card__details-btn {
  background: #bc1421;
  border-color: #bc1421;
  color: #ffffff;
}


.card:hover .card__details-arrow {
  background: #ffffff;
  color: #bc1421;
}


.card:hover .card__details-arrow svg {
  animation: arrowNudge .9s ease-in-out infinite;
}


.save-course-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(30, 6, 8, .14);
  transition: all 0.25s ease;
}


.save-course-btn svg {
  width: 14px;
  height: 14px;
}


.save-course-btn:hover {
  color: #bc1421;
  transform: scale(1.08);
}


.save-course-btn.active {
  background: #bc1421;
  /* saved = red */
  border-color: #bc1421;
  color: #fff;
  /* white heart */
}


.save-course-btn.active:hover {
  background: #a9111c;
  border-color: #a9111c;
}


.enroll-btn {
  background: #bc1421;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}


.enroll-btn:hover {
  background: #a5121d;
}


/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */

:root {
  --red:        #bc1421;
  --red-dark:   #991119;
  --red-light:  #f9e8e9;
  --red-mid:    rgba(188, 20, 33, 0.08);
  --charcoal:   #2d2d2d;
  --slate:      #4a4a5a;
  --muted:      #6b6b7b;
  --border:     #e8e4e4;
  --surface:    #fafafa;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 12px rgba(188,20,33,0.07);
  --shadow-md:  0 6px 28px rgba(188,20,33,0.12);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:    'Manrope', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Poppins', sans-serif; background: var(--surface); color: var(--charcoal); overflow-x: hidden; }

/* ══════════════════════════════════════════
   HERO  (matches Contact screenshot exactly)
══════════════════════════════════════════ */

.ph-hero {
  position: relative;
  /* warm peach gradient exactly as in screenshot */
  background: radial-gradient(ellipse at 60% 40%, #fce8dc 0%, #fad5c8 35%, #f5d0d8 65%, #ede8f0 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* ── Pendant lamps (top-left) ── */

.ph-lamp {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ph-lamp-1 { left: 12%; }

.ph-lamp-2 { left: 20%; }

.ph-lamp-wire {
  width: 3px;
  height: 36px;
  background: linear-gradient(180deg, #c0bcc0, #a8a4a8);
  border-radius: 2px;
}

.ph-lamp-bulb {
  width: 54px;
  height: 80px;
  background: linear-gradient(160deg, #d4d0d4 0%, #a8a4a8 60%, #908c90 100%);
  border-radius: 0 0 50% 50%;
  box-shadow: inset -6px 0 12px rgba(0,0,0,0.12);
}

.ph-lamp-bulb--sm {
  width: 42px;
  height: 64px;
}

/* ── Floating dots ── */

.ph-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ph-dot--red  { background: #e85c5c; }

.ph-dot--blue { background: #5a78c4; }

/* positions matching screenshot */

.ph-dot-1 { width: 18px; height: 18px; top: 28%;  left: 35%;  }

/* red,  centre-left */

.ph-dot-2 { width: 14px; height: 14px; top: 64%;  left: 19%;  }

/* blue, lower-left  */

.ph-dot-3 { width: 12px; height: 12px; top: 12%;  right: 15%; }

/* blue, top-right   */

.ph-dot-4 { width: 16px; height: 16px; bottom:20%;right: 26%; }

/* red,  lower-right */

/* ── Stacked books (bottom-right) ── */

.ph-books {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 88px;
}

.ph-book {
  height: 22px;
  width: 100%;
  border-radius: 2px 2px 0 0;
  opacity: 0.95;
}

/* ── Centre content ── */

.ph-center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: #3d3d5a;
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.ph-breadcrumb a {
  color: #3d3d5a;
  text-decoration: none;
  transition: color var(--transition);
}

.ph-breadcrumb a:hover { color: var(--red); }

.ph-sep { color: #3d3d5a; font-size: 0.7rem; }

.ph-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  color: #1e1e38;           /* very dark navy, matches screenshot */
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
}

/* Two red brush-stroke SVG underlines side by side */

.ph-underlines {
  display: flex;
  gap: 6px;
  justify-content: center;
  width: 220px;
}

.ph-stroke {
  width: 96px;
  height: 10px;
  display: block;
}

/* ══════════════════════════════════════════
   CARRIER CONTAINER
══════════════════════════════════════════ */

.carrier-container {
  background: var(--surface);
  padding: 48px 0 72px;
  font-family: 'Poppins', sans-serif;
}

.carrier-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.carrier-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ══════════════════════════════════════════
   SECTION TITLE
══════════════════════════════════════════ */

.carrier-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
}

.carrier-section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: var(--red);
  border-radius: 3px;
}

/* ══════════════════════════════════════════
   OVERVIEW
══════════════════════════════════════════ */

.carrier-overview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.carrier-overview-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--slate);
}

/* ══════════════════════════════════════════
   RESPONSIBILITIES — CAROUSEL
══════════════════════════════════════════ */

.carrier-responsibilities {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.cr-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Arrow buttons */

.cr-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.cr-arrow svg { width: 18px; height: 18px; }

.cr-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

/* Scrollable track */

.cr-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 8px 4px;
}

.cr-track::-webkit-scrollbar { display: none; }

/* Card */

.cr-card {
  flex: 0 0 260px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.cr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}

.cr-card:hover,
.cr-card--active {
  border-color: rgba(188,20,33,0.25);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cr-card:hover::before,
.cr-card--active::before { transform: scaleX(1); }

/* Icon */

.cr-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.cr-card-icon svg { width: 20px; height: 20px; }

.cr-card--active .cr-card-icon,
.cr-card:hover .cr-card-icon { background: var(--red); color: var(--white); }

/* Number */

.cr-card-num {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 1.5px;
}

/* Title */

.cr-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

/* Desc */

.cr-card-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Dots */

.cr-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.cr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.cr-dot--active { background: var(--red); transform: scale(1.3); }

.cr-dot:hover   { background: var(--red); }

/* Progress bar */

.cr-progress-bar {
  margin-top: 14px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.cr-progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Counter */

.cr-counter {
  text-align: right;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ══════════════════════════════════════════
   APPLICATION FORM
══════════════════════════════════════════ */

.carrier-application {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--red);
}

.carrier-application-intro {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--slate);
  margin-bottom: 28px;
}

.carrier-form { display: flex; flex-direction: column; gap: 18px; }

.carrier-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.carrier-form-group { display: flex; flex-direction: column; gap: 6px; }

.carrier-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.carrier-input,
.carrier-select {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.carrier-select { cursor: pointer; }

.carrier-input:focus,
.carrier-select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red-mid);
}

.carrier-input::placeholder { color: #bbb; }

/* File input */

.carrier-file-input {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--charcoal);
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}

.carrier-file-input:hover { border-color: var(--red); background: var(--red-light); }

.carrier-file-info { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* Checkbox */

.carrier-checkbox-group { margin-top: 4px; }

.carrier-checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }

.carrier-checkbox { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; accent-color: var(--red); cursor: pointer; }

.carrier-checkbox-text { font-size: 0.82rem; line-height: 1.6; color: var(--slate); }

/* Submit */

.carrier-submit-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  padding: 13px 32px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  align-self: flex-start;
}

.carrier-submit-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 768px) {
  .ph-hero { min-height: 220px; }
  .ph-title { font-size: 3rem; }
  .ph-lamp-2 { display: none; }
  .ph-books  { width: 64px; }
  .ph-book   { height: 16px; }

  .carrier-main { padding: 0 16px; }
  .carrier-container { padding: 32px 0 56px; }
  .carrier-overview,
  .carrier-responsibilities,
  .carrier-application { padding: 24px 18px; }
  .carrier-form-row { grid-template-columns: 1fr; }
  .cr-card { flex: 0 0 220px; }
  .cr-arrow { width: 34px; height: 34px; }
  .cr-arrow svg { width: 15px; height: 15px; }
  .carrier-submit-btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .ph-hero { min-height: 180px; }
  .ph-title { font-size: 2.4rem; }
  .ph-lamp-1, .ph-books { display: none; }
  .cr-card { flex: 0 0 200px; padding: 18px 14px; }
  .carrier-section-title { font-size: 1.4rem; }
}
/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f2f2f7;
  color: #1a1a1a;
}

/* ─── Page root — always 100% viewport width ───────────────────────────────── */
.insights-page {
  width: 100%;
  min-height: 100vh;
  background: #f2f2f7;
  padding-bottom: 80px;
  overflow-x: hidden;
}

/* ─── Header — modern, elegant banner ───────────────────────────────────────── */
.insights-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff7f7 0%, #ffffff 60%);
  border-bottom: 1px solid #eee;
  padding: 52px 24px 40px;
}

/* ── Decorative blobs — top-left and a smaller echo bottom-right ── */
.insights-hero__blob {
  position: absolute;
  top: -70px;
  left: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 32% 32%, rgba(188, 20, 33, 0.2), rgba(188, 20, 33, 0.02) 70%);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
  animation: heroBlobMorph 9s ease-in-out infinite;
}

.insights-hero::after {
  content: "";
  position: absolute;
  bottom: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 60% 60%, rgba(188, 20, 33, 0.1), rgba(188, 20, 33, 0.01) 70%);
  border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}

@keyframes heroBlobMorph {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  }

  50% {
    transform: translate(18px, 14px) scale(1.08);
    border-radius: 58% 42% 35% 65% / 55% 55% 45% 45%;
  }
}

.insights-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.insights-hero__text {
  min-width: 0;
  flex: 1 1 340px;
  max-width: 440px;
}

.insights-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF1F2;
  color: #BC1421;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ── Highlight grid: all 4 cards shown together, filling the middle ── */
.insights-hero__highlights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 205px));
  gap: 12px;
  flex-shrink: 0;
}

.insights-hero__hcard {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: hcardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hcardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.insights-hero__hcard-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #BC1421;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insights-hero__hcard-text {
  min-width: 0;
}

.insights-hero__hcard-title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}

.insights-hero__hcard-desc {
  margin: 2px 0 0;
  font-size: 10.5px;
  color: #888;
  line-height: 1.4;
}

.insights-hero__title {
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.insights-hero__sub {
  font-size: 14.5px;
  color: #666;
  line-height: 1.65;
  max-width: 440px;
}

/* ── CTA button ── */
.insights-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  background: #BC1421;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(188, 20, 33, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.insights-hero__cta:hover {
  background: #9b1019;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(188, 20, 33, 0.3);
}

.insights-hero__cta:active {
  transform: translateY(0);
}

/* ── Illustration — transparent line-art that blends into the header,
   no card/box, just a gentle floating bob ── */
.insights-hero__media {
  flex: 1 1 320px;
  max-width: 340px;
  mix-blend-mode: multiply;
}

.insights-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  animation: heroArtFloat 6s ease-in-out infinite;
}

@keyframes heroArtFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ─── Ticker bar — full bleed dark strip ────────────────────────────────────── */
.ticker-bar {
  background: #1a1a1a;
  padding: 9px 20px;
  display: flex;
  gap: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
  align-items: center;
  width: 100%;
}

.ticker-bar::-webkit-scrollbar {
  display: none;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.ticker-name {
  color: #ccc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ticker-value {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.ticker-change {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ticker-change.up {
  color: #4CAF50;
}

.ticker-change.down {
  color: #f44336;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: blink 1.5s infinite;
  flex-shrink: 0;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

/* ─── Content wrapper — centers content, full width on mobile ──────────────── */
/* This wraps every section's CONTENT (not the section bg itself) */
.insights-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ─── Section row — full width background strip ─────────────────────────────── */
.insights-section {
  width: 100%;
  padding: 28px 0 10px;
}

/* ─── Section divider ──────────────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: #e4e4e4;
  width: 100%;
  margin: 0;
}

/* ─── Section Title ─────────────────────────────────────────────────────────── */
.section-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 10px;
  margin-bottom: 18px;
}

.section-title-bar {
  width: 4px;
  height: 24px;
  background: #BC1421;
  border-radius: 3px;
  flex-shrink: 0;
}

.section-title-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #BC1421;
  flex-shrink: 0;
}

.section-title h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.section-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.28);
}

/* ─── Market Pulse — horizontal scroll on mobile, wrap on desktop ───────────── */
.market-pulse-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
  width: 100%;
  scroll-snap-type: x proximity;
}

.market-pulse-scroll::-webkit-scrollbar {
  display: none;
}

.pulse-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px 12px;
  height: 220px;
  min-width: 280px;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  scroll-snap-align: start;
}

.pulse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding-right: 34px;
  /* keep clear of the trend arrow */
}

.trend-arrow {
  position: absolute;
  top: 14px;
  right: 14px;

  font-size: 28px;
  font-weight: bold;

  opacity: .85;
}

.trend-arrow.up {
  color: #22c55e;
  animation: riseArrow 1.5s infinite ease-in-out;
}

@keyframes riseArrow {
  0% {
    transform: translateY(4px);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(4px);
  }
}

.trend-arrow.down {
  color: #ef4444;
  animation: fallArrow 1.5s infinite ease-in-out;
}

@keyframes fallArrow {
  0% {
    transform: translateY(-4px);
  }

  50% {
    transform: translateY(4px);
  }

  100% {
    transform: translateY(-4px);
  }
}



.pulse-card-flag {
  font-size: 20px;
  margin-bottom: 2px;
  display: block;
}

.pulse-card-name {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pulse-card-value {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin-top: 8px;
  margin-bottom: 12px;
}

.pulse-change-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
  flex-shrink: 0;
}

.pulse-change-badge.up {
  background: #dcfce7;
  color: #15803d;
}

.pulse-change-badge.down {
  background: #fee2e2;
  color: #b91c1c;
}

.sparkline-wrap {
  flex: 1;
  width: 100%;
  overflow: hidden;
  margin-top: 12px;
}


.sparkline-wrap svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ─── News / Highlights grid — 2 col mobile → 4 col desktop ────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.news-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  border-color: #e8e8e8;
}

.news-card-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-card-img-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c7cbd1;
}

.news-card-body {
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-source {
  font-size: 10px;
  font-weight: 700;
  color: #BC1421;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-headline {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-subtext {
  font-size: 12px;
  color: #555;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-time {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.live-badge {
  font-size: 11px;
  font-weight: 800;
  color: #BC1421;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ─── Card "View Details" row (news + vastu cards) ──────────────────────────── */
.card-cta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #BC1421;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #BC1421;
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease;
}

.news-card:hover .card-arrow {
  transform: translateX(4px);
  background: #9d101b;
}

/* ─── Calculator cards — GenX modern (flat tinted tiles) ────────────────────── */
.calculator-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 14px;
  scrollbar-width: none;
  width: 100%;
  scroll-snap-type: x proximity;
}

.calculator-scroll::-webkit-scrollbar {
  display: none;
}

.calc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  cursor: pointer;
  min-width: 168px;
  padding: 16px 16px 42px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #ececec;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  scroll-snap-align: start;
}

.calc-card:hover {
  border-color: var(--calc-color, #d0d0d0);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.calc-card:hover .calc-icon-box {
  transform: translateY(-1px);
}

.calc-card:hover .calc-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.calc-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--calc-color, #1a1a1a);
  background: color-mix(in srgb, var(--calc-color) 14%, #fff);
  transition: transform 0.2s ease;
}

.calc-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #16181d;
  line-height: 1.3;
}

.calc-card-sub {
  font-size: 11px;
  font-weight: 500;
  color: #94989f;
  margin-top: -6px;
}

.calc-card-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  color: var(--calc-color, #16181d);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Touch devices don't hover — always reveal the arrow so it doesn't look cut off */
@media (hover: none) {
  .calc-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* ─── Skeleton ──────────────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 12px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ─── Error banner ──────────────────────────────────────────────────────────── */
.error-banner {
  background: #fce4ec;
  border: 1px solid #ef9a9a;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #c62828;
  margin-bottom: 12px;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Header stacks before the two-column layout gets too tight ──────────────── */
@media (max-width: 900px) {
  .insights-hero__inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 14px;
  }

  .insights-hero__text {
    flex: none;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .insights-hero__sub {
    margin: 0 auto;
  }

  .insights-hero__highlights {
    grid-template-columns: repeat(2, minmax(150px, 180px));
    margin: 0 auto;
  }

  .insights-hero__media {
    flex: none;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .insights-inner {
    padding: 0 24px;
  }

  .insights-section {
    padding: 26px 0 10px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .news-card-img {
    height: 130px;
  }

  .news-headline {
    font-size: 13.5px;
  }

  .pulse-card {
    min-width: 220px;
    width: 220px;
    height: 210px;
  }

  .calc-card {
    min-width: 176px;
  }

  .insights-hero__highlights {
    grid-template-columns: repeat(2, minmax(170px, 220px));
  }

  .insights-hero__media {
    max-width: 240px;
  }
}

/* ── Small desktop  (769px – 1024px) ────────────────────────────────────────── */
@media (min-width: 769px) {
  .insights-inner {
    padding: 0 32px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  /* Pulse cards: stop scrolling, wrap to fill row */
  .market-pulse-scroll {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .pulse-card {
    flex: 1 1 160px;
    min-width: 0;
    max-width: none;
    width: auto;
  }

  .pulse-card-value {
    font-size: 22px;
  }

  /* 3-column news on tablet */
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .news-card-img {
    height: 140px;
  }

  .news-headline {
    font-size: 13px;
  }

  .calc-card {
    min-width: 180px;
  }

  .calc-icon-box {
    width: 50px;
    height: 50px;
  }

  .calc-card-name {
    font-size: 14px;
  }

  .insights-section {
    padding: 32px 0 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .insights-hero {
    padding: 44px 32px 36px;
  }
}

/* ── Desktop  (1025px+) ──────────────────────────────────────────────────────── */
@media (min-width: 1025px) {
  .insights-inner {
    padding: 0 48px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  /* 4-column news grid */
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .news-card-img {
    height: 155px;
  }

  .news-headline {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .news-subtext {
    font-size: 12px;
  }

  .news-card-body {
    padding: 14px 14px 16px;
    gap: 5px;
  }

  /* Pulse cards fill width */
  .pulse-card {
    flex: 1 1 180px;
  }

  .pulse-card-value {
    font-size: 24px;
  }

  .pulse-card-name {
    font-size: 12px;
  }

  .calc-card {
    min-width: 190px;
    padding: 18px 18px 46px;
  }

  .calc-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .calc-card-name {
    font-size: 14.5px;
  }

  .calc-card-sub {
    font-size: 11px;
  }

  .insights-section {
    padding: 36px 0 12px;
  }

  .section-divider {
    margin: 0;
  }
}

/* ── Wide  (1400px+) ─────────────────────────────────────────────────────────── */
@media (min-width: 1400px) {
  .insights-inner {
    padding: 0 64px;
  }

  .news-grid {
    gap: 24px;
  }

  .news-card-img {
    height: 170px;
  }

  .pulse-card {
    flex: 1 1 200px;
  }

  .pulse-card-value {
    font-size: 26px;
  }
}

/* ── Mobile  (≤ 480px) ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .insights-hero {
    padding: 28px 16px 24px;
  }

  .insights-hero__inner {
    gap: 22px;
  }

  .insights-hero__eyebrow {
    font-size: 10.5px;
    padding: 5px 11px;
  }

  /* Illustration eats vertical space without adding much on a small screen —
     drop it and let the highlight cards follow the CTA directly. */
  .insights-hero__media {
    display: none;
  }

  .insights-hero__sub {
    font-size: 13px;
  }

  .insights-hero__highlights {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 320px;
    gap: 10px;
    margin: 0 auto;
  }

  .insights-hero__hcard {
    padding: 12px 14px;
    text-align: left;
  }

  .insights-hero__hcard-icon {
    width: 34px;
    height: 34px;
  }

  .insights-hero__hcard-title {
    font-size: 12.5px;
  }

  .insights-hero__hcard-desc {
    font-size: 10.5px;
  }

  .insights-hero__cta {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 13px;
    margin-top: 18px;
  }

  .insights-hero__media {
    max-width: 190px;
  }

  .insights-inner {
    padding: 0 14px;
  }

  .insights-section {
    padding: 22px 0 8px;
  }

  .section-title {
    margin-bottom: 14px;
  }

  .section-title h2 {
    font-size: 15px;
  }

  .section-title-badge {
    font-size: 10px;
    padding: 5px 11px;
  }

  .market-pulse-scroll {
    gap: 10px;
  }

  .pulse-card {
    min-width: 200px;
    width: 200px;
    height: 190px;
    padding: 12px 12px 10px;
  }

  .pulse-card-value {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .sparkline-wrap svg {
    height: 60px;
  }

  .news-grid {
    gap: 10px;
  }

  .news-card {
    border-radius: 14px;
  }

  .news-card-img {
    height: 90px;
  }

  .news-card-body {
    padding: 10px 10px 12px;
    gap: 3px;
  }

  .news-headline {
    font-size: 11.5px;
    -webkit-line-clamp: 2;
  }

  .news-subtext {
    font-size: 10.5px;
    -webkit-line-clamp: 2;
  }

  .card-cta {
    font-size: 10px;
    padding-top: 8px;
  }

  .card-arrow {
    width: 22px;
    height: 22px;
  }

  .calculator-scroll {
    gap: 10px;
  }

  .calc-card {
    min-width: 138px;
    padding: 13px 13px 38px;
  }

  .calc-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .calc-card-name {
    font-size: 12.5px;
  }

  .calc-card-sub {
    font-size: 10px;
  }
}

/* ── Extra-small phones (≤ 360px) ────────────────────────────────────────────── */
@media (max-width: 360px) {
  .insights-hero {
    padding: 26px 12px 24px;
  }

  .insights-inner {
    padding: 0 10px;
  }

  .news-card-img {
    height: 78px;
  }

  .news-headline {
    font-size: 11px;
  }

  .news-subtext {
    display: none;
    /* not enough room to show both headline and subtext legibly */
  }

  .pulse-card {
    min-width: 172px;
    width: 172px;
  }

  .calc-card {
    min-width: 124px;
  }
}

/* ── Landscape phones — short viewport height, wide-ish width ───────────────── */
@media (max-height: 420px) and (orientation: landscape) {
  .insights-hero {
    padding: 20px 20px;
  }

  .insights-hero__media {
    display: none;
    /* reclaim vertical space; illustration isn't essential in landscape */
  }

  .insights-hero__highlights {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
  }
}

.sparkline-wrap {
  width: 100%;
  margin-top: 12px;
}

.sparkline-wrap svg {
  display: block;
  width: 100%;
  height: 80px;
}
.announcement-page {
  min-height: 100vh;
  background: #f5f7fb;
  padding: 40px 20px;
  box-sizing: border-box;
}

.announcement-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.announcement-header {
  margin-bottom: 30px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 30px;
  background: #BC1421;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.announcement-header h1 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.3;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 700;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.meta {
  color: #6b7280;
  font-size: 14px;
}

/* Image card — position:relative + absolute image guarantees full fill,
   regardless of the image's intrinsic size or any inline styles */
.announcement-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #f0f1f3;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin: 0 auto 35px;
  box-sizing: border-box;
}

.announcement-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: 0;
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0 80px;
  width: 100%;
  box-sizing: border-box;
}

.article-content p {
  font-size: 20px;
  line-height: 2;
  color: #374151;
  font-weight: 400;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.announcement-loading,
.announcement-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  font-size: 16px;
  color: #6b7280;
  text-align: center;
  padding: 20px;
}

/* ===== Tablet ===== */
@media (max-width: 768px) {
  .announcement-page {
    padding: 24px 16px;
  }

  .announcement-header h1 {
    font-size: clamp(22px, 5vw, 28px);
  }

  .announcement-image-card {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .article-content {
    padding: 0 0 50px;
  }

  .article-content p {
    font-size: 17px;
    line-height: 1.8;
  }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
  .announcement-page {
    padding: 16px 12px;
  }

  .tag {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 12px;
  }

  .announcement-header h1 {
    font-size: 20px;
    line-height: 1.35;
  }

  .meta {
    font-size: 12px;
  }

  .announcement-image-card {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .article-content {
    padding: 0 0 40px;
  }

  .article-content p {
    font-size: 15.5px;
    line-height: 1.7;
  }
}

/* ===== Very small screens ===== */
@media (max-width: 360px) {
  .announcement-header h1 {
    font-size: 18px;
  }

  .article-content p {
    font-size: 15px;
  }
}



/* ═══════════════════════════════════════════════════════════
   Dashboard.css — Traders Training Academy
   Theme: --red #bc1421 / --ink #1e0608 / --bg #fdfafa
═══════════════════════════════════════════════════════════ */
:root {
  --db-red: #bc1421;
  --db-red-dk: #9b1019;
  --db-red-xdk: #7a0d15;
  --db-red-lt: #fff0f1;
  --db-red-soft: #fde8ea;
  --db-red-border: #f5cdd0;
  --db-ink: #1e0608;
  --db-ink-2: #2e2035;
  --db-muted: #7a3040;
  --db-subtle: #ad7080;
  --db-bg: #fdfafa;
  --db-card: #ffffff;
  --db-surf-2: #fdf3f4;
  --db-surf-3: #fce9eb;
  --db-border: #f0dde0;
  --db-border-2: #e8c5ca;
  --db-font: 'DM Sans', sans-serif;
  --db-display: 'Poppins', sans-serif;
  --db-r: 10px;
  --db-r-lg: 16px;
  --db-sidebar-w: 260px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ══ ROOT ══════════════════════════════════════════════════ */
.db-root {
  font-family: 'Poppins', sans-serif;
  background: var(--db-bg);
  color: var(--db-ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
/* ══ BREADCRUMB ════════════════════════════════════════════ */
.db-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--db-muted);
  background: var(--db-card);
  border-bottom: 1px solid var(--db-border);
}
.db-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--db-muted);
  text-decoration: none;
  transition: color .18s;
}
.db-breadcrumb a:hover {
  color: var(--db-red);
}
.db-breadcrumb span:last-child {
  color: var(--db-red);
  font-weight: 700;
}
/* ══ LAYOUT ════════════════════════════════════════════════ */
.db-layout {
  display: flex;
  min-height: calc(100vh - 49px);
}
/* ══ OVERLAY (mobile) ══════════════════════════════════════ */
.db-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 3, .5);
  z-index: 100;
  backdrop-filter: blur(3px);
}
/* ══ SIDEBAR ═══════════════════════════════════════════════ */
.db-sidebar {
  width: var(--db-sidebar-w);
  min-width: var(--db-sidebar-w);
  background: var(--db-card);
  border-right: 1.5px solid var(--db-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: calc(100vh - 49px);
  overflow-y: auto;
  z-index: 10;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.db-sidebar::-webkit-scrollbar {
  width: 3px;
}
.db-sidebar::-webkit-scrollbar-thumb {
  background: var(--db-border-2);
  border-radius: 3px;
}
/* ── Sidebar user header ── */
.db-sidebar__user {
  padding: 22px 18px 18px;
  border-bottom: 1.5px solid var(--db-border);
  display: flex;
  align-items: center;
  gap: 11px;
}
.db-sidebar__user-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(188, 20, 33, .25);
  flex-shrink: 0;
}
.db-sidebar__user-info {
  min-width: 0;
}
.db-sidebar__user-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--db-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.db-sidebar__user-email {
  font-size: .7rem;
  color: var(--db-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ── Sidebar nav ── */
.db-sidebar__nav {
  flex: 1;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.db-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--db-r);
  border: none;
  background: transparent;
  color: var(--db-muted);
  font-family: 'Poppins', sans-serif;
  font-size: .855rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background .16s, color .16s;
}
.db-sidebar__item:hover {
  background: var(--db-red-soft);
  color: var(--db-red-dk);
}
.db-sidebar__item--active {
  background: var(--db-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(188, 20, 33, .22);
}
.db-sidebar__item--active:hover {
  background: var(--db-red-dk);
  color: #fff;
}
.db-sidebar__item-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
/* ── Sidebar logout ── */
.db-sidebar__logout {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 13px 22px;
  border-top: 1.5px solid var(--db-border);
  border-left: none;
  border-right: none;
  border-bottom: none;
  background: transparent;
  color: var(--db-red);
  font-family: 'Poppins', sans-serif;
  font-size: .855rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}
.db-sidebar__logout:hover {
  background: var(--db-red-soft);
}
/* ══ MAIN ══════════════════════════════════════════════════ */
.db-main {
  flex: 1;
  min-width: 0;
  padding: 0 0 60px;
  background: var(--db-bg);
}
/* ── Mobile top bar (hidden on desktop) ── */
.db-mobile-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--db-card);
  border-bottom: 1.5px solid var(--db-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.db-mobile-bar__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--db-border-2);
  border-radius: 8px;
  background: transparent;
  color: var(--db-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.db-mobile-bar__title {
  flex: 1;
  font-size: .92rem;
  font-weight: 700;
  color: var(--db-ink);
}
.db-mobile-bar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}
/* ══ PANEL ══════════════════════════════════════════════════ */
.db-panel {
  padding: 28px 32px 40px;
  max-width: 860px;
}
.db-panel__hdr {
  margin-bottom: 26px;
}
.db-panel__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--db-ink-2);
  letter-spacing: .01em;
}
.db-panel__sub {
  font-size: .84rem;
  color: var(--db-muted);
  margin-top: 4px;
}
/* ══ SECTIONS ══════════════════════════════════════════════ */
.db-section {
  margin-bottom: 28px;
}
.db-section__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--db-red);
  margin-bottom: 14px;
}
.db-section--danger .db-section__title {
  color: #991b1b;
}
/* ══ OVERVIEW ══════════════════════════════════════════════ */
.db-overview-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--db-red-soft) 0%, var(--db-surf-2) 100%);
  border: 1.5px solid var(--db-red-border);
  border-radius: var(--db-r-lg);
  padding: 22px 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.db-overview-hero__avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(188, 20, 33, .28);
  flex-shrink: 0;
}
.db-overview-hero__info {
  flex: 1;
  min-width: 0;
}
.db-overview-hero__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--db-ink-2);
}
.db-overview-hero__email {
  font-size: .82rem;
  color: var(--db-muted);
  margin-top: 3px;
}
.db-overview-hero__phone {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--db-muted);
  margin-top: 4px;
}
.db-overview-hero__edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--db-r);
  background: var(--db-red);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s;
  white-space: nowrap;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .db-overview-hero__edit-btn {
    align-self: flex-start;
    margin-top: -12px;
    /* move up */
    padding: 5px 5px;
    display: none;
  }
}
.db-overview-hero__edit-btn:hover {
  background: var(--db-red-dk);
}
/* Stats row */
.db-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.db-stat-card {
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r-lg);
  padding: 20px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(140, 20, 30, .06);
}
.db-stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.db-stat-card__icon svg {
  width: 22px;
  height: 22px;
}
.db-stat-card__val {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.db-stat-card__lbl {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--db-subtle);
  margin-top: 4px;
}
/* ── Recent course list (overview) ── */
.db-course-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.db-course-row {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r);
  padding: 12px 14px;
}
.db-course-row__thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--db-surf-3);
}
.db-course-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.db-course-row__info {
  flex: 1;
  min-width: 0;
}
.db-course-row__title {
  font-size: .87rem;
  font-weight: 700;
  color: var(--db-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.db-course-row__meta {
  font-size: .74rem;
  color: var(--db-muted);
  margin-top: 3px;
}
.db-course-row__badge {
  padding: 4px 10px;
  background: rgba(21, 128, 61, .09);
  color: #166534;
  border: 1px solid rgba(21, 128, 61, .2);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
/* ══ FORMS ═════════════════════════════════════════════════ */
.db-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.db-form-grid--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}
.db-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.db-field--full {
  grid-column: 1 / -1;
}
.db-field__lbl {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--db-red);
}
.db-field__ctrl {
  padding: 10px 13px;
  background: var(--db-surf-2);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r);
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  color: var(--db-ink);
  outline: none;
  width: 100%;
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}
.db-field__ctrl:focus {
  border-color: var(--db-red);
  background: var(--db-card);
  box-shadow: 0 0 0 3px rgba(188, 20, 33, .08);
}
.db-field__ctrl:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.db-field__ctrl--ta {
  resize: vertical;
  min-height: 90px;
}
select.db-field__ctrl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a3040' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
/* ══ AVATAR UPLOAD ROW ════════════════════════════════════ */
.db-avatar-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.db-avatar-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(188, 20, 33, .24);
}
.db-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ══ BUTTONS ════════════════════════════════════════════════ */
.db-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--db-r);
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, transform .14s, box-shadow .18s, opacity .18s;
  white-space: nowrap;
}
.db-btn--primary {
  background: var(--db-red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(188, 20, 33, .22);
}
.db-btn--primary:hover:not(:disabled) {
  background: var(--db-red-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(188, 20, 33, .3);
}
.db-btn--primary:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.db-btn--ghost {
  background: transparent;
  color: var(--db-red);
  border: 1.5px solid var(--db-red-border);
}
.db-btn--ghost:hover {
  background: var(--db-red-soft);
  border-color: rgba(188, 20, 33, .3);
}
.db-btn--danger {
  background: transparent;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
}
.db-btn--danger:hover {
  background: #fef2f2;
}
.db-btn--sm {
  padding: 7px 14px;
  font-size: .8rem;
}
/* ══ HINT TEXT ══════════════════════════════════════════════ */
.db-hint {
  font-size: .72rem;
  color: var(--db-subtle);
  margin-top: 3px;
}
/* ══ COURSE CARDS (grid) ════════════════════════════════════ */
.db-course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.db-course-card {
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.db-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(140, 20, 30, .13);
}
.db-course-card__img-wrap {
  position: relative;
}
.db-course-card__img-wrap img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  display: block;
}
.db-course-card__badge {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(21, 128, 61, .88);
  color: #fff;
  font-size: .67rem;
  font-weight: 700;
}
.db-course-card__badge--saved {
  background: rgba(188, 20, 33, .88);
}
.db-course-card__body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.db-course-card__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--db-ink);
  line-height: 1.3;
}
.db-course-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .73rem;
  color: var(--db-muted);
  font-weight: 600;
}
.db-course-card__price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--db-red);
}
/* ══ TABLE ══════════════════════════════════════════════════ */
.db-table-wrap {
  overflow-x: auto;
  border-radius: var(--db-r-lg);
  border: 1.5px solid var(--db-border);
}
.db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.db-table th {
  background: var(--db-surf-2);
  color: var(--db-red);
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--db-border);
}
.db-table td {
  padding: 13px 16px;
  color: var(--db-ink);
  font-weight: 500;
  border-bottom: 1px solid var(--db-border);
  vertical-align: middle;
}
.db-table tbody tr:last-child td {
  border-bottom: none;
}
.db-table tbody tr:hover td {
  background: var(--db-surf-2);
}
.db-table__mono {
  font-size: .74rem;
  color: var(--db-muted);
  font-family: 'Poppins', sans-serif;
}
.db-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
}
.db-badge--ok {
  background: rgba(21, 128, 61, .09);
  color: #166534;
  border: 1px solid rgba(21, 128, 61, .2);
}
.db-badge--pending {
  background: rgba(202, 138, 4, .09);
  color: #92400e;
  border: 1px solid rgba(202, 138, 4, .2);
}
/* ══ COUPONS ════════════════════════════════════════════════ */
.db-coupon-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.db-coupon {
  display: flex;
  align-items: center;
  border: 1.5px dashed var(--db-red-border);
  border-radius: var(--db-r-lg);
  overflow: hidden;
  background: var(--db-card);
}
.db-coupon__left {
  background: linear-gradient(135deg, var(--db-red), #e05252);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  min-width: 90px;
  flex-shrink: 0;
}
.db-coupon__pct {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.db-coupon__pct span {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  opacity: .8;
}
.db-coupon__right {
  flex: 1;
  padding: 16px 18px;
  min-width: 0;
}
.db-coupon__code {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--db-ink);
  letter-spacing: .1em;
}
.db-coupon__desc {
  font-size: .78rem;
  color: var(--db-muted);
  margin-top: 4px;
}
.db-coupon__exp {
  font-size: .72rem;
  color: var(--db-subtle);
  margin-top: 3px;
}
.db-coupon__copy {
  margin: 0 16px;
  padding: 7px 16px;
  background: var(--db-red-soft);
  color: var(--db-red);
  border: 1.5px solid var(--db-red-border);
  border-radius: var(--db-r);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.db-coupon__copy:hover {
  background: var(--db-red);
  color: #fff;
}
/* ══ SETTINGS — TOGGLES ═════════════════════════════════════ */
.db-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: var(--db-card);
  border: 1.5px solid var(--db-border);
  border-radius: var(--db-r);
  margin-bottom: 8px;
}
.db-toggle-row__lbl {
  font-size: .875rem;
  font-weight: 700;
  color: var(--db-ink);
}
.db-toggle-row__desc {
  font-size: .74rem;
  color: var(--db-muted);
  margin-top: 2px;
}
.db-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: #e5e7eb;
  cursor: pointer;
  transition: background .22s;
  flex-shrink: 0;
  padding: 0;
}
.db-toggle--on {
  background: var(--db-red);
}
.db-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  transition: left .22s;
}
.db-toggle--on .db-toggle__knob {
  left: 21px;
}
/* Category pills */
.db-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.db-cat-pill {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--db-border-2);
  background: var(--db-card);
  color: var(--db-muted);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
}
.db-cat-pill:hover {
  background: var(--db-red-soft);
  color: var(--db-red);
  border-color: rgba(188, 20, 33, .3);
}
.db-cat-pill.active {
  background: var(--db-red);
  color: #fff;
  border-color: var(--db-red);
}
/* ══ STARS ══════════════════════════════════════════════════ */
.db-stars {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}
.db-star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--db-surf-2);
  color: #d1d5db;
  cursor: pointer;
  transition: all .18s, transform .14s cubic-bezier(.34, 1.56, .64, 1);
}
.db-star svg {
  width: 20px;
  height: 20px;
}
.db-star--on {
  color: #f59e0b;
  background: rgba(245, 158, 11, .1);
}
.db-star:hover {
  transform: scale(1.15);
}
/* ══ PASSWORD RULES ═════════════════════════════════════════ */
.db-pw-rules {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.db-pw-rule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(21, 128, 61, .07);
  color: #166534;
  border: 1px solid rgba(21, 128, 61, .16);
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 600;
}
.db-pw-rule svg {
  flex-shrink: 0;
}
.db-pw-field {
  position: relative;
}
.db-pw-field .db-field__ctrl {
  padding-right: 40px;
}
.db-pw-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--db-muted);
  cursor: pointer;
}
.db-pw-eye:hover {
  color: var(--db-red);
}
/* ══ EMPTY + LOADING ════════════════════════════════════════ */
.db-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 24px;
  text-align: center;
}
.db-empty__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--db-surf-3);
  border: 1.5px solid var(--db-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--db-subtle);
}
.db-empty__icon svg {
  width: 22px;
  height: 22px;
}
.db-empty__txt {
  color: var(--db-muted);
  font-weight: 600;
  font-size: .9rem;
}
.db-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 0;
  color: var(--db-muted);
  font-weight: 600;
  font-size: .88rem;
}
.db-btn {
  margin-top: 30px;
}
/* ══ SPINNER ════════════════════════════════════════════════ */
.db-spin {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(188, 20, 33, .2);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: db-spin .65s linear infinite;
  flex-shrink: 0;
}
@keyframes db-spin {
  to {
    transform: rotate(360deg);
  }
}
/* ══ TOAST ══════════════════════════════════════════════════ */
.db-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.db-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--db-r);
  font-size: .84rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .15);
  animation: db-toast-in .28s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: auto;
}
.db-toast--ok {
  background: #166534;
  color: #fff;
}
.db-toast--err {
  background: var(--db-red);
  color: #fff;
}
@keyframes db-toast-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* ══ RESPONSIVE ═════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .db-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 200;
    transform: translateX(-100%);
  }

  .db-sidebar--open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0, 0, 0, .18);
  }

  .db-mobile-bar {
    display: flex;
  }

  .db-panel {
    padding: 20px 18px 40px;
  }

  .db-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .db-breadcrumb {
    padding: 10px 14px;
    font-size: .72rem;
  }

  .db-panel {
    padding: 16px 14px 40px;
  }

  .db-form-grid {
    grid-template-columns: 1fr;
  }

  .db-stats {
    grid-template-columns: 1fr 1fr;
  }

  .db-stats .db-stat-card:last-child {
    grid-column: 1 / -1;
  }

  .db-overview-hero {
    padding: 16px;
  }

  .db-table th,
  .db-table td {
    padding: 10px 10px;
    font-size: .78rem;
  }

  .db-coupon__left {
    min-width: 72px;
    padding: 14px 12px;
  }

  .db-coupon__pct {
    font-size: 1.5rem;
  }

  .db-toast-wrap {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}/* =========================================================================
   CourseDetailsScreen.css — UI refresh v2
   - Fixes content overflow on all breakpoints
   - Syllabus: 1 col mobile / 2 col small tablet / 3 col desktop+
   ========================================================================= */

/* ── Real Poppins, at every weight the JSX actually uses ──────────────────
   The JSX was ported from React Native, where each weight is named as its
   own "font family" (e.g. fontFamily: 'Poppins-Bold'). None of those names
   correspond to an actual loaded font on the web, so the browser was
   silently falling back to different default fonts per element — that's
   the "multiple fonts" problem. Rather than rewriting ~150 inline styles,
   these @font-face rules register real Poppins files under BOTH the plain
   'Poppins' family (used by this stylesheet) and every legacy alias name
   (used inline in the JSX), so everything renders as one consistent font. */
@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins', sans-serif;
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/poppins/Poppins-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

:root {
  --brand: #BC1421;
  --brand-dark: #9e1b1f;
  --brand-soft: #ffdbde;
  --cream: #ffffff;
  --ink: #111;
  --muted: #666;
  --border: #e8e8e8;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --content-max: 1080px;
  --rail-width: 360px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ── Page shell ── */
.cd-safe-area {
  min-height: 100vh;
  background: var(--cream);
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding-bottom: 96px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ── Top bar ── */
.cd-top-bar {
  padding: 16px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
}

.cd-back-button {
  padding: 8px 14px 8px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.cd-back-button-text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.cd-back-button:hover {
  background: #f5f5f5;
  transform: translateX(-1px);
}

.cd-back-button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ── Page grid ── */
.cd-scroll-content {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}

.cd-page-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.cd-main-col {
  flex: 1;
  min-width: 0;
  /* critical: prevents flex children from forcing overflow */
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cd-side-col {
  display: none;
}

/* Anything dumped in via dangerouslySetInnerHTML (Html component) must never
   be allowed to overflow horizontally — long words, embedded tables, etc. */
.cd-main-col img,
.cd-main-col table,
.cd-main-col pre,
.cd-main-col iframe {
  max-width: 100%;
  height: auto;
}

.cd-main-col * {
  min-width: 0;
}

/* ── Hero row: smaller image + info column ── */
.cd-hero-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: -24px;
}

.cd-course-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  flex: 0 0 150px;
  width: 150px;
}

.cd-course-image {
  width: 100%;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.cd-hero-info {
  flex: 1;
  min-width: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cd-hero-info .cd-title {
  margin-top: 0;
}

/* ── Meta row: badges + rating + duration, one scannable line ── */
.cd-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cd-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f4f4;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
}

/* ── Enrolled status: simple inline row, not a heavy boxed card ── */
.cd-enrolled-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.cd-enrolled-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2E7D32;
}

.cd-enrolled-status-sub {
  color: #666;
  font-weight: 500;
}

/* Secondary/outlined — Class Details is no longer the header's primary CTA */
.cd-class-details-btn {
  background: #fff;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
  width: fit-content;
}

.cd-class-details-btn:hover {
  background: #fff5f5;
  transform: translateY(-1px);
}

/* Simple, flat price — no embossed/3D layers */
.cd-price-simple {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.cd-price-simple-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.2px;
}

.cd-price-simple-gst {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  font-family: 'Poppins', sans-serif;
}

/* ── Title ── */
.cd-title {
  font-size: clamp(20px, 4.5vw, 32px);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.cd-pill {
  padding: 3px 11px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.cd-pill--bestseller {
  background: #e8dff8;
  color: #3d1668;
}

.cd-pill--popular {
  background: #fddde0;
  color: #7a1212;
}

/* ── Certificate ribbon ── */
.cd-certificate-ribbon {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #ffe0b2;
  width: 100%;
  background: none;
  cursor: pointer;
  padding: 0;
  display: block;
  text-align: left;
  transition: box-shadow 0.15s;
}

.cd-certificate-ribbon:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.cd-certificate-ribbon-inner {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  background: linear-gradient(135deg, #fffbf0, #fff);
  gap: 12px;
}

/* ── Section headings ── */
.cd-section-heading {
  font-weight: 700;
  color: var(--brand);
  display: block;
  letter-spacing: 0.2px;
}

.cd-section-rule {
  border: none;
  border-top: 4px solid var(--brand);
  width: 70px;
  margin: 8px 0 18px;
  opacity: 0.9;
}

.cd-section-block {
  margin-bottom: 28px;
  min-width: 0;
}

/* ── Pricing ── */
.cd-price-single {
  margin: 16px 0;
  max-width: 100%;
}

.cd-price-options-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cd-price-card {
  flex: 1 1 200px;
  min-width: 170px;
  max-width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cd-price-card:hover {
  border-color: #f3b6bb;
  box-shadow: 0 2px 8px rgba(188, 20, 33, 0.09);
}

.cd-price-card--selected {
  border-color: var(--brand);
  background: #fff8f8;
}

/* ══════════════════════════════════════════
   3D RED & BLACK PRICE / AMOUNT STYLE
   Layered black "shadow" steps behind a red
   face create an embossed / extruded look.
   Apply .cd-amount-3d-text directly to the
   number span (e.g. "₹ 4,999/-").
   ══════════════════════════════════════════ */
.cd-amount-3d {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  position: relative;
}

.cd-amount-3d-text {
  position: relative;
  display: inline-block;
  color: var(--brand);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: 0.3px;
  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.15);
  text-shadow:
    1px 1px 0 #000,
    2px 2px 0 #000,
    3px 3px 0 #000,
    1px 1px 1px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.cd-amount-3d-gst {
  font-size: 0.42em;
  font-weight: 700;
  color: var(--brand);
  margin-left: 2px;
  margin-bottom: 3px;
  text-shadow: 1px 1px 0 #000;
}

/* Strike-through original price next to a 3D amount */
.cd-amount-strike {
  font-size: 13px;
  color: #555;
  text-decoration: line-through;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin-right: 6px;
}

.cd-prev-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.cd-discount-badge {
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

/* ── Description ── */
.cd-languages-block,
.cd-description-block {
  margin-top: 16px;
  margin-bottom: 20px;
  max-width: 100%;
}

.cd-see-more {
  cursor: pointer;
  color: var(--brand);
  font-weight: 600;
}

/* ── Key points ── */
.cd-keypoints-grid {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cd-keypoint-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

/* ── Schedule ── */
.cd-schedule-week {
  margin-bottom: 14px;
  max-width: 100%;
}

/* ══════════════════════════════════════════
   SYLLABUS — fixed grid behaviour
   Mobile (<560px): 1 column
   Small tablet (560–991px): 2 columns
   Desktop (992px+): exactly 3 columns
   ══════════════════════════════════════════ */
.cd-syllabus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 4px 0 0;
}

.cd-syllabus-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;
}

.cd-syllabus-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .08);
  border-color: var(--brand);
}

.cd-syllabus-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.cd-syllabus-section {
  margin-bottom: 14px;
}

.cd-syllabus-section:last-child {
  margin-bottom: 0;
}

.cd-syllabus-subhead-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cd-syllabus-subhead-icon {
  display: flex;
  flex-shrink: 0;
  margin-top: 2px;
}

.cd-syllabus-subhead-text {
  flex: 1;
  min-width: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

/* Single, consistent duration pill — replaces the old duplicated text lines */
.cd-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.cd-syllabus-desc {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-top: 6px;
}

.cd-syllabus-points {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd-syllabus-point-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cd-point-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  margin-top: 7px;
}

.cd-syllabus-point-text {
  flex: 1;
  min-width: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
}

.cd-subpoints {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cd-subpoint-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-subpoint-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #999;
  flex-shrink: 0;
}

.cd-subpoint-text {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #666;
}

.cd-show-more-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  border: none;
  border-bottom: 1.5px solid var(--brand);
  background: none;
  padding: 6px 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.cd-show-more-btn:hover {
  opacity: 0.75;
}

/* ── Reviews ── */
.cd-reviews-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  padding-right: 20px;
  scrollbar-width: none;
  max-width: 100%;
}

.cd-reviews-scroll::-webkit-scrollbar {
  display: none;
}

.cd-review-card {
  flex: 0 0 85%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border);
  min-width: 0;
}

/* ── Consolidated sticky bar: price (left) + primary action (right).
   Full-width and unmistakable — the one clear place to see price/payment,
   replacing the old small floating chip that was easy to miss. ── */
.cd-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.09);
}

.cd-sticky-bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cd-sticky-bar-price {
  flex-shrink: 0;
}

.cd-sticky-bar-actions {
  flex: 1;
  min-width: 200px;
  display: flex;
}

.cd-sticky-bar-actions>div,
.cd-sticky-bar-actions>button {
  width: 100%;
}

.cd-enroll-btn {
  flex: 1;
  min-width: 140px;
  background: var(--brand);
  border-radius: var(--radius-sm);
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.cd-enroll-btn:hover:not(:disabled) {
  filter: brightness(1.06);
}

.cd-enroll-btn:active:not(:disabled) {
  transform: scale(0.99);
}

.cd-enroll-btn-text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.cd-enquiry-btn {
  flex: 1;
  min-width: 110px;
  background: #fff;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.cd-enquiry-btn:hover {
  background: #fff5f5;
}

/* ── Modals ── */
.cd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.cd-modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.cd-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 8px;
}

.cd-pill-option {
  padding: 8px 16px;
  border-radius: 20px;
  margin: 0 8px 8px 0;
  border: none;
  cursor: pointer;
  font-size: 14px;
  background: #f2f2f2;
  color: #333;
  transition: background 0.15s, color 0.15s;
}

.cd-pill-option:hover {
  background: #e5e5e5;
}

.cd-pill-option--selected {
  background: var(--brand);
  color: #fff;
}

.cd-pill-option--selected:hover {
  background: var(--brand-dark);
}

.cd-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cd-modal-btn {
  flex: 1;
  min-width: 120px;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: filter 0.15s;
}

.cd-modal-btn:hover:not(:disabled) {
  filter: brightness(0.97);
}

/* Shared bare icon button (modal close/menu icons) — consistent hover feedback */
.cd-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}

.cd-icon-btn:hover {
  background: #f2f2f2;
}

.cd-modal-btn--cancel {
  background: #f0f0f0;
}

.cd-modal-btn--submit {
  background: var(--brand);
}

/* ── Loader / error ── */
.cd-center-screen {
  min-height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #fad6d8;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: cd-spin 0.8s linear infinite;
}

.cd-spinner-small {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cd-spin 0.8s linear infinite;
}

@keyframes cd-spin {
  to {
    transform: rotate(360deg);
  }
}

.cd-error-text {
  text-align: center;
  margin-top: 50px;
  font-size: 16px;
  color: red;
  padding: 0 16px;
}

/* ── Shimmer / shine ── */
@keyframes cd-shine-once {
  from {
    left: -100px;
  }

  to {
    left: 220px;
  }
}

.cd-shine-once-sweep {
  position: absolute;
  top: 0;
  left: -100px;
  width: 60px;
  height: 100%;
  opacity: 0.8;
  transform: rotate(20deg);
  background: linear-gradient(to bottom right, transparent, white, transparent);
  animation: cd-shine-once 1s ease forwards;
  pointer-events: none;
}

@keyframes cd-shimmer-sweep {
  from {
    transform: translateX(-100px) rotate(30deg);
  }

  to {
    transform: translateX(100px) rotate(30deg);
  }
}

.cd-slash-shimmer-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  opacity: 0.35;
  background: linear-gradient(to right, transparent, white, transparent);
  animation: cd-shimmer-sweep 1.6s linear infinite;
  pointer-events: none;
}

@keyframes cd-shiny-tag-sweep {
  from {
    transform: translateX(-80px);
  }

  to {
    transform: translateX(80px);
  }
}

.cd-shiny-tag-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45px;
  opacity: 0.35;
  background: linear-gradient(to right, transparent, white, transparent);
  animation: cd-shiny-tag-sweep 1.6s linear infinite;
  pointer-events: none;
}

.cd-hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.cd-hide-scrollbar {
  scrollbar-width: none;
}

/* ══════════════════════════════════════════
   SMALL MOBILE — extra tight overflow guard
   ══════════════════════════════════════════ */
@media (max-width: 420px) {
  .cd-page-grid {
    padding: 0 12px;
  }

  .cd-modal-content {
    padding: 18px;
  }

  /* Syllabus cards: tighter padding + smaller type so nothing crowds */
  .cd-syllabus-item {
    padding: 14px;
    border-radius: 14px;
  }

  .cd-syllabus-heading {
    font-size: 13.5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .cd-syllabus-subhead-text {
    font-size: 13px;
  }

  .cd-syllabus-point-text {
    font-size: 13px;
  }

  .cd-syllabus-desc {
    font-size: 12.5px;
  }

  .cd-duration-badge {
    font-size: 10px;
    padding: 2px 8px;
  }

  .cd-subpoint-text {
    font-size: 11.5px;
  }

  /* Price + buttons */
  .cd-price-simple-amount {
    font-size: 22px;
  }

  .cd-class-details-btn {
    width: 100%;
    justify-content: center;
  }

  .cd-sticky-bar-inner {
    padding: 10px 12px;
  }
}

/* ══════════════════════════════════════════
   SMALL TABLET — 560px+
   Syllabus stays a single column at every size —
   shown one after another, never in a row.
   ══════════════════════════════════════════ */
@media (min-width: 560px) {
  .cd-hero-row {
    gap: 20px;
  }

  .cd-course-image-wrap {
    flex-basis: 180px;
    width: 180px;
  }

  .cd-syllabus-item {
    padding: 22px;
  }
}

/* ══════════════════════════════════════════
   TABLET — 768px+
   ══════════════════════════════════════════ */
@media (min-width: 768px) {
  .cd-top-bar {
    padding: 20px 24px;
  }

  .cd-page-grid {
    padding: 0 24px;
  }

  .cd-hero-row {
    margin-top: -32px;
  }

  .cd-course-image-wrap {
    flex-basis: 210px;
    width: 210px;
  }

  .cd-price-card {
    flex: 1 1 220px;
  }

  .cd-modal-content {
    padding: 28px;
  }

  .cd-sticky-bar-inner {
    padding: 14px 24px;
  }

  .cd-syllabus-heading {
    font-size: 16px;
  }

  .cd-syllabus-subhead-text {
    font-size: 15px;
  }

  .cd-syllabus-point-text {
    font-size: 14px;
  }
}

/* ══════════════════════════════════════════
   DESKTOP — 992px+
   ══════════════════════════════════════════ */
@media (min-width: 992px) {
  .cd-course-image-wrap {
    flex-basis: 240px;
    width: 240px;
  }
}

/* ══════════════════════════════════════════
   DESKTOP — 1024px+   (two-column page layout)
   ══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .cd-top-bar {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 24px 24px 0;
    width: 100%;
  }

  .cd-page-grid {
    align-items: flex-start;
    padding: 0 24px;
  }

  .cd-hero-row {
    margin-top: 0;
  }

  /* Persistent batches ticker stays mobile/tablet-only */
  .cd-footer--mobile-only {
    display: none;
  }

  .cd-reviews-scroll {
    padding-right: 0;
  }

  .cd-review-card {
    flex: 0 0 320px;
  }
}

/* ══════════════════════════════════════════
   LARGE DESKTOP — 1280px+
   ══════════════════════════════════════════ */
@media (min-width: 1280px) {
  :root {
    --content-max: 1180px;
    --rail-width: 380px;
  }

  .cd-title {
    font-size: 38px;
  }
}

/* ── Respect reduced-motion ── */
@media (prefers-reduced-motion: reduce) {

  .cd-shine-once-sweep,
  .cd-slash-shimmer-sweep,
  .cd-shiny-tag-sweep,
  .cd-spinner,
  .cd-spinner-small {
    animation: none;
  }
}
/* PaymentsScreen.css */
/* Direct translation of the React Native StyleSheet — same colors, spacing, and radii */

.container {
  min-height: 100vh;
  background-color: #fff;
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.backButton {
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.headerTitle {
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.headerButtons {
  width: 40px;
}

.listContent {
  padding: 20px;
  padding-bottom: 50px;
  max-width: 720px;
  margin: 0 auto;
}

.card {
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.cardHeader {
  display: flex;
  flex-direction: row;
  padding: 15px;
  align-items: center;
}

.iconContainer {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.headerTextContainer {
  flex: 1;
  min-width: 0;
}

.courseName {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #333;
  margin: 0 0 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.paymentType {
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.statusBadge {
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 10px;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
}

.statusText {
  font-size: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.divider {
  height: 1px;
  background-color: #f0f0f0;
  margin: 0 15px;
}

.detailsContainer {
  padding: 5px 15px 0 15px;
  background-color: #fafafa;
}

.detailRow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 8px;
}

.detailLabel {
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #666;
}

.amountText {
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #333;
}

.dateText {
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #333;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 2px 15px 15px 15px;
  background-color: #fafafa;
}

.paymentId {
  font-size: 11px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #999;
}

.timeText {
  font-size: 11px;
  font-family: 'Poppins', sans-serif;
  color: #999;
}

.loaderContainer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ffebee;
  border-top: 4px solid #bc1421;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.emptyContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  min-height: 60vh;
  text-align: center;
}

.emptyText {
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #333;
  margin-top: 15px;
  margin-bottom: 5px;
}

.emptySubText {
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #666;
  text-align: center;
  margin: 0;
}

.errorSubText {
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #f44336;
  margin-top: 5px;
  text-align: center;
}/* ─── Base ──────────────────────────────────────────────────────────────── */
.clsdet-container {
    min-height: 100vh;
    background: #fdfce8;
    font-family: 'Poppins', sans-serif;
}

button {
    font-family: 'Poppins', sans-serif;
    border: none;
    background: none;
    cursor: pointer;
    text-align: inherit;
}

/* ─── Loading / Error states ───────────────────────────────────────────── */
.clsdet-loading-container,
.clsdet-error-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.clsdet-loading-text {
    margin-top: 10px;
    color: #666;
}

.clsdet-error-text {
    font-size: 16px;
    color: #d32f2f;
    margin: 10px 0;
    font-weight: 500;
    text-align: center;
}

.clsdet-retry-button {
    padding: 10px 20px;
    background: #bc1421;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
}

.clsdet-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #f1d5d8;
    border-top-color: #bc1421;
    border-radius: 50%;
    animation: clsdet-spin 0.8s linear infinite;
}
.clsdet-spinner-small { margin: 20px auto; }
.clsdet-spinner-white { width: 18px; height: 18px; border-color: rgba(255,255,255,0.4); border-top-color: #fff; }

@keyframes clsdet-spin {
    to { transform: rotate(360deg); }
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.clsdet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.clsdet-back-button {
    padding: 5px;
    display: flex;
}

.clsdet-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.clsdet-header-spacer {
    width: 40px;
}

/* ─── Scroll content ────────────────────────────────────────────────────── */
.clsdet-scroll-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 15px;
    padding-bottom: 40px;
}

/* ─── Info grid ─────────────────────────────────────────────────────────── */
.clsdet-grid-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 5px 0 15px;
}

.clsdet-grid-item {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 14px 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.06);
    border: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.clsdet-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.clsdet-grid-label {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    margin-bottom: 2px;
}

.clsdet-grid-value {
    font-size: 13px;
    color: #222;
    font-weight: 700;
    margin-top: 2px;
}

/* ─── Hero card ─────────────────────────────────────────────────────────── */
.clsdet-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(188,20,33,0.1);
    border: 1px solid #eee;
}

.clsdet-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.clsdet-course-title-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.clsdet-course-title {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    margin-top: 4px;
    max-width: 60%;
}

.clsdet-status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.clsdet-divider {
    height: 1px;
    background: #eee;
    margin: 12px 0;
}

.clsdet-schedule-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.clsdet-date-block {
    display: flex;
    align-items: center;
    flex: 1;
}

.clsdet-date-text {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

.clsdet-date-label {
    font-size: 12px;
    color: #888;
}

.clsdet-date-value {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.clsdet-active-session {
    background: #fff;
    border-radius: 15px;
    padding: 5px;
}

.clsdet-active-session-header {
    margin-bottom: 5px;
}

.clsdet-live-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    gap: 6px;
}

.clsdet-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: #4caf50;
}

.clsdet-live-text {
    font-size: 10px;
    font-weight: 700;
    color: #4caf50;
    letter-spacing: 0.5px;
}

.clsdet-session-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.clsdet-session-title-locked {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
    margin-top: 4px;
}

.clsdet-join-button {
    margin-top: 16px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(188,20,33,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #bc1421, #d32f2f);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.clsdet-join-button-locked {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #94a3b8;
    cursor: not-allowed;
}

.clsdet-link-pending {
    margin-top: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 10px;
    text-align: center;
}

.clsdet-link-pending span {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.clsdet-rate-session-button {
    margin-top: 12px;
    width: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    padding: 12px;
    border: 1.5px solid #ffd700;
    font-weight: 700;
    color: #b45309;
    font-size: 14px;
}

.clsdet-batch-title {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.clsdet-batch-title-label {
    font-size: 12px;
    color: #666;
}

.clsdet-batch-title-value {
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.clsdet-empty-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 0;
}

.clsdet-empty-schedule span {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.clsdet-due-container {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    background: #ffebee;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
    gap: 4px;
}

.clsdet-due-label {
    font-size: 12px;
    color: #c62828;
    margin-left: 4px;
}

.clsdet-due-value {
    font-size: 12px;
    color: #c62828;
    font-weight: 700;
}

/* ─── Review prompt card ────────────────────────────────────────────────── */
.clsdet-review-prompt-card {
    width: 100%;
    background: #fff;
    margin-top: 15px;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.clsdet-review-prompt-left {
    display: flex;
    align-items: center;
}

.clsdet-review-prompt-text {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clsdet-review-prompt-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.clsdet-review-prompt-sub {
    font-size: 12px;
    color: #666;
}

/* ─── Certificate ribbon ────────────────────────────────────────────────── */
.clsdet-fade {
    transition: opacity 0.3s ease;
}
.clsdet-fade-hidden { opacity: 0; }
.clsdet-fade-visible { opacity: 1; }

.clsdet-certificate-ribbon {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(188,20,33,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
}

.clsdet-certificate-ribbon-wide {
    width: 100%;
}

.clsdet-certificate-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clsdet-certificate-text {
    flex: 1;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clsdet-certificate-title {
    font-size: 16px;
    font-weight: 700;
    color: #bc1421;
}

.clsdet-certificate-sub {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* ─── Group chat card ───────────────────────────────────────────────────── */
.clsdet-chat-card {
    width: 100%;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(188,20,33,0.1);
    background: #fff;
    margin-bottom: 15px;
}

.clsdet-chat-content {
    flex: 1;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.clsdet-chat-title {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.clsdet-chat-subtitle {
    color: #bc1421;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.clsdet-chat-button {
    background: #bc1421;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

/* ─── Recordings CTA ────────────────────────────────────────────────────── */
.clsdet-recordings-cta {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(188,20,33,0.1);
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    margin-bottom: 15px;
}

.clsdet-recordings-cta-locked {
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.clsdet-recordings-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff4f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clsdet-recordings-icon-box-locked {
    background: #f1f5f9;
}

.clsdet-recordings-text {
    flex: 1;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clsdet-recordings-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.clsdet-recordings-title-locked { color: #64748b; }

.clsdet-recordings-sub {
    font-size: 12px;
    color: #666;
}

.clsdet-recordings-sub-locked { color: #94a3b8; }

/* ─── Attendance ────────────────────────────────────────────────────────── */
.clsdet-section-header {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clsdet-attendance-heading {
    color: #000;
    font-weight: 700;
    font-size: 18px;
    padding-left: 12px;
    border-left: 2px solid #bc1421;
}

.clsdet-attendance-stats {
    display: flex;
    gap: 10px;
}

.clsdet-present-count {
    font-size: 11px;
    font-weight: 600;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 6px;
}

.clsdet-absent-count {
    font-size: 11px;
    font-weight: 600;
    color: #c62828;
    background: #ffebee;
    padding: 4px 10px;
    border-radius: 6px;
}

.clsdet-attendance-list {
    background: #fff;
    border-radius: 20px;
    padding: 20px 12px;
    margin-bottom: 20px;
}

.clsdet-attendance-item {
    display: flex;
    padding: 5px 0;
}

.clsdet-attendance-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30px;
}

.clsdet-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    margin-top: 5px;
    flex-shrink: 0;
}

.clsdet-connector-line {
    width: 2px;
    flex: 1;
    background: #e5e7eb;
    margin: 4px 0;
}

.clsdet-attendance-content {
    flex: 1;
    padding-bottom: 20px;
    padding-left: 5px;
}

.clsdet-attendance-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.clsdet-session-title-text {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.clsdet-status-label {
    font-size: 10px;
    font-weight: 700;
    padding-right: 4px;
    white-space: nowrap;
}

.clsdet-attendance-date-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    display: block;
}

.clsdet-attendance-remarks-text {
    font-size: 12px;
    font-style: italic;
    color: #9ca3af;
    margin-top: 5px;
    background: #f9fafb;
    padding: 5px;
    border-radius: 5px;
}

.clsdet-absence-reason-box {
    margin-top: 8px;
    background: #fff3e0;
    border-left: 4px solid #ef6c00;
    padding: 10px;
    border-radius: 8px;
}

.clsdet-absence-reason-title {
    font-weight: 600;
    font-size: 12px;
    color: #e65100;
}

.clsdet-absence-reason-text {
    margin-top: 4px;
    font-size: 13px;
    color: #333;
}

.clsdet-empty-attendance {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f9fafb;
    border-radius: 20px;
    margin-top: 10px;
    gap: 10px;
}

.clsdet-empty-attendance-text {
    font-size: 13px;
    color: #9ca3af;
}

/* ─── Toast ─────────────────────────────────────────────────────────────── */
.clsdet-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    z-index: 1000;
    border-left: 4px solid #2e7d32;
    min-width: 240px;
}
.clsdet-toast-error { border-left-color: #c62828; }

.clsdet-toast-title {
    font-weight: 700;
    font-size: 14px;
    color: #111;
}

.clsdet-toast-sub {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* ─── Modals ────────────────────────────────────────────────────────────── */
.clsdet-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 200;
}

.clsdet-modal-overlay-dark {
    background: rgba(0,0,0,0.85);
    align-items: flex-start;
    padding-top: 12%;
}

.clsdet-modal-sheet {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 30px 30px 0 0;
    padding: 25px;
    max-height: 90vh;
    overflow-y: auto;
}

.clsdet-modal-center {
    width: 100%;
    max-width: 480px;
    margin: auto;
    background: #fff;
    border-radius: 25px;
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.clsdet-modal-fullscreen {
    width: 100%;
    max-width: 480px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.clsdet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.clsdet-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.clsdet-modal-title-center {
    text-align: center;
    margin-bottom: 8px;
}

.clsdet-modal-close {
    display: flex;
}

.clsdet-modal-sub {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 20px;
}

.clsdet-stars-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
}

.clsdet-star-button {
    display: flex;
}

.clsdet-review-input {
    width: 100%;
    background: #f3f4f6;
    border-radius: 15px;
    padding: 16px;
    font-size: 14px;
    color: #111827;
    min-height: 110px;
    resize: vertical;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    font-family: 'Poppins', sans-serif;
}

.clsdet-submit-button {
    width: 100%;
    background: #bc1421;
    border-radius: 15px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(188,20,33,0.2);
}

.clsdet-submit-button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.clsdet-privacy-note {
    margin-top: 16px;
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ─── Completion overlay ────────────────────────────────────────────────── */
.clsdet-completion-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.clsdet-completion-heading {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.clsdet-completion-sub {
    color: #ddd;
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.clsdet-bounce-arrow {
    margin-bottom: 24px;
    animation: clsdet-bounce 1.2s ease-in-out infinite;
}

@keyframes clsdet-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(20px); }
}

.clsdet-completion-close {
    margin-top: 40px;
    padding: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 500;
}
.clsrec-container {
    min-height: 100vh;
    background: #fdfce8;
    font-family: 'Poppins', sans-serif;
}

.clsrec-container button {
    font-family: 'Poppins', sans-serif;
    border: none;
    background: none;
    cursor: pointer;
    text-align: inherit;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.clsrec-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.clsrec-back-button {
    padding: 5px;
    display: flex;
}

.clsrec-back-icon {
    width: 24px;
    height: 24px;
}

.clsrec-header-title-container {
    flex: 1;
    margin-left: 15px;
}

.clsrec-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.clsrec-batch-sub {
    font-size: 12px;
    color: #666;
    margin-top: -2px;
}

/* ─── Center states (loading / error / empty) ──────────────────────────── */
.clsrec-center-container {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.clsrec-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #f1d5d8;
    border-top-color: #bc1421;
    border-radius: 50%;
    animation: clsrec-spin 0.8s linear infinite;
}

@keyframes clsrec-spin {
    to { transform: rotate(360deg); }
}

.clsrec-loading-text {
    margin-top: 15px;
    color: #666;
}

.clsrec-error-text {
    font-size: 16px;
    color: #d32f2f;
    margin: 15px 0;
    font-weight: 500;
    text-align: center;
}

.clsrec-retry-button {
    padding: 12px 25px;
    background: #bc1421;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
}

.clsrec-empty-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    text-align: center;
}

.clsrec-empty-sub {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

/* ─── Recording list ────────────────────────────────────────────────────── */
.clsrec-scroll-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 15px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.clsrec-recording-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(188,20,33,0.08);
    box-shadow: 0 10px 20px rgba(188,20,33,0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.clsrec-recording-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(188,20,33,0.14);
}

.clsrec-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.clsrec-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.clsrec-session-badge {
    background: #fff4f5;
    border: 1px solid #ffd8dc;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    color: #bc1421;
    font-weight: 700;
}

.clsrec-date-text {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 500;
}

.clsrec-title-text {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: left;
}

.clsrec-remarks-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
    text-align: left;
}

.clsrec-watch-now-container {
    width: 100%;
}

.clsrec-watch-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(90deg, #bc1421, #d32f2f);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
    .clsrec-scroll-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
.annc-page-wrap {
  background: #f8f9fb;
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
}

.annc-top-header {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 28px;
  color: #222;
}

.annc-top-header h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 0;
}

.annc-status-text {
  max-width: 1200px;
  margin: 0 auto;
  color: #777;
  font-size: 16px;
}

.annc-status-text.is-error {
  color: #d33;
}

.annc-card-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.annc-item-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.annc-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.annc-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f0f1f3;
}

.annc-image-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  border-radius: 0;
}

.annc-item-body {
  padding: 18px 20px 22px;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.annc-item-body h3 {
  font-size: 18px;
  line-height: 1.35;
  color: #222;
  margin: 0 0 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.annc-item-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.annc-item-body small {
  color: #999;
  font-size: 12.5px;
  margin-top: auto;
}

@media (max-width: 768px) {
  .annc-page-wrap {
    padding: 24px 16px;
  }

  .annc-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }

  .annc-image-frame {
    aspect-ratio: 16 / 10;
  }

  .annc-item-body {
    padding: 14px 16px 18px;
  }
}

@media (max-width: 480px) {
  .annc-page-wrap {
    padding: 16px 12px;
  }

  .annc-top-header {
    margin-bottom: 18px;
  }

  .annc-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .annc-item-card {
    border-radius: 12px;
  }

  .annc-image-frame {
    aspect-ratio: 3 / 2;
  }

  .annc-item-body {
    padding: 14px 16px 16px;
  }

  .annc-item-body h3 {
    font-size: 16.5px;
  }

  .annc-item-body p {
    font-size: 14px;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 360px) {
  .annc-image-frame {
    aspect-ratio: 4 / 3;
  }
}
