/* ==========================================================================
   Electroline Corporation — Public Homepage
   Modern, compact, responsive redesign
   ========================================================================== */

:root {
  --navy-900: #0a2647;
  --navy-800: #0d3a6b;
  --navy-700: #1256a3;
  --navy-600: #1a67bd;
  --amber-500: #f5a623;
  --amber-600: #e0900f;
  --ink: #16212e;
  --slate-600: #55636f;
  --slate-400: #8996a1;
  --cloud-100: #f4f7fb;
  --cloud-200: #e8eef5;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 38, 71, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 38, 71, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 38, 71, 0.18);
  --container-max: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body.home-body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.home-body img { filter: none !important; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--amber-500);
  border-radius: 2px;
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--navy-900);
}

.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
  margin: 0;
}

section { position: relative; }
.py { padding: 88px 0; }
.py-sm { padding: 60px 0; }

.bg-cloud { background: var(--cloud-100); }
.bg-navy {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}
.bg-navy .section-title { color: var(--white); }
.bg-navy .section-sub { color: rgba(255,255,255,0.72); }
.bg-navy .eyebrow { color: var(--amber-500); }

/* ---------------------------------- Buttons ---------------------------- */
.btn-el {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-el-primary {
  background: var(--amber-500);
  color: var(--navy-900) !important;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}
.btn-el-primary:hover { background: var(--amber-600); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245,166,35,0.4); }

.btn-el-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white) !important;
}
.btn-el-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-el-navy {
  background: var(--navy-700);
  color: var(--white) !important;
}
.btn-el-navy:hover { background: var(--navy-800); transform: translateY(-2px); }

/* ---------------------------------- Navbar ------------------------------ */
.el-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.el-navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.el-navbar.scrolled {
  background: rgba(10, 38, 71, 0.97);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  backdrop-filter: saturate(180%) blur(8px);
}

.el-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.el-brand img { height: 38px; width: 38px; object-fit: contain; }
.el-brand span { line-height: 1.15; }
.el-brand small { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: 0.12em; color: var(--amber-500); text-transform: uppercase; }

.el-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.el-nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.el-nav-links a:hover { color: var(--amber-500); }
.el-nav-links a.cta {
  background: var(--amber-500);
  color: var(--navy-900) !important;
  padding: 10px 20px;
  border-radius: 7px;
  font-weight: 700;
}
.el-nav-links a.cta:hover { background: var(--amber-600); }

.el-nav-toggle {
  display: none;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 8px;
  width: 42px; height: 42px;
  color: var(--white);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.el-mobile-panel {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 82vw);
  background: var(--navy-900);
  z-index: 1100;
  padding: 24px;
  box-shadow: -12px 0 40px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.el-mobile-panel.open { transform: translateX(0); }
.el-mobile-panel .close-panel {
  background: none; border: none; color: var(--white); font-size: 22px; float: right; cursor: pointer;
}
.el-mobile-panel ul { list-style: none; margin: 50px 0 0; padding: 0; }
.el-mobile-panel li { margin-bottom: 6px; }
.el-mobile-panel a {
  display: block;
  color: rgba(255,255,255,0.9);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.el-mobile-panel a.cta {
  margin-top: 18px;
  background: var(--amber-500);
  color: var(--navy-900) !important;
  text-align: center;
  border-radius: 8px;
  border-bottom: none;
}
.el-scrim {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1090;
}
.el-scrim.open, .el-mobile-panel.open { display: block; }

@media (max-width: 991px) {
  .el-nav-links { display: none; }
  .el-nav-toggle { display: inline-flex; }
}

/* ---------------------------------- Hero -------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(6,24,46,0.78) 0%, rgba(8,30,56,0.82) 55%, rgba(10,38,71,0.95) 100%),
              url('../../images/index/landing%20page.jpg') center/cover no-repeat;
  position: relative;
  padding: 140px 0 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
}

.hero-content .eyebrow { color: var(--amber-500); }
.hero-content .eyebrow::before { background: var(--amber-500); }

.hero-title {
  font-size: clamp(32px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 20px;
}
.hero-title em { color: var(--amber-500); font-style: normal; }

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 0 34px;
}

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

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.hero-stat {
  padding: 26px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat .label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

@media (max-width: 767px) {
  .hero { padding-top: 120px; padding-bottom: 40px; min-height: unset; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:nth-child(2n) { border-right: none; }
}

/* ---------------------------------- About -------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-media .badge-since {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 128px;
}
.about-media .badge-since .yr { font-size: 26px; font-weight: 800; color: var(--amber-500); display: block; }
.about-media .badge-since .txt { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }

.about-text p { color: var(--slate-600); line-height: 1.8; font-size: 15.5px; margin: 0 0 16px; }

.value-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.pillar {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--cloud-100);
  border-radius: 10px;
  padding: 14px 16px;
}
.pillar i { color: var(--amber-600); font-size: 18px; margin-top: 2px; }
.pillar strong { display: block; font-size: 13.5px; color: var(--navy-900); }
.pillar span { font-size: 12.5px; color: var(--slate-600); }

@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { margin-bottom: 40px; }
}
@media (max-width: 575px) {
  .about-media .badge-since { left: 12px; bottom: -18px; padding: 10px 14px; min-width: 100px; }
  .value-pillars { grid-template-columns: 1fr; }
}

/* ------------------------------ Mission/Vision --------------------------- */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.mv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.mv-card i {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245,166,35,0.15);
  color: var(--amber-500);
  border-radius: 10px;
  font-size: 20px;
  margin-bottom: 18px;
}
.mv-card h4 { color: var(--white); font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.mv-card p { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.7; margin: 0; }
@media (max-width: 767px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---------------------------------- Services ------------------------------ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: var(--navy-900);
}
.svc-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.88;
}
.svc-card:hover img { transform: scale(1.08); }
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,38,71,0) 30%, rgba(6,20,38,0.92) 100%);
}
.svc-card .svc-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 20px;
  color: var(--white);
}
.svc-card .svc-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 6px;
}
.svc-card h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.svc-card .svc-link {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-card:hover .svc-link { color: var(--amber-500); }

@media (max-width: 991px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { height: 220px; } }

/* Gallery modal */
.el-modal-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(6,14,26,0.92);
  z-index: 1200;
  padding: 40px 16px;
  overflow-y: auto;
}
.el-modal-backdrop.open { display: block; }
.el-modal {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.el-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--cloud-200);
}
.el-modal-head h4 { margin: 0; font-size: 18px; color: var(--navy-900); font-weight: 700; }
.el-modal-head button { background: none; border: none; font-size: 22px; color: var(--slate-600); cursor: pointer; }
.el-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
}
.el-modal-grid img { width: 100%; height: 220px; object-fit: cover; display: block; }
@media (max-width: 575px) {
  .el-modal-grid { grid-template-columns: 1fr; }
  .el-modal-grid img { height: 200px; }
}

