/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700&family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital@1&display=swap');

/* ── CSS Variables ── */
:root {
  --navy: #0D2B55;
  --navy-dark: #081c3a;
  --gold: #F5A623;
  --gold-dark: #d4891a;
  --blue: #2B6CB0;
  --charcoal: #1A1A2E;
  --slate: #4A5568;
  --cloud: #F7F9FC;
  --white: #FFFFFF;
  --green: #2D9B4F;
  --red: #C0392B;
  --whatsapp: #25D366;
  --border: #E2E8F0;

  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  --font-en: 'Inter', sans-serif;

  --shadow-sm: 0 2px 8px rgba(13, 43, 85, .08);
  --shadow-md: 0 8px 30px rgba(13, 43, 85, .14);
  --shadow-lg: 0 20px 60px rgba(13, 43, 85, .20);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(to bottom, rgba(247, 249, 252, 0.85), rgba(247, 249, 252, 0.95)),
    url('../images/background.png') center/cover fixed no-repeat;
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

[dir="rtl"] body {
  font-family: var(--font-ar);
}

[dir="ltr"] body {
  font-family: var(--font-en);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Typography ── */
h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.8;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .badge {
  display: inline-block;
  background: rgba(245, 166, 35, .15);
  color: var(--gold-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: .9rem;
  border: 1px solid rgba(245, 166, 35, .3);
}

.section-header h2 {
  color: var(--navy);
  margin-bottom: .8rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--slate);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(245, 166, 35, .35);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 166, 35, .45);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

#navbar.scrolled {
  background: rgba(13, 43, 85, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .2);
  padding-top: 0;
  padding-bottom: 0;
}

#navbar.scrolled .navbar-inner {
  padding-top: .85rem;
  padding-bottom: .85rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
  padding: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-ar {
  color: var(--white);
  font-family: var(--font-ar);
  font-size: 1rem;
  font-weight: 800;
}

.logo-en {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-size: .88rem;
  font-weight: 500;
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.lang-btn {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: .4rem .85rem;
  font-size: .82rem;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: .04em;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, .22);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .82rem;
  padding: .5rem 1.1rem;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateX(-100%);
  transition: transform .35s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 300;
}

[dir="rtl"] .mobile-menu .close-btn {
  right: auto;
  left: 1.5rem;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom right, rgba(8, 24, 50, .72), rgba(5, 18, 40, .82)),
    url('../images/background.png') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 116px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(245, 166, 35, .08) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

[dir="rtl"] .hero-content {
  text-align: right;
}

[dir="ltr"] .hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245, 166, 35, .15);
  border: 1px solid rgba(245, 166, 35, .4);
  color: var(--gold);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.hero-tagline {
  color: var(--gold);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.2rem;
  line-height: 1.9;
}

[dir="rtl"] .hero p {
  margin-right: 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

[dir="rtl"] .hero-btns {
  justify-content: flex-start;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  animation: bounce 2s infinite;
}

.hero-scroll span {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .3);
  display: block;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── STATS STRIP ── */
.stats-strip {
  background:
    linear-gradient(rgba(13, 43, 85, 0.92), rgba(13, 43, 85, 0.92)),
    url('../images/background.png') center/cover fixed no-repeat;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  background: var(--navy);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--navy-dark);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
  font-family: var(--font-en);
}

.stat-label {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  font-weight: 500;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

[dir="rtl"] .service-card::before {
  transform-origin: right;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(245, 166, 35, .12), rgba(43, 108, 176, .1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
}

.service-card p {
  font-size: .9rem;
  color: var(--slate);
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue);
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--gold-dark);
  gap: .7rem;
}

[dir="rtl"] .service-link .arr {
  transform: rotate(180deg);
}

/* ── WHY CHOOSE US ── */
.why-section {
  background: transparent;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.why-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.why-image-badge {
  position: absolute;
  bottom: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: .9rem 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-md);
  font-size: .88rem;
  font-weight: 600;
}

[dir="rtl"] .why-image-badge {
  right: 1.5rem;
}

[dir="ltr"] .why-image-badge {
  left: 1.5rem;
}

.why-image-badge .badge-num {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-en);
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.why-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.why-point:hover {
  background: var(--cloud);
  border-color: var(--border);
}

.why-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(245, 166, 35, .3);
}

.why-point-text {
  flex: 1;
}

.why-point h4 {
  color: var(--navy);
  margin-bottom: .2rem;
}

.why-point p {
  font-size: .88rem;
  color: var(--slate);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: transparent;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.2rem;
  font-size: 5rem;
  color: rgba(245, 166, 35, .12);
  font-family: serif;
  line-height: 1;
  font-weight: 900;
}

[dir="rtl"] .testimonial-card::before {
  right: 1.2rem;
}

