/* ========================================
   SIGMATEX CONSULTING – Main Stylesheet
   ======================================== */

:root {
  --navy: #0d2137;
  --navy-mid: #163352;
  --teal: #1b8c6e;
  --teal-light: #22b58a;
  --teal-pale: #e6f7f2;
  --accent: #f0a500;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #6b7a8d;
  --bg-light: #f4f8fb;
  --border: #dde6ed;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(13,33,55,0.10);
  --shadow-hover: 0 8px 40px rgba(13,33,55,0.18);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ======= TOPBAR ======= */
.topbar {
  background: var(--navy);
  color: #aac4d8;
  font-size: 1.05rem;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #aac4d8; transition: var(--transition); }
.topbar a:hover { color: var(--teal-light); }

.topbar-contact {
  display: flex;
  gap: 16px;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}
.topbar-contact a { color: #aac4d8; transition: var(--transition); }
.topbar-contact a:hover { color: var(--teal-light); }

/* ======= NAVBAR ======= */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow-x: clip;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  box-sizing: border-box;
  width: 100%;
  overflow: visible;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; }
.logo-text { min-width: 0; }
.logo-icon {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--navy) 50%, var(--teal) 100%);
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(27,140,110,0.25);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
}
.logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}
.logo-name-sigma { color: var(--navy); }
.logo-name-tex { color: var(--teal); }
.logo-name > span:nth-child(3) { margin-left: 0.35rem; }
.logo-name-sub {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin-left: 0.35rem;
}
.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--text-light);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy);
  border-radius: var(--radius);
  transition: var(--transition);
  display: block;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--teal);
  background: var(--teal-pale);
}

.btn-nav {
  background: var(--teal) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--teal-light) !important; }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 210px;
  box-shadow: var(--shadow);
  z-index: 100;
  padding: 8px 0;
}
.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-menu li a:hover { background: var(--teal-pale); color: var(--teal); }
.dropdown:hover .dropdown-menu { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  background: var(--navy);
  border: none;
  width: 46px;
  height: 46px;
  position: relative;
  cursor: pointer;
  margin-left: 12px;
  padding: 10px;
  z-index: 1001;
  border-radius: 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(13,33,55,0.18);
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.hamburger:hover {
  background: var(--teal);
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open { background: var(--teal); }
.hamburger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ======= BUTTONS ======= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,140,110,0.3); }
.btn-outline { border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--teal); }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: var(--navy-mid); }

/* ======= HERO ======= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a6e 100%);
  color: white;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27,140,110,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: rgba(27,140,110,0.2);
  border: 1px solid rgba(27,140,110,0.5);
  color: var(--teal-light);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.8rem;
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--teal-light); }
.hero p {
  font-size: 1.05rem;
  color: #b8d0e4;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.stat-card .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--teal-light);
  display: block;
}
.stat-card .label { font-size: 0.82rem; color: #aac4d8; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.hero-card:hover { background: rgba(255,255,255,0.12); transform: translateX(6px); }
.hero-card .icon { font-size: 2rem; }
.hero-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.hero-card p { font-size: 0.82rem; color: #b8d0e4; }

/* ======= SECTION COMMON ======= */
section { padding: 80px 0; }
.section-label {
  display: inline-block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--navy);
  letter-spacing: 1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-light);
  max-width: 600px;
  font-size: 1rem;
}
.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ======= SERVICES CARDS ======= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.4rem; margin-bottom: 18px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.service-card .read-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.88rem;
}
.service-card .read-more:hover { text-decoration: underline; }

/* ======= SERVICES (New cards layout) ======= */
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 12px;
}
.services-cards .service-card {
  width: 100%;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.services-cards .service-card h3 {
  margin-bottom: 10px;
}
.services-cards .service-card ul {
  list-style: disc inside;
  margin-top: 14px;
  padding-left: 18px;
}
.services-cards .service-card ul li {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 8px;
  white-space: normal;
  word-break: break-word;
}
.services-cards .service-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3.6em;
}
.services-cards .services-cta {
  grid-column: 1 / -1;
  margin-top: 18px;
}

