/* L.S GROUP - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --blue: #1E3A8A;
  --gold: #D4A017;
  --silver: #A6ABB3;
  --navy: #0F172A;
  --lightgray: #E5E7EB;
  --white: #ffffff;
  --blue-80: rgba(30,58,138,0.8);
  --blue-60: rgba(30,58,138,0.6);
  --gold-hover: #b8890f;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --shadow: 0 4px 20px rgba(30,58,138,0.12);
  --shadow-lg: 0 10px 40px rgba(30,58,138,0.18);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  background: #fff;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color .2s; }

/* Accessible keyboard focus (visible outline) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ─── Skip link (accessibility) ─── */
.skip-link {
  position: absolute; top: -40px; right: 0;
  background: var(--blue); color: #fff;
  padding: 8px 16px; z-index: 9999;
  border-radius: 0 0 4px 0; font-size: 14px;
}
.skip-link:focus { top: 0; }

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title span { color: var(--blue); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 48px;
  max-width: 600px;
}
.divider {
  width: 60px; height: 4px;
  background: var(--blue);
  border-radius: 2px; margin: 16px 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 6px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; border: 2px solid transparent;
  transition: all .25s; white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: #16306f; border-color: #16306f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,58,138,0.4); }
.btn-secondary {
  background: transparent; color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--blue); }
.btn-outline {
  background: transparent; color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-lg { padding: 15px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ─── Header / Navbar ─── */
#header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: all .3s;
}
#header.scrolled { background: rgba(15,23,42,0.97); backdrop-filter: blur(10px); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.logo-icon svg { width: 28px; height: 28px; }
.logo-text { line-height: 1.15; }
.logo-text .ls { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: 1px; }
.logo-text .ls span { color: var(--gold); }
.logo-text .group { font-size: 11px; font-weight: 600; color: var(--silver); letter-spacing: 2px; text-transform: uppercase; }

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 6px;
  color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600;
  transition: all .2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(255,255,255,0.06); }
.nav-link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border-radius: 10px;
  box-shadow: var(--shadow-lg); min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s; z-index: 100;
  border-top: 3px solid var(--gold);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 18px;
  color: var(--text-dark); font-size: 14px; font-weight: 500;
  border-bottom: 1px solid #f0f0f0; transition: all .2s;
}
.dropdown a:last-child { border-bottom: none; border-radius: 0 0 8px 8px; }
.dropdown a:hover { background: #f8f9ff; color: var(--blue); padding-right: 24px; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  display: flex; align-items: center; gap: 6px;
  color: var(--gold); font-weight: 700; font-size: 15px;
}
.header-phone svg { width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--navy); padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 20px; color: rgba(255,255,255,0.85);
  font-size: 15px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .sub { padding-right: 36px; font-size: 14px; font-weight: 400; }