[dir="ltr"] .testimonial-card::before {
  left: 1.2rem;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: .2rem;
}

.testimonial-text {
  font-size: .93rem;
  color: var(--slate);
  line-height: 1.9;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
}

[dir="rtl"] .testimonial-author {
  flex-direction: row-reverse;
  text-align: right;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--navy);
  font-size: .9rem;
}

.author-company {
  font-size: .8rem;
  color: var(--slate);
}

/* ── CERTIFICATIONS ── */
.cert-strip {
  background: transparent;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.cert-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--slate);
  font-size: .88rem;
  font-weight: 600;
  opacity: .7;
  transition: var(--transition);
  filter: grayscale(1);
}

.cert-item:hover {
  opacity: 1;
  filter: grayscale(0);
  color: var(--navy);
}

.cert-item .cert-icon {
  width: 36px;
  height: 36px;
  background: var(--cloud);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ── CTA SECTION ── */
.cta-section {
  background:
    linear-gradient(135deg, rgba(8, 28, 58, 0.88) 0%, rgba(13, 43, 85, 0.88) 60%, rgba(26, 64, 128, 0.88) 100%),
    url('../images/background.png') center/cover fixed no-repeat;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 166, 35, .08), transparent 65%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(43, 108, 176, .12), transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, .75);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background:
    linear-gradient(135deg, rgba(8, 28, 58, 0.88), rgba(13, 43, 85, 0.88)),
    url('../images/background.png') center/cover fixed no-repeat;
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  margin-bottom: .6rem;
}

.page-hero p {
  color: rgba(255, 255, 255, .7);
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.2rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  position: relative;
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, .3);
}

[dir="rtl"] .breadcrumb .sep {
  transform: rotate(180deg);
}

/* ── ABOUT PAGE ── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-story-text .tag {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .7rem;
  display: block;
}

.about-story-text h2 {
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.about-story-text p {
  margin-bottom: 1rem;
}

/* Mission Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.mv-card h3 {
  color: var(--navy);
  margin: 1rem 0 .8rem;
}

.mv-card p {
  color: var(--slate);
  font-size: .95rem;
}

.mv-card .mv-icon {
  font-size: 2.5rem;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.value-card .vi {
  font-size: 2.2rem;
  margin-bottom: .8rem;
}

.value-card h4 {
  color: var(--navy);
  margin-bottom: .5rem;
}

.value-card p {
  font-size: .88rem;
  color: var(--slate);
}

/* ── SERVICES PAGE ── */
.service-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  transition: var(--transition);
}

.service-detail:hover {
  box-shadow: var(--shadow-md);
}

.service-detail-icon-col {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  font-size: 3rem;
  min-width: 120px;
}

.service-detail-body {
  padding: 2.5rem;
}

[dir="rtl"] .service-detail-body {
  text-align: right;
}

.service-detail-body h3 {
  color: var(--navy);
  margin-bottom: .75rem;
  font-size: 1.25rem;
}

.service-detail-body p {
  color: var(--slate);
  margin-bottom: 1.2rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: var(--cloud);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.feature-tag::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* ── FAQ ── */
.faq-section {
  background: transparent;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(245, 166, 35, .12);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
  gap: 1rem;
}

[dir="rtl"] .faq-q {
  flex-direction: row-reverse;
}

.faq-item.open .faq-q {
  background: rgba(245, 166, 35, .04);
}

.faq-q h4 {
  color: var(--navy);
  font-size: .98rem;
  flex: 1;
}

[dir="rtl"] .faq-q h4 {
  text-align: right;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--cloud);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 300;
  transition: var(--transition);
  line-height: 1;
}

.faq-item.open .faq-toggle {
  background: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 1.5rem;
}

.faq-a p {
  color: var(--slate);
  font-size: .93rem;
  line-height: 1.9;
}

[dir="rtl"] .faq-a p {
  text-align: right;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 1.5rem 1.3rem;
}

/* ── TESTIMONIALS PAGE ── */
.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card-large {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card-large:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  color: var(--navy);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1rem;
}

[dir="rtl"] .contact-item {
  flex-direction: row-reverse;
  text-align: right;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.ci-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, .15), rgba(43, 108, 176, .1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ci-label {
  font-size: .78rem;
  color: var(--slate);
  margin-bottom: .15rem;
  font-weight: 500;
}

.ci-value {
  color: var(--navy);
  font-weight: 600;
  font-size: .93rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  color: var(--navy);
  margin-bottom: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .93rem;
  color: var(--charcoal);
  background: var(--cloud);
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, .12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
  text-align: right;
  direction: rtl;
}

.form-submit {
  width: 100%;
  margin-top: .5rem;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

/* ── FOOTER ── */
footer {
  background:
    linear-gradient(rgba(8, 28, 58, 0.94), rgba(8, 28, 58, 0.98)),
    url('../images/background.png') center/cover fixed no-repeat;
  padding: 4rem 0 0;
  color: rgba(255, 255, 255, .75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  margin-top: 1rem;
  line-height: 1.8;
}

.footer-logo {
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, .6);
  font-size: .88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-inline-start: .3rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .75rem;
  font-size: .88rem;
}

.footer-contact-item .fi-icon {
  color: var(--gold);
  font-style: normal;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, .4);
  font-size: .82rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: .7rem;
  margin-top: 1.2rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  z-index: 9999;
  background: var(--whatsapp);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  transition: var(--transition);
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--white);
}

