@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('animations.css');

:root {
  --navy: #0a1f3d;
  --navy-light: #132d52;
  --gold: #c9a84c;
  --gold-light: #e4c878;
  --gold-dark: #a8872e;
  --cream: #f4f0e8;
  --light-bg: #f8f9fb;
  --text: #2c3e50;
  --text-muted: #6c757d;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(10, 31, 61, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
  text-align: right;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* Header */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(10, 31, 61, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow); }

.header-container { padding: 12px 0; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .brand-icon {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.navbar-brand .brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.4px;
  line-height: 1.15;
  white-space: nowrap;
}

.navbar-brand .brand-accent { color: var(--gold); }

@media (max-width: 480px) {
  .navbar-brand .brand-text { display: none; }
}

.navbar-brand img:not(.brand-icon) { height: 52px; width: auto; }

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--gold);
}

.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--navy);
}

.lang-switch {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
}

.lang-switch:hover { color: var(--gold); border-color: var(--gold); }

/* Hero Slider */
.main-slider {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
}

.split-wrapper {
  display: flex;
  min-height: 100vh;
}

.hero-text-panel {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-text-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}

.hero-image-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 30%, rgba(10,31,61,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  opacity: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content h1 span { color: var(--gold); }

.hero-content p {
  color: rgba(255,255,255,1);
  font-size: 18px;
  margin-bottom: 35px;
  line-height: 1.9;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 15px; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 4px;
}

.hero-stat p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin: 0;
}

.social-sidebar {
  position: absolute;
  left: 30px;
  bottom: 40px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-sidebar a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}

.social-sidebar a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Swiper Hero */
.hero-swiper { width: 100%; height: 100vh; position: relative; z-index: 1; isolation: isolate; }
.hero-swiper .swiper-slide { position: relative; }
.hero-swiper .hero-shapes { z-index: 1; }
.hero-swiper .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.15;
}

.hero-swiper .slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(10,31,61,0.8) 0%, rgba(10,31,61,0.66) 55%, rgba(10,31,61,0.6) 100%);
}
.hero-swiper .slide-content {
  position: relative;
  z-index: 6;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 120px 80px 80px;
  opacity: 1;
}
.hero-swiper .hero-content h1,
.hero-swiper .hero-content p,
.hero-swiper .hero-badge,
.hero-swiper .hero-buttons .btn,
.hero-swiper .hero-stats {
  opacity: 1;
}
.hero-swiper .swiper-pagination {
  z-index: 6;
}
.hero-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  width: 10px;
  height: 10px;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 30px;
  border-radius: 5px;
}

/* Sections */
section { padding: 90px 0; }
.section-label {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 680px;
}

/* About */
.about-company { background: var(--light-bg); }
.about-company .about-text { font-size: 18px; line-height: 2; }

/* Home office showcase */
.office-showcase {
  background: var(--light-bg);
  padding: 10px 0 30px;
}
.office-showcase-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 31, 61, 0.08);
}
.office-showcase-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 620px;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}
.stat-box:hover { transform: translateY(-6px); }
.stat-box .stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box .stat-label { font-size: 15px; color: var(--text-muted); font-weight: 500; }

/* Services */
.services { background: var(--white); }
.service-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 35px 30px;
  border: 1px solid rgba(10,31,61,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* height:100% only in equal-height grids (homepage cards) */
.services-grid .service-card {
  height: 100%;
}

/* inner pages: stacked cards must not stretch */
.service-detail .service-card {
  height: auto;
}

.service-detail .sidebar-col {
  align-self: flex-start;
}

.service-card--sidebar {
  height: auto !important;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  background: var(--white);
}
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
  color: var(--gold);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.service-link {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover { color: var(--navy); }

/* Why Us */
.why-us { background: var(--navy); color: #fff; }
.why-us .section-title { color: #fff; }
.why-us .section-desc { color: rgba(255,255,255,0.7); }
.why-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.why-item .why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
}
.why-item h4 { color: var(--gold); font-size: 1rem; margin-bottom: 6px; }
.why-us .why-item p { color: rgba(255,255,255,0.75); font-size: 15px; margin: 0; }
.about-company .why-item p {
  color: var(--text);
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}
.about-company .why-item .why-icon {
  background: rgba(10, 31, 61, 0.06);
  border-color: rgba(201, 168, 76, 0.45);
}

/* Partners strip */
.partners-strip {
  background: var(--cream);
  padding: 50px 0;
}
.partner-logo {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px 30px;
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

/* Projects */
.projects { background: var(--light-bg); }
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.project-card:hover { transform: translateY(-6px); }
.project-card .project-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 25px 30px;
  color: #fff;
}
.project-card .project-header h3 { color: var(--gold); font-size: 1.1rem; margin-bottom: 8px; }
.project-card .project-header p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; }
.project-card .project-body { padding: 25px 30px; }
.project-card .project-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.project-card .project-body li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-card .project-body li::before {
  content: '◆';
  color: var(--gold);
  font-size: 8px;
}

/* Courses / In Act */
.courses-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  padding: 60px;
  border-radius: var(--radius);
  color: #fff;
  margin-bottom: 40px;
}
.courses-hero h2 { color: var(--gold); margin-bottom: 15px; }
.course-card {
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
  height: 100%;
}
.course-card .course-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 15px;
}
.course-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.course-topics { list-style: none; padding: 0; }
.course-topics li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.course-topics li::before { content: '✓ '; color: var(--gold); font-weight: 700; }

