/* =========================================
   GLOBAL STYLES
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f7fb;
  color: #222;
  line-height: 1.6;
}

/* =========================================
   NAVBAR
========================================= */

.navbar {
  width: 100%;
  background: #002147;
  padding: 14px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.nav-links li {
  display: inline-block;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links li a:hover {
  color: #4db8ff;
}

/* =========================================
   HEADER
========================================= */

.main-header {
  background: linear-gradient(to right, #004e92, #000428);
  color: white;
  padding: 12px 25px;
}

/* HEADER CONTENT */

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* LOGO */

.logo-image {
  width: 80px;
  height: auto;
  object-fit: contain;
  background: white;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* HEADER TEXT */

.header-text {
  text-align: left;
}

.header-text h1 {
  font-size: 24px;
  margin-bottom: 4px;
  font-weight: bold;
}

.header-text p {
  font-size: 13px;
  opacity: 0.95;
}

/* =========================================
   SLIDESHOW
========================================= */

.slideshow-container {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  background: #000;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
}

.slide img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: center;
}

.fade {
  animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 1;
  }
}

/* =========================================
   SLIDE TEXT
========================================= */

.slide-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 550px;
}

.slide-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.slide-text p {
  font-size: 16px;
}

/* =========================================
   SLIDESHOW ARROWS
========================================= */

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 18px;
  color: white;
  font-weight: bold;
  font-size: 28px;
  background: rgba(0, 0, 0, 0.45);
  transition: 0.3s ease;
  z-index: 10;
  user-select: none;
}

.prev {
  left: 10px;
  border-radius: 4px;
}

.next {
  right: 10px;
  border-radius: 4px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* =========================================
   SECTIONS
========================================= */

section {
  padding: 60px 10%;
}

.about {
  background: white;
}

.about h2,
.services h2 {
  color: #004e92;
  margin-bottom: 20px;
  font-size: 28px;
}

.about p {
  margin-bottom: 18px;
  font-size: 16px;
}

/* =========================================
   SERVICES GRID
========================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #004e92;
  margin-bottom: 15px;
}

/* =========================================
   FOOTER
========================================= */

footer {
  background: #000428;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 15px;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 768px) {

  /* NAVBAR */

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li a {
    font-size: 14px;
  }

  /* HEADER */

  .header-content {
    flex-direction: row;
    gap: 12px;
  }

  .logo-image {
    width: 60px;
    padding: 4px;
  }

  .header-text h1 {
    font-size: 18px;
  }

  .header-text p {
    font-size: 11px;
  }

  /* SLIDESHOW */

  .slideshow-container {
    height: 350px;
  }

  .slide img {
    height: 350px;
  }

  .slide-text {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 15px;
  }

  .slide-text h2 {
    font-size: 20px;
  }

  .slide-text p {
    font-size: 14px;
  }

  /* SECTIONS */

  .about h2,
  .services h2 {
    font-size: 22px;
  }

  .about p {
    font-size: 15px;
  }

  /* ARROWS */

  .prev,
  .next {
    font-size: 22px;
    padding: 10px 14px;
  }

}