/* =========================================================
   JustApion — Fintech Platform
   Main Stylesheet
   ========================================================= */

:root {
  --primary: #2f3b61;
  --secondary: #041741;
  --accent: #6d888d;
  --success: #10B981;
  --warning: #F59E0B;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-light: #6B7280;
  --border: #E5E7EB;

  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 55%, var(--accent) 100%);
  --gradient-btn: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(30, 64, 175, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 64, 175, 0.10);
  --shadow-lg: 0 20px 48px rgba(30, 64, 175, 0.16);

  --container: 1240px;
  --header-h: 84px;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Space Mono', 'Poppins', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
  color: var(--text-light);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tight {
  padding: 64px 0;
}

.section-dark {
  background: #0F1B4C;
  color: #fff;
}

.section-dark p {
  color: #C9D3F0;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-alt {
  background: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(37, 99, 235, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
}

.section-head p {
  font-size: 16.5px;
}

.section-head.align-left {
  margin: 0 0 48px;
  text-align: left;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(6, 182, 212, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--secondary);
  background: rgba(37, 99, 235, 0.06);
  transform: translateY(-3px);
}

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

.btn-white:hover {
  transform: translateY(-3px);
}

.btn-ghost-light {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13.5px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(30, 64, 175, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}

.brand img {
  height: 60px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -.02em;
}

.brand-name span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav>ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, color .2s;
}

.main-nav a.nav-link:hover,
.main-nav li.active>a.nav-link {
  color: var(--secondary);
  background: rgba(37, 99, 235, 0.08);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text);
}

.dropdown a i {
  color: var(--secondary);
  width: 18px;
  text-align: center;
}

.dropdown a:hover {
  background: var(--bg);
  color: var(--secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  padding: 12px 24px;
  font-size: 14px;
}

.icon-btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14.5px;
  border: 1.5px solid var(--border);
}

.icon-btn-login:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* =========================================================
   HERO / SWIPER
   ========================================================= */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  max-height: 880px;
}

.hero-swiper {
  height: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 20, 60, .88) 0%, rgba(15, 27, 76, .65) 45%, rgba(6, 182, 212, .25) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
}

.hero-slide-content .eyebrow {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.hero-slide-content .eyebrow::before {
  background: var(--accent);
}

.hero-slide-content h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  color: #fff;
  margin-bottom: 18px;
}

.hero-slide-content p {
  font-size: 17.5px;
  color: #DCE3FA;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-widget {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 300px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 26px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.hero-widget .hw-label {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #B9C6F2;
}

.hero-widget .hw-amount {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  margin: 6px 0 16px;
}

.hero-widget .hw-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.hero-widget .hw-row span:last-child {
  color: var(--accent);
  font-weight: 600;
}

.swiper-button-next.hero-arrow,
.swiper-button-prev.hero-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  color: #fff;
}

.swiper-button-next.hero-arrow::after,
.swiper-button-prev.hero-arrow::after {
  font-size: 16px;
}

.hero .swiper-pagination-bullet {
  background: #fff;
  opacity: .5;
}

.hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent);
  width: 22px;
  border-radius: 5px;
}

/* =========================================================
   MARQUEE / TRUST STRIP
   ========================================================= */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 29px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
}

.trust-item i {
  color: var(--success);
  font-size: 18px;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card .sc-img {
  height: 170px;
  overflow: hidden;
  position: relative;
}

.service-card .sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .sc-img img {
  transform: scale(1.08);
}

.service-card .sc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  position: absolute;
  left: 20px;
  bottom: -26px;
  box-shadow: var(--shadow-md);
  display: none;
}

.service-card .sc-body {
  padding: 38px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card .sc-body h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.service-card .sc-body p {
  font-size: 14px;
  margin-bottom: 18px;
  flex: 1;
}

.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary);
}

.sc-link i {
  transition: transform .25s;
}

