/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; color: #1A1A2E; line-height: 1.7; background: #FAFAFA; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ========== TOKENS ========== */
:root {
  --navy: #0F1B3D;
  --navy-deep: #0A1128;
  --gold: #C8A84E;
  --gold-light: #E8D48B;
  --cream: #FAF7F0;
  --white: #FFFFFF;
  --gray-100: #F5F5F7;
  --gray-200: #E8E8EC;
  --gray-400: #9A9AA8;
  --gray-600: #5A5A6E;
  --text: #1A1A2E;
  --text-light: #5A5A6E;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  background: rgba(15, 27, 61, 0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 168, 78, 0.15);
  transition: var(--transition);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 36px; height: 36px; }
.logo-text { color: var(--white); font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 600;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy-deep); padding: 10px 24px;
  border-radius: 8px; font-weight: 700; font-size: 0.85rem;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; flex-direction: column; padding: 16px 24px; gap: 16px; background: var(--navy-deep); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.8); font-weight: 600; }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.35) saturate(1.3);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,27,61,0.85) 0%, rgba(10,17,40,0.7) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 700px; padding: 80px 24px;
  margin-right: auto; margin-left: auto; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,168,78,0.15); border: 1px solid rgba(200,168,78,0.3);
  border-radius: 50px; padding: 8px 20px; margin-bottom: 32px;
  font-size: 0.8rem; font-weight: 600; color: var(--gold-light);
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 550px;
  margin: 0 auto 40px; line-height: 1.9;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 10px; font-weight: 700;
  font-size: 0.95rem; transition: var(--transition);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(200,168,78,0.3); }
.btn-outline { border: 2px solid rgba(255,255,255,0.3); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; justify-content: center; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 600;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ========== STATS ========== */
.stats { padding: 80px 0; background: var(--white); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  text-align: center; padding: 32px 16px;
  border-radius: var(--radius-lg); background: var(--cream);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.stat-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); border-radius: 14px;
}
.stat-icon svg { width: 28px; height: 28px; color: var(--gold); }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.stat-label { font-size: 0.85rem; color: var(--gray-600); font-weight: 600; }

/* ========== ABOUT ========== */
.about { padding: 100px 0; background: var(--cream); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute; top: -16px; left: -16px; width: 120px; height: 120px;
  border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.about-text h2 {
  font-size: 2.2rem; font-weight: 800; color: var(--navy);
  line-height: 1.3; margin-bottom: 20px;
}
.about-text > p { color: var(--gray-600); font-size: 1rem; margin-bottom: 32px; line-height: 1.9; }
.about-list { display: flex; flex-direction: column; gap: 14px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; font-weight: 600; color: var(--text);
}
.about-list svg {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--gold);
  margin-top: 4px;
}

/* ========== SERVICES ========== */
.services { padding: 100px 0; background: var(--white); }
.services-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.services-head h2 { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.services-head p { color: var(--gray-600); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  padding: 36px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); background: var(--white);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-icon {
  width: 56px; height: 56px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); border-radius: 14px;
}
.service-icon svg { width: 28px; height: 28px; color: var(--navy); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; }

/* ========== TEAM ========== */
.team { padding: 100px 0; background: var(--navy); }
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.team-text .section-tag { color: var(--gold-light); }
.team-text h2 { font-size: 2.2rem; font-weight: 800; color: var(--white); line-height: 1.3; margin-bottom: 20px; }
.team-text > p { color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.9; }
.team-stats { display: flex; gap: 40px; }
.team-stats > div { display: flex; flex-direction: column; }
.team-stats strong { font-size: 2rem; font-weight: 900; color: var(--gold); }
.team-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.team-img {
  width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ========== CONTACT ========== */
.contact { padding: 100px 0; background: var(--cream); }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--white); padding: 48px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
}
.contact-info .section-tag { color: var(--gold); }
.contact-info h2 { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 32px; line-height: 1.8; }
.contact-meta { display: flex; flex-direction: column; gap: 16px; }
.meta-item {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--text);
}
.meta-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--text);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-200);
  border-radius: 10px; font-size: 0.95rem; background: var(--gray-100);
  transition: var(--transition); color: var(--text);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,168,78,0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }

/* ========== FOOTER ========== */
.footer { background: var(--navy-deep); padding: 80px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col a {
  display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem;
  margin-bottom: 8px; transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-note { font-size: 0.75rem !important; color: var(--gold) !important; opacity: 0.7; }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 60px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .team-grid, .contact-card { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-img { height: 280px; }
  .team-img { height: 280px; }
  .contact-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .team-stats { flex-direction: column; gap: 20px; }
}

/* ========== HAMBURGER ACTIVE ========== */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ========== SELECTION ========== */
::selection { background: var(--gold); color: var(--navy-deep); }
