/* Header Styles */
header {
  background: var(--white-alpha-95);
  color: var(--primary-color);
  padding: 0.3rem 0;
  box-shadow: 0 2px 20px var(--primary-alpha-10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--primary-alpha-10);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  min-height: 56px;
  max-height: 130px;
  transition: min-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.intro-banner {
  background: var(--primary-alpha-70);
  color: var(--primary-color);
  box-shadow: 0 2px 12px var(--primary-alpha-10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--primary-alpha-10);
  margin: 0;
  padding: 5rem 1rem 4.5rem 1rem;
  text-align: center;
}

.intro-banner .intro-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--white);
  letter-spacing: 1px;
}

.intro-banner .intro-desc {
  font-size: 1.25rem;
  color: var(--white);
  opacity: 0.85;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
  min-height: 56px;
  max-height: 100px;
  overflow: visible;
  transition: min-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.logo {
  height: 200px;
  width: auto;
  border-radius: 8px;
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
  background: transparent;
  position: relative;
  z-index: 1001;
}

.logo-large {
  height: 240px !important;
  margin-top: 15px;
}

.logo:hover {
  transform: scale(1.2);
}

.logo:hover ~ .header-inner,
.header-inner:has(.logo:hover) {
  min-height: 112px;
}

header:has(.logo:hover) {
  min-height: 112px;
}


.gih {
  height:150px;
}

.header-content {
  display: flex;
  align-items: center;
}

.header-content nav {
  display: flex;
}

.header-content ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.header-content li {
  display: flex;
}

.header-content a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  font-size: 1.3rem;
  background: transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.header-small .header-content a {
  font-size: 1rem;
  transition: font-size 0.3s cubic-bezier(0.4,0,0.2,1);
}

.header-content a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-alpha-10), transparent);
  transition: left 0.5s ease;
}

.header-content a:hover::before {
  left: 100%;
}

.header-content a:hover,
.header-content a:focus {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-alpha-20);
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu:hover .hamburger-line {
  background-color: var(--primary-color);
  opacity: 0.8;
}

/* Hamburger Animation - Active State */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
  }
  
  .logo {
    height: 50px;
    transform: translateY(0) !important;
  }
  
  .logo-large {
    height: 60px !important;
    transform: translateY(0) !important;
  }
  
  /* Show hamburger menu on mobile */
  .hamburger-menu {
    display: flex;
  }
  
  /* Hide navigation by default on mobile */
  .header-content {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white-alpha-95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 2px 0 20px var(--primary-alpha-20);
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
  }
  
  /* Show navigation when active */
  .header-content.active {
    left: 0;
  }
  
  .header-content nav {
    width: 100%;
  }
  
  .header-content ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
  }
  
  .header-content li {
    width: 100%;
    border-bottom: 1px solid var(--primary-alpha-10);
  }
  
  .header-content a {
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .header-content a:hover,
  .header-content a:focus {
    background: var(--primary-alpha-10);
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
  }
  
  /* Mobile overlay */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-alpha-50);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 0.5rem;
  }
  
  .header-content {
    width: 100%;
  }
  
  .logo {
    height: 145px;
  }
  
  .logo-large {
    height: 155px !important;
  }
}