/* ============================================================
   NexaBank - Premium Banking CSS
   Author: NexaBank Design Team
   Version: 1.0
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary:       #0a2463;
  --primary-dark:  #061848;
  --primary-light: #1a3a8f;
  --accent:        #1e90ff;
  --accent-light:  #63b3ed;
  --navy:          #0d1b4b;
  --sky:           #e8f4fd;
  --white:         #ffffff;
  --off-white:     #f7f9fc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-500:      #64748b;
  --gray-700:      #334155;
  --gray-900:      #0f172a;
  --shadow-sm:     0 2px 8px rgba(10,36,99,.08);
  --shadow-md:     0 8px 30px rgba(10,36,99,.12);
  --shadow-lg:     0 20px 60px rgba(10,36,99,.18);
  --radius:        14px;
  --transition:    .35s cubic-bezier(.4,0,.2,1);
  --font-body:     'Inter', sans-serif;
  --font-display:  'Playfair Display', serif;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --white:      #0f172a;
  --off-white:  #1e293b;
  --gray-100:   #1e293b;
  --gray-200:   #334155;
  --gray-500:   #94a3b8;
  --gray-700:   #cbd5e1;
  --gray-900:   #f1f5f9;
  --sky:        #1e3a5f;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), #00d4ff);
  z-index: 10000; transition: width .1s linear;
}

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0; background: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; color: #fff; letter-spacing: 2px; margin-bottom: 20px;
  animation: pulse 1.5s infinite;
}
.preloader-logo span { color: var(--accent); }
.preloader-bar {
  width: 200px; height: 3px; background: rgba(255,255,255,.2);
  border-radius: 3px; overflow: hidden; margin: 0 auto;
}
.preloader-bar::after {
  content: ''; display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), #00d4ff);
  animation: loading 1.8s ease-in-out infinite;
}
@keyframes loading { 0%{width:0;margin-left:0} 50%{width:60%;margin-left:20%} 100%{width:0;margin-left:100%} }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.6} }

/* ── Navbar ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  padding: 18px 0; transition: all .4s ease;
}
#navbar.scrolled {
  background: var(--primary-dark);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo .logo-icon {
  width: 38px; height: 38px; background: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
}
.nav-logo span { color: var(--accent); }
.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: contrast(1.18) saturate(1.08);
}
#navbar.scrolled .nav-logo-img { height: 58px; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  color: rgba(255,255,255,.88); font-size: .92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .25s;
}
.nav-menu a:hover, .nav-menu a.active {
  color: #fff; background: rgba(255,255,255,.12);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav-login {
  color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 500;
  padding: 8px 18px; border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 8px; transition: all .3s;
}
.btn-nav-login:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-nav-register {
  background: var(--accent); color: #fff; font-size: .9rem; font-weight: 600;
  padding: 9px 20px; border-radius: 8px; transition: all .3s;
}
.btn-nav-register:hover { background: #1a7fe0; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(30,144,255,.4); }
.dark-toggle {
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.dark-toggle:hover { background: rgba(255,255,255,.2); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: all .3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none; transition: all .3s;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0060d4);
  color: #fff; box-shadow: 0 4px 20px rgba(30,144,255,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,144,255,.5);
  background: linear-gradient(135deg, #2fa0ff, #004fc0);
}
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; transform: translateY(-2px); }
.btn-dark {
  background: linear-gradient(135deg, var(--primary), var(--navy));
  color: #fff; box-shadow: 0 4px 20px rgba(10,36,99,.3);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,36,99,.45); }
.btn-white {
  background: #fff; color: var(--primary); font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* ── Section Utilities ── */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: var(--accent); padding: 6px 16px;
  border-radius: 50px; font-size: .82rem; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 16px;
}
[data-theme="dark"] .section-tag { background: rgba(30,144,255,.15); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  color: var(--gray-900); line-height: 1.25; margin-bottom: 16px;
}
.section-title span { color: var(--accent); }
.section-sub {
  font-size: 1.05rem; color: var(--gray-500); max-width: 600px; line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* ── Hero ── */
#hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover; background-position: center;
  animation: none;
}
.hero-slide.active { opacity: 1; animation: kenburns 8s ease-in-out forwards; }
@keyframes kenburns {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.08) translate(-1%,-1%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,24,72,.85) 0%, rgba(10,36,99,.7) 60%, rgba(0,0,0,.4) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 1280px;
  margin: 0 auto; padding: 0 24px; color: #fff;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(30,144,255,.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(30,144,255,.4); color: #7dd3fc;
  padding: 7px 18px; border-radius: 50px; font-size: .82rem;
  font-weight: 600; letter-spacing: .5px; margin-bottom: 24px;
  animation: fadeInDown .8s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 700;
  line-height: 1.1; margin-bottom: 24px; max-width: 800px;
  animation: fadeInUp .9s .2s both;
}
.hero-title span { color: #63b3ed; }
.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.18rem); opacity: .88;
  max-width: 560px; line-height: 1.75; margin-bottom: 36px;
  animation: fadeInUp .9s .4s both;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp .9s .6s both; }
