html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  font-family: 'Times New Roman', Times, serif;
}

/* Box sizing fix */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 🔶 Banner Fullscreen */
.banner {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  text-align: center;
  z-index: 2;
}

.banner-text h1 {
  font-size: 2rem;
  margin: 0;
}

.banner-text p {
  font-size: 1.5rem;
  margin-top: 10px;
}

/* 🔷 Embossed Navbar (consistent across all pages) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  padding: 1rem 2rem;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    color: rgb(0, 0, 167);
    text-decoration: none; /* Remove underline */
  }

.logo img {
    width: 50px;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
  }

   .logo:hover img {
    transform: scale(1.05);
  }


.logo-text {
    font-size: 1.4rem;
    color: rgb(0, 0, 167);
    font-weight: bold;
    letter-spacing: 0px;
    white-space: nowrap; /* Desktop: one line */
  }

/* 🔸 Navigation Links (Desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: rgb(0, 0, 167);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: #f26722;
  color: white;
}

/* 🔺 Hamburger Icon (Mobile) */
.hamburger {
  display: none;
  font-size: 30px;
  color: #0000a7;
  background: none;
  border: none;
  cursor: pointer;
}

/* 🔻 Mobile Styles */
@media screen and (max-width: 768px) {

   .logo-text {
      white-space: normal; /* allow wrapping */
      line-height: 1.1;
      text-align: left;
    } 
    
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    flex-direction: column;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: none;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }

  .banner-text {
    text-shadow: none;
  }
}

/* 🟢 Section Title */
.section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #030303;
  margin-bottom: 20px;
}

/* 📦 Product Display */
.section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  margin: 20px 0;
}

.product-display {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.product-card {
  flex: 1 1 300px;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 30px;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: bold;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.product-card:hover,
.product-card:active {
  transform: scale(1.05);
  cursor: pointer;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  line-height: 1.4;
}

/* 🛠️ Services */
.service-display {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.service-card {
  flex: 1 1 calc(25% - 20px);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 30px;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: bold;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  min-width: 260px;
}

.service-card:hover,
.service-card:active {
  transform: scale(1.05);
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.4;
}

/* 🔁 Responsive Fix: Stack cards on smaller screens */
@media (max-width: 992px) {
  .service-card {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .service-card {
    flex: 1 1 100%;
  }
}

/* 📍 Footer */
.footer {
  background-color: #50cff3;
  color: white;
  padding: 40px 20px;
  font-family: 'Times New Roman', Times, serif;
  position: relative;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 250px;
  margin: 10px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-logo {
  width: 50px;
  margin-bottom: 10px;
}

/* ✅ Fix: Remove underline from social icons */
.social-icons a {
  text-decoration: none;   /* removes underline */
  display: inline-block;   /* keeps spacing clean */
}

.social-icons a img {
  width: 30px;
  margin-right: 10px;
  vertical-align: middle;  /* aligns icons neatly */
}

/* (Optional) Hover effect for icons */
.social-icons a img:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
  filter: brightness(1.2);
}

.scroll-top {
  position: fixed; 
  bottom: 20px;
  right: 20px;
  background-color: #0a58ca;
  color: white;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  display: none; 
  z-index: 999;
}

.scroll-top:hover {
  background-color: #084298;
}


/* 📱 Mobile adjustments for content + vertical layout */
@media screen and (max-width: 768px) {
  .product-display,
  .service-display,
  .project-display {
    flex-direction: column;
    align-items: center;
  }

  .product-card,
  .service-card,
  .project-card {
    width: 100%;
    max-width: 95%;
    height: auto;
    padding: 20px;
  }

  .banner-text h1 {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .footer-column {
    flex: 1 1 100%;
  }
}
