/* ============================================================
   AL KAHF INCORPORATED — Corporate Sourcing & Supply
   Premium corporate design system: deep navy, emerald accents
   ============================================================ */

:root {
  /* Brand palette */
  --navy-950: #060F26;
  --navy-900: #0A1C3F;
  --navy-800: #0E2650;
  --navy-700: #16336B;
  --navy-600: #1E4388;
  --navy-500: #2C57A6;

  --emerald-400: #34D399;
  --emerald-500: #10B981;
  --emerald-600: #059669;

  /* Neutrals */
  --ink: #0B1A33;
  --slate: #46556E;
  --muted: #72809A;
  --muted-soft: #9AA7BF;
  --line: #E3E8F2;
  --bg-soft: #F5F7FB;
  --white: #FFFFFF;

  /* Type */
  --font-head: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-card: 0 6px 24px rgba(10, 28, 63, 0.08);
  --shadow-lift: 0 18px 44px rgba(10, 28, 63, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Eyebrows & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--emerald-600);
  margin-bottom: 18px;
}
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow-light { color: var(--emerald-400); }

.accent-line { color: var(--emerald-500); }

.section { padding-block: 104px; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { font-size: 17px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  padding: 15px 30px; border-radius: 10px; border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--navy-900); box-shadow: 0 10px 26px rgba(6, 15, 38, 0.28); }
.btn-white:hover { background: var(--emerald-400); color: var(--navy-950); }

.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-lift); }

.btn-block { width: 100%; }

.btn-ghost-navy { border-color: var(--navy-600); color: var(--navy-800); background: transparent; margin-top: 14px; }
.btn-ghost-navy:hover { background: var(--navy-900); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 20px;
  transition: background-color 0.35s var(--ease), padding-block 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 28, 63, 0.97);
  backdrop-filter: blur(10px);
  padding-block: 13px;
  box-shadow: 0 10px 30px rgba(6, 15, 38, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { display: block; height: 44px; width: auto; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: 0.06em; color: var(--white); }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.42em; color: var(--emerald-400); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.nav-cta) {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.86);
  padding-block: 6px; position: relative; transition: color 0.2s var(--ease);
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--emerald-400); transition: width 0.25s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { width: 100%; }
.site-nav a:not(.nav-cta):hover { color: var(--white); }
.nav-cta {
  background: var(--white); color: var(--navy-900) !important;
  font-weight: 800; font-size: 14.5px; padding: 11px 22px; border-radius: 9px;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { background: var(--emerald-400); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; z-index: 110; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--white);
  margin: 5px auto; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding-top: 0; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 15, 38, 0.93) 0%, rgba(10, 28, 63, 0.82) 45%, rgba(10, 28, 63, 0.35) 78%, rgba(6, 15, 38, 0.5) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding-block: 130px 110px; }
.hero-eyebrow {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: var(--emerald-400); padding: 9px 16px; border-radius: 999px;
  backdrop-filter: blur(6px); margin-bottom: 28px;
}
.hero-title { color: var(--white); font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; margin-bottom: 24px; }
.hero-sub { color: rgba(235, 240, 250, 0.92); font-size: clamp(17px, 1.6vw, 20px); max-width: 620px; margin-bottom: 40px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-strip { position: relative; z-index: 2; background: rgba(255,255,255,0.06); border-top: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(8px); }
.hero-strip-inner { display: flex; align-items: center; justify-content: center; gap: 20px; padding-block: 20px; flex-wrap: wrap; }
.hero-strip-inner span { font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.strip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--emerald-400); }

/* ---------- Capabilities ---------- */
.capability {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center;
  margin-bottom: 110px;
}
.capability:last-child { margin-bottom: 0; }
.capability-reverse .capability-media { order: 2; }

.capability-media { position: relative; }
.capability-media::before {
  content: ""; position: absolute; inset: -26px -26px -26px 26px;
  background: linear-gradient(135deg, #E8EEF9, #F5F7FB);
  border-radius: var(--radius-lg); z-index: -1;
}
.capability-reverse .capability-media::before { inset: -26px 26px -26px -26px; }
.capability-media img {
  width: 100%; height: 430px; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.capability-number {
  position: absolute; top: -34px; right: -8px;
  font-family: var(--font-head); font-weight: 800; font-size: 108px;
  line-height: 1; color: rgba(10, 28, 63, 0.07); user-select: none; z-index: 1;
}
.capability-reverse .capability-number { right: auto; left: -8px; }

.capability-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--emerald-600); margin-bottom: 14px; }
.capability-body h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.capability-desc { font-size: 16.5px; color: var(--muted); margin-bottom: 26px; }

.capability-list { list-style: none; display: grid; gap: 12px; }
.capability-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; font-weight: 500; color: var(--slate);
}
.capability-list li::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px;
  background: var(--emerald-500); margin-top: 8px; transform: rotate(45deg);
}

/* ---------- About ---------- */
.section-navy .section-head h2, .section-navy h2, .section-navy h3 { color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.section-navy h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 26px; }
.section-navy p:not(.eyebrow):not(.about-card-value):not(.about-card-note) { color: rgba(222, 231, 246, 0.86); }
.about-copy p { margin-bottom: 20px; }

