:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --primary: #1467a6;
  --primary-dark: #0d4a78;
  --accent: #1fb8a8;
  --accent-dark: #148f82;
  --dark: #102534;
  --text: #33454f;
  --muted: #718992;
  --bg: #ffffff;
  --bg-alt: #f3f8fa;
  --border: #e2edf0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 37, 52, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 37, 52, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
}

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

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

svg { width: 22px; height: 22px; flex-shrink: 0; }

.tag {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(31, 184, 168, 0.12);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 184, 168, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }

/* Top bar */
.topbar {
  background: var(--dark);
  color: #cfe3e8;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 15px; height: 15px; }
.topbar-item a:hover { color: var(--accent); }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(16, 37, 52, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.logo-icon {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--primary);
  line-height: 1;
}
.logo-text b {
  font-weight: 700;
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--accent); }

.nav-dropdown { position: relative; flex-shrink: 0; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
}
.nav-dropdown-trigger:hover { color: var(--accent); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  width: 560px;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  z-index: 200;
}
.nav-dropdown-menu.open { display: grid; }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--accent-dark); }
.nav-dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-icon svg { width: 16px; height: 16px; color: #fff; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 9px 14px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 200;
}
.rtl .lang-menu { right: auto; left: 0; }
.lang-menu.open { display: flex; }
.lang-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.lang-menu a:hover { background: var(--bg-alt); }
.lang-menu a.active { color: var(--accent-dark); font-weight: 700; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(13, 74, 120, 0.93), rgba(20, 103, 166, 0.82) 55%, rgba(31, 184, 168, 0.55)),
    url('../images/hero-bg.jpg') center 20% / cover no-repeat;
}
.hero-slider { position: relative; height: 100%; min-height: 640px; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(31, 184, 168, 0.35), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.08), transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: #fff;
}
.hero-content .hero-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.25;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
}
.hero-dot.active { background: #fff; width: 28px; border-radius: 6px; transition: all 0.3s; }

/* Hero decorative visual */
.hero-visual {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
}
.hero-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroPulse 3.2s ease-in-out infinite;
}
.hero-orbit svg { width: 64px; height: 64px; color: #fff; }
.hero-badge {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFloat 4.5s ease-in-out infinite;
}
.hero-badge svg { width: 30px; height: 30px; color: #fff; }
.hero-badge.badge-1 { top: 0; left: 10px; animation-delay: 0s; }
.hero-badge.badge-2 { top: 20px; right: 0; animation-delay: 0.6s; }
.hero-badge.badge-3 { bottom: 20px; left: 0; animation-delay: 1.2s; }
.hero-badge.badge-4 { bottom: 0; right: 10px; animation-delay: 1.8s; }

@keyframes heroPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255,255,255,0.04); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 1200px) {
  .hero-visual { right: 3%; width: 260px; height: 260px; }
  .hero-orbit { width: 150px; height: 150px; }
  .hero-badge { width: 56px; height: 56px; }
}
@media (max-width: 992px) {
  .hero-visual { display: none; }
}

/* Section head */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-subtitle { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

section { padding: 90px 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-visual-card {
  position: relative;
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lg);
}
.about-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.about-visual-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFloat 4.5s ease-in-out infinite;
}
.about-visual-badge svg { width: 34px; height: 34px; color: var(--accent-dark); }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 26px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list svg { width: 20px; height: 20px; color: var(--accent-dark); background: rgba(31,184,168,.12); border-radius: 50%; padding: 4px; }

/* Why us */
.whyus { background: var(--bg-alt); }
.whyus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.whyus-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.whyus-card:hover { transform: translateY(-6px); }
.whyus-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(20, 103, 166, 0.18);
  margin-bottom: 10px;
}
.whyus-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.whyus-card p { color: var(--muted); }

/* Gallery */
.gallery { background: var(--bg-alt); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 14px;
  background: linear-gradient(to top, rgba(16, 37, 52, 0.85), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.service-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.service-card-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.06); }
