/* --- Variables --- */
:root {
  --primary-color: #0f172a; /* Deep Slate Blue */
  --secondary-color: #2563eb; /* Crisp Action Blue */
  --secondary-hover: #1d4ed8;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --white: #ffffff;
}

/* --- Base Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3.5rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* --- Navigation --- */
.navbar {
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
}

.btn-outline {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* --- Sections --- */
.section {
  padding: 7rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* --- Hero Section --- */
.hero {
  /* 1. The rgba() values are your original dark colors with 85% opacity (0.85).
    2. Replace 'images/your-hero-image.jpg' with the actual path to your image file.
  */
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%), url('images/bg.png');
  
  /* These properties make sure the image fits perfectly */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  color: var(--white);
  padding: 9rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero p {
  color: #cbd5e1;
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* --- About Section --- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.service-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-logo {
  height: 50px;
  object-fit: contain;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.fallback-title {
  display: none; /* Hide unless image fails */
}

.service-links {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
}

/* --- Contact Section --- */
.contact p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-link {
  text-decoration: none;
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s ease;
}

.contact-link:hover {h
  color: var(--secondary-color);
}

/* --- Footer --- */
footer {
  background-color: var(--primary-color);
  color: #94a3b8;
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid #1e293b;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .hero {
    padding: 6rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .service-card {
    padding: 2rem;
  }
}