/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f4f8;
  color: #1a1a1a;
  line-height: 1.75;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #004080;
  text-decoration: underline;
}
/* Header */
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}
.logo {
  color: #004080;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  min-width: 0;
  text-transform: uppercase; /* Make company name uppercase */
}
/* Increased logo image size */
.logo img {
  height: 120px; /* Increased from 60px to 120px */
  max-width: 100%;
  vertical-align: middle;
  margin-right: 16px; /* Slightly increased margin for balance */
  width: auto;
}
/* Responsive smaller logo sizes */
@media (max-width: 900px) {
  .logo img {
    height: 90px;
    margin-right: 12px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }
  nav {
    margin-top: 0.5rem;
  }
}
@media (max-width: 600px) {
  .logo img {
    height: 60px;
    margin-right: 10px;
  }
  nav {
    gap: 0.7rem;
  }
}
@media (max-width: 400px) {
  .logo {
    font-size: 1rem;
  }
  .logo img {
    height: 48px;
    margin-right: 8px;
  }
  nav a {
    font-size: 0.9rem;
  }
}
nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
nav a {
  color: #004080;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}
nav a:hover,
nav a.active {
  background-color: #f0f4f8;
  color: #003366;
  text-decoration: none;
}
/* Hero Section */
.hero {
  background: linear-gradient(to right, #004080cc, #0073e6cc),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80")
      center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 8rem 1rem 6rem;
}
.hero h1 {
  font-size: 3.75rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.1;
}
.hero p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.btn-primary {
  background-color: #000000;
  color: white;
  font-weight: 700;
  padding: 1rem 3rem;
  border: none;
  border-radius: 12px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
}
.btn-primary:hover {
  background-color: #222222;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
/* Main container */
.container {
  max-width: 1200px;
  margin: 3rem auto 8rem;
  padding: 0 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgb(0 0 0 / 0.07);
}
/* About section */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 5rem;
}
.about-text {
  flex: 1 1 480px;
  font-size: 1.35rem;
  color: #6b7280;
  min-width: 260px;
  line-height: 1.7;
}
.about-image {
  flex: 1 1 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgb(0 64 128 / 0.2);
  min-width: 280px;
  max-width: 100%;
  transition: transform 0.3s ease;
}
.about-image img {
  width: 100%;
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: 16px;
  display: block;
}
.about-image:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgb(0 64 128 / 0.35);
}
/* Services Section */
.services {
  padding-top: 5rem;
  padding-bottom: 6rem;
  color: #6b7280; /* Neutral gray for body text */
  text-align: center;
}
.services h2 {
  font-weight: 800;
  font-size: 3.5rem;
  color: #111827;
  margin-bottom: 3rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 2.5rem 2rem 3rem;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
  color: #374151;
  min-height: 380px;
  align-items: flex-start;
  text-align: left;
}
.service-card:hover {
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.15);
  transform: translateY(-8px);
}
/* Icon styles */
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  stroke: #004080;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}
.service-title {
  font-weight: 700;
  font-size: 1.9rem;
  color: #004080;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service-description {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #6b7280;
  flex-grow: 1;
  max-width: 100%;
}
/* Footer with pattern and updated color */
footer {
  background-color: #f9fafb;
  color: #374151;
  padding: 4rem 1.5rem 3rem;
  font-size: 1rem;
  text-align: left;
  border-top: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    #e0e7ff 0,
    #e0e7ff 10px,
    #f9fafb 10px,
    #f9fafb 20px
  );
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
footer .footer-section {
  flex: 1 1 280px;
  min-width: 280px;
}
footer h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-bottom: 0.75rem;
}
footer ul li a {
  color: #475569;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}
footer ul li a:hover,
footer ul li a:focus {
  color: #2563eb;
  text-decoration: underline;
  outline: none;
}
footer .contact-info p {
  margin: 0.5rem 0;
  color: #475569;
  line-height: 1.5;
  font-size: 1rem;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .footer-section {
    min-width: 100%;
  }
}
/* Responsive */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .about {
    flex-direction: column;
  }
  .about-text,
  .about-image {
    flex: 1 1 100%;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
  }
  nav {
    margin-top: 0.5rem;
  }
  .logo img {
    height: 90px;
    margin-right: 12px;
  }
  .service-card {
    min-height: auto;
    align-items: center;
    text-align: center;
  }
  .service-description {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 4rem 0.5rem 3rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .about-text,
  .about-image {
    min-width: 0;
  }
  .logo img {
    height: 60px;
    margin-right: 10px;
  }
  nav {
    gap: 0.7rem;
  }
  .container {
    padding: 0 0.5rem;
  }
  .service-card h3 {
    font-size: 1.5rem;
  }
  .service-card p {
    font-size: 1.1rem;
  }
  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  .service-title {
    font-size: 1.6rem;
  }
}
@media (max-width: 400px) {
  .logo {
    font-size: 1rem;
  }
  .logo img {
    height: 48px;
    margin-right: 8px;
  }
  nav a {
    font-size: 0.9rem;
  }
}
