/* ── Design Tokens ── */
:root {
  --brand-900: #0a0628;
  --brand-800: #100a3d;
  --brand-700: #1a2452;
  --brand-500: #3b4885;
  --brand-200: #9ea5c4;
  --accent-500: #ff5b23;
  --accent-600: #e54a14;
  --neutral-50: #f8f9fa;
  --neutral-100: #e9ecef;
  --radius: 12px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1a1a2e;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-500);
  text-decoration: none;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
}

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

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   1. HEADER
   ══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  background: rgba(10, 6, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header.scrolled {
  background: rgba(10, 6, 40, 0.92);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  line-height: 1;
}
.lang-btn:hover {
  opacity: 0.85;
}
.lang-btn.active {
  opacity: 1;
  border-color: var(--accent-500);
}
.lang-btn svg {
  width: 24px;
  height: 18px;
  border-radius: 2px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 24px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

/* Header CTAs */
.header-ctas {
  display: flex;
  gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}

.btn-header {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  text-decoration: none;
  border: none;
}

.btn-header.primary {
  background: var(--accent-500);
  color: #fff;
}
.btn-header.primary:hover {
  background: var(--accent-600);
  transform: translateY(-1px);
}

.btn-header.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-header.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}


/* ══════════════════════════════════════
   2. HERO
   ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-900) 60%, #0d0826 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 40%, rgba(59, 72, 133, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 75% 55%, rgba(255, 91, 35, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  color: var(--accent-500);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-content .tagline {
  font-size: 1.15rem;
  color: var(--brand-200);
  margin-bottom: 8px;
}

.hero-content .sub-tagline {
  font-size: 1.1rem;
  color: var(--brand-200);
  font-style: italic;
  margin-bottom: 40px;
  opacity: 0.85;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 36px;
  margin-bottom: 48px;
}

.hero-stat .value {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--brand-200);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-ctas {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero image with glow effect */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image img {
  position: relative;
  z-index: 2;
  max-height: 580px;
  width: auto;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.4));
}

.hero-image-glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 91, 35, 0.2) 0%, rgba(59, 72, 133, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--accent-500);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 91, 35, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   3. SERVICES
   ══════════════════════════════════════ */
.services {
  padding: 100px 0;
  background: var(--neutral-50);
}

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

.section-header h2 {
  font-size: 2.25rem;
  color: var(--brand-800);
  margin-bottom: 12px;
}

.section-header p {
  color: #555;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-header.light h2 {
  color: #fff;
}
.section-header.light p {
  color: var(--brand-200);
}

.services-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.service-block {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
}

.service-block h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--brand-800);
}

.service-block p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-block p:last-child {
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

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

.services-tagline {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-800);
  margin-top: 48px;
  letter-spacing: -0.02em;
}

/* Services photo banner below cards */
.services-photo {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 400px;
}

.services-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* ══════════════════════════════════════
   4. ABOUT
   ══════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--brand-800) 0%, var(--brand-900) 100%);
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.about-text h2 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--brand-200);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-text .location {
  color: var(--accent-500);
  font-weight: 600;
  margin-top: 8px;
}

.signature {
  margin-top: 24px;
  max-width: 160px;
  opacity: 0.85;
}

/* ══════════════════════════════════════
   5. ACHIEVEMENTS TIMELINE
   ══════════════════════════════════════ */
.achievements {
  padding: 100px 0;
  background: var(--neutral-50);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--neutral-100);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 48px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-500);
  border: 3px solid var(--neutral-50);
  box-shadow: 0 0 0 3px var(--accent-500);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}
.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-500);
  margin-bottom: 4px;
}

.timeline-text {
  color: #555;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════
   6. TESTIMONIALS
   ══════════════════════════════════════ */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--brand-800) 0%, var(--brand-900) 100%);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card .quote {
  color: var(--brand-200);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .quote::before {
  content: "\201C";
  font-size: 2rem;
  color: var(--accent-500);
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
}

.testimonial-card .author {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════
   7. FORMS SECTION
   ══════════════════════════════════════ */
.forms-section {
  padding: 100px 0;
  background: var(--neutral-50);
}

.form-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--neutral-100);
  border-radius: 10px;
  padding: 4px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #777;
  transition: background 0.2s, color 0.2s;
}
.form-tab.active {
  background: #fff;
  color: var(--brand-800);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-panel {
  display: none;
  max-width: 540px;
  margin: 0 auto;
}
.form-panel.active {
  display: block;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-100);
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #1a1a2e;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(255, 91, 35, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent-500);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: "Inter", sans-serif;
}
.btn-submit:hover {
  background: var(--accent-600);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-message.success {
  background: #d4edda;
  color: #155724;
}
.form-message.error {
  background: #f8d7da;
  color: #721c24;
}

/* ══════════════════════════════════════
   8. CORPORATE
   ══════════════════════════════════════ */
.corporate {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--brand-800) 0%, var(--brand-900) 100%);
}

.corporate .section-header h2 {
  color: #fff;
}

.corporate-hook {
  font-size: 1.25rem;
  color: var(--accent-500);
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
}

.corporate-content {
  max-width: 720px;
  margin: 0 auto;
}

.corporate-content > p {
  color: var(--brand-200);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.corporate-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.corporate-benefits li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--brand-200);
  font-size: 1.05rem;
  line-height: 1.6;
}

.corporate-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-500);
}

.corporate-closing {
  font-weight: 600;
  color: #fff !important;
  font-size: 1.1rem;
}

.corporate-cta {
  text-align: center;
  margin-top: 40px;
}

/* ══════════════════════════════════════
   9. FOOTER
   ══════════════════════════════════════ */
.footer {
  padding: 60px 0 32px;
  background: var(--brand-900);
  color: var(--brand-200);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-bio {
  max-width: 400px;
}

.footer-bio .footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-bio p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-200);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--accent-500);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  /* Mobile nav */
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 6, 40, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    margin-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .nav-toggle {
    display: flex;
    order: 5;
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-image {
    order: -1;
  }
  .hero-image img {
    max-height: 400px;
  }
  .service-block {
    padding: 28px 20px;
  }
  .services-photo {
    max-height: 280px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image {
    max-width: 320px;
    margin: 0 auto;
  }
}

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

  .logo {
    display: none;
  }

  .header-ctas {
    margin-left: auto;
  }
  .btn-header {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  /* Timeline mobile: single column */
  .timeline::before {
    left: 16px;
  }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding-left: 44px;
    padding-right: 0;
  }
  .timeline-item:nth-child(odd) {
    text-align: left;
  }
  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 8px;
    right: auto;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.65rem;
  }
  .hero-content .subtitle {
    font-size: 1.15rem;
  }
  .lang-switcher {
    gap: 4px;
  }
  .lang-btn svg {
    width: 20px;
    height: 15px;
  }
}