/* Team */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.team-card:hover { transform: translateY(-6px); }
.team-card .team-img {
  height: 280px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(201,168,76,0.3);
  overflow: hidden;
}
.team-card .team-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card .team-body { padding: 25px; }
.team-card .team-role {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.team-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Q&A Challenges */
.challenge-section { background: var(--cream); }
.challenge-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
  border-right: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.challenge-card .question {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 15px;
}
.challenge-card ul { list-style: none; padding: 0; margin: 0; }
.challenge-card li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
}
.challenge-card li::before { content: '✔ '; color: var(--gold); font-weight: 700; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 50%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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='%23c9a84c' fill-opacity='0.05'%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");
}
.cta-section h2 { color: #fff; font-size: 2.2rem; margin-bottom: 15px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 30px; position: relative; }

/* Insights */
.insight-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
  height: 100%;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insight-card .insight-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 48px;
}
.insight-card .insight-body { padding: 25px; }
.insight-card .insight-tag {
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}
.insight-card h3 { font-size: 1.05rem; margin: 12px 0; }
.insight-card p { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; }
.insight-card .insight-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.insight-card .insight-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Article detail */
.article-wrap { padding: 80px 0; }
.article-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.article-content h2 { font-size: 1.75rem; margin-bottom: 20px; color: var(--navy); }
.article-content h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--gold-dark); }
.article-content p { line-height: 1.9; margin-bottom: 16px; color: var(--text); }
.article-content ul { margin-bottom: 16px; padding-right: 20px; }
.article-content li { margin-bottom: 8px; line-height: 1.8; }
.article-back { margin-top: 32px; }

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to left, var(--gold), var(--gold-light), var(--gold));
}
.page-header h1 { color: #fff; font-size: 2.8rem; margin-bottom: 15px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 18px; max-width: 600px; }
.breadcrumb-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}
.breadcrumb-nav a { color: var(--gold); }
.breadcrumb-nav span { color: rgba(255,255,255,0.5); }

/* Contact */
.contact-box {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.contact-box:hover { background: var(--cream); }
.contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 22px;
}
.contact-form {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 40px;
}
.form-control, .form-select {
  border: 1px solid rgba(10,31,61,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding-top: 70px;
  padding-bottom: 0;
  margin-bottom: 0;
}
.footer-top-bar {
  background: rgba(201,168,76,0.1);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 20px 0;
  margin-bottom: 50px;
}
.footer-social { display: flex; gap: 15px; justify-content: center; }
.footer-social a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer h5 { color: var(--gold); font-size: 16px; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-links a:hover { color: var(--gold); padding-right: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 25px 0;
  margin-top: 50px;
  font-size: 14px;
}
.footer-bottom a { color: var(--gold); }

/* Scroll top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* Animations */
/* Animations — visible by default; hidden only when JS is active */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-anim .fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.js-anim .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Industries grid */
.industry-item {
  background: var(--white);
  border: 1px solid rgba(10,31,61,0.08);
  border-radius: var(--radius);
  padding: 25px 20px;
  text-align: center;
  transition: var(--transition);
}
.industry-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.industry-item i { font-size: 32px; color: var(--gold); margin-bottom: 12px; display: block; }
.industry-item span { font-weight: 600; font-size: 14px; color: var(--navy); }

/* Careers */
.job-card {
  background: var(--white);
  border: 1px solid rgba(10,31,61,0.08);
  border-radius: var(--radius);
  padding: 25px 30px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  transition: var(--transition);
}
.job-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.job-card h4 { margin: 0 0 5px; font-size: 1.1rem; }
.job-card p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* Values */
.value-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--light-bg);
  border-radius: var(--radius);
  height: 100%;
}
.value-card i { font-size: 36px; color: var(--gold); margin-bottom: 15px; display: block; }
.value-card h4 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

