/* Navbar - Refined Minimalism */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-content-text{
  color: #FFFFFF;
}

.hero-video{
  height: 400px;
  width: 100%;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.5rem;
  color: white; /* Default white for transparent nav */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.3s ease;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo img.logo-white {
  display: block !important;
}
.logo img.logo-dark {
  display: none !important;
}

.navbar.scrolled .logo img.logo-white {
  display: none !important;
}
.navbar.scrolled .logo img.logo-dark {
  display: block !important;
}

.navbar.scrolled .logo {
  color: var(--primary-navy);
}

.nav-links {
  display: none; /* Mobile first hidden */
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white; /* Default white for transparent nav */
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
  color: var(--primary-navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: flex; /* Shown on mobile */
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-menu-toggle .bar {
  width: 28px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.scrolled .mobile-menu-toggle .bar {
  background-color: var(--primary-navy);
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .logo span {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }
  .logo img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 0.65rem;
  }
  .logo img {
    height: 28px;
  }
}
@media (max-width: 1023px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.5rem;
    color: var(--primary-navy) !important; /* Always navy in mobile menu */
  }
}

/* Footer - Refined Alignment and Proportions */
.footer {
  padding: 5rem 0 3rem;
  background-color: var(--primary-navy);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* Better proportioned columns */
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.footer-logo {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.02em;
}

.footer h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-info p {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

@media (max-width: 768px) {
  .footer-info p {
    justify-content: center;
  }
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-blue);
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-social .social-icons {
    justify-content: center;
  }
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
