/* =========================================
   MCGS SARL - Portfolio Website
   Colors: Green #1B7A3D | Yellow #F5C518 | Red #CE1126
   ========================================= */

/* --- CSS Variables --- */
:root {
  --green: #1B7A3D;
  --green-dark: #0F4D27;
  --green-light: #27AE60;
  --yellow: #F5C518;
  --yellow-dark: #D4A017;
  --red: #CE1126;
  --red-dark: #A30E1F;

  --dark: #0F1624;
  --dark-2: #1A2332;
  --dark-3: #243447;
  --light: #F4F7FA;
  --light-2: #E8EDF2;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RTL Support --- */
html[dir="rtl"] {
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;
}

html[dir="rtl"] .nav-links { direction: rtl; }
html[dir="rtl"] .hero-trust { direction: rtl; }
html[dir="rtl"] .section-header { direction: rtl; }
html[dir="rtl"] .about-grid { direction: rtl; }
html[dir="rtl"] .contact-grid { direction: rtl; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .faq-question { text-align: right; }
html[dir="rtl"] .faq-question i { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .contact-item { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .info-card { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .team-category ul li { flex-direction: row-reverse; }

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

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

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 30px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-m { color: var(--green); }
.loader-r { color: var(--yellow); }

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--dark-3);
  border-radius: 4px;
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  border-radius: 4px;
  animation: loadProgress 1.5s ease forwards;
}

@keyframes loadProgress {
  to { width: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* --- Navigation --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(15, 22, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-icon {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
}

.logo-m { color: var(--green); }
.logo-r { color: var(--yellow); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1001;
}

.lang-switcher {
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  letter-spacing: 1px;
}

.lang-btn:hover { color: var(--white); }

.lang-btn.active {
  background: var(--green);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(27,122,61,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245,197,24,0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(206,17,38,0.15) 0%, transparent 50%);
  animation: heroShift 12s ease-in-out infinite alternate;
}

@keyframes heroShift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-20px, -10px); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.15) 1px, transparent 0),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.1) 1px, transparent 0),
    radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,0.12) 1px, transparent 0),
    radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,0.08) 1px, transparent 0),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.1) 1px, transparent 0);
  background-size: 200px 200px;
  animation: starsFloat 40s linear infinite;
  z-index: 1;
}

@keyframes starsFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%);
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

/* --- Hero Staggered Entrance --- */
.hero-badge,
.hero-logo-large,
#hero h1,
.hero-subtitle,
.hero-buttons,
.hero-trust {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease forwards;
}

.hero-badge { animation-delay: 0.3s; }
.hero-logo-large { animation-delay: 0.5s; }
#hero h1 { animation-delay: 0.7s; }
.hero-subtitle { animation-delay: 0.9s; }
.hero-buttons { animation-delay: 1.1s; }
.hero-trust { animation-delay: 1.3s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(27,122,61,0.2);
  border: 1px solid rgba(27,122,61,0.4);
  border-radius: var(--radius-xl);
  color: var(--green-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.hero-logo-large {
  margin-bottom: 24px;
}

.hero-m {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: var(--green);
  text-shadow: 0 0 40px rgba(27,122,61,0.3);
  animation: glowPulseGreen 3s ease-in-out infinite alternate;
}

.hero-r {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(245,197,24,0.3);
  animation: glowPulseYellow 3s ease-in-out infinite alternate;
}

@keyframes glowPulseGreen {
  from { text-shadow: 0 0 30px rgba(27,122,61,0.2); }
  to { text-shadow: 0 0 60px rgba(27,122,61,0.5), 0 0 120px rgba(27,122,61,0.15); }
}

@keyframes glowPulseYellow {
  from { text-shadow: 0 0 30px rgba(245,197,24,0.2); }
  to { text-shadow: 0 0 60px rgba(245,197,24,0.5), 0 0 120px rgba(245,197,24,0.15); }
}

.hero-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-light);
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-top: -10px;
}

#hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27,122,61,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp-hero {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp-hero:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}

