/* Basic Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Header */
.site-header {
  background: #0c2136;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
}
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

/* Base hamburger styles */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger,
.hamburger:before,
.hamburger:after {
  content: '';
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
  position: relative;
}

.hamburger:before {
  transform: translateY(-8px);
}

.hamburger:after {
  transform: translateY(5px);
}

.nav-toggle.open .hamburger {
  background: transparent;
}
.nav-toggle.open .hamburger:before {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open .hamburger:after {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation menu */
.site-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 170px;
  height: auto;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1000;
  padding-top: 80px;
  overflow: hidden; /* Ensures the pseudo-element doesn't overflow */
}

/* Add this */
.site-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: rgba(12, 33, 54, 0.99); /* Blue with 50% opacity */
  z-index: -1; /* Behind the content of .site-nav */
}

.site-nav.active {
  right: 0;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: 20px;
  list-style: none;
}
.site-nav li {
  margin: 15px 0;
}
.site-nav li a {
  text-decoration: none;
  color: #0c2136;
  font-weight: bold;
  font-size: 16px;
}

/* Hero */
.hero-banner {
  background: url('../images/banner.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 60px;
}
.hero-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 20px;
}

/* Sections */
.about-section,
.projects-overview {
  padding: 60px 0;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.project-box {
  flex: 1;
  background: #f4f4f4;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}
.project-box h3 {
  margin-bottom: 10px;
}

.project-card {
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  max-width: 350px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.project-card.animate {
  opacity: 1;
  transform: translateY(0);
}
.project-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.project-card h3 {
  font-size: 18px;
  margin: 10px;
}
.project-card p {
  font-size: 14px;
  margin: 0 10px 10px;
}

.video-banner video {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 60px;
}

.project-tabs {
  padding: 40px 0;
}
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}
.tab-btn {
  background: #ddd;
  border: none;
  padding: 20px 70px;
  margin: 0 -30px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 25px 25px 5px 5px;
}
.tab-btn.active {
  background: #57565c;
  color: #fff;
}

.partner-section {
  padding: 50px 0;
  background: #f4f4f4;
  text-align: center;
}
.partner-section h2 {
  margin-bottom: 20px;
}
.partner-scroll {
  overflow: hidden;
  position: relative;
}
.partner-row {
  width: 100%;
  overflow: hidden;
}
.scroll-track {
  display: inline-flex;
  gap: 40px;
  animation: scroll-left 30s linear infinite;
}
.partner-row:hover .scroll-track {
  animation-play-state: paused;
}
.scroll-track img {
  height: 120px;
  width: auto;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.site-footer {
  background: #0c2136;
  color: white;
  margin-top: 20px;
}
.footer-top {
  padding: 30px 0;
}
.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  word-break: break-word;
  padding: 0 20px;
}
.footer-col h4 {
  margin-bottom: 10px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li a {
  color: white;
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  background: #081624;
  padding: 10px;
  font-size: 14px;
}

.fixed-footer-tabs {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0c2136;
  border-top: 1px solid #1d3b5a;
  display: flex;
  justify-content: space-around;
  z-index: 9999;
  flex-wrap: wrap;
  word-break: break-word;
}
.fixed-footer-tabs .tab-item {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
  text-decoration: none;
  min-width: 20%;
}
.fixed-footer-tabs .tab-item i {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

main {
  padding-bottom: 60px;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .tab-btn {
    padding: 10px 20px;
    font-size: 13px;
    margin: 0 -10px;
  }
  .project-card img {
    height: 250px;
  }
  .project-card {
    max-width: 90%;
  }
  .fixed-footer-tabs .tab-item {
    font-size: 10px;
  }
  .fixed-footer-tabs .tab-item i {
    font-size: 16px;
  }
}

@media (hover: hover) {
  .site-nav {
    transition: right 0.3s ease 0.1s;
  }
}