.mobile-menu a.has-sub { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin: -8px -8px -8px 0; border-radius: 6px;
  color: rgba(255,255,255,0.7); flex-shrink: 0; cursor: pointer;
}
.mobile-menu .sub-toggle svg { width: 14px; height: 14px; transition: transform .25s; }
.mobile-menu .sub-toggle.open { color: var(--gold); }
.mobile-menu .sub-toggle.open svg { transform: rotate(180deg); }
.mobile-menu .sub.sub-collapsed { display: none; }
.mobile-menu .sub.sub-open { display: block; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #2d4ecc 100%);
  overflow: hidden; padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.06)"/></svg>') repeat;
}
.hero-shape {
  position: absolute; left: -100px; top: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(212,160,23,0.08); pointer-events: none;
}
.hero-shape-2 {
  position: absolute; right: -50px; bottom: -50px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold); padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 700; margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900;
  color: var(--white); line-height: 1.2; margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 540px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.hero-stat .label {
  font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 2px;
}
.hero-image {
  position: absolute; left: 0; top: 0; bottom: 0; width: 40%;
  display: flex; align-items: center; justify-content: center;
}
.hero-image-inner {
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 2px solid rgba(212,160,23,0.25);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* ─── Feature icons bar ─── */
.features-bar {
  background: var(--white);
  box-shadow: 0 6px 26px rgba(30,58,138,0.07);
  position: relative; z-index: 2;
  margin-top: -1px; padding: 36px 0;
  border-bottom: 1px solid var(--lightgray);
}
.features-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center;
}
.feature-item { padding: 20px 10px; }
.feature-item .icon-wrap {
  width: 54px; height: 54px; border-radius: 14px;
  background: #eef2fb; border: none;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; transition: all .3s;
}
.feature-item:hover .icon-wrap { background: var(--blue); }
.feature-item:hover .icon-wrap svg { color: #fff; }
.feature-item svg { width: 26px; height: 26px; color: var(--blue); transition: color .3s; }
.feature-item h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.feature-item p { font-size: 13px; color: var(--text-mid); line-height: 1.5; }

/* ─── Cards ─── */
.card {
  background: var(--white); border-radius: 12px;
  box-shadow: var(--shadow); transition: all .3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-body { padding: 28px; }
.card-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #e8f0fe, #c8d6f8);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--blue); }
.card h3 { font-size: 1.1rem; font-weight: 800; color: var(--blue); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-weight: 700; font-size: 14px; margin-top: 18px;
  transition: gap .2s;
}
.card-link:hover { gap: 10px; }

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

/* ─── Services section ─── */
.services-section { background: #f8f9ff; }
.service-img-card {
  display: block; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.service-img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img-card img { width: 100%; height: auto; display: block; }
.service-card {
  background: var(--white); border-radius: 14px;
  padding: 32px 28px; box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: all .3s;
}
.service-card:hover { border-top-color: var(--gold); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .icon {
  width: 68px; height: 68px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), #2d4ecc);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card .icon svg { width: 32px; height: 32px; color: white; }
.service-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
.service-card ul li {
  font-size: 14px; color: var(--text-mid); padding: 5px 0;
  padding-right: 20px; position: relative;
}
.service-card ul li::before {
  content: '✓'; position: absolute; right: 0;
  color: var(--gold); font-weight: 700;
}

/* ─── Stats counter ─── */
.stats-section {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white; padding: 70px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-item { padding: 20px; }
.stat-item .num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--gold); }
.stat-item .unit { font-size: 1.4rem; }
.stat-item .label { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ─── About section split ─── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: 16px; box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--navy);
  padding: 20px 24px; border-radius: 12px;
  font-weight: 900; text-align: center; box-shadow: var(--shadow);
}
.about-badge .big { font-size: 2rem; line-height: 1; }
.about-badge .small { font-size: 12px; font-weight: 600; }
.about-content .values { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-icon { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #e8f0fe, #c8d6f8); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-icon svg { width: 20px; height: 20px; color: var(--blue); }
.value-text h4 { font-size: 15px; font-weight: 700; color: var(--blue); }
.value-text p { font-size: 13px; color: var(--text-mid); }

/* ─── Testimonials ─── */
.testimonials-section { background: #f8f9ff; }
.testimonial-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  padding: 32px; box-shadow: var(--shadow); position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-size: 80px; color: var(--gold); opacity: 0.2; font-family: Georgia, serif; line-height: 1;
}
.testimonial-text { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; font-weight: 700; flex-shrink: 0;
}
.author-info .name { font-weight: 700; font-size: 15px; color: var(--blue); }
.author-info .role { font-size: 13px; color: var(--text-mid); }
.stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; }

/* Testimonials carousel */
.testi-carousel { position: relative; max-width: 720px; margin: 0 auto; padding: 0 8px; }
.testi-viewport { overflow: hidden; }
.testi-track .testimonial-card { display: none; }
.testi-track .testimonial-card.active { display: block; animation: fadeIn .4s ease; }
.testi-arrow {
  position: absolute; top: 45%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--lightgray); color: var(--blue);
  font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.testi-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.testi-arrow.prev { right: -8px; }
.testi-arrow.next { left: -8px; }
.testi-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: #cfd6e6; cursor: pointer; padding: 0; transition: all .2s; }
.testi-dot.on { background: var(--gold); width: 26px; border-radius: 5px; }
@media (max-width: 600px) {
  .testi-arrow.prev { right: -4px; }
  .testi-arrow.next { left: -4px; }
  .testi-arrow { width: 38px; height: 38px; font-size: 22px; }
}

/* ─── Blog cards ─── */
.blog-card { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: white; transition: all .3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img { height: 200px; background: linear-gradient(135deg, var(--blue), #2d4ecc); display: flex; align-items: center; justify-content: center; }
.blog-img svg { width: 60px; height: 60px; color: rgba(255,255,255,0.4); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.blog-body { padding: 24px; }
.blog-cat { font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.blog-title { font-size: 1.05rem; font-weight: 700; color: var(--blue); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 13px; color: var(--text-mid); line-height: 1.6; }
.blog-meta { display: flex; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--silver); }

/* ─── Job listings ─── */
.job-card {
  background: white; border-radius: 14px; padding: 22px 26px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 20px;
  transition: all .3s; border-right: 4px solid var(--blue);
}
.job-card:hover { box-shadow: var(--shadow-lg); transform: translateX(-4px); }
.job-icon { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, #e8f0fe, #c8d6f8); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.job-icon svg { width: 24px; height: 24px; color: var(--blue); }
.job-info { flex: 1; }
.job-title { font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.job-company { font-size: 13px; color: var(--text-mid); }
.job-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.job-tag {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 12px; background: #f0f4ff; color: var(--blue);
}
.job-tag.gold { background: #fef9e7; color: var(--gold-hover); }
.job-apply { flex-shrink: 0; }

/* ─── Team ─── */
.team-card { text-align: center; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 700; color: white;
  box-shadow: 0 8px 24px rgba(30,58,138,0.25);
}
.team-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue); }
.team-card .role { font-size: 13px; color: var(--gold); font-weight: 600; margin: 4px 0; }
.team-card p { font-size: 13px; color: var(--text-mid); }

/* ─── Form ─── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--lightgray); border-radius: 8px;
  font-size: 15px; color: var(--text-dark); background: white;
  transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,58,138,0.1); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-error { font-size: 12px; color: #e53e3e; margin-top: 4px; display: none; }
.form-group.error input,
.form-group.error textarea { border-color: #e53e3e; }
.form-group.error .form-error { display: block; }

/* ─── Contact info ─── */
.contact-info-card {
  background: var(--navy); color: white;
  border-radius: 16px; padding: 40px 32px;
}
.contact-info-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-item .ci-text .label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.contact-item .ci-text .value { font-size: 16px; font-weight: 700; color: white; margin-top: 2px; }
.contact-item .ci-text .value a { color: white; }
.contact-item .ci-text .value a:hover { color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-link {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: white; transition: all .2s;
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }
.social-link svg { width: 18px; height: 18px; }

/* ─── Page hero (inner pages) — hidden per request ─── */
.page-hero { display: none; }
body:not(.home) #main { padding-top: 72px; }
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 140px 0 80px; color: white; text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 12px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { font-size: 10px; }

/* ─── Accordion ─── */
.accordion { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.acc-item { border-bottom: 1px solid var(--lightgray); background: white; }
.acc-item:last-child { border-bottom: none; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; font-size: 15px; font-weight: 700; color: var(--blue);
  background: none; border: none; cursor: pointer; text-align: right; gap: 12px;
  transition: background .2s;
}
.acc-btn:hover { background: #f8f9ff; }
.acc-btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s; color: var(--gold); }
.acc-btn.open { color: var(--gold); }
.acc-btn.open svg { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body.open { max-height: 400px; }
.acc-body-inner { padding: 4px 24px 20px; font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* ─── Partners logos ─── */
.partners-section { background: #f8f9ff; padding: 50px 0; }
.partners-title { text-align: center; font-size: 14px; font-weight: 700; color: var(--text-mid); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 32px; }
.partners-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.partner-logo {
  height: 44px; display: flex; align-items: center; justify-content: center;
  background: white; padding: 8px 20px; border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07); font-weight: 800; font-size: 15px;
  color: var(--text-mid); transition: all .2s;
}
.partner-logo:hover { color: var(--blue); box-shadow: var(--shadow); }

/* ─── CTA banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--blue) 70%, #2d4ecc);
  padding: 70px 0; text-align: center; color: #fff;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 14px; }
.cta-banner p { font-size: 1.05rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; opacity: 0.85; }
.cta-banner .btn {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35); color: #fff;
}
.cta-banner .btn:hover { background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.cta-banner .btn-2 {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35); color: #fff; margin-right: 12px;
}
.cta-banner .btn-2:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

/* ─── Footer ─── */
#footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo-text .ls { font-size: 24px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 16px 0 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: all .2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--gold); padding-right: 6px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold); }

/* ─── Accessibility widget ─── */
.a11y-btn {
  position: fixed; left: 20px; bottom: 20px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: white; border: none;
  box-shadow: 0 4px 16px rgba(30,58,138,0.5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; font-size: 22px;
}
.a11y-btn:hover { background: var(--gold); color: var(--navy); transform: scale(1.08); }
.a11y-panel {
  position: fixed; left: 80px; bottom: 20px; z-index: 998;
  background: white; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 20px; min-width: 240px;
  display: none; border-top: 3px solid var(--gold);
}
.a11y-panel.open { display: block; }
.a11y-panel h4 { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--text-mid); }
.a11y-toggle {
  position: relative; width: 42px; height: 22px;
  background: #ddd; border-radius: 11px; border: none; cursor: pointer; transition: background .2s;
}
.a11y-toggle::after { content: ''; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; transition: transform .2s; }
.a11y-toggle.on { background: var(--blue); }
.a11y-toggle.on::after { transform: translateX(-20px); }
.font-size-controls { display: flex; gap: 8px; margin-top: 8px; }
.font-size-controls button {
  flex: 1; padding: 6px; border-radius: 6px; border: 1px solid var(--lightgray);
  background: white; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--blue);
}
.font-size-controls button:hover { background: var(--blue); color: white; }

/* ─── Whatsapp float ─── */
.wa-float {
  position: fixed; left: 20px; bottom: 84px; z-index: 997;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  transition: all .2s; font-size: 24px;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); }
.wa-float svg { width: 28px; height: 28px; }

/* ─── Back to top ─── */
#back-top {
  position: fixed; left: 20px; bottom: 148px; z-index: 996;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--navy); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow); transition: all .2s;
  opacity: 0; pointer-events: none;
}
#back-top.show { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--blue); color: white; transform: translateY(-3px); }
#back-top svg { width: 20px; height: 20px; }

/* ─── Tables ─── */
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: white; }
th { background: var(--blue); color: white; padding: 14px 18px; font-size: 14px; font-weight: 700; text-align: right; }
td { padding: 13px 18px; font-size: 14px; color: var(--text-mid); border-bottom: 1px solid #f0f0f0; }
tr:hover td { background: #f8f9ff; }
tr:last-child td { border-bottom: none; }

/* ─── Badges / Tags ─── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.badge-blue { background: #e8f0fe; color: var(--blue); }
.badge-gold { background: #fef9e7; color: var(--gold-hover); }
.badge-green { background: #e6f9f0; color: #15803d; }
.badge-gray { background: #f3f4f6; color: #6b7280; }

/* ─── Search bar ─── */
.search-bar {
  display: flex; gap: 0; border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.search-bar input {
  flex: 1; padding: 15px 20px; border: none; font-size: 15px;
  outline: none; border: 2px solid var(--lightgray); border-left: none; border-radius: 10px 0 0 10px;
}
.search-bar select {
  padding: 15px 16px; border: 2px solid var(--lightgray); border-right: none;
  font-size: 14px; color: var(--text-mid); outline: none; background: white;
}
.search-bar button {
  padding: 15px 28px; background: var(--blue); color: white;
  border: none; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.search-bar button:hover { background: var(--navy); }

/* ─── Pagination ─── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--lightgray); background: white; color: var(--text-mid);
  transition: all .2s;
}
.page-btn:hover, .page-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

/* ─── High contrast / accessibility overrides ─── */
body.high-contrast {
  --blue: #0000cc; --gold: #cc8800;
  background: #000 !important; color: #fff !important;
}
body.high-contrast .card, body.high-contrast .service-card { background: #111 !important; }
body.large-text { font-size: 19px !important; }
body.large-text .nav-link { font-size: 16px; }

/* ─── Animations ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.animate-fadeup { animation: fadeUp .7s ease both; }
.animate-fadein { animation: fadeIn .6s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .3s; }
.anim-delay-4 { animation-delay: .4s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-phone span { display: none; }
  .about-split { grid-template-columns: 1fr; }
  .about-image-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .features-bar-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .search-bar { flex-direction: column; border-radius: 10px; }
  .search-bar input, .search-bar select, .search-bar button { border-radius: 8px !important; border: 2px solid var(--lightgray); }
  .partners-row { gap: 20px; }
  .cta-banner .btn { display: block; text-align: center; margin: 8px auto; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stats { gap: 15px; }
}

/* ─── Job posters gallery ─── */
.poster-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.poster-card {
  position: relative; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); background: #fff; cursor: pointer;
  border: 1px solid var(--lightgray); transition: all .3s;
}
.poster-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.poster-card img {
  width: 100%; height: 340px; object-fit: cover; object-position: top;
  display: block; transition: transform .4s;
}
.poster-card:hover img { transform: scale(1.04); }
.poster-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: 12px; padding: 20px;
  background: linear-gradient(0deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0) 55%);
  opacity: 0; transition: opacity .3s;
}
.poster-card:hover .poster-overlay { opacity: 1; }
.poster-overlay { pointer-events: none; }
.poster-overlay .zoom-hint {
  color: #fff; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.poster-overlay .btn { pointer-events: auto; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,23,42,0.92); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute; top: 20px; left: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.lightbox-close:hover { background: var(--gold); color: var(--navy); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 30px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.lightbox-nav:hover { background: var(--gold); color: var(--navy); }
.lightbox-nav.prev { right: 20px; }
.lightbox-nav.next { left: 20px; }

@media (max-width: 900px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .poster-grid { grid-template-columns: 1fr; gap: 18px; }
  .poster-card img { height: auto; }
  .poster-overlay { opacity: 1; background: linear-gradient(0deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0) 45%); }
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
}

/* ─── Contact page grid (fix mobile overflow) ─── */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  #contact-form > div[style*="grid"],
  #register-form > div[style*="grid"] { grid-template-columns: 1fr !important; }
}

/* ─── Back-to-top button removed ─── */
#back-top { display: none !important; }

/* ─── Logo icon removed (keep wordmark) ─── */
.logo-icon { display: none !important; }

/* ─── Stats sections removed site-wide ─── */
.stats-section { display: none !important; }

/* ─── Home page: header hidden at top, reveals on scroll ─── */
body.home #header:not(.scrolled) {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}
body.home .hero { padding-top: 0; }

/* ─── Mobile header: group CTA (phone + register) next to hamburger ─── */
@media (max-width: 1024px) {
  .header-inner { gap: 10px; }
  .header-cta { margin-right: auto; gap: 8px; }
}

/* ─── About section (home): blue accents ─── */
.about-blue-btn { background: var(--blue); color: #fff; border-color: var(--blue); }
.about-blue-btn:hover { background: #16306f; border-color: #16306f; }

/* ─── Admin panel ─── */
.admin-modal {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(15,23,42,0.7); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.admin-modal.open { display: flex; }
.admin-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 640px;
  box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
  margin: 20px 0; overflow: hidden;
}
.admin-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: #fff; padding: 16px 22px;
}
.admin-head h3 { font-size: 1.15rem; font-weight: 800; color: var(--gold); }
.admin-tabs { display: flex; gap: 6px; }
.admin-tab {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; padding: 7px 14px; border-radius: 8px; font-size: 13px;
  font-weight: 700; cursor: pointer; font-family: inherit; transition: all .2s;
}
.admin-tab.active { background: #fff; color: var(--navy); border-color: #fff; }
.admin-pane[hidden] { display: none; }
.admin-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.admin-logout { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.admin-logout:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.admin-add, .admin-list-wrap { padding: 20px 22px; }
.admin-add { border-bottom: 1px solid var(--lightgray); background: #f8f9ff; }
.admin-add h4, .admin-list-wrap h4 { font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.admin-add label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin: 10px 0 4px; }
.admin-add input[type="text"], .admin-add input[type="file"] {
  width: 100%; padding: 10px 12px; border: 2px solid var(--lightgray);
  border-radius: 8px; font-size: 14px; outline: none;
}
.admin-add input[type="text"]:focus { border-color: var(--blue); }
.admin-preview { margin: 12px 0; }
.admin-preview img { max-height: 160px; border-radius: 8px; box-shadow: var(--shadow); }
.admin-add .btn { margin-top: 12px; }
.admin-msg { font-size: 13px; color: var(--blue); font-weight: 600; margin-top: 10px; min-height: 18px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; }
.admin-item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--lightgray); border-radius: 10px; padding: 8px 10px; background: #fff;
}
.admin-item.is-hidden { opacity: 0.5; }
.admin-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.admin-title-edit { flex: 1; min-width: 0; border: 1px solid transparent; background: transparent; font-size: 13px; font-weight: 600; color: var(--text-dark); padding: 6px; border-radius: 6px; }
.admin-title-edit:focus { border-color: var(--blue); outline: none; background: #fff; }
.admin-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
.admin-item-actions button {
  border: 1px solid var(--lightgray); background: #fff; border-radius: 6px;
  padding: 5px 8px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--blue);
}
.admin-item-actions button:hover:not(:disabled) { background: var(--blue); color: #fff; }
.admin-item-actions button:disabled { opacity: 0.35; cursor: default; }
.admin-item-actions button.del { color: #e53e3e; border-color: #f3c1c1; }
.admin-item-actions button.del:hover { background: #e53e3e; color: #fff; }

/* ─── Hero images (index) ─── */
.hero-mobile-img { display: none; }
.hero-mobile-btn { display: none; }
.hero-desktop-img { display: none; }
.hero-desktop-btn { display: none; }

/* Desktop: full banner image instead of text hero */
@media (min-width: 769px) {
  .hero-mobile { min-height: auto; padding: 0; background: var(--navy); display: block; }
  .hero-mobile .hero-content,
  .hero-mobile .hero-shape,
  .hero-mobile .hero-shape-2,
  .hero-mobile .hero-bg,
  .hero-mobile .container { display: none; }
  .hero-mobile .hero-desktop-img { display: block; width: 100%; height: auto; }
  .hero-mobile .hero-desktop-btn {
    display: inline-flex; position: absolute; z-index: 3;
    top: 74%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35); color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }
  .hero-mobile .hero-desktop-btn:hover {
    background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%) translateY(-2px);
  }
}
@media (max-width: 768px) {
  .hero-mobile { min-height: auto; padding: 72px 0 0; background: var(--navy); }
  .hero-mobile .hero-content,
  .hero-mobile .hero-shape,
  .hero-mobile .hero-shape-2,
  .hero-mobile .hero-bg { display: none; }
  .hero-mobile .hero-mobile-img {
    display: block; width: 100%; height: auto; margin: 0 auto;
  }
  .hero-mobile .hero-mobile-btn {
    display: inline-flex; position: absolute; z-index: 3;
    top: 55%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }
  .hero-mobile .hero-mobile-btn:hover {
    background: rgba(255,255,255,0.24);
    border-color: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%) translateY(-2px);
  }
}
