/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #e7f1ff;
  color: #222;
}

a {
  text-decoration: none;
  color: #004080;
}

a:hover {
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 64, 128, 0.9);
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
}

nav {
  position: relative;
}

#nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu li a {
  color: #e0f7ff; /* lighter blueish white for better contrast */
  font-size: 16px;
  font-weight: 600; /* make links a bit bolder */
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.7); /* subtle shadow for readability */
  transition: color 0.3s;
}
.nav-menu li a:hover {
  color: #00c4ff; /* brighter blue on hover */
}


/* Video background section */
.hero-video {
  position: relative;
  height: 75vh;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e0f0ff;
  text-align: center;
  text-shadow: 0 0 10px #003366;
}

.overlay h1 {
  font-size: 3rem;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.btn-primary {
  background-color: #0056b3;
  color: #fff;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #003d80;
}

/* HERO Section */
.hero {
  padding: 140px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 800;
  color: #003366;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  color: #004080;
}

/* ABOUT Section */
#about {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto 80px;
  color: #003366;
}

#about h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

#about p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

/* CAPABILITIES */
.dark {
  background-color: #003366;
  color: #e7f1ff;
  padding: 50px 20px;
}

.capabilities {
  max-width: 1200px;
  margin: 0 auto;
}

.capabilities h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.equipment-item h3 {
  margin-bottom: 15px;
  font-weight: 700;
}

.equipment-item p {
  font-size: 1rem;
  line-height: 1.5;
}

/* PROJECTS */
#projects {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto 80px;
  color: #003366;
}

#projects h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.project {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.project-img img {
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 0 10px #999;
  width: 100%;
  height: auto;
}

.project-details {
  max-width: 600px;
}

.project-details h3 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.5rem;
}

.project-details p {
  font-size: 1rem;
  line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 40px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #e7f1ff;
  font-weight: 700;
}

.testimonial {
  background-color: #0056b3;
  padding: 25px 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  color: #dbe9ff;
  font-style: italic;
}

.testimonial h4 {
  margin-top: 15px;
  font-style: normal;
  font-weight: 700;
}

/* MESSAGE from contractor */
.message {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 20px;
  text-align: center;
}

.message h2 {
  margin-bottom: 15px;
}

.toggle-btn {
  background-color: #0056b3;
  border: none;
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.toggle-btn:hover {
  background-color: #003d80;
}

.message-box {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  text-align: left;
}

.message-box.hidden {
  display: none;
}

.director-photo {
  width: 150px;
  border-radius: 50%;
  box-shadow: 0 0 10px #003366;
}

.message-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #003366;
}

.first-l {
  float: left;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  padding-right: 8px;
  color: #0056b3;
}

/* CONTACT */
#contact {
  background-color: #f0f8ff;
  padding: 50px 20px;
  max-width: 700px;
  margin: 0 auto 80px;
  border-radius: 10px;
  box-shadow: 0 0 15px #aaa;
}

#contact h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 2rem;
  color: #003366;
  font-weight: 700;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  font-size: 1rem;
  border: 2px solid #0056b3;
  border-radius: 5px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form button {
  align-self: center;
  width: 150px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: #003366;
  color: #e7f1ff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive styles */

@media (max-width: 1024px) {
  .nav-container {
    padding: 15px 40px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 15px 20px;
  }

  #nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgba(0, 64, 128, 0.95);
    flex-direction: column;
    width: 200px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: none;
    gap: 15px;
    z-index: 1001;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li a {
    font-size: 1.1rem;
  }

  .project {
    flex-direction: column;
  }

  .project-img img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .overlay p {
    font-size: 1rem;
  }
}
