/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #1a1a1a;
  background-color: #fff;
  scroll-behavior: smooth;
}

/* CONTAINERS */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  background-color: #002147;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 15px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f9d342;
}

.toggle {
  display: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slides {
  display: none;
  position: relative;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: #fff;
  max-width: 500px;
  background-color: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 6px;
}

.hero-caption h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero-caption p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.btn {
  background-color: #f9d342;
  color: #002147;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

.btn:hover {
  background-color: #e6c025;
}

.btn-light {
  background-color: #002147;
  color: #fff;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  margin-top: 20px;
}

.section {
  padding: 60px 0;
  text-align: center;
}

/* SERVICE CARDS */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.card h3 {
  color: #002147;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #333;
}

/* ABOUT & PROJECTS */
.about-preview p {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.projects-preview ul {
  list-style: none;
  margin-top: 20px;
  font-size: 0.95rem;
  color: #333;
}

.projects-preview ul li {
  padding: 8px 0;
}

/* CTA SECTION */
.cta-section {
  background-color: #f4f6f8;
  text-align: center;
  padding: 60px 20px;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cta-section p {
  margin-bottom: 20px;
  font-size: 1rem;
}

/* FOOTER */
.footer {
  background-color: #011d3a;
  color: #fff;
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-left,
.footer-links,
.footer-social {
  flex: 1;
  min-width: 220px;
  text-align: center;
}

.footer-brand {
  font-weight: bold;
  color: #f9d342;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer a {
  color: #f9d342;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-links ul {
  list-style: none;
  margin-top: 10px;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-social a img {
  width: 24px;
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #002147;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    border-radius: 5px;
  }

  .nav-links.open {
    display: flex;
  }

  .toggle {
    display: block;
  }

  .hero-caption {
    bottom: 20px;
    left: 20px;
    max-width: 90%;
  }

  .footer-content {
    flex-direction: column;
  }
}
