/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ========== HEADER ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #004080;
  color: white;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo img {
  height: 50px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  margin-top: 10px;
}

/* NAVIGATION */
.desktop-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.desktop-nav ul li {
  margin-left: 20px;
}
.desktop-nav ul li a {
  color: white;
  padding: 8px 12px;
  transition: background 0.3s ease;
}
.desktop-nav ul li a:hover {
  background-color: #003060;
  border-radius: 4px;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #0a2540; /* fallback */
}
@media (max-width: 900px) {
  .hero-slider { height: 360px; }
}
@media (max-width: 600px) {
  .hero-slider { height: 280px; }
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease-in-out;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Hero Text Overlay */
.hero-slider .hero-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 20px 32px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,0.6) 85%);
}
.hero-slider .hero-text h1 {
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2rem);
}
.hero-slider .hero-text p {
  opacity: 0.95;
}

/* Slider Arrows */
.hero-slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  color: #fff;
  background: rgba(0,0,0,0.45);
  font-size: 2rem;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  z-index: 2;
}
.hero-slider .arrow:hover {
  background: rgba(0,0,0,0.6);
}
.hero-slider .prev { left: 12px; }
.hero-slider .next { right: 12px; }

/* Slider Dots */
.hero-slider .slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  text-align: center;
  z-index: 2;
}
.hero-slider .dot {
  display: inline-block;
  width: 11px; height: 11px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-slider .dot:hover {
  transform: scale(1.12);
}
.hero-slider .dot.active {
  background: #fff;
}

/* ========== ABOUT SECTION ========== */
.about {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.about p {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* CTA Block */
.cta-block {
  margin-top: 40px;
}
.cta-block h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cta-block a.cta-button {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.cta-block a.cta-button:hover {
  background-color: #0055aa;
}

/* ========== SERVICES SECTION ========== */
#section-services {
  padding: 40px 20px;
  background: #f7f7f7;
}
.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.service-item {
  flex: 1 1 calc(25% - 28px);
  max-width: calc(25% - 28px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 16px;
  text-align: center;
}
.service-item h3 {
  margin-top: 12px;
  font-size: 1.1rem;
}
.service-item p {
  color: #555;
}

/* Responsive service items */
@media (max-width: 1024px) {
  .service-item {
    flex: 1 1 calc(50% - 28px);
    max-width: calc(50% - 28px);
  }
}
@media (max-width: 600px) {
  .service-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ========== CLIENTS SECTION ========== */
.clients {
  padding: 40px 20px;
  text-align: center;
}
.clients h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.clients p {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 1rem;
  color: #444;
}

/* ========== FOOTER ========== */
footer {
  background-color: #002040;
  color: #ccc;
  text-align: center;
  padding: 20px;
}
footer a {
  color: #4da6ff;
  text-decoration: none;
  font-weight: bold;
}
/* Base style - Desktop default */
.logo img {
  height: 100px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* Responsive: Shrink on smaller screens */
@media screen and (max-width: 768px) {
  .logo img {
    height: 70px; /* Adjust for smaller screens */
    margin: 0 auto; /* Center the logo */
  }

  header {
    text-align: center;
  }
}





