/* =========================================
   1. COLOR PALETTE & VARIABLES
   ========================================= */
:root {
  --bg-main: #0a0a0a;       /* Main background */
  --bg-secondary: #171717;  /* Secondary background for alternating sections */
  --bg-header: #ffffff;     /* Light header background */
  --bg-card: #262626;       /* Background for service/industry cards */
  --primary: #f27236;       /* Softer orange accent color matching the image */
  --primary-hover: #db5e25; /* Hover state for accent color */
  --text-main: #f5f5f5;     /* Main text color (for dark sections) */
  --text-header: #111111;   /* Dark text for the light header */
  --text-muted: #a3a3a3;    /* Secondary/muted text */
  --border-color: #333333;  /* Borders for cards and inputs */
  
  --radius: 50px;           /* Pill-shaped radius for buttons */
  --radius-lg: 12px;        /* Slightly larger radius for cards */
  --transition: 0.3s ease;
}

/* =========================================
   2. GLOBAL STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* =========================================
   3. TYPOGRAPHY & TAGS
   ========================================= */
h1, h2, h3, h4 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.section-tag {
  display: inline-block;
  background-color: transparent;
  color: var(--text-muted);
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

/* =========================================
   4. NAVIGATION
   ========================================= */
header {
  background-color: var(--bg-header);
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-header);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  color: #555555;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* =========================================
   5. BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* =========================================
   6. LAYOUT & SECTIONS
   ========================================= */
.section {
  padding: 5rem 2rem;
}

.section-bg {
  background-color: var(--bg-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* =========================================
   7. CARDS & GRID
   ========================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* =========================================
   8. FOOTER
   ========================================= */
.site-footer {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p, .footer-contact p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.site-footer h3 {
  color: var(--primary);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}