/* --- CSS Reset & Custom Properties --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff5a1f;
  --primary-hover: #e0480f;
  --bg-dark: #121824;
  --card-bg: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  --border-color: #e5e7eb;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

/* --- Header & Navigation Bar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background-color: var(--bg-dark);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* --- Navigation Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

/* --- SECTION 1: Page Header (Hero) --- */
.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 24, 36, 0.75);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: #e5e7eb;
}

/* --- Section Title Reusable Styles --- */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--bg-dark);
}

.section-title p {
  color: var(--text-muted);
}

/* --- SECTION 2: Our Story (Features) --- */
.features {
  padding: 5rem 5%;
  background-color: #ffffff;
}

/* --- SECTION 3: Key Company Stats (How It Works Container) --- */
.how-it-works {
  padding: 5rem 5%;
  background-color: var(--bg-light);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  background: #ffffff;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step p strong {
  color: var(--bg-dark);
  font-size: 1.1rem;
}

/* --- SECTION 4: Our Team (Testimonials Grid) --- */
.testimonials {
  padding: 5rem 5%;
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.review-card h4 {
  font-size: 1.15rem;
  color: var(--bg-dark);
  margin-bottom: 0.2rem;
}

/* --- SECTION 5: Footer --- */
.footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 4rem 5% 1.5rem 5%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h3, 
.footer-col h4 {
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }
  
  .nav-links {
    display: none; /* Hide standard links on mobile viewports */
  }

  .features, 
  .how-it-works, 
  .testimonials {
    padding: 3rem 5%;
  }
}