
:root{
  --theme2: rgb(255,45,45);
}
/* .site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;

  background: rgba(0, 0, 0, 0.35); 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);

  transition: all 0.3s ease;
} */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.35); 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);

  transition: all 0.3s ease;
}


.site-header.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: #fff;
}

.site-header .nav-links a,
.site-header .brand {
  color: #fff;
}



.btn-donate-nav {
  background: linear-gradient(135deg, #ff4d4d, #e63946);
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  transition: all 0.3s ease;
 
}


.btn-donate-nav:hover {
  transform: translateY(-5px);
  color: #fff !important;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 40px;
}


.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.brand img{
  width:160px;
  height:auto;
  object-fit:contain;
  margin-left:0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .title {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  font-size: 20px;
  margin-left: -20px;
  
}

.brand-text .subtitle {
  font-size: 12px;
  color: #64748b;
}



.nav-links a.active,
.nav-links a:hover {
  color: var(--secondary);
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.nav-links a {
  margin: 0 15px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ff4d4d;
  transition: 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.btn {
  background: #ff4d4d;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff !important;
  font-weight: 600;
}


.btn-donate-nav {
  padding: 10px 18px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
}



.site-header.scrolled .nav-links a,
.site-header.scrolled .brand {
  color: #fff;
}
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .nav-links a {
  color: #fff;
}



.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  padding: 10px;
  margin-top: -1px;
    padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 999;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}


.nav-dropdown .dropdown-menu {
    transition-delay: 0.15s; 
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 14px !important;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b !important;
  transition: background 0.2s ease !important;
  margin: 0 !important;
}


.dropdown-item::after {
  display: none !important;
}

.dropdown-item:hover {
  background: #fff5f2;
  color: #1e293b !important;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff2d2d, #ff6a3d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.dropdown-title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  line-height: 1.3;
}

.dropdown-desc {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 400;
  margin-top: 2px;
}

.donate-dropdown{
  position:relative;
}

.donate-dropdown .btn-donate-nav{
  display:flex;
  align-items:center;
  gap:8px;
}

.donate-menu{
  width:290px;
  right:0;
  left:auto;
  transform:translateY(-8px);
}

.donate-dropdown:hover .donate-menu{
  opacity:1;
  visibility:visible;
  pointer-events:all;
  transform:translateY(0);
}

body.menu-open{
  overflow:hidden;
}

/* =========================
   MOBILE MENU OVERLAY
========================= */

.mobile-menu-overlay{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.35);

  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);

  opacity:0;
  visibility:hidden;

  transition:0.35s ease;

  z-index:9990;
}

/* SHOW OVERLAY */
.site-header.active + .mobile-menu-overlay{
  opacity:1;
  visibility:visible;
}

@media (max-width:1024px){

  .navbar{
    padding:0 24px;
  }

  .nav-links{
    gap:18px;
  }

}

@media (max-width:768px){

  .navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:6px 18px;
    position:relative;
  }

  .brand{
    z-index:1201;
  }

  .brand img{
    width:120px;
  }

 .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 12px;
    right: 18px;
    z-index: 20050;
  }

  /* CLOSE ICON HIDDEN INITIALLY */
.close-icon{
  display:none;
}

/* WHEN MENU OPEN */
.site-header.active .open-icon{
  display:none;
}

.site-header.active .close-icon{
  display:block;
}

  /* MOBILE SIDEBAR */
  .nav-links{
    position:fixed;
    top:-40px;
    right:-100%;
    z-index:10001 !important;
    width:320px;
    max-width:85%;
    height:105vh;
    background: rgba(0, 0, 0, 0.35); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    display:flex !important;
    flex-direction:column;
    align-items:flex-start;
    padding:90px 24px 40px;
    overflow-y: auto;
    overflow-x: visible;
    transition:right 0.4s ease;
    z-index:10000;
  }

  .nav-links a::after{
  left:0;
  transform:none;
}

.nav-links a:hover::after{
  width:25%;
}

.nav-links a.active::after{
  width:25%;
}

  .mobile-menu-overlay{
  z-index:990 !important;
}
  /* OPEN MENU */
  .site-header.active .nav-links{
    right:0;
  }

  /* REMOVE HEADER BLUR WHEN MENU OPEN */
.site-header.active{
  backdrop-filter:none;
  -webkit-backdrop-filter:none;

  background:transparent;
}
  /* LINKS */
  .nav-links a{
    color: #fff !important;
    width:100%;
    display:block;
    padding:14px 0;
    margin:0;
    font-size:16px;
  }

  .nav-item{
    width:100%;
  }

  /* DROPDOWNS */
  .nav-dropdown{
    width:100%;
    overflow-x: visible;
  }

  .dropdown-trigger{
    width:100%;
    display:flex !important;
    justify-content:space-between;
    align-items:center;
  }
  .dropdown-menu {
    position: static !important;
    width: 100% !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    background: rgba(0, 0, 0, 0.35);
    margin-top: 10px;
    box-shadow: none;
    border-radius: 14px;
    transition: none !important;  /* ← kill the desktop transition */
  }

  .nav-dropdown.mobile-open .dropdown-menu{
    display:block !important;
    position: static;
    background: rgba(0, 0, 0, 0.35);
  }

  .dropdown-title{
    color: #fff;
  }
  .donate-dropdown .btn-donate-nav{
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .btn-donate-nav::after {
  display: none !important;
}
.nav-about::after {
  display: none !important;
}
.nav-pages::after {
  display: none !important;
}



}