/* ---------------------------------- Leadership / Clients ------------------ */
.leader-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.leader-wrap img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 991px) { .leader-wrap { grid-template-columns: 1fr; } }

.client-strip {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.client-strip img { width: 100%; display: block; }

/* ---------------------------------- Contact ------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-card i {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--navy-700);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.contact-card h5 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--navy-900); }
.contact-card p { margin: 0; font-size: 13.5px; color: var(--slate-600); line-height: 1.6; }
.contact-card a { color: var(--slate-600); text-decoration: none; }
.contact-card a:hover { color: var(--navy-700); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

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

/* ---------------------------------- Footer -------------------------------- */
.el-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 17px; margin-bottom: 16px; }
.footer-brand img { height: 34px; }
.footer-col h5 {
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col p { font-size: 13.5px; line-height: 1.7; margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber-500); }
.footer-sector { font-size: 13px; margin-bottom: 12px; }
.footer-sector strong { display: block; color: var(--white); font-size: 12.5px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 12.5px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

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

/* ---------------------------------- Back to top --------------------------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  background: var(--navy-700);
  color: var(--white) !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--amber-500); color: var(--navy-900) !important; }

/* ------------------------------- Page Header ------------------------------ */
.page-header {
  padding: 150px 0 60px;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  text-align: center;
}
.page-header .eyebrow { justify-content: center; color: var(--amber-500); }
.page-header .eyebrow::before { display: none; }
.page-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 12px;
}
.page-header p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb-el {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
}
.breadcrumb-el a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb-el a:hover { color: var(--amber-500); }

/* ---------------------------------- Forms --------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: flex-start;
}

.quote-steps {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}
.quote-steps h3 { font-size: 19px; font-weight: 700; margin: 0 0 22px; }
.quote-step { display: flex; gap: 14px; margin-bottom: 22px; }
.quote-step:last-child { margin-bottom: 0; }
.quote-step .num {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.quote-step h5 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; }
.quote-step p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }

.quote-direct {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.quote-direct p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0 0 10px; }
.quote-direct a { color: var(--white); text-decoration: none; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.quote-direct a i { color: var(--amber-500); width: 18px; }
.quote-direct a:hover { color: var(--amber-500); }

.quote-form-card {
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row { margin-bottom: 20px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.form-row label .opt { color: var(--slate-400); font-weight: 500; text-transform: none; letter-spacing: 0; }
.form-row .required { color: var(--amber-600); }

.field {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--cloud-100);
  border: 1.5px solid var(--cloud-200);
  border-radius: 9px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
}
textarea.field { resize: vertical; min-height: 140px; }

.file-drop {
  border: 1.5px dashed var(--cloud-200);
  border-radius: 9px;
  padding: 20px;
  text-align: center;
  background: var(--cloud-100);
}
.file-drop i { font-size: 22px; color: var(--navy-700); margin-bottom: 8px; display: block; }
.file-drop span { font-size: 12.5px; color: var(--slate-600); display: block; margin-bottom: 10px; }
.file-drop input[type="file"] { font-size: 12.5px; max-width: 100%; }

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-submit {
  width: 100%;
  border: none;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
  .form-two-col { grid-template-columns: 1fr; }
  .quote-form-card { padding: 26px 22px; }
}

/* ---------------------------------- Password toggle ------------------------ */
.field-group { position: relative; }
.field-group .field { padding-right: 46px; }
.toggle-pw {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  color: var(--slate-400);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.toggle-pw:hover { color: var(--navy-700); }

/* ---------------------------------- Requirement list ----------------------- */
.req-list {
  background: var(--cloud-100);
  border: 1px solid var(--cloud-200);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
}
.req-list p { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--navy-900); text-transform: uppercase; letter-spacing: 0.03em; }
.req-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.req-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--slate-600); line-height: 1.5; }
.req-list li i { color: var(--amber-600); font-size: 11px; margin-top: 3px; }