.service-icon {
  position: relative;
  z-index: 2;
  margin: -22px 0 0 20px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.service-icon svg { width: 26px; height: 26px; color: #fff; }
.service-card h3 { font-size: 1.05rem; margin: 12px 26px 10px; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin: 0 26px 26px; }

/* Stats */
.stats {
  background:
    linear-gradient(135deg, rgba(13, 74, 120, 0.92), rgba(20, 103, 166, 0.88)),
    url('../images/stats-bg.jpg') center 30% / cover no-repeat;
  padding: 60px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: #fff; }
.stat-label { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-top: 6px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 30px; }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-detail .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong { font-size: 0.95rem; color: var(--dark); }
.contact-detail a:hover { color: var(--accent-dark); }

.contact-form-wrap {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button { align-self: flex-start; border: none; }
.form-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 0.92rem;
}
.form-alert.success { background: rgba(31, 184, 168, 0.15); color: var(--accent-dark); }
.form-alert.error { background: rgba(220, 60, 60, 0.12); color: #b3352f; }

/* Blog */
.blog-hero {
  background:
    linear-gradient(115deg, rgba(13, 74, 120, 0.93), rgba(20, 103, 166, 0.85) 55%, rgba(31, 184, 168, 0.6)),
    url('../images/stats-bg.jpg') center 30% / cover no-repeat;
  padding: 90px 0 70px;
  text-align: center;
}
.blog-hero .tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
.blog-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 4px 0 14px; }
.blog-hero .section-subtitle { color: rgba(255, 255, 255, 0.88); max-width: 560px; margin: 0 auto; }

.blog-list { padding: 60px 0 100px; }

.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 56px;
  transition: transform 0.25s ease;
}
.blog-featured:hover { transform: translateY(-4px); }
.blog-featured-image { min-height: 280px; overflow: hidden; }
.blog-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-featured:hover .blog-featured-image img { transform: scale(1.04); }
.blog-featured-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 1.6rem; line-height: 1.35; margin: 12px 0 14px; }
.blog-featured-body p { color: var(--muted); margin-bottom: 18px; }
.blog-tag-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(31, 184, 168, 0.12);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.blog-card-image { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-date { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 1.08rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; flex: 1; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.88rem;
}
.blog-featured .blog-read-more { align-self: flex-start; }

/* Blog post detail */
.blog-post-hero {
  padding: 130px 0 60px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.blog-back-light { color: rgba(255, 255, 255, 0.9) !important; }
.blog-post-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); max-width: 780px; margin: 14px 0 16px; line-height: 1.3; }
.blog-post-meta { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }

.blog-post { padding: 60px 0 100px; }
.blog-post-container { max-width: 760px; margin: 0 auto; }
.blog-back {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.blog-post-body p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
}
.blog-post-body p:first-of-type {
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 500;
}
.blog-post-cta {
  margin-top: 50px;
  padding: 34px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-align: center;
}
.blog-post-cta h3 { margin-bottom: 10px; }
.blog-post-cta p { color: var(--muted); margin-bottom: 22px; }

.blog-related { margin-top: 64px; }
.blog-related h3 { font-size: 1.3rem; margin-bottom: 24px; }
.blog-grid-related { grid-template-columns: repeat(3, 1fr); }
.blog-grid-related .blog-card-body p { display: none; }

/* Service detail page */
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.92); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; }

