/* ============================================
   Engineering, Logistics & Technology
   Corporate Website — Minimalist Modern Design
   ============================================ */

:root {
  /* Colors — Apple-inspired palette */
  --navy: #0a1628;
  --navy-light: #122033;
  --dark-blue: #0d1b2a;
  --blue: #1b3a5f;
  --electric: #007aff;
  --electric-bright: #0a84ff;
  --electric-soft: rgba(0, 122, 255, 0.12);
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #f0f2f5;
  --gray-200: #e5e8ed;
  --gray-300: #c8cdd5;
  --gray-400: #8a93a2;
  --gray-500: #5c6778;
  --gray-600: #3d4654;
  --text: #1a2332;
  --text-secondary: #4a5568;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

  /* Spacing & Layout */
  --container: 1120px;
  --header-h: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: 20px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--gray-100);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 2px;
  border-radius: 8px;
  background: var(--gray-100);
  flex-shrink: 0;
}

.lang-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  line-height: 1;
}

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

.lang-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.lang-sep {
  font-size: 11px;
  color: var(--gray-300);
  user-select: none;
  display: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.hamburger {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s, top 0.25s;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 40%, #e8eef5 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(0, 122, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(27, 58, 95, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.hero-logo-wrap {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(10, 22, 40, 0.1));
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  display: flex;
  color: var(--gray-400);
  transition: color var(--transition);
}

.scroll-indicator a:hover {
  color: var(--electric);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 550;
  padding: 14px 28px;
  border-radius: 980px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.2);
}

.btn-primary:hover {
  background: var(--dark-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--gray-100);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-1px);
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--electric), #5ac8fa);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-content .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.55;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.info-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.info-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--electric);
}

.info-icon svg {
  width: 100%;
  height: 100%;
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Services */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--electric-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--electric);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.service-list {
  margin-top: auto;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

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

/* Approach */
.approach {
  background: var(--navy);
  color: var(--white);
}

.approach .section-tag {
  color: #5ac8fa;
}

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

.approach .section-line {
  background: linear-gradient(90deg, #5ac8fa, var(--electric));
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.approach-item {
  text-align: left;
}

.approach-number {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(90, 200, 250, 0.35);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1;
}

.approach-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.approach-item p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--electric-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
}

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

.contact-item p {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-note {
  font-size: 0.8rem !important;
  color: var(--gray-400) !important;
  margin-top: 2px;
}

.contact-cta-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--gray-200);
}

.contact-cta-card h3 {
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-cta-card > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.55;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-buttons .btn {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 8px;
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-note {
  margin-top: 4px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-right {
    gap: 8px;
  }

  .lang-switcher {
    margin-left: 0;
    order: -1;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }

  .nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
  }

  .logo-img {
    height: 40px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 24px);
    min-height: auto;
    padding-bottom: 100px;
  }

  .hero-logo {
    width: 160px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-cta-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .btn {
    padding: 13px 24px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-indicator { animation: none; }
}
