/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0d1b2a;
  --primary-light: #1b2d45;
  --accent: #e8a838;
  --accent-dark: #c78c20;
  --accent-light: #f5c96a;
  --white: #ffffff;
  --light-gray: #f4f5f7;
  --mid-gray: #d1d5db;
  --dark-gray: #6b7280;
  --text: #1f2937;
  --text-light: #4b5563;
  --success: #16a34a;
  --error: #dc2626;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --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, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-dark { background: var(--primary); color: var(--white); }
.section-light { background: var(--light-gray); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.accent-text { color: var(--accent); }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover { background: var(--primary-light); }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1200&q=80') center/cover no-repeat;
  opacity: 0.15;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 3rem;
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}
.badge-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--accent); }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--text-light); font-size: 0.95rem; }

/* ===== GRID ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== STATS ===== */
.stats-bar {
  background: var(--accent);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2rem;
  color: var(--primary);
}
.stat-item p {
  color: var(--primary-light);
  font-weight: 500;
  margin: 0;
}

/* ===== FEATURES ===== */
.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--text-light); }
.about-list {
  margin: 24px 0;
}
.about-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}
.about-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
}
.timeline-item h4 { color: var(--accent); margin-bottom: 4px; }
.timeline-item p { color: var(--text-light); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  text-align: center;
  padding: 80px 0;
}
.cta h2 { color: var(--white); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-info-card h3 { margin-bottom: 24px; }
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,168,56,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-detail p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }

/* ===== MAP ===== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 40px;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th {
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
}
.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--light-gray);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--light-gray); }

/* ===== TEAM ===== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.team-card-body { padding: 20px; }
.team-card-body h3 { margin-bottom: 4px; }
.team-card-body p { color: var(--accent); font-weight: 500; font-size: 0.9rem; }

/* ===== JOB CARDS ===== */
.job-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border-left: 4px solid var(--accent);
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-info h3 { margin-bottom: 8px; }
.job-meta {
  display: flex;
  gap: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
}
.job-meta span { display: flex; align-items: center; gap: 6px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 0.95rem; line-height: 1.7; }
.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 60px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .hero { min-height: 500px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero::after { width: 100%; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .job-card { flex-direction: column; gap: 16px; text-align: center; }
  .job-meta { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item h3 { font-size: 1.5rem; }
}
