/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155; line-height: 1.7; background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 0.85rem 2.2rem; border-radius: 10px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent; letter-spacing: 0.02em;
}
.btn-primary { background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(14,165,233,0.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }

/* ===== Header / Nav ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 1px 20px rgba(0,0,0,0.15);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 3px; color: #fff; }
.logo span { color: #0ea5e9; }
.nav-links { display: flex; gap: 2rem; }
.nav-links li { position: relative; }
.nav-links a {
  color: #cbd5e1; font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0; position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
  height: 2px; background: linear-gradient(90deg, #0ea5e9, #6366f1);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #0ea5e9; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.home-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1;
}
.home-icon-link:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

/* Login submenu */
.nav-item-has-submenu > .nav-main-link { cursor: pointer; }
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  padding: 0.6rem 0;
  border-radius: 10px;
  background: rgba(10, 22, 40, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 120;
}
.nav-item-has-submenu:hover > .nav-submenu { display: block; }
.nav-submenu li { width: 100%; }
.nav-submenu a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-submenu a::after { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 26px; height: 3px; background: #fff; border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; background: #0a1628;
    padding: 2rem; gap: 1.5rem;
    transform: translateY(-120%); transition: transform 0.35s;
    z-index: 99; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .nav-links.active { transform: translateY(0); }
  .nav-submenu {
    display: block;
    position: static;
    min-width: 100%;
    padding: 0.25rem 0 0.25rem 1rem;
    margin-top: 0.35rem;
    border: 0;
    border-left: 2px solid rgba(14, 165, 233, 0.35);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-submenu a {
    padding: 0.4rem 0;
    color: #94a3b8;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.3); transform: scale(1.05);
}
.hero-overlay-dark {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.6) 0%,
    rgba(10, 22, 40, 0.85) 100%
  );
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 0.4rem 1.2rem; border-radius: 50px;
  background: rgba(14,165,233,0.15); border: 1px solid rgba(14,165,233,0.3);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  color: #7dd3fc; margin-bottom: 1.5rem; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 1.25rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 640px;
  margin: 0 auto 2rem; color: #94a3b8; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Page Hero ===== */
.page-hero {
  position: relative; min-height: 50vh; display: flex;
  align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.25);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px; margin: 0 auto; color: #94a3b8;
}

/* ===== Sections ===== */
.section { padding: 6rem 0; }
.section-alt { background: #f8fafc; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; color: #0ea5e9; margin-bottom: 0.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 800;
  color: #0a1628; margin-bottom: 0.75rem;
}
.section-subtitle { color: #64748b; max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ===== About with Image ===== */
.about-with-image,
.about-with-image-reversed {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-text p { margin-bottom: 1.1rem; color: #475569; font-size: 1.05rem; }
.about-text h2 { margin-bottom: 1rem; margin-top: 0.5rem; }
.about-text .section-label { text-align: left; }
.about-text .btn { margin-top: 1rem; }
.about-image img, .about-image-left img {
  border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  width: 100%; height: 400px; object-fit: cover;
}
.about-with-image-reversed { direction: rtl; }
.about-text { direction: ltr; }
.about-image-left { direction: ltr; }

@media (max-width: 768px) {
  .about-with-image, .about-with-image-reversed { grid-template-columns: 1fr; gap: 2rem; }
  .about-with-image-reversed { direction: ltr; }
  .about-image img, .about-image-left img { height: 280px; }
}

/* ===== Service Cards (Home) ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e2e8f0; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
  transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,0.1);
  border-color: transparent;
}
.service-card-image {
  height: 180px; background-size: cover; background-position: center;
  position: relative;
}
.service-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.6));
}
.service-card-body {
  padding: 1.5rem 1.75rem 2rem;
  position: relative; z-index: 2; margin-top: -2rem;
  background: #fff; border-radius: 16px 16px 0 0;
  margin-left: 1rem; margin-right: 1rem;
}
.service-icon svg { width: 48px; height: 48px; color: #fff; margin-bottom: 0.75rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2)); }
.service-card h3 { font-size: 1.15rem; color: #0a1628; margin-bottom: 0.5rem; }
.service-card p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* ===== Full Service Cards (Services Page) ===== */
.services-full-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.service-full-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e2e8f0; transition: all 0.35s; padding-bottom: 1.5rem;
}
.service-full-card:hover {
  transform: translateY(-5px); box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
.service-full-img {
  height: 220px; background-size: cover; background-position: center;
  position: relative;
}
.service-full-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,22,40,0.5) 100%);
}
.service-full-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  display: flex; align-items: center; justify-content: center;
  margin: -28px 1.75rem 1rem; position: relative; z-index: 2;
  box-shadow: 0 8px 20px rgba(14,165,233,0.3);
}
.service-full-icon svg { width: 28px; height: 28px; color: #fff; }
.service-full-card h3 { font-size: 1.25rem; color: #0a1628; margin-bottom: 0.5rem; padding: 0 1.75rem; }
.service-full-card > p { color: #64748b; padding: 0 1.75rem; margin-bottom: 1rem; font-size: 0.95rem; }
.service-features { padding: 0 1.75rem; display: grid; gap: 0.5rem; }
.service-features li {
  color: #475569; font-size: 0.93rem; display: flex; align-items: center; gap: 0.5rem;
}
.service-features li svg { min-width: 20px; }

@media (max-width: 768px) { .services-full-grid { grid-template-columns: 1fr; } }

/* ===== Stats ===== */
.stats-inline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-bottom: 0;
}
.stat { text-align: center; padding: 1rem; }
.stat-number {
  display: block; font-size: 2.7rem; font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: #64748b; font-size: 0.95rem; font-weight: 500; }

@media (max-width: 768px) {
  .stats-inline { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ===== Banner ===== */
.banner {
  position: relative; padding: 6rem 0; text-align: center; color: #fff; overflow: hidden;
}
.banner-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.2);
}
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,0.9), rgba(15,43,74,0.85));
}
.banner-content { position: relative; z-index: 2; }
.banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.75rem;
}
.banner > .container > .banner-content > p { color: #94a3b8; font-size: 1.15rem; margin-bottom: 2.5rem; }

/* ===== Why Cards Grid (Home) ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 900px; margin: 0 auto;
}
.why-card {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.75rem;
  background: #fff; border-radius: 14px; border: 1px solid #e2e8f0;
  transition: all 0.3s;
}
.why-card:hover { border-color: #0ea5e9; box-shadow: 0 10px 30px rgba(14,165,233,0.08); }
.why-card svg { width: 36px; height: 36px; color: #0ea5e9; flex-shrink: 0; }
.why-card h4 { font-size: 1.05rem; color: #0a1628; margin-bottom: 0.3rem; }
.why-card p { color: #64748b; font-size: 0.93rem; }

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

/* ===== Advantages Grid (Why Us Page) ===== */
.advantages-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.advantage-card {
  display: flex; align-items: stretch; gap: 0; border-radius: 16px;
  overflow: hidden; background: #fff; border: 1px solid #e2e8f0;
  transition: all 0.3s;
}
.advantage-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }
.adv-img {
  width: 45%; min-height: 200px; background-size: cover; background-position: center;
  flex-shrink: 0;
}
.adv-text { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.adv-text h3 { font-size: 1.1rem; color: #0a1628; margin-bottom: 0.5rem; }
.adv-text p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

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

/* ===== Why List ===== */
.why-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem;
  max-width: 900px; margin: 0 auto;
}
.why-item { display: flex; align-items: center; gap: 0.75rem; }
.why-check { width: 22px; height: 22px; color: #0ea5e9; flex-shrink: 0; }
.why-item span { color: #475569; font-size: 1rem; }

@media (max-width: 640px) { .why-list { grid-template-columns: 1fr; } }

/* ===== Values Grid (About Page) ===== */
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.value-card {
  text-align: center; padding: 2rem; background: #fff; border-radius: 16px;
  border: 1px solid #e2e8f0; transition: all 0.35s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.value-img {
  width: 100%; height: 150px; background-size: cover; background-position: center;
  border-radius: 12px; margin-bottom: 1.5rem;
}
.value-card svg {
  width: 32px; height: 32px; color: #0ea5e9; margin: 0 auto 1rem;
}
.value-card h3 { font-size: 1.1rem; color: #0a1628; margin-bottom: 0.5rem; }
.value-card p { color: #64748b; font-size: 0.95rem; }

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

/* ===== Highlights Detailed (About) ===== */
.highlights-detailed { display: grid; gap: 2rem; margin-top: 3rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.highlight-large {
  display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center;
  background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0;
}
.highlight-img { height: 220px; background-size: cover; background-position: center; }
.highlight-large div h3 { font-size: 1.2rem; color: #0a1628; margin-bottom: 0.5rem; }
.highlight-large div p { color: #64748b; line-height: 1.7; }

@media (max-width: 640px) { .highlight-large { grid-template-columns: 1fr; } }

/* ===== Process ===== */
.process-grid {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem;
}
.process-step {
  flex: 0 0 auto; text-align: center; max-width: 220px; padding: 2rem 1rem;
}
.step-number {
  font-size: 2.5rem; font-weight: 800; color: rgba(14,165,233,0.12); margin-bottom: 0.5rem;
}
.process-step h3 { font-size: 1.15rem; color: #0a1628; margin-bottom: 0.5rem; }
.process-step p { color: #64748b; font-size: 0.9rem; }
.process-arrow { color: #0ea5e9; opacity: 0.4; flex-shrink: 0; }

@media (max-width: 768px) {
  .process-grid { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
}

/* ===== Contact ===== */
.contact-left h3 { font-size: 1.5rem; color: #0a1628; margin-bottom: 0.5rem; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
.contact-left-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.06);
  padding: 1.6rem;
}
.contact-left-head { margin-bottom: 0.8rem; }
.contact-left-head .section-label { margin-bottom: 0.25rem; }
.contact-intro {
  color: #64748b;
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
}
.partner-application,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field.full { width: 100%; }
.form-label-modern {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0f172a;
  text-transform: uppercase;
}
.partner-application input,
.partner-application select,
.partner-application textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.95rem 1.2rem; border: 1px solid #e2e8f0; border-radius: 12px;
  font-size: 1rem; font-family: inherit; color: #334155;
  transition: all 0.25s; background: #f8fafc; width: 100%;
  box-shadow: inset 0 1px 1px rgba(2, 8, 23, 0.03);
}
.partner-application input:focus,
.partner-application select:focus,
.partner-application textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.1); background: #fff;
}
.btn-submit {
  align-self: flex-start;
  border: none;
  padding: 0.95rem 2.5rem;
  font-size: 1rem;
  margin-top: 0.3rem;
}

.contact-info-panel { display: grid; gap: 1.5rem; }
.contact-info-card {
  padding: 2rem; background: #0a1628; border-radius: 16px; color: #fff;
}
.contact-info-card h4 { font-size: 1.3rem; margin-bottom: 1.5rem; letter-spacing: 1px; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.info-item a { color: #7dd3fc; }
.info-item a:hover { color: #bae6fd; }
.info-item svg { width: 22px; height: 22px; color: #0ea5e9; flex-shrink: 0; margin-top: 3px; }
.info-item p { color: #94a3b8; font-size: 0.95rem; line-height: 1.6; }
.contact-map img {
  border-radius: 16px; width: 100%; height: 200px; object-fit: cover;
  border: 1px solid #e2e8f0;
}

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

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  color: #fff; text-align: center; padding: 5rem 0;
}
.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 0.75rem;
}
.cta-content p { color: #94a3b8; font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }

/* ===== Footer ===== */
.footer { background: #0a1628; color: #94a3b8; padding: 3rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem;
}
.footer-about h3 { color: #fff; font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 1rem; }
.footer-about p { font-size: 0.95rem; line-height: 1.7; }
.footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-links a {
  display: block; color: #94a3b8; padding: 0.3rem 0; font-size: 0.9rem; transition: color 0.2s;
}
.footer-links a:hover { color: #0ea5e9; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0; text-align: center; font-size: 0.85rem;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Stagger children animation ===== */
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.3s; }

/* ===== Process Timeline ===== */
.process-timeline {
  display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 800px; margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: ''; position: absolute; left: 35px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, #0ea5e9, #6366f1);
}
.timeline-step {
  display: grid; grid-template-columns: 70px 1fr; gap: 2rem; position: relative;
}
.timeline-number {
  width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff;
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px #0ea5e9; z-index: 2;
}
.timeline-content {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e2e8f0; box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}
.timeline-step.reverse { direction: rtl; }
.timeline-step.reverse > .timeline-content { direction: ltr; }

.timeline-img {
  height: 200px; background-size: cover; background-position: center;
}
.timeline-content h3 {
  font-size: 1.25rem; color: #0a1628; padding: 1.5rem 1.5rem 0.5rem;
}
.timeline-content > p {
  color: #64748b; font-size: 0.95rem; padding: 0 1.5rem; line-height: 1.7;
}
.timeline-details {
  display: flex; gap: 2rem; padding: 1rem 1.5rem 1.5rem;
  background: #f8fafc; margin: 1rem 1.5rem; border-radius: 10px;
}
.timeline-details .detail { font-size: 0.9rem; color: #475569; }
.timeline-details .detail strong { color: #0a1628; }

@media (max-width: 640px) {
  .process-timeline::before { left: 25px; }
  .timeline-number { width: 50px; height: 50px; font-size: 1.2rem; }
  .timeline-step { grid-template-columns: 50px 1fr; gap: 1.5rem; }
  .timeline-details { flex-direction: column; gap: 0.5rem; }
}

/* ===== Communication Grid ===== */
.comm-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  max-width: 900px; margin: 2.5rem auto 0;
}
.comm-item {
  text-align: center; padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.08); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.comm-item svg {
  width: 36px; height: 36px; margin: 0 auto 0.75rem;
  color: #7dd3fc;
}
.comm-item p { color: #cbd5e1; font-size: 0.9rem; }

@media (max-width: 768px) {
  .comm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .comm-grid { grid-template-columns: 1fr; }
}

/* ===== Commission Badges ===== */
.commission-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== CTA Navigation Button ===== */
.nav-links .cta-nav {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
}
.nav-links .cta-nav:hover::after { width: 0; }

/* ===== Commission Examples Grid ===== */
.commission-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.example-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-align: center;
  position: relative;
}
.example-card.featured {
  border-color: #0ea5e9;
  box-shadow: 0 10px 30px rgba(14,165,233,0.15);
}
.example-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0ea5e9;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.example-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: #0ea5e9;
}
.example-card h4 {
  font-size: 1.1rem;
  color: #0a1628;
  margin-bottom: 0.5rem;
}
.example-card p {
  color: #64748b;
  margin-bottom: 0.5rem;
}
.example-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 1rem;
}
.example-card .earnings {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tier-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.tier-tag.t1 { background: #fef3c7; color: #92400e; }
.tier-tag.t2 { background: #dbeafe; color: #1e40af; }
.tier-tag.t3 { background: #dcfce7; color: #166534; }

/* ===== Commission Table ===== */
.tiers-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}
.tiers-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.tiers-table th,
.tiers-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.tiers-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #0a1628;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.tiers-table tr.highlight {
  background: linear-gradient(90deg, rgba(14,165,233,0.05), rgba(99,102,241,0.05));
  border-left: 4px solid #0ea5e9;
}
.tier-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.tier-badge.tier-1 { background: #64748b; }
.tier-badge.tier-2 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.tier-badge.tier-3 { background: linear-gradient(135deg, #10b981, #059669); }
.tiers-table td small {
  display: block;
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.tiers-table td strong {
  font-size: 1.5rem;
  color: #0ea5e9;
}

.tier-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  background: #f0f9ff;
  border-radius: 12px;
  border-left: 4px solid #0ea5e9;
  margin-top: 1.5rem;
}
.tier-note svg {
  width: 24px;
  height: 24px;
  color: #0ea5e9;
  flex-shrink: 0;
  margin-top: 2px;
}
.tier-note p {
  color: #0c4a6e;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Partner Application Form ===== */
.file-upload-wrapper {
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 1.15rem;
  text-align: center;
  transition: border-color 0.3s;
  margin-bottom: 0.2rem;
  background: #f8fafc;
}
.file-upload-wrapper:hover {
  border-color: #0ea5e9;
  background: #f0f9ff;
}
.file-upload-wrapper input[type="file"] {
  border: none;
  background: transparent;
  padding: 0;
}
.file-hint {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* ===== Incentives Grid (commission.html) ===== */
.incentives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.incentive-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}
.incentive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.incentive-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.incentive-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
.incentive-card h3 {
  font-size: 1.15rem;
  color: #0a1628;
  margin-bottom: 0.75rem;
}
.incentive-card p {
  color: #64748b;
  line-height: 1.6;
}

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