.contact-sidebar-img {
  max-height: 220px;
  object-fit: cover;
  object-position: center bottom;
}

/* Brand / flyer showcase */
.brand-showcase {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,76,0.25);
}
.brand-showcase img { width: 100%; display: block; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  padding: 28px 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  border-top: 3px solid var(--gold);
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 800;
  border-radius: 50%;
  font-size: 15px;
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); margin: 0; }

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid rgba(10,31,61,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
}
.download-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.download-card i {
  font-size: 36px;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.download-card h4 { font-size: 1rem; margin: 0 0 4px; }
.download-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

.team-showcase {
  margin-bottom: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-showcase img { width: 100%; display: block; }

.challenge-card .badge-36h {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .split-wrapper { flex-direction: column; }
  .hero-image-panel { height: 300px; }
  .hero-text-panel { padding: 100px 30px 60px; }
  .hero-swiper .slide-content { padding: 100px 30px 60px; }
  .social-sidebar { display: none; }
  section { padding: 60px 0; }
  .page-header { padding: 130px 0 60px; }
  .page-header h1 { font-size: 2rem; }
}

@media (max-width: 767px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .courses-hero { padding: 30px; }
}

/* ── Language switcher ── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: rgba(10, 31, 61, 0.06);
  border-radius: 50px;
  border: 1px solid rgba(10, 31, 61, 0.1);
}
.lang-switch-btn {
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.lang-switch-btn:hover {
  color: var(--gold-dark);
}
.lang-switch-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35);
}
.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
@media (max-width: 1199px) {
  .lang-switch { margin-top: 8px; }
}

/* ── LTR (English) overrides ── */
html[dir="ltr"] body.lang-en {
  text-align: left;
}
html[dir="ltr"] .navbar-nav {
  margin-left: auto !important;
  margin-right: 0 !important;
}
html[dir="ltr"] .header-actions {
  margin-left: auto !important;
  margin-right: 0 !important;
}
html[dir="ltr"] .ms-1, html[dir="ltr"] .ms-2, html[dir="ltr"] .ms-3,
html[dir="ltr"] .ms-auto, html[dir="ltr"] .ms-xl-auto {
  margin-left: 0 !important;
}
html[dir="ltr"] .ms-1 { margin-right: 0.25rem !important; }
html[dir="ltr"] .ms-2 { margin-right: 0.5rem !important; }
html[dir="ltr"] .ms-3 { margin-right: 1rem !important; }
html[dir="ltr"] .ms-auto { margin-right: auto !important; }
html[dir="ltr"] .ms-xl-auto { margin-right: auto !important; }
html[dir="ltr"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
html[dir="ltr"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
html[dir="ltr"] .text-md-start { text-align: right !important; }
html[dir="ltr"] .text-lg-start { text-align: right !important; }
html[dir="ltr"] .service-link i.bi-arrow-left::before {
  content: "\f12f";
}
html[dir="ltr"] .social-sidebar {
  left: auto;
  right: 30px;
}
html[dir="ltr"] blockquote {
  border-right: none;
  border-left: 4px solid var(--gold);
  padding-right: 0;
  padding-left: 20px;
}
html[dir="ltr"] .breadcrumb-nav span + span {
  margin-left: 0;
}
html[dir="ltr"] .footer-links li i {
  margin-left: 0;
  margin-right: 0.5rem;
}
html[dir="ltr"] .article-back .btn i.bi-arrow-right::before {
  content: "\f12f";
}
html[dir="ltr"] .process-step::before {
  margin: 0 auto 14px;
}
html[dir="ltr"] .challenge-card ul,
html[dir="ltr"] .project-body ul,
html[dir="ltr"] .course-topics {
  padding-left: 1.25rem;
  padding-right: 0;
}
html[dir="ltr"] .contact-form .btn i {
  margin-left: 0;
  margin-right: 0.5rem;
}
