/* ============================================================
   KOAF & K LIMITED — Premium Landing Page Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy:       #050c1a;
  --navy-light: #0c1829;
  --navy-card:  #0f1e35;
  --gold:       #c9a227;
  --gold-light: #e2ba44;
  --gold-dim:   rgba(201,162,39,0.15);
  --white:      #ffffff;
  --off-white:  #e8eaf0;
  --muted:      #8899b0;
  --border:     rgba(201,162,39,0.2);
  --font-head:  'Syne', sans-serif;
  --font-body:  'Outfit', sans-serif;
  --radius:     12px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Utility ───────────────────────────────────────────── */
.gold   { color: var(--gold); }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 16px;
  margin-bottom: 18px;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ─── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(5,12,26,0.95);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
  font-family: var(--font-head);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta { margin-left: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.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); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(5,12,26,0.98);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition), background var(--transition);
}
.mobile-menu a:hover { color: var(--gold); background: var(--gold-dim); }

/* ─── Hero ───────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,12,26,0.85) 0%, rgba(5,12,26,0.6) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-heading em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 48px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2.5s infinite;
}
.hero-scroll .arrow {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── Section spacing ───────────────────────────────────── */
section { padding: 100px 0; }
section:nth-child(even) { background: var(--navy-light); }

/* ─── About ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.pillar {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition), transform var(--transition);
}
.pillar:hover { border-color: var(--gold); transform: translateY(-3px); }
.pillar-icon { font-size: 1.4rem; margin-bottom: 8px; }
.pillar h4 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--white); }
.pillar p  { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

.about-visual {
  position: relative;
}
.about-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}
.about-badge-large {
  width: 80px; height: 80px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  margin: 0 auto 24px;
}
.about-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.about-card p { color: var(--muted); font-size: 0.9rem; }
.about-card .divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 20px auto;
}

/* ─── CEO ────────────────────────────────────────────────── */
.ceo-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}
.ceo-portrait-wrap {
  position: relative;
}
.ceo-portrait-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--border);
  border-radius: 24px;
  pointer-events: none;
}
.ceo-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid var(--gold-dim);
}
.ceo-content blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  border-left: 3px solid var(--gold);
  padding-left: 28px;
  margin-bottom: 32px;
  font-style: italic;
}
.ceo-content blockquote em { color: var(--gold); font-style: normal; }
.ceo-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.ceo-title { color: var(--gold); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 24px; }
.ceo-bio { color: var(--muted); line-height: 1.75; margin-bottom: 28px; font-size: 0.95rem; }
.ceo-socials { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover { border-color: var(--gold); background: var(--gold-dim); }
.social-btn svg { width: 18px; height: 18px; fill: var(--muted); transition: fill var(--transition); }
.social-btn:hover svg { fill: var(--gold); }

/* ─── Projects ───────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(201,162,39,0.1);
}
.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-body { padding: 24px; }
.project-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.project-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.project-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.project-link:hover { gap: 10px; }
.project-link .arrow { font-size: 0.9rem; }

/* ─── Services ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; fill: var(--gold); }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ─── Why Choose Us ──────────────────────────────────────── */
#why { background: var(--navy); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--gold); }
.stat-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { font-size: 1.5rem; }
.stat-label { font-size: 0.82rem; color: var(--muted); font-weight: 500; letter-spacing: 0.04em; }

.why-points { display: flex; flex-direction: column; gap: 24px; }
.why-point { display: flex; gap: 20px; align-items: flex-start; }
.why-point-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--gold-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.why-point-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.why-point-text h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.why-point-text p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ─── Contact ────────────────────────────────────────────── */
#contact { background: var(--navy-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info-items { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon-wrap {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon-wrap svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-info-item h5 { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.contact-info-item p  { font-size: 0.85rem; color: var(--muted); }

.contact-form-wrap {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,162,39,0.05);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(136,153,176,0.6); }
.form-group textarea { min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit { width: 100%; margin-top: 8px; padding: 16px; font-size: 1rem; }

.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-msg.success { background: rgba(52,199,89,0.12); color: #34c759; border: 1px solid rgba(52,199,89,0.3); }
.form-msg.error   { background: rgba(255,69,58,0.12);  color: #ff453a; border: 1px solid rgba(255,69,58,0.3);  }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo .mark {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800; font-size: 0.95rem;
}
.footer-brand .logo span { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--white); }
.footer-brand p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; max-width: 300px; }

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li { font-size: 0.88rem; color: var(--muted); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }
.footer-bottom .accent { color: var(--gold); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid, .ceo-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .ceo-portrait { max-height: 420px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-pillars { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
}