@media (max-width: 992px) {
  .services-cards { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .services-cards { grid-template-columns: 1fr; padding: 0; }
}

/* ======= TRAINING CARDS ======= */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.training-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.training-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.training-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: white;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.training-card-header .tc-icon { font-size: 1.6rem; }
.training-card-header h3 { font-size: 1rem; font-weight: 700; }
.training-card-header span { font-size: 0.78rem; color: #aac4d8; }
.training-card-body { padding: 20px 22px; }
.training-card-body ul li {
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--text-light);
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.training-card-body ul li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.training-card-footer {
  padding: 16px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.training-card-footer .mode {
  font-size: 0.78rem;
  color: var(--text-light);
}
.training-card-footer a { font-size: 0.85rem; color: var(--teal); font-weight: 600; }

/* ======= WHY US ======= */
.why-section { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-list { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  min-width: 46px; height: 46px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
}
.why-item h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.why-item p { font-size: 0.88rem; color: var(--text-light); }

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-stat {
  background: white;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--teal);
}
.why-stat .big { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; color: var(--navy); display: block; }
.why-stat .label { font-size: 0.82rem; color: var(--text-light); }

/* ======= TESTIMONIALS ======= */
.testimonials-section { background: var(--navy); color: white; }
.testimonials-section .section-title { color: white; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
}
.testi-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 12px; }
.testi-card p { font-size: 0.9rem; color: #b8d0e4; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: white;
}
.testi-name { font-weight: 600; font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: #7dd3b0; }

/* ======= CTA BANNER ======= */
.cta-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: white;
  text-align: center;
  padding: 70px 0;
}
.cta-section h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; letter-spacing: 2px; margin-bottom: 14px; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ======= PAGE HERO (Inner pages) ======= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; letter-spacing: 2px; margin-bottom: 10px; }
.page-hero p { font-size: 1rem; color: #b8d0e4; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: #7dd3b0; margin-top: 14px; }
.breadcrumb a { color: #7dd3b0; }

/* ======= ABOUT PAGE ======= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-img-box {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 40px 30px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}
.about-img-box .logo-preview { flex: 0 0 auto; }
.about-img-box p { margin: 0 auto; max-width: 100%; }
.about-img-box .logo-preview {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-box .logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.about-img-box .big-logo { font-family: 'Bebas Neue', sans-serif; font-size: 5rem; letter-spacing: 6px; }
.about-img-box p { font-size: 0.88rem; color: #b8d0e4; max-width: 260px; margin: 0 auto; }
.about-services-list {
  list-style: disc inside;
  color: var(--text-light);
  margin: 0;
  padding-left: 18px;
  max-width: 560px;
}
.about-services-list li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-hover); border-color: var(--teal); }
.value-card .vi { font-size: 2.5rem; margin-bottom: 12px; }
.value-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.87rem; color: var(--text-light); }

/* ======= TEAM ======= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.team-photo {
  height: 160px;
  background: linear-gradient(135deg, var(--navy-mid), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: white;
  letter-spacing: 2px;
}
.team-card .team-info { padding: 18px; }
.team-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.team-card span { font-size: 0.8rem; color: var(--teal); font-weight: 600; }

/* ======= CONTACT PAGE ======= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}
.contact-info-box { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ci-icon {
  width: 46px; height: 46px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ci-text h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 4px; }
.ci-text p, .ci-text a { font-size: 0.88rem; color: var(--text-light); }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27,140,110,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ======= SERVICES PAGE ======= */
.services-detailed { padding: 80px 0; }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block-img {
  min-height: 360px;
  border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bg1 { background: linear-gradient(135deg, #e6f7f2, #d0f0e5); }
.bg2 { background: linear-gradient(135deg, #e8f0fb, #d0e0f5); }
.bg3 { background: linear-gradient(135deg, #fff7e6, #fcecd0); }
.bg4 { background: linear-gradient(135deg, #fde8e8, #f9d0d0); }
.bg5 { background: linear-gradient(135deg, #f0eef8, #e6e4f4); }
.service-block-content h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: var(--navy); margin-bottom: 18px; letter-spacing: 1px; }
.service-block-content p { color: var(--text-light); font-size: 1rem; line-height: 1.9; margin-bottom: 22px; max-width: 620px; }
.service-block-content ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.service-block-content ul li {
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: normal;
  word-break: break-word;
}
.service-block-content ul li::before { content: '▸'; color: var(--teal); font-size: 0.9rem; }
@media (max-width: 992px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
  .service-block-img { min-height: 280px; }
}
@media (max-width: 640px) {
  .service-block { padding: 40px 0; }
  .service-block-img { min-height: 220px; }
}

/* ======= TRAINING PAGE ======= */
.training-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.mode-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.mode-card:hover { box-shadow: var(--shadow-hover); border-color: var(--teal); }
.mode-card .icon { font-size: 2.5rem; margin-bottom: 14px; }
.mode-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.mode-card p { font-size: 0.87rem; color: var(--text-light); }

/* ======= FOOTER ======= */
.footer { background: var(--navy); color: #b8d0e4; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand .footer-logo .logo-icon { width: 72px; height: 72px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  transition: var(--transition);
}
.social-links a:hover { background: var(--teal); color: white; }

.footer-col h4 { color: white; font-size: 0.95rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--teal); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 0.87rem; color: #7a9ab5; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--teal-light); }
.contact-list li { font-size: 0.87rem; color: #7a9ab5; margin-bottom: 9px; }
.contact-list a { color: #7a9ab5; }
.contact-list a:hover { color: var(--teal-light); }

.footer-bottom {
  padding: 18px 0;
  display: flex;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: #5a7a90;
  width: 100%;
}
.footer-bottom a { color: #5a7a90; }
.footer-bottom a:hover { color: var(--teal-light); }

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
  .hero-inner, .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .training-grid, .testimonials-grid, .training-modes { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.8rem; }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
  .logo-icon { width: 76px; height: 76px; }
  .logo-name { font-size: 1.7rem; }
  .logo-tagline { white-space: nowrap; font-size: 0.6rem; }
}

@media (max-width: 768px) {
  .topbar-right { display: none; }
  .hamburger { display: flex; flex-shrink: 0; }
  .logo-text { min-width: 0; overflow: hidden; }
  .logo-name { overflow-wrap: break-word; word-break: break-word; }
  .nav-inner { padding: 10px 16px; gap: 8px; }
  .logo { min-width: 0; flex: 1; overflow: hidden; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    padding-top: 80px; /* offset below navbar height */
    box-shadow: var(--shadow);
    gap: 4px;
    align-items: flex-start;
    z-index: 999;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
  .dropdown:hover .dropdown-menu { display: none; }
  .services-grid, .training-grid, .testimonials-grid, .training-modes, .why-visual, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .logo-icon { width: 62px; height: 62px; }
  .logo-name { font-size: 1rem; }
  .logo-tagline { white-space: nowrap; font-size: 0.55rem; }
}

/* ======= ANIMATIONS ======= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Certificate page */
.certificate-section {
  padding: 80px 0 100px;
}
.certificate-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(360px, 1fr);
  gap: 40px;
  align-items: start;
}
.certificate-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.certificate-form h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.certificate-form p {
  color: var(--text-light);
  margin-bottom: 28px;
}
.certificate-form .form-group label {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: block;
}
.certificate-form .form-group input,
.certificate-form .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  background: #fbfdff;
}
.certificate-form .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.certificate-preview {
  display: flex;
  justify-content: center;
}
.certificate-card {
  width: 100%;
  max-width: 740px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
  border: 2px solid rgba(27,140,110,0.18);
  border-radius: 30px;
  padding: 42px 44px;
  box-shadow: 0 18px 48px rgba(10,34,62,0.12);
  position: relative;
}
.certificate-card::before,
.certificate-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.certificate-card::before {
  width: 120px;
  height: 120px;
  top: -30px;
  right: -30px;
  background: var(--teal);
}
.certificate-card::after {
  width: 80px;
  height: 80px;
  bottom: -20px;
  left: -20px;
  background: var(--accent);
}
.certificate-header {
  text-align: center;
  margin-bottom: 36px;
}
.certificate-header span {
  display: inline-block;
  color: var(--teal);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.certificate-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.certificate-body {
  text-align: center;
  color: var(--text-light);
}
.certificate-body p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.certificate-body h1,
.certificate-body h2 {
  margin: 0;
}
.certificate-body h1 {
  font-size: 3rem;
  color: var(--navy);
  margin: 18px 0 8px;
}
.certificate-body h2 {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 18px;
}
.certificate-date {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 12px;
}
.certificate-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
  align-items: center;
}
.certificate-signature {
  border-top: 1px dashed var(--border);
  padding-top: 18px;
  text-align: center;
  color: var(--text-light);
}
.certificate-signature p {
  margin: 8px 0 0;
  color: var(--navy);
  font-weight: 600;
}
.certificate-id-block {
  border-top: 1px dashed var(--border);
  padding-top: 18px;
  text-align: center;
  color: var(--text-light);
}
.certificate-id-block p {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 600;
}
@media (max-width: 980px) {
  .certificate-grid { grid-template-columns: 1fr; }
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease;
}

#preloader.loaded {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.loader-logo-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    z-index: 10;
    opacity: 0;
    transform: scale(0.5);
    animation: logo-entrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    object-fit: cover;
}

.loader-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid transparent;
    border-top-color: var(--teal-light);
    border-bottom-color: var(--teal-light);
    border-radius: 50%;
    animation: loader-spin 2s linear infinite;
}

.loader-circle-outer {
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(27, 140, 110, 0.25);
    border-radius: 50%;
    animation: loader-pulse 1.5s ease-in-out infinite alternate;
}

.loader-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--white);
    display: flex;
    gap: 0.1rem;
    opacity: 0;
    animation: text-fade-in 0.5s ease forwards 0.4s;
}

.loader-text span:nth-child(n+6) {
    color: var(--teal-light);
}

.loader-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    color: #7a9ab5;
    letter-spacing: 4px;
    margin-top: 0.5rem;
    text-transform: uppercase;
    opacity: 0;
    animation: text-fade-in 0.5s ease forwards 0.55s;
}

@keyframes logo-entrance {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loader-pulse {
    0% { transform: scale(0.95); opacity: 0.4; }
    100% { transform: scale(1.05); opacity: 1; }
}

@keyframes text-fade-in {
    to { opacity: 1; }
}