/* Navbar Overrides for Modern 2025 Design */

/* Typography System */
:root {
  --font-header-primary: 'Bebas Neue', sans-serif;
  --font-header-secondary: 'Titillium Web', sans-serif;
  --font-content-primary: 'Source Sans Pro', sans-serif;
  --font-content-secondary: 'Open Sans', sans-serif;
}

/* Font Classes */
.font-header-primary {
  font-family: var(--font-header-primary) !important;
}

.font-header-secondary {
  font-family: var(--font-header-secondary) !important;
}

.font-content-primary {
  font-family: var(--font-content-primary) !important;
}

.font-content-secondary {
  font-family: var(--font-content-secondary) !important;
}

/* Text Weight Classes */
.font-light {
  font-weight: 300 !important;
}

.font-regular {
  font-weight: 400 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

/* Base navbar styles */
.navbar {
  z-index: 10000 !important;
  background-color: transparent !important;
  height: auto !important;
  transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  border-bottom: none !important;
}

.navbar.scrolled {
  background-color: rgba(25, 25, 25, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
}

.w-nav {
  background-color: transparent !important;
}

/* Container navbar - Holds the navbar contents */
.container-navbar {
  position: relative !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1400px !important;
  height: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* Brand/Logo section - Left aligned */
.brand-link-navbar {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  z-index: 3 !important;
  margin-right: auto !important;
}

.brand-link-navbar img {
  height: auto !important;
  max-height: calc(100% - 22px) !important;
  width: auto !important;
}

/* Navigation menu - Right aligned */
.nav-menu {
  display: flex !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
  z-index: 2 !important;
}

/* CTA Button container - Centered */
.cta-container {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 1 !important;
}

/* Dropdown nav items */
.dropdown-navbar {
  color: rgba(255, 255, 255, 0.9) !important;
  height: 100% !important;
  display: block !important;
}

.dropdown-toggle-nav {
  position: relative !important;
  transition: color 0.2s ease, background-color 0.2s ease !important;
  font-family: var(--font-header-secondary) !important;
  font-weight: 600 !important;
}

.dropdown-toggle-nav:after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 3px !important;
  background-color: #7e56ff !important;
  transition: width 0.3s ease !important;
}

.dropdown-toggle-nav:hover:after {
  width: 60% !important;
}

.dropdown-toggle-nav:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Icon dropdown */
.icon-dropdown {
  width: 16px !important;
  height: 16px !important;
  transition: transform 0.2s ease !important;
}

/* Dropdown positioning */
.dropdown-list {
  top: 100% !important;
  padding-top: 0.25rem !important;
  margin-top: 0 !important;
}

/* Dropdown links */
.dropdown-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-align: left !important;
  padding: 0.85rem 1.5rem !important;
  font-size: 0.9rem !important;
  font-family: var(--font-header-secondary) !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.dropdown-link.w--current {
  color: #7e56ff !important;
}

/* CTA Button Styles */
.cta-button, .mobile-cta-button {
  font-family: var(--font-header-secondary) !important;
  font-weight: 600 !important;
  background-color: #7e56ff !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cta-button:hover, .mobile-cta-button:hover {
  background-color: #6642ff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(126, 86, 255, 0.3) !important;
}

/* Mobile nav links */
.mobile-dropdown-link {
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  font-family: var(--font-header-secondary) !important;
  font-weight: 600 !important;
}

.mobile-dropdown-link:before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: 3px !important;
  background-color: #7e56ff !important;
  transform: translateX(-100%) !important;
  transition: transform 0.3s ease !important;
}

.mobile-dropdown-link:hover:before {
  transform: translateX(0) !important;
}

.mobile-dropdown-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  padding-left: 1.5rem !important;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  /* On mobile, center the logo and place menu button on right */
  .brand-link-navbar {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-right: 0 !important;
  }
  
  /* CTA moves to mobile menu */
  .cta-container {
    display: none !important;
  }
  
  /* Mobile menu trigger stays on right */
  .menu-button {
    margin-left: auto !important;
    z-index: 3 !important;
  }
  
  /* Mobile navigation styles */
  .mobile-nav-menu {
    background-color: rgba(25, 25, 25, 0.98) !important;
  }
  
  .container-navbar {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .dropdown-toggle-nav {
    font-size: 1.1rem !important;
  }
}

@media screen and (max-width: 767px) {
  .container-navbar {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media screen and (max-width: 479px) {
  .navbar {
    height: 60px !important;
  }
  
  .brand-link-navbar img {
    max-height: calc(100% - 18px) !important;
  }
  
  .dropdown-link {
    font-size: 0.95rem !important;
  }
}

/* Hero Section Overrides */
.hero-home-c {
  height: 100vh !important;
  min-height: 100vh !important;
  padding: 0 !important;
  position: relative !important;
}

.container-hero-wide {
  height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.video-home-c {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

.video-home-c video {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

.title-wrap-home-c {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 2rem !important;
  text-align: center !important;
}

/* Left-aligned hero content for desktop */
.title-wrap-home-c.left-aligned {
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: 8rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 100vh !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 50% !important;
}

.hero-content-container {
  max-width: 650px !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Add text shadow to all hero text for better visibility */
.title-wrap-home-c * {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7),
               0 0 30px rgba(0, 0, 0, 0.4) !important;
}

/* Modern tech company name styling */
.company-name-wrapper {
  margin-bottom: 1.5rem !important;
}

.company-name-title {
  font-family: 'PirulenRg-Regular', sans-serif !important;
  font-weight: normal !important;
  font-size: 5.5rem !important;
  line-height: 1 !important;
  letter-spacing: 0.05em !important;
  margin: 0 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 
               0 0 20px rgba(126, 86, 255, 0.4),
               0 0 40px rgba(0, 0, 0, 0.4) !important; /* Enhanced shadow for visibility */
  text-transform: uppercase !important;
}

.company-edge::before {
  display: none !important;
}

.limit-subtitle-home-c {
  max-width: 600px !important;
}

.subtitle {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8),
               0 0 20px rgba(0, 0, 0, 0.5) !important;
}

/* Scroll Icon - Bottom Left */
.scroll-icon-container {
  position: absolute !important;
  bottom: 2rem !important;
  left: 8rem !important;
  z-index: 3 !important;
  width: auto !important;
}

.scroll-down-home-c {
  position: relative !important;
  animation: bounce 2s infinite !important;
  width: auto !important;
  height: auto !important;
}

/* Hero Partners Section (Bottom Right) - Updated for more transparency */
.hero-partners-wrapper {
  position: absolute !important;
  bottom: 2rem !important;
  right: 2rem !important;
  z-index: 5 !important;
  width: auto !important;
  max-width: 70% !important;
}

.hero-partners-logos {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 2.5rem !important;
  padding: 1.5rem 2.5rem !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
  transition: all 0.5s ease !important;
}

.partner-logo-container {
  transition: opacity 0.5s ease !important;
}

.image-logos-wide {
  height: 2.5rem !important;
  width: auto !important;
  filter: brightness(0) invert(1) !important;
  opacity: 0.7 !important;
  transition: opacity 0.3s ease !important;
  margin: 0 !important;
}

.image-logos-wide:hover {
  opacity: 1 !important;
}

/* Responsive hero styles */
@media screen and (max-width: 991px) {
  .title-wrap-home-c.left-aligned {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  
  .company-name-title {
    font-size: 4rem !important;
  }
  
  .hero-partners-logos {
    padding: 1rem 1.5rem !important;
    gap: 2rem !important;
  }
  
  .scroll-icon-container {
    left: 2rem !important;
  }
}

@media screen and (max-width: 767px) {
  .hero-partners-wrapper {
    bottom: 5rem !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    max-width: 90% !important;
  }
  
  .hero-partners-logos {
    justify-content: center !important;
    padding: 0.75rem 1.25rem !important;
    gap: 1.5rem !important;
  }
  
  .company-name-title {
    font-size: 3.5rem !important;
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.8) !important;
  }
  
  .image-logos-wide {
    height: 1.75rem !important;
  }
  
  .scroll-icon-container {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

@media screen and (max-width: 479px) {
  .company-name-title {
    font-size: 2.5rem !important;
    letter-spacing: 0.03em !important;
  }
  
  .subtitle {
    font-size: 1rem !important;
  }
  
  .hero-partners-logos {
    gap: 1rem !important;
  }
  
  .image-logos-wide {
    height: 1.5rem !important;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
} 