.service-card:hover .sc-link i {
  transform: translateX(4px);
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.why-media {
  position: relative;
}

.why-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.why-media .floating-stat {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.why-media .floating-stat i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, .12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.why-media .floating-stat strong {
  display: block;
  font-size: 18px;
}

.why-media .floating-stat span {
  font-size: 12.5px;
  color: var(--text-light);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.feature-box {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  transition: .3s;
}

.feature-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.feature-box i {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(37, 99, 235, .1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.feature-box h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.feature-box p {
  font-size: 13.5px;
  margin: 0;
}

/* =========================================================
   BUSINESS OPPORTUNITY
   ========================================================= */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.biz-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: flex-end;
}

.biz-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.biz-card:hover img {
  transform: scale(1.1);
}

.biz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 20, 60, .92) 10%, rgba(10, 20, 60, .15) 70%);
}

.biz-card-body {
  position: relative;
  z-index: 2;
  padding: 24px 18px;
  color: #fff;
}

.biz-card-body i {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 10px;
}

.biz-card-body h4 {
  color: #fff;
  font-size: 16.5px;
  margin-bottom: 6px;
}

.biz-card-body p {
  color: #D6DEF7;
  font-size: 13px;
  margin: 0;
}

/* =========================================================
   WORKING PROCESS
   ========================================================= */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 20px;
}

.process-step .ps-num {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 12px 28px rgba(6, 182, 212, .3);
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
}

.process-step h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13.5px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 1;
}

/* =========================================================
   STATS
   ========================================================= */
.stats-band {
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, .1), transparent 40%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.4vw, 46px);
  color: #fff;
  margin-bottom: 6px;
}

.stat-item p {
  color: #D6DEF7;
  font-size: 14.5px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  height: 100%;
}

.testi-stars {
  color: var(--warning);
  font-size: 14px;
  margin-bottom: 14px;
}

.testi-card p {
  color: var(--text);
  font-size: 15px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testi-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-person strong {
  display: block;
  font-size: 14.5px;
}

.testi-person span {
  font-size: 12.5px;
  color: var(--text-light);
}

/* =========================================================
   BLOG CARDS
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: .3s;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card .bc-img {
  height: 200px;
  overflow: hidden;
}

.blog-card .bc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.blog-card:hover .bc-img img {
  transform: scale(1.08);
}

.blog-card .bc-body {
  padding: 24px;
}

.bc-meta {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.bc-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.blog-card h3 a:hover {
  color: var(--secondary);
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15.5px;
}

.faq-q i {
  transition: transform .3s;
  color: var(--secondary);
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-light);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 70px 60px;
  text-align: center;
  background: var(--gradient-brand);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, .35), transparent 55%);
}

.cta-band-inner {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 38px);
}

.cta-band p {
  color: #DCE3FA;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0B1330;
  color: #B7C0DE;
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand img {
  height: 78px;
  margin-bottom: 16px;
  background-color: white;
border-radius: 5px 40px; 
  padding: 7px;

}

.footer-brand p {
  font-size: 13.5px;
  color: #8D97BE;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .3s;
}

.social-icons a:hover {
  background: var(--gradient-btn);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 13.8px;
  color: #B7C0DE;
  transition: .2s;
}

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

.footer-newsletter form {
  display: flex;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding: 4px;
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: #fff;
  font-size: 13.5px;
}

.footer-newsletter input::placeholder {
  color: #8D97BE;
}

.footer-newsletter button {
  background: var(--gradient-btn);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: #8D97BE;
}

.footer-bottom a {
  color: #B7C0DE;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .3s;
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background: var(--gradient-brand);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, .3), transparent 50%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  color: #CBD6F5;
  font-size: 14px;
}

.breadcrumb a {
  color: #fff;
  font-weight: 600;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-media {
  position: relative;
}

.intro-media img {
  border-radius: var(--radius-lg);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.mv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.mv-card i {
  font-size: 26px;
  color: var(--secondary);
  margin-bottom: 14px;
}

.mv-card h3 {
  font-size: 18px;
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 36px;
}

.tl-item .tl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.tl-item .tl-year {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin: 0 auto;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.tl-item:nth-child(even) .tl-card {
  grid-column: 3;
}

.tl-item:nth-child(even) .tl-spacer {
  grid-column: 1;
}

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.achieve-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
}

.achieve-card h3 {
  font-size: 34px;
  color: var(--secondary);
  font-family: var(--font-mono);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: .3s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  height: 240px;
  object-fit: cover;
  width: 100%;
}

.team-card .tc-body {
  padding: 20px;
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.team-card span {
  font-size: 13px;
  color: var(--secondary);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--secondary);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.office-grid img {
  border-radius: var(--radius-md);
  height: 220px;
  object-fit: cover;
  width: 100%;
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.service-category-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.cat-pill {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: .25s;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
}

.service-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-full-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: .35s;
  display: flex;
  flex-direction: column;
}

.service-full-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-full-card .sfc-img {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.service-full-card .sfc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.service-full-card:hover .sfc-img img {
  transform: scale(1.1);
}

.sfc-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, .92);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.service-full-card .sfc-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-full-card h3 {
  font-size: 18px;
}

.service-full-card .sfc-benefits {
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}

.service-full-card .sfc-benefits li {
  font-size: 13.3px;
  color: var(--text-light);
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.service-full-card .sfc-benefits li i {
  color: var(--success);
  margin-top: 3px;
}

.sfc-actions {
  display: flex;
  gap: 10px;
}

.sfc-actions .btn {
  flex: 1;
  padding: 11px 14px;
  font-size: 13.5px;
}

/* =========================================================
   BLOGS PAGE
   ========================================================= */
.blog-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}