/* --- Hero Trust Badges --- */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.trust-item:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.trust-item i {
  color: var(--green-light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.trust-item:hover i {
  transform: scale(1.2);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll a {
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-alt {
  background: var(--light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(27,122,61,0.1);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-dark .section-tag {
  background: rgba(27,122,61,0.2);
  color: var(--green-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  border-radius: 3px;
}

.section-header .section-title {
  display: inline-block;
}

.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.section-desc.light { color: var(--text-light); }

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-2);
}

.about-content > p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.values-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.about-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,122,61,0.1);
  color: var(--green);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--green), var(--yellow)) border-box;
}

.value-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Services Section --- */
.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.services-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 16px;
}

.services-slider::-webkit-scrollbar { display: none; }

.services-slider .service-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dark-3);
  background: var(--dark-2);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover { background: var(--green); border-color: var(--green); }
.slider-prev { left: -8px; }
.slider-next { right: -8px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--dark-3);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active { background: var(--green); width: 28px; border-radius: 5px; }

.service-card {
  padding: 36px 28px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27,122,61,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,122,61,0.15);
  color: var(--green-light);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.service-capabilities {
  list-style: none;
  margin-bottom: 16px;
}

.service-capabilities li {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 5px 0 5px 20px;
  position: relative;
}

.service-capabilities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
}

html[dir="rtl"] .service-capabilities li {
  padding: 5px 20px 5px 0;
}

html[dir="rtl"] .service-capabilities li::before {
  left: auto;
  right: 0;
}

.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245,197,24,0.1);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  letter-spacing: 0.5px;
}

/* --- Project Navigation --- */
.project-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-nav-btn {
  padding: 10px 20px;
  border: 1px solid var(--light-2);
  border-radius: var(--radius-xl);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.project-nav-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27,122,61,0.15);
}

.project-nav-btn.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(27,122,61,0.3);
  transform: translateY(-2px);
}

/* --- Projects / Case Studies --- */
.case-study {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  margin-bottom: 0;
  overflow: hidden;
  display: none;
  animation: fadeInCase 0.4s ease;
}

.case-study.active {
  display: block;
}

@keyframes fadeInCase {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.case-study:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--yellow);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 28px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.case-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.case-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.case-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
  background: rgba(27,122,61,0.08);
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 20px 28px;
  margin: 0;
  background: var(--light);
  border-top: 1px solid var(--light-2);
  border-bottom: 1px solid var(--light-2);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
}

.meta-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.case-body {
  padding: 24px 28px;
  display: grid;
  gap: 20px;
}

.case-section h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.case-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.case-section ul {
  list-style: none;
}

.case-section ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.6;
}

.case-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

html[dir="rtl"] .case-study { border-left: 1px solid var(--light-2); border-right: 4px solid var(--green); }
html[dir="rtl"] .case-study:hover { border-right-color: var(--yellow); }
html[dir="rtl"] .case-section ul li { padding: 4px 18px 4px 0; }
html[dir="rtl"] .case-section ul li::before { left: auto; right: 0; }

/* --- Methodology Section --- */
.method-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 0 10px;
}

.method-timeline-line {
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--green));
  opacity: 0.4;
}

html[dir="rtl"] .method-timeline-line { left: 40px; right: 40px; }

.method-tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.method-tl-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  font-size: 1rem;
  margin-bottom: 14px;
  transition: var(--transition);
}

.method-tl-step:hover .method-tl-dot {
  background: var(--green);
  color: var(--white);
  transform: scale(1.1);
}

.method-tl-content {
  max-width: 120px;
}

.method-tl-num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-light);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.method-tl-content h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* --- Partners Section --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.partner-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.partner-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  margin: 0 auto 14px;
}

.partner-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.partner-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Equipment Section --- */
.equip-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.equip-cap-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--green);
  transition: var(--transition);
}

.equip-cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.equip-cap-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,122,61,0.08);
  color: var(--green);
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.equip-cap-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.equip-cap-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.equip-cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equip-cap-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 2;
}

.equip-cap-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

[dir="rtl"] .equip-cap-list li {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .equip-cap-list li::before {
  left: auto;
  right: 0;
}

.equip-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 32px;
  font-style: italic;
}

/* --- Certifications Section --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cert-card {
  padding: 32px;
  padding-left: 36px;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--yellow);
}

.cert-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.cert-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.cert-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cert-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 12px;
  background: var(--light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-family: monospace;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(27,122,61,0.1);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
}

.cert-badge i { font-size: 0.9rem; }

/* --- Team Section --- */
.team-content { max-width: 900px; margin: 0 auto; }

.team-director { text-align: center; margin-bottom: 50px; }