.hero-indicators {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s;
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }
.hero-scroll {
  position: absolute; bottom: 36px; right: 40px; z-index: 3;
  color: rgba(255,255,255,.6); font-size: .78rem; text-transform: uppercase;
  letter-spacing: 2px; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine { 0%{height:0;opacity:1} 100%{height:50px;opacity:0} }

/* ── Animations ── */
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:none} }
@keyframes fadeInUp   { from{opacity:0;transform:translateY(30px)}  to{opacity:1;transform:none} }
@keyframes fadeInLeft { from{opacity:0;transform:translateX(-40px)} to{opacity:1;transform:none} }
@keyframes fadeInRight{ from{opacity:0;transform:translateX(40px)}  to{opacity:1;transform:none} }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(50px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* ── Features Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200); transition: all .35s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), #004fc0);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 62px; height: 62px; border-radius: 14px;
  background: linear-gradient(135deg, var(--sky), #d0eaff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px; transition: all .35s;
}
[data-theme="dark"] .feature-icon { background: rgba(30,144,255,.15); }
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent), #004fc0); color: #fff;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.feature-card p  { font-size: .92rem; color: var(--gray-500); line-height: 1.7; }

/* ── Statistics ── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a3a8f 100%);
  color: #fff; padding: 80px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; position: relative; }
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700;
  color: #fff; margin-bottom: 8px; line-height: 1;
}
.stat-number .suffix { color: var(--accent-light); }
.stat-label { font-size: .92rem; color: rgba(255,255,255,.7); letter-spacing: .5px; }
.stat-divider {
  width: 40px; height: 2px; background: rgba(255,255,255,.2);
  margin: 14px auto 0;
}

/* ── About Preview ── */
.about-img-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 500px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--white); border-radius: 12px; padding: 18px 24px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 16px;
}
.about-badge-icon {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--accent), #004fc0);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.about-badge-text strong { display: block; font-size: 1.1rem; color: var(--primary); }
.about-badge-text span  { font-size: .8rem; color: var(--gray-500); }
.about-text .lead { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 20px; font-weight: 500; line-height: 1.8; }
.about-checklist { margin: 24px 0; }
.about-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px; font-size: .95rem; color: var(--gray-700);
}
.about-checklist li::before {
  content: '✓'; width: 22px; height: 22px; background: var(--sky);
  color: var(--accent); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
[data-theme="dark"] .about-checklist li::before { background: rgba(30,144,255,.15); }

/* ── Services Cards ── */
.service-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200); transition: all .35s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card-img { position: relative; overflow: hidden; height: 200px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,24,72,.7), transparent);
}
.service-card-body { padding: 24px; }
.service-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #004fc0);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.service-card p  { font-size: .9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 18px; }
.service-link {
  color: var(--accent); font-size: .88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .25s;
}
.service-link:hover { gap: 10px; }