.blog-search {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 20px;
}

.blog-search input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 14.5px;
}

.blog-search button {
  background: var(--gradient-btn);
  color: #fff;
  padding: 0 22px;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: 16px;
  margin-bottom: 18px;
}

.mini-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.mini-post img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}

.mini-post h5 {
  font-size: 13.5px;
  margin: 0 0 4px;
  line-height: 1.4;
}

.mini-post span {
  font-size: 12px;
  color: var(--text-light);
}

.cat-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.cat-list li:last-child {
  border-bottom: none;
}

.cat-list li span {
  color: var(--text-light);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 12.5px;
  color: var(--text);
}

.tag-cloud a:hover {
  background: var(--gradient-btn);
  color: #fff;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

.pagination a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.pagination a.active,
.pagination a:hover {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
}

.contact-info-card i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, .1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex: none;
}

.contact-info-card h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 13.8px;
  margin: 0;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  transition: .2s;
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  background: #fff;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.login-visual {
  position: relative;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  overflow: hidden;
}

.login-visual::before,
.login-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.login-visual::before {
  width: 340px;
  height: 340px;
  top: -100px;
  left: -100px;
  animation: floatY 8s ease-in-out infinite;
}

.login-visual::after {
  width: 220px;
  height: 220px;
  bottom: -60px;
  right: -40px;
  animation: floatY 7s ease-in-out infinite reverse;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-24px);
  }
}

.login-visual-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 420px;
}

.login-visual-inner img {
  margin: 0 auto 30px;
  max-width: 320px;
}

.login-visual-inner h2 {
  color: #fff;
}

.login-visual-inner p {
  color: #DCE3FA;
}

.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.login-card h2 {
  font-size: 26px;
}

.login-card .form-group {
  position: relative;
}

.login-card .form-group i {
  position: absolute;
  left: 16px;
  top: 44px;
  color: var(--text-light);
}

.login-card .form-group input {
  padding-left: 44px;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13.5px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--secondary);
  font-weight: 600;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}

.error-code {
  font-family: var(--font-mono);
  font-size: clamp(90px, 16vw, 180px);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

/* AOS-lite fallback (no external lib dependency fully required) */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: .8s;
  transition-timing-function: ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-down"] {
  transform: translateY(-40px);
}