/* ---------------------------------- User chip (navbar) --------------------- */
.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-right: 6px;
}
.user-chip i { color: var(--amber-500); }

/* ---------------------------------- Dashboard ------------------------------ */
.dash-wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 24px 80px; }

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
  margin-top: -60px;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}
.profile-avatar {
  width: 84px; height: 84px; min-width: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  color: var(--amber-500);
}
.profile-id h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.profile-id p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.75); }
.profile-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-left: auto;
}
.meta-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  min-width: 100px;
}
.meta-pill .v { font-size: 16px; font-weight: 800; color: var(--amber-500); }
.meta-pill .l { font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}
.qa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: 9px;
  color: var(--navy-900) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.qa-btn i { color: var(--navy-700); }
.qa-btn:hover { background: var(--navy-700); color: var(--white) !important; transform: translateY(-2px); }
.qa-btn:hover i { color: var(--amber-500); }

.dash-card {
  background: var(--white);
  border: 1px solid var(--cloud-200);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.dash-card-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dash-card-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--navy-900); }
.dash-card-head .note { font-size: 11.5px; color: var(--slate-400); }
.dash-card .note-block { font-size: 12.5px; color: var(--slate-600); background: var(--cloud-100); border-radius: 8px; padding: 10px 14px; margin-bottom: 18px; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
.info-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.info-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cloud-100);
  font-size: 13px;
}
.info-item span { color: var(--slate-600); }
.info-item strong { color: var(--navy-900); text-align: right; font-weight: 700; }

@media (max-width: 767px) {
  .info-grid, .info-grid.cols-3 { grid-template-columns: 1fr; }
  .profile-header { margin-top: -40px; padding: 24px; }
  .profile-meta { margin-left: 0; width: 100%; }
}

.tbl-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--cloud-200); }
.tbl-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.tbl-wrap th {
  background: var(--navy-900) !important;
  color: var(--white) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 14px !important;
  text-align: left !important;
  border: none !important;
  white-space: nowrap;
}
.tbl-wrap td {
  font-size: 13px !important;
  color: var(--ink);
  padding: 11px 14px !important;
  border: none !important;
  border-bottom: 1px solid var(--cloud-100) !important;
  text-align: left !important;
}
.tbl-wrap tr:last-child td { border-bottom: none !important; }
.tbl-wrap tr:nth-child(even) td { background: var(--cloud-100) !important; }

.status-pill { display:inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px !important; font-weight: 700; }
.status-approved { background: #e8f7ee; color: #1e6b3c; }
.status-pending { background: #fff4e0; color: #a86400; }
.status-denied { background: #fdecec; color: #a02222; }

/* ---------------------------------- Stat rows (balances + actions) --------- */
.stat-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cloud-100);
}
.stat-row:last-child { border-bottom: none; }
.stat-row-label { font-size: 13.5px; font-weight: 700; color: var(--slate-600); min-width: 140px; }
.stat-row-amount { font-size: 19px; font-weight: 800; color: var(--navy-900); min-width: 130px; }
.stat-row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }

.btn-el-sm { padding: 10px 18px; font-size: 11.5px; }

@media (max-width: 575px) {
  .stat-row-actions { margin-left: 0; width: 100%; }
  .stat-row-actions .btn-el { flex: 1; }
}

/* ---------------------------------- Announcement carousel ------------------ */
.ann-carousel {
  position: relative;
  max-width: 560px;
  margin: 18px auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cloud-100);
  box-shadow: var(--shadow-sm);
}
.ann-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.ann-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.ann-slide.active { opacity: 1; pointer-events: auto; }
.ann-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ann-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(10,38,71,0.55);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s ease;
  z-index: 2;
}
.ann-nav:hover { background: rgba(10,38,71,0.85); }
.ann-prev { left: 10px; }
.ann-next { right: 10px; }

.ann-dots {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  background: var(--white);
}
.ann-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cloud-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ann-dot.active { background: var(--amber-500); transform: scale(1.2); }

/* AOS fallback so content shows even before JS init */
[data-aos] { opacity: 1; }
