@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #0A1F44;
  --navy-deep: #060F22;
  --navy-mid: #122952;
  --orange: #E8500A;
  --orange-glow: #FF6B2B;
  --gold: #C47B00;
  --gold-light: #F5B800;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --text-muted: rgba(255,255,255,0.6);
  --text-dim: rgba(255,255,255,0.35);
  --border: rgba(255,255,255,0.08);
  --card-bg: rgba(255,255,255,0.04);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --nav-h: 76px;
}

/* iOS safe-area (no harm on other platforms). Keep height stable. */
nav#navbar {
  padding-top: env(safe-area-inset-top);
  min-height: var(--nav-h);
}

html { scroll-behavior: smooth; }

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

#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ─── NAV ─── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  padding: 0 60px;
  background: rgba(6,15,34,0.95);
  transition: background 0.3s;
}
nav#navbar.scrolled { background: rgba(6,15,34,0.98); }

.nav-logo {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: 0.02em;
}
.nav-logo span { color: var(--orange); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 14px;
  font-weight: 500; letter-spacing: 0.04em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--orange); color: var(--white); border: none;
  padding: 10px 24px; border-radius: 100px; font-family: var(--sans);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; display: inline-block;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,80,10,0.4); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(6,15,34,0.98); z-index: 101;
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 40px;
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; color: var(--white); text-decoration: none;
  font-size: 22px; font-weight: 500; padding: 12px 0; width: 100%; text-align: center;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange-glow); }
.mobile-menu .mobile-wa-btn {
  margin-top: 16px; background: #25D366; color: white !important;
  border-radius: 12px; padding: 14px 32px; font-size: 16px; font-weight: 600;
  border: none !important;
}
.mobile-menu .mobile-phone, .mobile-menu .mobile-email {
  font-size: 15px !important; color: var(--text-muted) !important;
  border: none !important; padding: 6px 0 !important;
}

/* ─── MAIN CONTENT ─── */
main { position: relative; z-index: 1; min-height: 100vh; }

/* ─── INNER PAGES ─── */
.inner-sc { max-width: 1200px; margin: 0 auto; padding: 100px 60px 80px; }

.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px; display: block;
}

/* ─── POLICY PAGES ─── */
.policy-wrap { max-width: 860px; margin: 0 auto; padding: 100px 60px 80px; }
.policy-wrap h1 { font-family: var(--serif); font-size: 44px; font-weight: 300; margin-bottom: 6px; }
.policy-date { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; display: block; }
.policy-wrap h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 32px 0 10px; color: var(--white); border-bottom: 1px solid var(--border); padding-bottom: 7px; }
.policy-wrap h3 { font-size: 15px; font-weight: 600; margin: 18px 0 7px; color: rgba(255,255,255,0.9); }
.policy-wrap p, .policy-wrap li { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 9px; }
.policy-wrap ul, .policy-wrap ol { padding-left: 20px; margin-bottom: 14px; }
.policy-wrap li { margin-bottom: 6px; }
.policy-wrap strong { color: var(--white); font-weight: 600; }
.policy-wrap a { color: var(--orange-glow); text-decoration: none; }
.policy-wrap .hi-box { background: rgba(232,80,10,0.07); border: 1px solid rgba(232,80,10,0.18); border-radius: 10px; padding: 14px 20px; margin: 14px 0; }
.policy-wrap .hi-box p { margin: 0; color: rgba(255,255,255,0.85); }

