* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
}

body {
  background: linear-gradient(#e9f2ff, #ffffff);
  color: #0b1f3a;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6%;
  background: rgba(248, 250, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.32);
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: center;
}

.navbar nav a {
  margin: 0 20px;
  text-decoration: none;
  color: #0b1f3a;
  font-weight: 00;  
  position: relative;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: rgba(0, 0, 255, 1);
}

.logo .accent {
  color: #1c3e58;
}

.cta {
  background: #1f6bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
}

/* HERO */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 6%;
  overflow: hidden;
  background-color: #0b1f3a;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
  
  /* Panning Animation */
  animation: panBackground 20s ease-in-out infinite alternate;
  will-change: opacity, background-position;
}

.hero-bg.next {
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 2; /* Sits above images */
  color: #1c3e58; 
  max-width: 800px;
}

@keyframes panBackground {
  0% { background-position: center top; }
  50% { background-position: center center; }
  100% { background-position: center bottom; }
}


.hero-content {
  max-width: 600px;
  z-index: 2;
  background: rgba(235, 235, 255, 0.85);
  padding: 3rem 4rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.hero p {
  margin: 20px 0;
  font-size: 1.1rem;
}

.primary-btn {
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  background: #ff8c2b;
  color: white;
}


/* SERVICES */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 80px 6%;
  scroll-margin-top: 150px;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 60px;
  margin-bottom: 20px;
}

/* CONTACT */

.contact-section {
  padding: 4rem 1rem;
  background: rgba(235, 235, 255, 0.85);
  display: flex;
  justify-content: center;
  text-align: center;

  background-image:
    linear-gradient(
      rgba(11, 31, 58, 0.45),
      rgba(11, 31, 58, 0.45)
    ),
    url("../assets/port-bg2.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.contact-container {
  background: rgba(235, 235, 255, 0.85);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
  margin-bottom: 0.5rem;  
}

.contact-container p {
  margin-bottom: 2rem;
  color: #555;  
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
}

.primary-btn {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  background: #007bff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.primary-btn:hover {
  background: #0056b3;
}

.cta:hover {
  background: #0056b3;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
}



/* FOOTER */
footer {
  padding: 30px;
  text-align: center;
  background: #0b1f3a;
  color: white;
}

/* FLOAT ANIMATION */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 100px 6%;
  }

  .foreground.truck {
    position: relative;
    width: 200px;
    margin-top: 40px;
  }
}
