/* -------------------------
   Global Reset & Defaults
-------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* -------------------------
   Navbar
-------------------------- */
.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto; /* logo | links | hamburger */
  align-items: center;
  background: #003366;
  color: #fff;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 20px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .logo img {
  height: 60px;
  width: auto;
}

.navbar .logo h2 {
  font-size: 22px;
  color: #fff;
}

.navbar ul {
  display: flex;
  justify-content: flex-end; /* right on desktop */
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar ul li a:hover {
  color: #00bfff;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  user-select: none;
  z-index: 1100; /* above menu */
}

/* -------------------------
   Hero Slider
-------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  max-width: 500px;
}

.hero-text h1 {
  font-size: clamp(1.2rem, 4vw, 3rem);
  line-height: 1.3;
}

.hero-text p {
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  margin-top: 12px;
}

.btn {
  display: inline-block;
  font-size: clamp(0.8rem, 2vw, 1rem);
  padding: clamp(6px, 1.5vw, 12px) clamp(12px, 3vw, 20px);
  margin-top: 12px;
  background: #003366;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #0055aa;
  transform: translateY(-2px);
}

/* Slide Positions */
.slide:first-child .hero-text {
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 600px;
}

.slide:nth-child(2) .hero-text {
  right: 10%;
  top: 15%;
  left: auto;
  transform: none;
  text-align: right;
  max-width: 450px;
}

.slide:last-child .hero-text {
  left: 10%;
  top: 13%;
  transform: none;
  text-align: left;
  max-width: 500px;
}

.slide:last-child .hero-text h1 {
  font-size: 2rem;
  line-height: 1.4;
}

.slide:last-child .hero-text p {
  font-size: 1rem;
}

/* -------------------------
   Content Sections
-------------------------- */
.content {
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
  gap: 40px;
  max-width: 900px;
  margin: auto;
}

.column h2 {
  margin-bottom: 15px;
  color: #003366;
  font-size: 28px;
  text-transform: uppercase;
}

.content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #333;
}

/* -------------------------
   Services Section
-------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: #003366;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.service-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out;
}

.service-card h3 {
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card:hover h3,
.service-card:hover .icon {
  color: #66b2ff;
}

/* -------------------------
   Global Presence
-------------------------- */
.presence {
  background: #0a3d62;
  padding: 40px 20px;
  text-align: center;
  font-size: 18px;
  color: #fff;
  border-top: 3px solid #0055aa;
  border-bottom: 3px solid #0055aa;
}

/* -------------------------
   Footer
-------------------------- */
footer {
  text-align: center;
  background: #003366;
  color: #fff;
  padding: 15px;
  margin-top: 30px;
  font-size: 14px;
}

/* -------------------------
   Responsive Design
-------------------------- */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 30px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .content {
    padding: 40px 50px;
  }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 15px 20px;
    position: relative;
  }

  .hamburger {
    display: block;
    justify-self: end;
  }

  .navbar ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background: #003366;
    position: absolute;
    top: 100%;
    left: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    border-top: 1px solid #0055aa;
    z-index: 1000;
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar ul.active {
    max-height: 500px;
  }

  .navbar ul li a {
    font-size: 14px;
    padding: 5px 0;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-slider {
    height: 250px;
  }

  .hero-text {
    max-width: 90%;
    left: 5%;
    right: 5%;
    bottom: 20%;
    transform: none;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .hero-text p {
    font-size: 0.9rem;
    margin-top: 8px;
  }

  .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    margin-top: 10px;
  }

  .content {
    padding: 20px 15px;
  }

  footer {
    font-size: 13px;
    padding: 10px;
  }

  .slide:last-child .hero-text h1 {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .slide:last-child .hero-text p {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .slide:last-child .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 12px;
  }
}