.service-hero {
  padding: 130px 0 60px;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.service-hero .breadcrumb { justify-content: center; display: flex; flex-wrap: wrap; }
.service-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.service-hero-icon svg { width: 36px; height: 36px; color: #fff; }
.service-hero h1 { color: #fff; max-width: 700px; margin: 0 auto 16px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.service-hero-intro { color: rgba(255, 255, 255, 0.9); max-width: 600px; margin: 0 auto 30px; font-size: 1.05rem; line-height: 1.7; }

.service-subgrid { padding: 56px 0 0; }
.service-subgrid .service-card h3 { margin-bottom: 26px; }

.service-detail { padding: 70px 0 100px; }
.service-detail-container { max-width: 760px; margin: 0 auto; }
.service-section { margin-bottom: 44px; }
.service-section h2 { font-size: 1.5rem; margin-bottom: 16px; }
.service-section p { font-size: 1.05rem; line-height: 1.8; color: var(--text); }

.service-benefit-list { display: flex; flex-direction: column; gap: 14px; }
.service-benefit-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.service-benefit-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
  background: rgba(31, 184, 168, 0.12);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
}

.service-steps { display: flex; flex-direction: column; gap: 18px; list-style: none; counter-reset: none; }
.service-steps li { display: flex; align-items: flex-start; gap: 16px; }
.service-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-pricing {
  margin-top: 50px;
  padding: 34px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-align: center;
}
.service-pricing h3 { margin-bottom: 10px; }
.service-pricing p { color: var(--muted); margin-bottom: 22px; }
.service-pricing-contact { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.service-pricing-contact .btn { display: inline-flex; align-items: center; gap: 8px; border: none; }
.service-pricing-contact .btn svg { width: 18px; height: 18px; }

.service-blog-link {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 50px;
  transition: all 0.25s ease;
}
.service-blog-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-blog-link-image { aspect-ratio: 4 / 3; height: 100%; }
.service-blog-link-image img { width: 100%; height: 100%; object-fit: cover; }
.service-blog-link-body { padding: 20px 24px 20px 0; }
.service-blog-link-body h3 { font-size: 1.1rem; margin: 8px 0 8px; line-height: 1.35; }
.service-blog-link-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }

.service-related { margin-top: 64px; }
.service-related h3 { font-size: 1.3rem; margin-bottom: 24px; }
.services-grid-related { grid-template-columns: repeat(3, 1fr); }
.services-grid-related .service-card p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 992px) {
  .services-grid-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-hero { padding: 110px 0 40px; }
  .services-grid-related { grid-template-columns: 1fr; }
  .service-blog-link { grid-template-columns: 1fr; }
  .service-blog-link-image { aspect-ratio: 16 / 9; }
  .service-blog-link-body { padding: 4px 20px 20px; }
}

/* Footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.75); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col .logo { margin-bottom: 16px; }
.footer-col .logo-text { color: #fff; }
.footer-col .logo-text b { color: var(--accent); }
.footer-social { margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 20px; height: 20px; }
.footer-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
  box-shadow: var(--shadow);
}
.footer-logo-badge .logo-icon { height: 40px; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 12px; color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bottom-inner p { margin: 0; }
.footer-credit::before { content: '\2022'; margin-right: 8px; opacity: 0.6; }
.footer-credit a { color: rgba(255, 255, 255, 0.75); font-weight: 600; }
.footer-credit a:hover { color: var(--accent); }
@media (max-width: 480px) {
  .footer-bottom-inner { flex-direction: column; gap: 4px; }
  .footer-credit::before { display: none; }
}

/* Floating actions */
.floating-actions {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 150;
}
.rtl .floating-actions { right: auto; left: 26px; }
.rtl .hero-visual { right: auto; left: 7%; }
.rtl .about-visual-badge { right: auto; left: -18px; }
.rtl .service-icon { margin: -22px 20px 0 0; }
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--primary); }
.float-btn.instagram { background: radial-gradient(circle at 30% 110%, #fdf497, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; max-width: 380px; margin: 0 auto; }
  .whyus-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-image { min-height: 220px; }
  .blog-featured-body { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav switches to the hamburger/dropdown menu here — wide enough that the
   full-width bar (logo + 6 nav links + lang switch + CTA) never runs out
   of room and overlaps the logo. Hamburger takes over at the exact same
   breakpoint so there's no gap where neither menu is visible. */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .header-actions .btn-primary { display: none; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 4px 0; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 8px 0 8px 12px;
    margin-top: 8px;
    border-inline-start: 2px solid var(--border);
  }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .header-inner { padding: 12px 16px; gap: 10px; }
  .logo { gap: 6px; }
  .logo-icon { height: 34px; }
  .logo-text { font-size: 1.05rem; }
  .header-actions { gap: 8px; }
  .lang-current { padding: 7px 9px; font-size: 0.8rem; gap: 3px; }
  .lang-current svg { display: none; }
  .hamburger { padding: 4px; }
  .hero, .hero-slider { min-height: 420px; }
  .hero-slide { padding-top: 36px; }
  .hero-content p { margin-bottom: 22px; }
  .hero-dots { bottom: 16px; }
  .whyus-grid, .services-grid, .footer-grid, .stats-grid, .gallery-grid, .blog-grid { grid-template-columns: 1fr; }
  .blog-post-hero { padding: 110px 0 40px; }
  .topbar-inner { justify-content: center; text-align: center; }
}
