/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base Styles */
body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding-bottom: 60px; /* avoid content hidden behind fixed footer */
}

/* Header with Slider Background */
.slider-header {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.slider-header .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slider-header .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slider-header .slide.active {
  opacity: 1;
}

/* Overlayed Header Content */
.header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 100px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.header-content h1 {
  font-size: 2.5rem;
}
.header-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Sticky Centered Navy Navigation */
nav {
  background: #001f3f;
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0; /* increased height */
}
.nav {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1rem; /* ensure readable size */
  padding: 0.75rem 1.5rem; /* increased padding */
  border-radius: 5px;
  transition: background 0.3s ease;
}
.nav a:hover,
.nav a.active {
  background: #03477f;
}

/* Content Sections */
section {
  padding: 2rem 1rem;
  max-width: 960px;
  margin: auto;
}
h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid #001f3f;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.services ul {
  padding-left: 1.5rem;
  list-style: disc;
}
.services ul li,
.about p,
.contact p {
  margin-bottom: 0.5rem;
}

/* Tab Content */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* Footer Fixed Bottom */
footer {
  background: #001f3f;
  color: #fff;
  text-align: center;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
  .slider-header {
    height: 250px;
  }
  .header-content {
    padding-top: 50px;
  }
  section {
    padding: 1.5rem 1rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .nav {
    flex-direction: column;
    align-items: center;
  }
}

/* container spacing & max width */
.our‑services {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* flex layout */
.services‑list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;                  /* space between cards */
}

/* each “card” */
.services‑list > li {
  /* background: #e6f7ff; */
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 calc(33% - 2rem); /* three columns, minus gap */
  box-sizing: border-box;
  position: relative;
  color: #001f3f;
}

/* check icon */
.services‑list > li::before {
  content: "✔";
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #ffdc57;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #001f3f;
}

/* card title sits just after the icon */
.services‑list > li > strong {
  display: block;
  margin-left: 2.7rem; /* icon width + spacing */
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

/* inner list styling */
.services‑list li > ul {
  list-style: disc;
  margin: 0 0 0 2.7rem;  /* align with title text */
  padding: 0;
  color: #333;
}
.services‑list li > ul > li {
  margin-bottom: 0.4rem;
}

/* responsive breakpoints */
@media (max-width: 900px) {
  .services‑list > li {
    flex: 1 1 calc(50% - 2rem); /* two columns */
  }
}
@media (max-width: 600px) {
  .services‑list > li {
    flex: 1 1 100%;             /* full‑width on small screens */
  }
}