[dir="rtl"] .whatsapp-float {
  left: 2rem;
}

[dir="ltr"] .whatsapp-float {
  right: 2rem;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .6);
}

/* ── LEGAL PAGES ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.legal-content h2 {
  color: var(--navy);
  margin: 2rem 0 .8rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: .6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: .6rem;
}

.legal-content ul {
  padding-inline-start: 1.5rem;
  list-style: disc;
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 6.5rem;
  z-index: 999;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

[dir="rtl"] #back-to-top {
  left: 2rem;
}

[dir="ltr"] #back-to-top {
  right: 2rem;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: .1s;
}

.stagger-2 {
  transition-delay: .2s;
}

.stagger-3 {
  transition-delay: .3s;
}

.stagger-4 {
  transition-delay: .4s;
}

.stagger-5 {
  transition-delay: .5s;
}

.stagger-6 {
  transition-delay: .6s;
}

/* ── DIVIDER ── */
.gold-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  margin: .8rem 0 1.5rem;
}

.centered .gold-divider {
  margin-left: auto;
  margin-right: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .why-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story img {
    height: 280px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail-icon-col {
    min-width: auto;
    padding: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .testimonials-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    gap: .7rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .page-hero {
    padding: 6rem 0 3.5rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .legal-content {
    padding: 1.5rem;
  }
}

/* ── SERVICES TICKER ── */
.services-ticker {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  padding: .5rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--gold);
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 998;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
}

.ticker-inner {
  display: inline-flex;
  gap: 2.5rem;
  animation: ticker-scroll 30s linear infinite;
  padding-right: 2.5rem;
}

[dir="rtl"] .ticker-inner {
  animation: ticker-scroll-rtl 30s linear infinite;
}

.ticker-inner span {
  color: rgba(255, 255, 255, .88);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0 .5rem;
}

.ticker-inner span:not(:last-child)::after {
  content: '•';
  color: var(--gold);
  margin-right: 1.25rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes ticker-scroll-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

/* ── BRANCHES SECTION ── */
.branches-section {
  background: var(--white);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.branch-card {
  background: var(--cloud);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transition: var(--transition);
}

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.branch-card:hover::before {
  transform: scaleX(1);
}

.branch-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(13, 43, 85, .25);
}

.branch-card h3 {
  color: var(--navy);
  font-size: 1rem;
}

.branch-card p {
  font-size: .84rem;
  color: var(--slate);
  line-height: 1.7;
}

.branch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: .3rem;
}

.branch-tags span {
  background: rgba(245, 166, 35, .12);
  color: var(--gold-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 50px;
  border: 1px solid rgba(245, 166, 35, .25);
}

@media (max-width: 1024px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }
}


/* ── German Layout Fixes ── */
.lang-de .hero {
  padding-top: 152px;
}

.lang-de .hero h1 {
  font-size: clamp(1.4rem, 3.8vw, 2.2rem);
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  line-height: 1.3;
}

.lang-de .hero-tagline {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.lang-de .hero p {
  font-size: 0.92rem;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.lang-de .btn {
  font-size: 0.8rem;
  padding: 0.7rem 1rem;
}

.lang-de .nav-links a {
  font-size: 0.78rem;
  padding: 0.5rem 0.5rem;
}

.lang-de .stat-label {
  font-size: 0.78rem;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.lang-de .service-card h3 {
  font-size: 0.9rem;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.lang-de .service-card p {
  font-size: 0.82rem;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.lang-de .why-point h4,
.lang-de .why-point p {
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.lang-de .branch-card h3 {
  font-size: 0.88rem;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.lang-de .footer-col ul a {
  font-size: 0.8rem;
  word-break: break-word;
}

@media (max-width: 480px) {
  .lang-de .hero {
    padding-top: 130px;
  }

  .lang-de .hero h1 {
    font-size: clamp(1.2rem, 4.5vw, 1.7rem);
  }

  .lang-de .hero-btns {
    flex-direction: column;
  }

  .lang-de .btn {
    font-size: 0.78rem;
    text-align: center;
    justify-content: center;
  }
}