/* ─── TEAM GRID ─── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.team-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 28px; text-align: center; transition: all 0.3s; display: flex; flex-direction: column; height: 100%; }
.team-card:hover { border-color: rgba(232,80,10,0.28); transform: translateY(-3px); }
.team-avatar { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg,var(--orange),var(--gold)); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 26px; font-weight: 700; margin: 0 auto 14px; color: white; }
.team-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.team-card .role { font-size: 11px; color: var(--orange-glow); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 8px; text-transform: uppercase; }
.team-card .exp { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.team-card .specs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.team-card .spec-tag { font-size: 10px; background: rgba(232,80,10,0.1); color: var(--orange-glow); border: 1px solid rgba(232,80,10,0.18); border-radius: 100px; padding: 2px 10px; font-weight: 600; }
.team-stars { color: var(--gold-light); font-size: 13px; margin-bottom: 10px; }

/* ─── JOB CARDS ─── */
.job-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 26px; margin-top: 16px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; transition: all 0.3s; height: 100%; }
.job-card:hover { border-color: rgba(232,80,10,0.25); }
.job-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.job-card p { font-size: 13px; color: var(--text-muted); }
.job-tags { display: flex; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.job-tag { font-size: 11px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 100px; padding: 3px 10px; color: var(--text-muted); }
.apply-btn2 { background: var(--orange); color: white; border: none; padding: 10px 22px; border-radius: 100px; font-family: var(--sans); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; transition: all 0.2s; }
.apply-btn2:hover { box-shadow: 0 5px 16px rgba(232,80,10,0.4); }

/* ─── ABOUT VALUE GRID ─── */
.about-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.val-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 16px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; height: 100%; }
.val-card .ico { font-size: 20px; min-width: 28px; }
.val-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.val-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ─── BLOG COMING SOON ─── */
.cs-box { text-align: center; padding: 80px 40px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; margin-top: 44px; }
.cs-icon { font-size: 60px; display: block; margin-bottom: 18px; }
.cs-box h3 { font-family: var(--serif); font-size: 34px; font-weight: 300; margin-bottom: 10px; }
.cs-box p { font-size: 14px; color: var(--text-muted); max-width: 420px; margin: 0 auto 24px; }

/* ─── CONTACT BAR ─── */
.contact-bar {
  background: rgba(232,80,10,0.08); border: 1px solid rgba(232,80,10,0.15);
  border-radius: 16px; padding: 20px 32px; margin-top: 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.contact-item { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,0.85); }
.contact-item a { color: var(--orange-glow); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.contact-item a:hover { color: var(--white); }
.contact-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(232,80,10,0.15); border: 1px solid rgba(232,80,10,0.2); display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 16px 36px; border-radius: 100px; font-size: 16px;
  font-weight: 600; text-decoration: none; display: inline-flex;
  align-items: center; gap: 10px; transition: all 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,80,10,0.5); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-deep); border-top: 1px solid var(--border);
  padding: 64px 60px 46px; position: relative; z-index: 1;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand .logo, .footer-brand .logo:visited { color: var(--white); text-decoration: none; }
.footer-brand .logo {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  letter-spacing: 0.02em; margin-bottom: 16px; display: inline-block; line-height: 1;
}
.footer-brand .logo span { color: var(--orange); }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 26px auto 0;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 12px;
}

/* Wider footer on small screens */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  footer {
    padding: 44px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── FOOTER CONTACT ROW ─── */
.footer-contact {
  max-width: 1200px; margin: 40px auto 0;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.fc-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.fc-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(232, 80, 10, 0.12);
  border: 1px solid rgba(232, 80, 10, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-glow); flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.fc-text {
  display: flex; flex-direction: column; gap: 3px;
}
.fc-label {
  font-size: 11px; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.04em;
}
.fc-value {
  font-size: 14px; font-weight: 600;
  color: var(--orange-glow); text-decoration: none; transition: color 0.2s;
}
.fc-value:hover { color: var(--white); }
.right-note {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 900px) {
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }
  .right-note {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
}

/* ─── WA FLOAT ─── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-bounce 2s 3s ease infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 36px rgba(37,211,102,0.7); }
@keyframes wa-bounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } }
@media (max-width: 900px) {
  nav#navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .inner-sc { padding: 72px 22px 56px; }
  .policy-wrap { padding: 72px 22px 56px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-value-grid { grid-template-columns: 1fr; }
  footer { padding: 44px 24px; }
}
@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.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; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ─── FLOATING PARTICLES ─── */
.particle {
  position: fixed; pointer-events: none; z-index: 0;
  border-radius: 50%; animation: float-particle linear infinite; opacity: 0;
}
@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}
