/* =========================================
   VISHAVA BHARTIYA FOUNDATION/header.css
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #f5f5f5;
}

/* =========================================
   HEADER
========================================= */
.main-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  background: linear-gradient(90deg,
      #6a0000 0%,
      #8b1f00 45%,
      #b87b00 100%);

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);

  backdrop-filter: blur(10px);

  transition: all .3s ease;
}

/* =========================================
   CONTAINER
========================================= */
.header-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;

  padding: 14px 35px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   BRAND AREA
========================================= */

.brand-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* =========================================
   LOGO
========================================= */
.logo {
  width: 64px;
  height: 64px;

  border-radius: 50%;
  overflow: hidden;

  flex-shrink: 0;

  background: #fff;

  border: 3px solid #f6d76f;

  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  transition: .35s ease;
}

.logo:hover {
  transform: scale(1.06);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   BRAND TEXT
========================================= */

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text h1 {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.brand-text p {
  color: #ffe082;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
}

/* =========================================
   DESKTOP NAVIGATION
========================================= */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;

  text-decoration: none;

  color: #fff;

  font-size: 15px;
  font-weight: 600;

  letter-spacing: .4px;

  transition: .25s ease;

  white-space: nowrap;
}

/* UNDERLINE EFFECT */

.desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0%;

  height: 2px;

  background: #ffd54f;

  border-radius: 20px;

  transition: 0.35s ease;
}

.desktop-nav a:hover {
  color: #ffd54f;
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* =========================================
   DONATE BUTTON
========================================= */

.donate-btn,
.mobile-donate {

  border: none;
  outline: none;

  background: #ffca00;

  color: #000;

  font-weight: 700;

  cursor: pointer;

  border-radius: 50px;

  transition: 0.3s ease;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.donate-btn {
  padding: 11px 24px;
  font-size: 15px;
}

.mobile-donate {
  width: 100%;

  margin-top: 45px;

  padding: 17px;

  font-size: 18px;
}

.donate-btn:hover,
.mobile-donate:hover {
  transform: translateY(-3px);
  background: #ffe16b;
}

/* =========================================
   HAMBURGER MENU
========================================= */

.menu-toggle {
  width: 42px;
  height: 42px;

  display: none;

  flex-direction: column;

  justify-content: center;

  gap: 6px;

  cursor: pointer;

  z-index: 10001;
}

.menu-toggle span {
  width: 100%;
  height: 4px;

  background: #fff;

  border-radius: 20px;

  transition: 0.4s ease;
}

/* ACTIVE ICON */

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {

  position: fixed;

  top: 0;
  right: -100%;

  width: 100%;
  height: 100vh;

  padding: 120px 30px 40px;

  overflow-y: auto;

  transition: .32s cubic-bezier(.22, .61, .36, 1);

  z-index: 9998;

  background: linear-gradient(180deg,
      #5b0000 0%,
      #7f1900 50%,
      #a76c00 100%);
}

.mobile-menu.active {
  right: 0;
}

/* =========================================
   MOBILE LINKS
========================================= */

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-links a {

  color: #fff;

  text-decoration: none;

  font-size: 26px;

  font-weight: 700;

  padding-bottom: 12px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  transition: 0.3s ease;
}

.mobile-links a:hover {
  color: #ffd54f;
  transform: translateX(8px);
}

/* =========================================
   SOCIAL SECTION
========================================= */

.social-section {
  margin-top: 50px;
}

/* SOCIAL ICONS */

.social-icons {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-bottom: 25px;
}

.social-icons a {

  width: 52px;
  height: 52px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  color: #fff;

  font-size: 20px;

  background: rgba(255, 255, 255, 0.12);

  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #ffca00;
  color: #000;

  transform: translateY(-5px);
}

/* EMAIL */

.email {
  color: #fff;

  font-size: 17px;

  display: flex;
  align-items: center;
  gap: 10px;

  word-break: break-word;

  line-height: 1.5;
}

/* =========================================
   RESPONSIVE
========================================= */

/* SMALL DESKTOP */

@media(max-width:1250px) {

  .desktop-nav {
    gap: 20px;
  }

  .desktop-nav a {
    font-size: 14px;
  }

  .donate-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

}

/* TABLET */

@media(max-width:1100px) {

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-container {
    padding: 12px 18px;
  }

}

/* MOBILE */

@media(max-width:768px) {

  .brand-area {
    gap: 10px;
  }

  .logo {
    width: 55px;
    height: 55px;
  }

  /* .brand-text h1{
    font-size:13px;
  }

  .brand-text p{
    font-size:11px;
    margin-top:2px;
  } */
  .brand-text h1 {
    font-size: 11px;
    line-height: 1.2;
  }

  .brand-text p {
    font-size: 9px;
  }

  .mobile-links a {
    font-size: 24px;
  }

}

/* EXTRA SMALL */

@media(max-width:480px) {

  .header-container {
    padding: 10px 14px;
  }

  .brand-text h1 {
    font-size: 12px;
  }

  .brand-text p {
    font-size: 10px;
  }

  .mobile-menu {
    padding: 80px 25px 35px;
  }

  .mobile-links a {
    font-size: 22px;
  }

  .social-icons a {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .email {
    font-size: 15px;
  }

}