* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  background: white;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  z-index: 10;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.3rem; /* space between logo and text */
}

.header-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 2rem;
  font-weight: bold;
  color: #002d5a;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.1rem 10%;
}
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #002d5a;
}
nav a {
  margin-left: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #002d5a;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: visible;
}
.slides {
  position: absolute;
  width: 100%;
  height: 100%;
}
.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  z-index: 2;
}
.overlay h1 {
  font-size: 2rem;
  margin-bottom: 0;
}

/* Services */
.services {
  position: absolute;
  bottom: -110px; /* was -90px — now safe */
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  padding: 1.5rem;
  z-index: 3;
  text-align: center;
  background: transparent;
}

.service-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.card {
  background-color: #fafbfc; /* very light bluish-gray */
  padding: 1.2rem;
  width: 240px;
  border-radius: 6px;
}



.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.card img {
  width: 50px;
  height: auto;
  margin-bottom: 1rem;
}
.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #002d5a;
}
.card p {
  font-size: 0.85rem;
  color: #444;
}

/* Footer - Now white background */
footer {
  background-color: #ffffff;
  color: #222;
  padding: 1rem 1% 2rem ;
  margin-top: 80px;
}
.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-col {
  flex: 1;
  min-width: 220px;
  --max-width: 20%;
}
.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #002d5a;
}
.footer-col p,
.footer-col a,
.footer-col li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 3px;
}
.footer-col ul li a:hover {
  text-decoration: underline;
}
.contact-bg {
 background-color: #002d5a;
  color: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  width: 100%;          /* Fills its column */
  height: 100%;         /* Optional: full height */
  max-width : 45%;
 margin-top:15px;
}
.contact-bg h3,
.contact-bg p {
  color: #fff;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.contact-item img {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.member-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.member-logos .logo-box {
  width: 120px;
  height:120px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

.member-logos .logo-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.logo-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.logo-img {
  width: 100px;       /* Adjust width as needed */
  height: auto;
  object-fit: contain;
  padding: 5px;
  background-color: white; /* Optional: add border or bg to match site */
  border-radius: 6px;
}
.footer-spacer {
	  background-color: #002d5a;
  --height: 20px; /* Adjust this value for more or less space */
}

.footer-columns {
  align-items: flex-start;
}

.about-hero {
  background: url('assets/banner1.jpg') center/cover no-repeat;
  text-align: center;
  padding: 4rem 1rem;
  color: white;
  background-color: #002d5a;
}
.about-hero h1 {
  font-size: 2.5rem;
}
.about-hero p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.about-content {
  max-width: 1100px;
  margin: 3rem auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 1rem;
  align-items: center;
}
.about-text {
  flex: 1;

}
.about-text h2 {
  color: #002d5a;
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}
.about-images {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.about-images img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.contact-page {
  gap: 3rem;
  align-items: flex-start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  padding: 0.8rem;
  background-color: #002d5a;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #004080;
}

.contact-info-box {
  flex: 1;
  background: #fafbfc;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-info-box h3 {
  color: #002d5a;
  margin-bottom: 1rem;
}
/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 0.5rem;
  }

  .slider {
    height: 280px;
  }

 .overlay h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 1rem; /* optional */
}

  .services {
  position: relative;
  margin-top: -60px;
  width: 85%;
  padding: 4rem;
  text-align: center;
  background: transparent;
}

  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 320px;
  }

  .footer-columns {
    flex-direction: column;
  }

  .footer-col,
  .contact-bg {
    max-width: 100%;
  }

  body.home-page footer {
    margin-top: 450px;
  }

  footer {
    margin-top: 2rem; /* default for other pages */
  }
}