/* General Body Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a1a;
  box-sizing: border-box;
  margin: 0;
  padding-top: 93px; /* Adjusted to prevent content from hiding behind fixed header */
}

/* Header & Navbar */
#headerWrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.4s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hide-header {
  transform: translateY(-100%);
}

.top-bar {
  background: #083a6e;
  color: white;
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.top-bar .icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: white;
  position: relative;
}

.logo img {
  width: 150px;
  display: block;
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #083a6e;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding-bottom: 5px;
  transition: border-bottom 0.2s ease;
}

.nav-links li a:hover {
  border-bottom: 2px solid #083a6e;
}

.btn-outline {
  background: #083a6e;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-outline:hover {
  background: #062a4e;
}

/* Footer */
.footer {
  background-image: url('images/aluminium.png');
  background-size: cover;
  background-position: center;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
}

.footer-overlay {
  background-color: rgba(8, 58, 110, 0.85); /* Slightly more opaque for readability */
  padding: 60px 20px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #fff;
}

.footer h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #fff;
}

.footer p,
.footer a {
  font-size: 14px;
  color: #e0e0e0;
  line-height: 1.7;
  text-decoration: none;
}

.footer-column p {
    text-align: justify;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a:hover {
  color: #fff;
}

.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #083a6e;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 14px;
  color: #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* WhatsApp Button */
#whatsapp .wtsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.4s ease, opacity 0.4s ease;
  text-decoration: none; /* 👈 Add this line */
}

#whatsapp .wtsapp:hover {
  transform: scale(1.1);
}

#whatsapp .wtsapp::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 100%;
  height: 100%;
  background: #25d366;
  border-radius: 50%;
  animation: pulse-border 1.5s ease-out infinite;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) scale(1.5);
    opacity: 0;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  body {
    padding-top: 79px; /* Adjust for smaller header */
  }

  .top-bar {
    font-size: 11px;
    padding: 5px 10px;
  }

  .top-bar .icon {
    width: 12px;
    height: 12px;
  }

  .navbar {
    padding: 10px 15px;
  }

  .menu-icon {
    display: block;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }

  .nav-right.show {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    width: 100%;
  }

  .btn-outline {
      margin-top: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column p {
      text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  #whatsapp .wtsapp {
    width: 45px;
    height: 45px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }
}