* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fix for navbar height stretching issue */
nav.navbar {
  height: 80px;
  min-height: 80px;
}

.mobile-navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.95);
  height: 80px;
}

/* Navbar spacer element */
.navbar-spacer {
  margin-top: 100px;
  margin-bottom: 50px;
}




/* Header styles from homepage.css */
body {
  font-family: 'Source Sans Pro', 'Lato', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.header {
  background-image: url("/assets/Carousel-3-scaled.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 0;
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.header-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.header-top-row {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  overflow: hidden;
  padding: 12px 0;
}

.nav-links {
  display: block;
  text-align: right;
  padding-top: 4px;
}

.header h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 700;
}

.header p {
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: #f1d204;
  color: #0a0707;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #6a4d8a;
  color: white;
}
/* Navbar container styles */
.mobile-navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

/* Logo styling */
.mobile-navbar .navbar-brand img {
  height: 50px;
}

/* Desktop header styling */
.desktop-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

/* Desktop nav container */
.desktop-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Desktop logo */
.desktop-logo a img {
  height: 50px;
  width: auto;
  display: block;
}

/* Desktop navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Desktop nav links */
.desktop-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px !important;
  padding: 10px 0;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.desktop-nav-link.active,
.desktop-nav-link:hover {
  background-color: #6a4d8a;
}

/* Navigation link styling */
.nav-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px !important;
  font-weight: 500;
}

.nav-link:hover {
  color: #f1d204;
}

/* Header banner navigation link styling */
.header-banner .nav-link {
  padding: 8px 12px;
  margin-left: 10px;
  border-radius: 4px;
  font-size: 16px !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header-banner .nav-link:hover {
  background-color: rgba(106, 77, 138, 0.5);
  color: #f1d204;
}

/* Menu item styling */
.mobile-navbar .nav-link {
  padding: 10px 0;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-navbar .nav-link:hover,
.mobile-navbar .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f1d204;
}

/* Toggler styling */
.mobile-navbar .navbar-toggler {
  border: none;
  padding: 0;
}

.mobile-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.mobile-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Mobile navbar adjustments */
@media (max-width: 768px) {
  .mobile-navbar {
    background-color: rgba(0, 0, 0, 0.98);
  }

  .mobile-navbar .navbar-brand img {
    height: 50px;
  }

  .mobile-navbar .navbar-collapse {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-navbar .nav-link {
    padding: 10px 0;
    display: block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 992px) {
  .mobile-navbar {
    display: block;
    padding: 0;
  }

  .mobile-navbar .navbar-brand img {
    height: 45px;
  }

  .mobile-navbar .navbar-collapse {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-navbar .nav-link {
    padding: 10px 0;
    display: block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px !important;
  }
}

@media (min-width: 993px) {
  .desktop-nav-container {
    height: 100%;
    padding: 0 20px;
  }

  .main-content {
    margin-top: 80px;
  }

  .header-banner {
    height: 100vh;
    min-height: 600px;
    color: white;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
  }
}