/* ── Testimonials ── */
.testimonials-section { background: var(--off-white); }
[data-theme="dark"] .testimonials-section { background: var(--gray-100); }
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.testimonial-slide { min-width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: .95rem; color: var(--gray-700); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--sky);
}
.testimonial-name { font-weight: 700; font-size: .95rem; color: var(--gray-900); }
.testimonial-role { font-size: .82rem; color: var(--gray-500); }
.testimonials-ctrl { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.t-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--gray-200); background: var(--white);
  cursor: pointer; font-size: 1rem; color: var(--gray-700);
  transition: all .3s; display: flex; align-items: center; justify-content: center;
}
.t-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff; text-align: center; padding: 90px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,.05); top: -200px; right: -100px;
}
.cta-section::after {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05); bottom: -100px; left: -50px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px;
}
.cta-sub { font-size: 1.1rem; opacity: .88; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Security Badges ── */
.security-section { background: var(--off-white); padding: 50px 0; }
[data-theme="dark"] .security-section { background: var(--gray-100); }
.security-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.security-badge {
  display: flex; align-items: center; gap: 10px;
  color: var(--gray-500); font-size: .88rem; font-weight: 500;
}
.security-badge i { font-size: 1.3rem; color: var(--accent); }
.security-divider { width: 1px; height: 30px; background: var(--gray-200); }

/* ── About Page ── */
.hero-inner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; padding: 160px 0 100px; text-align: center;
}
.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 16px;
}
.hero-inner p { font-size: 1.1rem; opacity: .82; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; }
.breadcrumb a, .breadcrumb span { font-size: .88rem; color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.4); }

/* Timeline */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--gray-200); transform: translateX(-50%);
}
.timeline-item {
  display: flex; gap: 40px; margin-bottom: 50px; position: relative;
}
.timeline-item:nth-child(odd)  { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  width: calc(50% - 40px); background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
}
.timeline-dot {
  position: absolute; left: 50%; top: 28px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent); transform: translateX(-50%);
}
.timeline-year {
  display: inline-block; background: linear-gradient(135deg, var(--accent), #004fc0);
  color: #fff; padding: 4px 14px; border-radius: 20px;
  font-size: .8rem; font-weight: 700; margin-bottom: 10px;
}
.timeline-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.timeline-content p  { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* Values Grid */
.value-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  text-align: center; transition: all .35s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 70px; height: 70px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--sky), #d0eaff);
  border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
[data-theme="dark"] .value-icon { background: rgba(30,144,255,.15); }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: .88rem; color: var(--gray-500); line-height: 1.7; }

/* Leadership */
.leader-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: all .35s;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.leader-img { height: 250px; overflow: hidden; }
.leader-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.leader-card:hover .leader-img img { transform: scale(1.06); }
.leader-info { padding: 20px 22px; }
.leader-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.leader-info .role { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.leader-info p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }
.leader-social { display: flex; gap: 8px; margin-top: 12px; }
.leader-social a {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--sky); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: all .3s;
}
[data-theme="dark"] .leader-social a { background: rgba(30,144,255,.15); }
.leader-social a:hover { background: var(--accent); color: #fff; }

/* ── Services Page ── */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 70px 0; border-bottom: 1px solid var(--gray-200);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.service-detail-img img { width: 100%; height: 420px; object-fit: cover; }
.service-detail-content .service-ico {
  width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent), #004fc0);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; margin-bottom: 20px;
}
.service-detail-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 16px;
}
.service-detail-content .lead { font-size: 1rem; color: var(--gray-700); margin-bottom: 18px; line-height: 1.8; font-weight: 500; }
.service-detail-content p  { font-size: .93rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 24px; }
.service-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.service-feature-item {
  display: flex; align-items: center; gap: 12px;
  font-size: .92rem; color: var(--gray-700); font-weight: 500;
}
.service-feature-item i { color: var(--accent); font-size: 1rem; }

