:root {
  --primary: #1e4976;
  --accent: #f58220;
  --dark: #0f2740;
  --light: #f4f7fb;
  --text: #1a2b3c;
  --muted: #5c6f82;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(15, 39, 64, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --site-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --bs-gutter-x: var(--site-gutter);
}

.site-header .container,
.site-footer .container,
.site-main .container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1320px;
}

html[dir="rtl"] body { font-family: "Tajawal", "Plus Jakarta Sans", sans-serif; }
html[dir="ltr"] body { font-family: "Plus Jakarta Sans", "Inter", sans-serif; }

body {
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

.site-header {
  transition: var(--transition);
  backdrop-filter: blur(12px);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(15, 39, 64, 0.08);
}

.btn-accent {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245, 130, 32, 0.35);
  color: #fff;
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

.hero-section {
  min-height: 100vh;
  position: relative;
}
.hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 39, 64, 0.88) 0%, rgba(30, 73, 118, 0.55) 55%, rgba(15, 39, 64, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 120px;
}

.section-padding { padding: 100px 0; }
.section-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
}

.card-premium {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
}
.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15, 39, 64, 0.16);
}

.stat-card {
  background: linear-gradient(145deg, var(--primary), #163a5c);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.stat-card .value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(245, 130, 32, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html[dir="rtl"] .floating-actions { right: auto; left: 24px; }

.floating-actions a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.floating-actions a:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--primary); }
.fab-top { background: var(--accent); opacity: 0; pointer-events: none; }
.fab-top.show { opacity: 1; pointer-events: auto; }

#backToTop.show { opacity: 1; }

.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2rem;
}

.partner-logo {
  filter: grayscale(1);
  opacity: 0.7;
  transition: var(--transition);
  max-height: 48px;
  width: auto;
}
.partner-logo:hover {
  filter: none;
  opacity: 1;
}

.mega-menu {
  min-width: min(520px, 100vw);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.admin-sidebar {
  min-height: 100vh;
  background: var(--dark);
  color: #fff;
}
.admin-sidebar a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.about-section .section-title::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
html[dir="rtl"] .about-section .section-title::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.about-vision-card {
  background: var(--light);
  border: 1px solid rgba(30, 73, 118, 0.08);
  box-shadow: 0 12px 40px rgba(15, 39, 64, 0.06);
}

.about-image-wrap {
  position: relative;
  min-height: 360px;
}
.about-image-wrap img {
  min-height: 360px;
}
.about-image-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(15, 39, 64, 0.92));
  color: #fff;
  text-align: center;
}

.cta-section {
  color: #fff;
  border-radius: calc(var(--radius) * 2);
  padding: 0;
  min-height: 320px;
}
.cta-section-overlay {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(15, 39, 64, 0.88), rgba(30, 73, 118, 0.78));
  border-radius: calc(var(--radius) * 2);
}

@media (min-width: 992px) {
  .about-section .section-title::after,
  html[dir="rtl"] .about-section .section-title::after {
    left: 0;
    transform: none;
  }
  html[dir="rtl"] .about-section .section-title::after {
    left: auto;
    right: 0;
  }
}

.site-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid rgba(30, 73, 118, 0.08);
  color: var(--text);
}

.site-footer-heading {
  color: var(--dark);
}

.site-footer-text {
  color: var(--muted);
}

.site-footer-link {
  color: var(--muted);
  transition: var(--transition);
}

.site-footer-link:hover {
  color: var(--primary);
}

.site-footer-divider {
  border-color: rgba(30, 73, 118, 0.1);
  opacity: 1;
}

.text-accent {
  color: var(--accent);
}

.italy-partners-hero {
  position: relative;
  padding-top: 0.5rem;
}

.italy-flag-accent {
  width: 72px;
  height: 48px;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  background: linear-gradient(90deg, #009246 33.33%, #ffffff 33.33% 66.66%, #ce2b37 66.66%);
  box-shadow: 0 8px 24px rgba(15, 39, 64, 0.12);
}

html[dir="rtl"] .italy-partners-hero .italy-flag-accent {
  margin-right: 0;
}

.italy-partner-card {
  background: #fff;
  border: 1px solid rgba(30, 73, 118, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(15, 39, 64, 0.04);
}

.italy-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 39, 64, 0.1);
  border-color: rgba(245, 130, 32, 0.35);
}

.italy-partner-logo {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.italy-partners-section .italy-partner-logo {
  max-height: 64px;
}

.btn-download-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-download-profile--icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
}

.site-header-actions {
  flex-shrink: 0;
  flex-wrap: nowrap;
}

@media (max-width: 991.98px) {
  .site-header-actions {
    flex-wrap: wrap;
    width: 100%;
    margin-top: 0.75rem;
  }
}
