/* ===== Variables ===== */
:root {
  --primary: #1B3A5C;
  --primary-light: #264d75;
  --accent: #E8A838;
  --accent-hover: #d4952e;
  --bg: #FAFAFA;
  --bg-alt: #F0F2F5;
  --text: #2D2D2D;
  --text-light: #6B7280;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1120px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-light); }

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ===== Layout ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; display: block; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 6px 0;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--primary) 0%, #0f2440 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(232, 168, 56, 0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Value Props ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.value-card h3 { margin-bottom: 12px; }
.value-card p { font-size: 0.9rem; }

/* ===== Stats ===== */
.stats {
  background: var(--primary);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-item p { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }

/* ===== Logos ===== */
.logos-section { background: var(--bg-alt); padding: 48px 0; }
.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logos-grid img { height: 64px; opacity: 1; transition: transform var(--transition); }
.logos-grid img:hover { transform: scale(1.05); }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0f2440 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255, 255, 255, 0.8); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== Process Steps ===== */
.process-steps {
  display: grid;
  gap: 0;
  margin-top: 48px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: step;
}
.step:last-child { border-bottom: none; }
.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.step h3 { margin-bottom: 8px; color: var(--primary); }
.step p { font-size: 0.95rem; }

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.service-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.service-item p { font-size: 0.9rem; }

/* ===== Track Record Cards ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-image {
  height: 200px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 24px; }
.project-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.project-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.project-body p { font-size: 0.85rem; margin-bottom: 16px; }
.project-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.about-content h3 { margin-bottom: 16px; }
.about-content p { margin-bottom: 16px; font-size: 0.95rem; }
.company-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}
.company-info table { width: 100%; border-collapse: collapse; }
.company-info th,
.company-info td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}
.company-info th {
  width: 140px;
  color: var(--text-light);
  font-weight: 500;
}
.company-info td { color: var(--text); }
.company-info tr:last-child th,
.company-info tr:last-child td { border-bottom: none; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.form-submit:hover { background: var(--accent-hover); }
.contact-info h3 { margin-bottom: 24px; }
.contact-detail { margin-bottom: 24px; }
.contact-detail h4 { font-size: 0.9rem; color: var(--text); margin-bottom: 4px; }
.contact-detail p { font-size: 0.9rem; }

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.footer-logo { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; display: inline-flex; align-items: center; gap: 10px; }
.footer-logo-icon { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #0f2440 100%);
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-header p { color: rgba(255, 255, 255, 0.7); max-width: 480px; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a.active::after { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .step { grid-template-columns: 48px 1fr; }
  .hero { padding: 130px 0 70px; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