/* ── FAQ ── */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); overflow: hidden; transition: border-color .3s;
}
.faq-item.open { border-color: var(--accent); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; cursor: pointer; transition: background .3s;
}
.faq-question:hover { background: var(--gray-100); }
.faq-question h3 { font-size: .97rem; font-weight: 600; color: var(--gray-900); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--sky); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0; transition: all .3s;
}
[data-theme="dark"] .faq-icon { background: rgba(30,144,255,.15); }
.faq-item.open .faq-icon { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .45s ease, padding .45s ease;
  padding: 0 26px;
}
.faq-answer p { font-size: .93rem; color: var(--gray-500); line-height: 1.8; padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 20px; padding: 42px 36px; color: #fff;
}
.contact-info-card h2 {
  font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px;
}
.contact-info-card > p { opacity: .8; font-size: .95rem; margin-bottom: 36px; line-height: 1.7; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: .85rem; opacity: .7; margin-bottom: 3px; }
.contact-detail-text span { font-size: .95rem; }
.contact-hours { background: rgba(255,255,255,.08); border-radius: 12px; padding: 20px 22px; margin-top: 30px; }
.contact-hours h4 { font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.hours-row { display: flex; justify-content: space-between; font-size: .85rem; opacity: .8; margin-bottom: 6px; }
.contact-social { display: flex; gap: 10px; margin-top: 28px; }
.contact-social a {
  width: 40px; height: 40px; background: rgba(255,255,255,.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; transition: all .3s;
}
.contact-social a:hover { background: var(--accent); }
.contact-form-wrap { background: var(--white); border-radius: 20px; padding: 42px 36px; box-shadow: var(--shadow-md); }
[data-theme="dark"] .contact-form-wrap { background: var(--off-white); }
.contact-form-wrap h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--gray-500); font-size: .93rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-700); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: 10px; font-family: var(--font-body); font-size: .93rem;
  background: var(--white); color: var(--gray-900); transition: all .3s; outline: none;
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea { background: var(--gray-100); border-color: var(--gray-200); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,144,255,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none; background: #d1fae5; border: 1px solid #6ee7b7;
  color: #065f46; padding: 14px 18px; border-radius: 10px; margin-top: 16px; font-size: .92rem;
}
.map-placeholder {
  border-radius: 16px; overflow: hidden; height: 300px;
  background: var(--gray-100); margin-top: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--gray-500); position: relative;
}
.map-placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.live-chat-btn {
  position: fixed; bottom: 90px; right: 30px; z-index: 5000;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; padding: 13px 20px; border-radius: 50px;
  font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 30px rgba(10,36,99,.3); transition: all .3s; cursor: pointer;
  border: none; font-family: var(--font-body);
}
.live-chat-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(10,36,99,.4); }
.chat-ping {
  width: 10px; height: 10px; background: #22c55e; border-radius: 50%;
  animation: ping 1.5s infinite;
}
@keyframes ping { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:.7} }

