:root {
  --main-color: #00ddeb;
  --primary-color: #00ddeb;
  --header-scrolled-bg: rgba(0, 0, 0, 0.95);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.4s ease-out;
  border-radius: 16px;
  padding: 0 20px;
}

header.scrolled {
  top: 5px;
  border-radius: 0;
}

.header-container {
  max-width: 1660px;
  margin: 0 auto;
  padding: 5px 20px !important;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  background: var(--header-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 14px;
  border: 1px solid rgba(0, 219, 235, 0.25);
  transition: all 0.4s ease-out;
}

/* Logo Styles */
.logo {
  font-style: italic;
  --logo-size: 50px;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease;
  z-index: 2;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0;
  color: white;
  font-weight: 500;
  font-size: 20px;
}

.logo img {
  height: var(--logo-size);
  width: var(--logo-size);
  object-fit: contain;
  margin-right: -15px;
  transition: all 0.3s ease;
  

  
}





/* Navigation Styles */
nav {
  display: flex;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

nav a:hover {
  color: var(--main-color);
}

nav a.active {
  color: var(--main-color);
  font-weight: 600;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  width: 70%;
  height: 2px;
  background-color: var(--main-color);
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* CTA Button */
.cta {
  background: var(--main-color);
  color: black;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 221, 235, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  z-index: 10;
  background: transparent;
  border: none;
}

.menu-toggle.active {
  transform: rotate(90deg);
  color: var(--main-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header-container {
    padding: 5px 20px;
  }
  
  nav {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 50vh;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    gap: 10px;
    padding: 10px;
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  nav a {
    font-size: 1.2rem;
    padding: 12px 20px;
  }

  .cta {
    display: none;
  }

  header.scrolled .logo {
    position: static;
    transform: none;
  }
}

/* Spacer for fixed header */
.spacer {
  height: 0;
}

/* Logo hover effects */
.logo a:hover {
  opacity: 0.9;
}

.logo a:hover img {
  filter: brightness(1.1);
  transform: rotate(-5deg);
}