/* header.css stylesheet - Professional White Theme */
.header {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.6rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(37, 99, 235, 0.08);
}

.header.sticky {
  padding: 0.8rem 0;
  box-shadow: var(--shadow);
}

/* header.css stylesheet - Professional White Theme (cleaned, reduced sizes) */

.header {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.6rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border, #e5e7eb);
  transition: var(--transition, all 0.2s ease);
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.06);
}

.header.sticky {
  padding: 0.45rem 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--accent-gradient, linear-gradient(135deg,#667eea,#764ba2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo a { display:flex; align-items:center; gap:8px; text-decoration:none }

.logo-img { height: 100px; width: auto; object-fit: contain; }

.logo-text { font-size: 0.9rem; }

.nav {
  display:flex;
  list-style:none;
  margin:0;
  padding:0;
  gap: 1rem;
  align-items:center;
}

.nav li { margin:0 }

.nav li a {
  font-weight:500;
  color: var(--text-primary, #1f2937);
  padding: 0.35rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: var(--transition, all 0.18s ease);
  text-decoration: none;
  display:block;
}

.nav li a:hover, .nav li a.active { background: var(--hover-bg, #f3f4f6); color: var(--accent, #3b82f6) }

.nav > li:last-child > a { background: var(--accent-gradient); color: #000; font-weight:600 }
.nav > li:last-child > a:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,99,235,0.14) }

.mobile-menu-btn { display:none; background:none; border:none; cursor:pointer; padding:0.35rem }
.mobile-menu-btn span { display:block; width:20px; height:1.5px; background:var(--text-primary,#1f2937); margin:3px 0; transition:var(--transition) }

.mobile-menu-btn.active span:nth-child(1){ transform: rotate(45deg) translate(4px,4px) }
.mobile-menu-btn.active span:nth-child(2){ opacity:0 }
.mobile-menu-btn.active span:nth-child(3){ transform: rotate(-45deg) translate(4px,-4px) }

/* Dropdown */
.dropdown { position:relative }
.dropdown-toggle { display:flex; align-items:center; gap:6px; cursor:pointer }
.dropdown-toggle::after { content:'▼'; font-size:0.62rem; margin-left:6px; transition:transform 0.18s ease }

.dropdown-menu {
  position:absolute; top:100%; left:0; background:var(--bg-secondary,#fff);
  border:1px solid var(--border,#e5e7eb); border-radius:8px; padding:0.6rem; min-width:200px;
  opacity:0; visibility:hidden; transform:translateY(6px); transition:var(--transition); z-index:1000; box-shadow:0 8px 18px rgba(0,0,0,0.06);
}

.dropdown:hover .dropdown-menu, .dropdown.click-open .dropdown-menu, .dropdown.active .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0) }
.dropdown.active .dropdown-toggle::after { transform: rotate(180deg) }

.dropdown-menu { list-style:none; margin:0 }
.dropdown-menu li { margin:0 }
.dropdown-menu a { display:block; padding:0.5rem 0.9rem; color:var(--text-primary); border-radius:6px; transition:var(--transition) }
.dropdown-menu a:hover { background:var(--hover-bg); color:var(--accent) }

/* underline indicator */
.nav li a { position:relative }
.nav li a::after { content:''; position:absolute; left:6px; right:6px; bottom:6px; height:2px; background:var(--accent-gradient); transform:scaleX(0); transform-origin:left; transition:transform 0.18s ease; border-radius:2px }
.nav li a:hover::after, .nav li a.active::after { transform:scaleX(1) }

/* Mobile adjustments */
@media (max-width: 968px) {
  .mobile-menu-btn { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    right: 1rem;
    top: 1.5rem;
    z-index: 9999;
  }
  .mobile-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  }
  .mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scale(0); }
  .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
  
  .logo { font-size:1.05rem; gap:8px }
  .logo-img { height:70px }
  
  .nav { 
    position: fixed; 
    top: 80px; 
    left: 0; 
    width: 100%; 
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    backdrop-filter: blur(20px);
    flex-direction: column; 
    padding: 2rem 1rem; 
    transform: translateY(-100%); 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-top: 2px solid var(--accent, #667eea);
    z-index: 999;
  }
  .nav.open { 
    transform: translateY(0); 
    opacity: 1; 
    visibility: visible;
    animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav li { 
    width: 100%; 
    text-align: left;
    margin-bottom: 0.5rem;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
  }
  .nav.open li {
    --i: var(--index, 0);
  }
  
  .nav li a { 
    display: block; 
    padding: 1rem 1.5rem; 
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  .nav li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
  }
  .nav li a:hover::before {
    left: 0;
  }
  .nav li a:hover {
    color: #fff;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  }
  
  .dropdown-menu { 
    position: static; 
    width: 100%; 
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(10px);
    display: none; 
    padding: 0.5rem 0 1rem 1rem; 
    box-shadow: inset 0 2px 4px rgba(102, 126, 234, 0.1);
    border: none;
    border-radius: 8px;
    margin-top: 0.5rem;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .dropdown.active .dropdown-menu, .dropdown-menu.show { 
    display: block;
  }
  .dropdown-menu li a {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(102, 126, 234, 0.08);
  }
  
  .dropdown-toggle {
    position: relative;
  }
  .dropdown-toggle::after { 
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  
  .nav li a::after { display: none; }
}

/* Mobile animations */
@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Prevent body scroll when mobile menu is open */
.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .header, .nav li a, .dropdown-menu, .mobile-menu-btn span { transition:none }
}