.director-card {
  display: inline-block;
  padding: 40px 50px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius-md);
  position: relative;
}

.director-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.director-avatar {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.director-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.director-role {
  color: var(--green-light);
  font-weight: 500;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.team-category {
  padding: 28px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: var(--radius-md);
}

.team-category:last-child {
  grid-column: 1 / -1;
}

.team-category h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dark-3);
}

.team-category ul { display: flex; flex-direction: column; gap: 10px; }

.team-category li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.team-category li i {
  color: var(--green-light);
  width: 20px;
  text-align: center;
}

.trades-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trade-tag {
  padding: 6px 14px;
  background: var(--dark-3);
  color: var(--text-light);
  font-size: 0.8rem;
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.trade-tag:hover {
  background: var(--green);
  color: var(--white);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,122,61,0.1);
  color: var(--green);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a {
  color: var(--green);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--text-muted);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- WhatsApp CTA --- */
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #dcfce7 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.whatsapp-cta-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.whatsapp-cta-text {
  flex: 1;
  min-width: 180px;
}

.whatsapp-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.whatsapp-cta-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  padding: 10px 24px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

/* --- Form Divider --- */
.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-2);
}

.form-divider span {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
}

/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--light-2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,122,61,0.08);
}

.form-group select {
  color: var(--text-light);
  cursor: pointer;
}

.form-group select:valid { color: var(--text); }

.form-group textarea { resize: vertical; }

.form-trust {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-trust::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--green);
  margin-right: 6px;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: rgba(27,122,61,0.3); }
.faq-item.active { border-color: var(--green); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: var(--transition);
}

.faq-question i {
  color: var(--green);
  transition: var(--transition);
  font-size: 0.8rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- Footer --- */
#footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--dark-3);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--text-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-2);
  color: var(--text-light);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green-light);
  padding-left: 6px;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 6px;
}

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: var(--green);
  width: 16px;
}

.footer-contact a {
  color: var(--text-light);
}

.footer-contact a:hover { color: var(--green-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Back to Top --- */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 99;
}

html[dir="rtl"] #backToTop {
  right: auto;
  left: 30px;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  z-index: 99;
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

html[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* --- Scroll Animations --- */
/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variant: slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Variant: slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Variant: scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Section header animation */
.section-header .section-tag,
.section-header .section-title,
.section-header .section-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible .section-tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.section-header.visible .section-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.section-header.visible .section-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* Stagger children inside grids */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

/* Section title underline draw animation */
.section-title::after {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.section-header .section-title::after {
  width: 0;
}

.section-header.visible .section-title::after {
  width: 60px;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1024px) {
  .services-slider .service-card { flex: 0 0 calc(50% - 12px); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .method-timeline { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .method-timeline-line { display: none; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .hamburger { display: flex; }

  .hero-m, .hero-r { font-size: 4rem; }
  #hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-trust { gap: 20px; }

  .section { padding: 70px 0; }
  .section-title { font-size: 1.8rem; }

  .services-slider .service-card { flex: 0 0 calc(100% - 8px); }
  .slider-btn { display: none; }
  .cert-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-info-cards { grid-template-columns: 1fr; }
  .method-tl-step { flex: 0 0 calc(33.333% - 12px); }
  .project-nav-btn { padding: 8px 14px; font-size: 0.8rem; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-capabilities-grid { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr 1fr; }
  .case-header { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .equip-cap-card { padding: 24px; }

  .director-card { padding: 30px 24px; }
  .director-card h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-m, .hero-r { font-size: 3rem; }
  #hero h1 { font-size: 1.3rem; }
  .hero-logo-text { letter-spacing: 6px; font-size: 0.9rem; }
  .hero-content { padding: 100px 16px 60px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .partners-grid { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr; }
  .hero-trust { gap: 10px 20px; justify-content: center; }
  .trust-item { font-size: 0.75rem; gap: 6px; flex: 0 0 calc(50% - 20px); justify-content: center; }
  .trust-item i { font-size: 0.9rem; }
  .method-tl-dot { width: 40px; height: 40px; font-size: 0.85rem; }
  .method-tl-content h4 { font-size: 0.75rem; }
  .method-tl-step { flex: 0 0 calc(33.333% - 8px); }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.5rem; }
  .lang-switcher { gap: 0; }
  .lang-btn { padding: 6px 10px; }
}
