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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0b1020;
    background-color: #f5f6fb;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    font-family: inherit;
}

/* ==== LAYOUT HELPERS ==== */

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

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #f3f4ff;
}

.section-dark {
    background: radial-gradient(circle at top left, #0b1120, #020617);
    color: #e5edff;
}

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

.section-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.section-header p {
    color: #5d647a;
    margin: 0;
}

.section-header-light h2 {
    color: #e5edff;
}

.section-header-light p {
    color: #c7d2fe;
}

/* ==== GRID ==== */

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ==== BUTTONS ==== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 12px 26px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.23);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.btn-accent {
    background-color: #0b1020;
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #111827;
}

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

/* ==== HEADER ==== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 25, 56, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

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

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.logo-text {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 15px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.main-nav a {
    color: #e5edff;
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #93c5fd;
    transform: translateX(-50%);
    transition: width 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 18px;
}

.header-cta {
    margin-left: 20px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 22px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
}

.nav-toggle span {
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background-color: #ffffff;
}

/* ==== HERO ==== */

.hero {
    position: relative;
    color: #ffffff;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../../../assets/images/banners/desktop/about-us.webp"); /* replace with actual hero image */
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    z-index: -3;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr);
    gap: 40px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.hero-subtitle {
    color: #dbeafe;
    max-width: 560px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.hero-ghost-light {
    border-color: rgba(255, 255, 255, 0.9);
}

/* ==== STORY ==== */

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: center;
}

.story-text h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 28px;
}

.story-text p {
    margin-top: 0;
    margin-bottom: 10px;
    color: #4b5563;
    font-size: 14px;
}

.story-photo {
    width: 100%;
    height: 260px;
    border-radius: 18px;
    background-image: linear-gradient(135deg, #1d4ed8, #2563eb);
    opacity: 0.85;
}

/* ==== CARDS / ICONS ==== */

.card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 20px 20px 22px 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.card h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: #5d647a;
    font-size: 14px;
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.icon-blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.icon-teal   { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.icon-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.icon-indigo { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.icon-orange { background: linear-gradient(135deg, #fb923c, #f97316); }
.icon-green  { background: linear-gradient(135deg, #22c55e, #16a34a); }

.feature-card {
    min-height: 190px;
}

/* ==== WHY CHOOSE ==== */

.why-grid .why-card {
    background: radial-gradient(circle at top left, #111827, #020617);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e5edff;
}

.why-card h3 {
    margin-top: 0;
}

.why-card p {
    color: #cbd5f5;
}

/* ==== LEADERSHIP ==== */

.leader-card {
    text-align: left;
}

.leader-photo {
    width: 100%;
    height: 160px;
    border-radius: 14px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.leader-role {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 6px 0;
}

.leader-text {
    font-size: 13px;
}

/* ==== CAREERS ==== */

.careers-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.careers-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 30px;
    align-items: center;
}

.careers-photo {
    width: 100%;
    height: 220px;
    border-radius: 18px;
    background-image: linear-gradient(135deg, #93c5fd, #1d4ed8);
}

.careers-text h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 26px;
}

.careers-text p {
    margin-top: 0;
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 14px;
}

.careers-list {
    margin-bottom: 14px;
}

.careers-list li {
    font-size: 13px;
    color: #111827;
    margin-bottom: 4px;
    position: relative;
    padding-left: 18px;
}

.careers-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: #22c55e;
    position: absolute;
    left: 4px;
    top: 8px;
}

/* ==== STATS / JOURNEY ==== */

.stats-section {
    padding: 0;
}

.stats-bar.about-stats {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #e0f2fe;
    padding: 30px 0;
}

.stats-inner-about {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-value {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.stat-label {
    margin: 0;
    font-size: 13px;
}

.journey-wrapper {
    background: radial-gradient(circle at top left, #1d4ed8, #020617);
    color: #e5edff;
    padding: 60px 0 80px 0;
}

.journey-header {
    margin-bottom: 32px;
}

.journey-grid .journey-card {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(148, 163, 184, 0.35);
}

.journey-card h3 {
    margin-top: 0;
}

.journey-card p {
    color: #cbd5f5;
}

/* ==== PARTNERS ==== */

.partner-card {
    text-align: center;
}

.partner-card h3 {
    margin-top: 4px;
    margin-bottom: 4px;
}

.partner-card p {
    font-size: 13px;
    color: #4b5563;
}

/* ==== GLOBAL PRESENCE ==== */

.global-card h3 {
    margin-top: 10px;
    margin-bottom: 4px;
}

.global-card p {
    font-size: 13px;
    color: #4b5563;
}

.global-photo {
    width: 100%;
    height: 150px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.worldmap-card {
    margin-top: 24px;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    background-color: #020617;
    color: #e5edff;
}

.worldmap-photo {
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(135deg, #1d4ed8, #020617);
}

.worldmap-text {
    padding: 20px 22px;
}

.worldmap-text h3 {
    margin-top: 0;
    margin-bottom: 6px;
}

.worldmap-text p {
    margin: 0;
    font-size: 13px;
    color: #cbd5f5;
}

/* ==== CTA ==== */

.about-cta {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  padding: 80px 0;
}

.about-cta-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.about-cta-inner h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-cta-inner p {
  font-size: 16px;
  color: #dbeafe;
  line-height: 1.6;
}

/* Buttons */
.about-cta-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Cards */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cta-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.cta-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-card p {
  font-size: 14px;
  color: #e0e7ff;
  line-height: 1.5;
}

/* Icon */
.cta-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Responsive */
@media (max-width: 992px) {
  .cta-cards {
    grid-template-columns: 1fr;
  }

  .about-cta-inner h2 {
    font-size: 28px;
  }
}


/* ==== CONTACT FORM ==== */

.contact-form {
    max-width: 720px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 24px 22px 26px 22px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.form-field {
    flex: 1 1 0;
    min-width: 200px;
}

.form-field-full {
    flex-basis: 100%;
}

.form-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #111827;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5e4;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background-color: #f9fafb;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background-color: #ffffff;
}

/* ==== FOOTER ==== */

.site-footer {
    background-color: #020617;
    color: #9ca3c9;
    padding-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 2fr);
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-about p {
    font-size: 13px;
    max-width: 420px;
    margin-top: 10px;
}

.footer-logo .logo-mark {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

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

.footer-column h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #e5e7ff;
}

.footer-column li {
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 13px;
    color: #a5b0e5;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 10px 0 14px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7287;
}

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

@media (max-width: 1200px) {
    .stats-inner-about {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 16px;
    }
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .worldmap-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: 10px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 25, 56, 0.98);
        max-height: 0;
        overflow: hidden;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 180ms ease;    }

    .main-nav.open {
        max-height: 260px;
        transform: scaleY(1);

    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 20px 14px 20px;
        align-items: flex-start;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .story-grid,
    .careers-grid {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .stats-inner-about {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .stats-inner-about {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   PERFORMANCE SAFE MOTION SYSTEM
   =============================== */

.fx-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 520ms cubic-bezier(.2,.8,.2,1),
    transform 520ms cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}

.fx-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Optional subtle stagger */
.fx-delay-1 { transition-delay: 80ms; }
.fx-delay-2 { transition-delay: 160ms; }
.fx-delay-3 { transition-delay: 240ms; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .fx-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .card {
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .card:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  }
}
