/* General Styles */
body {
  font-family: Arial, sans-serif;
  color: #4B5563; /* Gray text */
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.site-header {
  background-color: #1E3A8A; /* Deep blue */
  padding: 8px 0; /* Reduced from 15px */
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

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

.site-header .logo {
  max-height: 130px; /* Reduced from 200px */
  width: auto;
}

.navbar {
  background-color: transparent;
}

.navbar-brand, .nav-link {
  color: #FFFFFF !important; /* White text */
  font-size: 1rem;
  padding: 6px 10px; /* Reduced from 8px 12px */
}

.nav-link:hover {
  color: #D1D5DB !important; /* Light gray on hover */
}

.navbar-toggler {
  border: none;
  padding: 8px; /* Reduced from 10px */
}

/* Banner Section */
.banner-section {
  margin-top: 5px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.banner-img {
  width: 80%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.banner-text {
  position: absolute;
  top: 0;
  left: 10%; /* Align with the left edge of the 80% image */
  width: 40%; /* Relative to the banner-section */
  height: 100%;
  background: linear-gradient(to right, rgba(30, 58, 138, 0.9), transparent); /* Less transparent */
  color: #FFFFFF;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.banner-text p {
  font-size: 1.1rem;
}

.banner-text-full {
  display: block;
}

.banner-text-mobile {
  display: none;
}

/* About Preview Image */
.about-img {
  width: 450px;
  height: auto;
  object-fit: cover;
}

/* Main Content */
.main-content {
  margin: 0 5%;
  flex: 1 0 auto;
}

/* Hero Section */
.hero {
  background: #F3F4F6; /* Light gray */
  padding: 40px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: #1E3A8A; /* Deep blue */
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Placeholder Images */
.placeholder-img {
  background: #9CA3AF; /* Medium gray */
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
  text-align: center;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s;
}

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

.card-title {
  color: #1E3A8A; /* Deep blue */
  font-size: 1.25rem;
}

/* Buttons */
.cta-button {
  background-color: #1E3A8A; /* Deep blue */
  color: #FFFFFF;
  font-size: 1.1rem;
  padding: 12px 24px;
  border: none;
  min-width: 200px;
}

.cta-button:hover {
  background-color: #3B82F6; /* Lighter blue */
  color: #FFFFFF;
}

.btn-outline {
  border-color: #1E3A8A; /* Deep blue */
  color: #1E3A8A;
  font-size: 1rem;
  padding: 8px 16px;
}

.btn-outline:hover {
  background-color: #1E3A8A;
  color: #FFFFFF;
}

/* Footer */
.site-footer {
  background: #1E3A8A; /* Deep blue */
  color: #FFFFFF;
  padding: 20px 0;
  width: 100%;
  flex: 0 0 auto;
}

.site-footer a {
  color: #D1D5DB; /* Light gray */
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #FFFFFF;
}

/* SEO Enhancements */
img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .site-header {
    padding: 8px 0; /* Reduced from 10px */
    height: auto;
  }

  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
  }

  .site-header .logo {
    max-height: 60px; /* Reduced from 80px */
    float: left;
    margin: 0;
  }

  .navbar {
    width: auto;
  }

  .navbar-toggler {
    float: right;
    margin: 0;
    padding: 8px; /* Reduced from 10px */
  }

  .navbar-collapse {
    background-color: #1E3A8A; /* Deep blue */
    padding: 10px 0;
    clear: both;
  }

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

  .nav-link {
    font-size: 0.9rem;
    padding: 6px 10px; /* Reduced from 6px 10px */
  }

  .team-image {
    width: 99%;
  }

  .banner-section {
    margin-top: 5px;
  }

  .banner-img {
    width: 90%;
    max-height: 250px;
  }

  .banner-text {
    left: 5%; /* Adjust for smaller image width */
    width: 70%;
    padding: 15px;
  }

  .banner-text h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .banner-text p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .banner-text-full {
    display: none;
  }

  .banner-text-mobile {
    display: block;
  }

  .about-img {
    margin-top: 5px;
    width: 99%;
    max-width: 100%;
  }

  .hero {
    padding: 20px 0;
  }

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

  .hero p {
    font-size: 0.9rem;
  }

  .main-content {
    margin: 0 3%;
  }

  .placeholder-img {
    height: 150px;
    font-size: 1rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
    min-width: 180px;
  }

  .btn-outline {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .site-footer {
    padding: 15px 0;
  }

  .site-footer p {
    font-size: 0.85rem;
  }
}