[data-aos="fade-down"].aos-animate {
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  transform: scale(.9);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .login-visual::before,
  .login-visual::after {
    animation: none;
  }
}

.login-wrap{
  width:92%;max-width:1100px;margin:28px auto;display:grid;grid-template-columns:1fr 1fr;
  border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);
}
.login-visual{
  position:relative;background:var(--gradient-brand);display:flex;align-items:center;justify-content:center;
  padding:36px 40px;overflow:hidden;
}
.login-visual::before, .login-visual::after{
  content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08);
}
.login-visual::before{width:340px;height:340px;top:-100px;left:-100px;animation:floatY 8s ease-in-out infinite;}
.login-visual::after{width:220px;height:220px;bottom:-60px;right:-40px;animation:floatY 7s ease-in-out infinite reverse;}
@keyframes floatY{0%,100%{transform:translateY(0);}50%{transform:translateY(-24px);}}
.login-visual-inner{position:relative;z-index:2;color:#fff;text-align:center;max-width:380px;}
.login-visual-inner img{margin:0 auto 18px;max-width:100%;width:220px;}
.login-visual-inner h2{color:#fff;font-size:22px;}
.login-visual-inner p{color:#DCE3FA;font-size:14px;}
.login-form-side{display:flex;align-items:center;justify-content:center;padding:30px;background:var(--white);}
.login-card{
  width:100%;max-width:420px;background:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.6);backdrop-filter:blur(20px);
  border-radius:var(--radius-lg);padding:28px 32px;box-shadow:var(--shadow-lg);
}
.login-card h2{font-size:24px;}
.login-card .form-group{position:relative;margin-bottom:14px;}
.login-card .form-group label{font-size:13.5px;margin-bottom:5px;}
.login-card .form-group i{position:absolute;left:18px;top:38px;color:var(--text-light);}
.login-card .form-group input{padding:12px 14px 12px 46px;font-size:14.5px;}
.login-options{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:13.5px;}

/* Login visual stats */
.login-visual-stats{display:flex;gap:20px;justify-content:center;margin-top:20px;}
.login-visual-stats div{display:flex;flex-direction:column;align-items:center;}
.login-visual-stats strong{font-size:22px;color:#fff;font-weight:700;}
.login-visual-stats span{font-size:12.5px;color:#DCE3FA;margin-top:4px;}

/* Auth tabs (Login / Register) */
.auth-card{position:relative;}
.auth-tabs{
  position:relative;
  display:flex;
  background:var(--bg);
  border-radius:var(--radius-pill);
  padding:4px;
  margin-bottom:28px;
}
.auth-tab{
  flex:1;
  z-index:2;
  border:none;
  background:transparent;
  padding:12px 0;
  font-family:var(--font-body);
  font-weight:600;
  font-size:14.5px;
  color:var(--text-light);
  cursor:pointer;
  border-radius:var(--radius-pill);
  transition:color .25s ease;
}
.auth-tab.active{color:#fff;}
.auth-tab-indicator{
  position:absolute;
  top:4px;
  left:4px;
  width:calc(50% - 4px);
  height:calc(100% - 8px);
  background:var(--gradient-btn);
  border-radius:var(--radius-pill);
  box-shadow:var(--shadow-sm);
  transition:transform .3s cubic-bezier(.4,0,.2,1);
  z-index:1;
}
.auth-panel{display:none;animation:fadeSlideIn .35s ease;}
.auth-panel.active{display:block;}
@keyframes fadeSlideIn{
  from{opacity:0;transform:translateY(8px);}
  to{opacity:1;transform:translateY(0);}
}
.auth-switch-text{text-align:center;font-size:14px;color:var(--text-light);margin-top:8px;}
.auth-switch-text a{color:var(--secondary);font-weight:600;cursor:pointer;}