/* ── Why Choose Us ── */
.why-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: all .35s;
}
.why-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.why-icon {
  width: 48px; height: 48px; background: linear-gradient(135deg, var(--accent), #004fc0);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex-shrink: 0;
}
.why-text h4 { font-size: .97rem; font-weight: 700; margin-bottom: 5px; }
.why-text p  { font-size: .87rem; color: var(--gray-500); line-height: 1.6; }

/* ── Footer ── */
footer {
  background: var(--gray-900); color: rgba(255,255,255,.75);
  padding: 80px 0 0;
}
[data-theme="dark"] footer { background: #0a0f1e; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; margin-bottom: 60px; }
.footer-brand {}
.footer-logo {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: #fff; margin-bottom: 16px; display: block;
}
.footer-logo span { color: var(--accent); }
.footer-brand p { font-size: .9rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; background: rgba(255,255,255,.08);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); font-size: .9rem; transition: all .3s;
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-heading { color: #fff; font-size: .9rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem; color: rgba(255,255,255,.65); transition: all .3s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--accent); }
.footer-links a:hover { color: #fff; gap: 10px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item i { color: var(--accent); font-size: .95rem; margin-top: 3px; }
.footer-contact-item span { font-size: .88rem; }
.newsletter-form { display: flex; gap: 0; margin-top: 16px; }
.newsletter-input {
  flex: 1; padding: 11px 16px; background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12); border-right: none;
  border-radius: 10px 0 0 10px; color: #fff; font-family: var(--font-body); font-size: .88rem;
  outline: none; transition: border-color .3s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-btn {
  padding: 11px 18px; background: var(--accent); color: #fff;
  border: none; border-radius: 0 10px 10px 0; cursor: pointer;
  font-size: .88rem; font-weight: 600; transition: background .3s;
}
.newsletter-btn:hover { background: #1a7fe0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .82rem; color: rgba(255,255,255,.45); transition: color .3s; }
.footer-bottom-links a:hover { color: #fff; }

/* ── Back to Top ── */
#back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 5000;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; border: none; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all .3s;
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: none; pointer-events: all; }
#back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Cookie Consent ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9800;
  background: var(--gray-900); color: rgba(255,255,255,.85);
  padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; transform: translateY(100%); transition: transform .5s .5s ease;
}
[data-theme="dark"] #cookie-banner { background: #0a0f1e; }
#cookie-banner.show { transform: none; }
#cookie-banner p { font-size: .88rem; flex: 1; }
#cookie-banner a { color: var(--accent-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-accept {
  background: var(--accent); color: #fff; border: none; padding: 9px 22px;
  border-radius: 8px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .3s;
}
.cookie-accept:hover { background: #1a7fe0; }
.cookie-decline {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); border: none;
  padding: 9px 18px; border-radius: 8px; font-size: .88rem; cursor: pointer; transition: background .3s;
}
.cookie-decline:hover { background: rgba(255,255,255,.18); }

/* ── Gradient BG sections ── */
.bg-gradient-blue {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}
.bg-gradient-blue .section-title { color: #fff; }
.bg-gradient-blue .section-sub  { color: rgba(255,255,255,.75); }
.bg-off-white { background: var(--off-white); }
[data-theme="dark"] .bg-off-white { background: var(--gray-100); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-slide { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column !important; padding-left: 50px; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: 100%; }
  .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-detail.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-logo-img { height: 56px; }
  /* ── Mobile slide-in drawer (right side) ── */
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  /* Drawer hidden off-screen to the right using transform */
  .nav-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed; top: 0; right: 0;
    width: 280px; max-width: 85vw;
    height: 100vh;
    background: var(--primary-dark);
    z-index: 8900;
    padding: 72px 24px 100px;
    gap: 4px;
    align-items: flex-start; justify-content: flex-start;
    transform: translateX(110%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    box-shadow: -6px 0 30px rgba(0,0,0,.4);
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { font-size: 1.1rem; width: 100%; padding: 12px 10px; border-radius: 8px; }

  /* Nav action buttons pinned at the bottom of the drawer */
  .nav-actions.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; bottom: 0; right: 0;
    width: 280px; max-width: 85vw;
    padding: 14px 24px 24px;
    background: var(--primary-dark);
    z-index: 8901;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-actions.open .btn-nav-login,
  .nav-actions.open .btn-nav-register { text-align: center; width: 100%; }

  /* Semi-transparent backdrop */
  #nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 8800;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .32s;
  }
  #nav-overlay.visible { display: block; opacity: 1; }

  /* Close (×) button inside drawer */
  .nav-menu-close-item { display: none; }
  .nav-menu .nav-menu-close-item {
    display: flex;
    position: absolute; top: 16px; right: 16px;
  }
  .nav-menu-close {
    background: transparent; border: none; cursor: pointer;
    color: rgba(255,255,255,.85); font-size: 1.5rem; line-height: 1;
    padding: 6px 9px; border-radius: 6px;
    transition: background .2s, color .2s;
  }
  .nav-menu-close:hover { background: rgba(255,255,255,.15); color: #fff; }

  /* Layout tweaks */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-slide { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .security-divider { display: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 480px) {
  .nav-logo-img { height: 50px; }

  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: center; }
}
