/* --- Brand Color Palette from Logo --- */
:root {
  --brand-blue-dark: #005b94; /* Main Header & Dark Hero */
  --brand-blue-light: #0082c6; /* Accent Blue */
  --brand-green: #5bb328; /* Primary CTA & Vibrant Accent */
  --brand-green-hover: #4ca01e;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f4f8fa;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --font-main: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Span Styles */
.span-items {
  display: inline-block;
  color: var(--brand-green);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--brand-green);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brand-green-hover);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid var(--brand-blue-light);
}

.btn-secondary:hover {
  background-color: var(--brand-blue-light);
  color: #ffffff;
}

/* --- Navigation Bar --- */
.navbar {
  background-color: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--brand-blue-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- DROPDOWN MECHANICS --- */

/* Position relative on parent establishes a boundary for absolute positioning */
.dropdown {
  position: relative;
}

/* Hide the small dropdown menu by default */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Positions it directly below the nav link */
  left: 0;
  background-color: #ffffff;
  min-width: 150px; /* Controls the width of the small dropdown */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); /* Adds a subtle shadow */
  list-style: none;
  padding: 8px;
  margin: 0px;
  border-radius: 12px;
  z-index: 1; /* Keeps it on top of other content */
}

/* Style the links inside the dropdown */
.dropdown-content a {
  display: block;
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 8px;
}

/* Change link color when hovering inside the dropdown */
.dropdown-content a:hover {
  color: var(--brand-blue-light);
}

/* Show the dropdown when hovering over the .dropdown container */
.dropdown:hover .dropdown-content {
  display: block;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

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

.nav-links a:hover {
  color: var(--brand-blue-light);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, #003e66 100%);
  color: #ffffff;
  padding: 110px 0;
}

.hero-content {
  max-width: 750px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: #e0f2fe;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* --- About Section --- */
.about-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.subheading {
  color: var(--brand-green);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.about-text h2 {
  font-size: 2.1rem;
  color: var(--brand-blue-dark);
  margin: 10px 0 20px 0;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-left: 4px solid var(--brand-blue-light);
  border-radius: 4px;
}

.stat-card h3 {
  font-size: 1.6rem;
  color: var(--brand-blue-dark);
  margin-bottom: 5px;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Services Section --- */
.services-section {
  background-color: var(--bg-light);
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--brand-blue-dark);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  padding: 35px 25px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand-green);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--brand-blue-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-section {
  padding: 90px 0;
  background-color: var(--brand-blue-dark);
  color: #ffffff;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-bottom: 25px;
  border-radius: 24px;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.1rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: #e0f2fe;
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 25px;
}

.info-item strong {
  color: var(--brand-green);
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.info-item a {
  color: #ffffff;
  text-decoration: none;
}

.info-item a:hover {
  color: var(--brand-blue-light);
}

.contact-form {
  background-color: #ffffff;
  padding: 35px;
  border-radius: 6px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

/* --- Footer --- */
.footer {
  background-color: #003557;
  padding: 25px 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

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

.footer-links a {
  color: var(--brand-green);
  text-decoration: none;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
  .about-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}