.about-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.about-meta-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 16px 18px; }
.about-meta-item svg { width: 22px; height: 22px; flex: 0 0 auto; }
.about-meta-item span { font-weight: 600; font-size: 14.5px; color: rgba(235, 240, 250, 0.94); }

.about-media { position: relative; }
.about-img-main {
  border: 8px solid rgba(255,255,255,0.09); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.about-img-main img { width: 100%; height: 460px; object-fit: cover; }
.about-card {
  position: absolute; left: -34px; bottom: -30px; width: 320px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px 26px; box-shadow: var(--shadow-lift);
  border-top: 4px solid var(--emerald-500);
}
.about-card-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted) !important; margin-bottom: 8px; }
.about-card-value { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--navy-900) !important; margin-bottom: 6px; }
.about-card-note { font-size: 13.5px; color: var(--muted) !important; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.process-grid::before {
  content: ""; position: absolute; top: 52px; left: 6%; right: 6%;
  border-top: 2px dashed var(--line); z-index: 0;
}
.process-step {
  position: relative; z-index: 1; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 34px 26px 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: #C9D4E8; }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 20px;
  margin-bottom: 20px; box-shadow: 0 8px 20px rgba(10, 28, 63, 0.28);
  border: 4px solid var(--white);
}
.process-step h3 { font-size: 17.5px; margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 34px 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(16, 185, 129, 0.1); color: var(--emerald-600);
  margin-bottom: 20px;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { font-size: 15px; color: var(--muted); }

/* ---------- Quote / RFQ ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.quote-intro h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 20px; }
.quote-intro > p:not(.eyebrow) { font-size: 16.5px; color: var(--muted); margin-bottom: 32px; max-width: 480px; }
.quote-points { display: grid; gap: 20px; }
.quote-point { display: flex; gap: 16px; align-items: flex-start; }
.quote-point-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(16, 185, 129, 0.1); color: var(--emerald-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.quote-point-icon svg { width: 20px; height: 20px; }
.quote-point strong { font-family: var(--font-head); font-size: 16px; color: var(--navy-900); }
.quote-point p { font-size: 14.5px; color: var(--muted); }

.quote-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 44px 42px;
}
.quote-card-title { font-size: 24px; margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-grid .field { margin-bottom: 0; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 15px; background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%230A1C3F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}

.file-input { padding: 10px 12px !important; }
.file-input::file-selector-button {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  background: var(--navy-900); color: var(--white);
  border: 0; border-radius: 7px; padding: 9px 14px; margin-right: 12px; cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.file-input::file-selector-button:hover { background: var(--navy-600); }
.file-hint { font-size: 12.5px; color: var(--muted-soft); }

.btn-block { margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }

.form-success {
  text-align: center; padding: 44px 20px;
  border: 1.5px dashed #BFE8D8; border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.05);
}
.success-icon { display: inline-flex; margin-bottom: 16px; }
.success-icon svg { width: 54px; height: 54px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 20px; }
.contact-info > p:not(.eyebrow) { color: var(--muted); margin-bottom: 34px; max-width: 480px; }
.contact-block { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.contact-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy-900); color: var(--emerald-400);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-block strong { font-family: var(--font-head); font-size: 16px; color: var(--navy-900); display: block; margin-bottom: 3px; }
.contact-block p { font-size: 15px; color: var(--muted); }
.contact-block a:hover { color: var(--emerald-600); }

.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 40px 38px;
}
.contact-card h3 { font-size: 22px; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(222, 231, 246, 0.8); padding-top: 70px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer-brand .brand-name { font-size: 23px; }
.footer-brand .brand-logo { height: 52px; }
.footer-tag { font-size: 14px; color: var(--muted-soft); margin-top: 18px; max-width: 260px; line-height: 1.6; }
.footer-col h4 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.footer-col a { display: block; font-size: 14.5px; padding-block: 5px; color: rgba(222, 231, 246, 0.78); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--emerald-400); }
.footer-col p { font-size: 14.5px; line-height: 1.7; }
.footer-col .muted-soft { color: var(--muted-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px; font-size: 13.5px; color: var(--muted-soft);
}
.footer-bottom a:hover { color: var(--emerald-400); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .capability { gap: 44px; }
  .capability-media img { height: 360px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media { max-width: 620px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 90;
    background: var(--navy-950);
    flex-direction: column; justify-content: center; gap: 26px;
    transform: translateY(-100%); transition: transform 0.4s var(--ease);
    padding: 80px 24px;
  }
  .site-nav a:not(.nav-cta) { font-size: 20px; }
  .nav-cta { font-size: 16px; }
  .site-nav.nav-open { transform: none; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .brand-logo { height: 36px; }
  .section { padding-block: 72px; }
  .capability { grid-template-columns: 1fr; gap: 56px; margin-bottom: 76px; }
  .capability-reverse .capability-media { order: 0; }
  .capability-media img { height: 290px; }
  .capability-media::before { inset: -18px -18px -18px 18px; }
  .capability-reverse .capability-media::before { inset: -18px 18px -18px -18px; }
  .capability-number { font-size: 84px; top: -22px; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 32px 22px; }
  .contact-card { padding: 32px 24px; }
  .about-card { position: static; width: 100%; margin-top: 18px; box-shadow: var(--shadow-card); }
  .about-img-main img { height: 340px; }
  .hero-content { padding-block: 110px 70px; }
  .hero-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}