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

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #6366f1;
  --accent: #3b82f6;
  --accent-2: #a855f7;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--transition), border-color 0.3s var(--transition), box-shadow 0.3s var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}
.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  line-height: 1.1;
}
.brand-tag {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.25s var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition);
  border-radius: 2px;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.lang-switch i { font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.75), rgba(79, 70, 229, 0.82));
}

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

.hero-slides {
  position: relative;
  min-height: 200px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-slide h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  margin-top: 220px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .hero-slides { min-height: 220px; }
  .hero-subtitle { margin-top: 240px; }
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.dot {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.dot.active {
  background: #fff;
  width: 52px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2.2s ease-in-out infinite;
  backdrop-filter: blur(8px);
  transition: background 0.25s;
}
.hero-scroll:hover { background: rgba(255, 255, 255, 0.25); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ================= SECTIONS ================= */
.section {
  padding: 110px 0;
}
.section.about { background: var(--bg); }
.section.services { background: var(--bg-soft); }
.section.focus { background: var(--bg); }
.section.contact { background: var(--bg-soft); }

.section-title {
  text-align: center;
  margin-bottom: 70px;
}
.section-title h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}
.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 22px;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.value-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), border-color 0.3s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.3);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}
.value-text h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.value-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===== Services ===== */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--transition), transform 0.35s var(--transition);
}
.service-row:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-media {
  position: relative;
  height: 100%;
  min-height: 360px;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.service-row:hover .service-media img { transform: scale(1.04); }

.service-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  z-index: 1;
}
.service-row.reverse .service-badge { left: auto; right: 24px; }

.service-content {
  padding: 40px 50px;
}
.service-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--text);
}
.service-content ul {
  list-style: none;
}
.service-content li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.55;
}
.service-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* ===== Focus ===== */
.focus-subtitle {
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 50px;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.focus-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), border-color 0.3s;
}
.focus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-md);
}
.focus-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(79, 70, 229, 0.12));
  color: var(--primary);
  font-size: 24px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.focus-card:hover .focus-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}
.focus-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: -40px 0 50px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}
.contact-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-form {
  background: #fff;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.3);
  transition: transform 0.25s var(--transition), box-shadow 0.25s var(--transition), filter 0.25s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.4);
}
.btn-primary:active { transform: translateY(0); }

.form-feedback {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
}
.form-feedback.success { color: #059669; }
.form-feedback.error { color: #dc2626; }

/* ================= FOOTER ================= */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
}
.brand-footer { margin-bottom: 18px; }
.footer-desc {
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.footer h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-links li {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-links a:hover { color: #fff; }
.footer-links i { width: 16px; color: var(--primary-light); }

.social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: background 0.25s, transform 0.25s;
}
.social a:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ================= TO TOP ================= */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 900;
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { transform: translateY(-3px); }

/* ================= REVEAL ANIM ================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row.reverse { direction: ltr; }
  .service-media { min-height: 260px; }
  .service-content { padding: 30px 28px 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.35s var(--transition);
    align-items: stretch;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-link::after { display: none; }
  .lang-switch { margin-top: 14px; align-self: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-subtitle { margin-top: 180px; }
  .hero-slides { min-height: 180px; }
}

@media (max-width: 480px) {
  .brand-tag { display: none; }
  .service-content { padding: 24px 20px 28px; }
  .contact-form { padding: 24px; }
}
