/* 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #333;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.navbar {
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px;
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: #ffcc00;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.menu-toggle div {
    width: 30px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.4s;
}

.theme-toggle {
    background: transparent; 
    border: none;            
    padding: 10px;           
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  #theme-icon {
    font-size: 26px;
    color: white;
    cursor: pointer;
    background: #333;
    text-decoration: none;
  }

@media (max-width: 768px) {
    .navbar {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #222;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }

    .navbar a {
        padding: 15px;
        display: block;
        width: 100%;
    }

    .navbar.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}
  
  @media (max-width: 576px) {
    .theme-toggle {
      left: 10px;
      top: 15px;
      z-index: 1001;
    }
  
    .menu-toggle {
      right: 10px;
      top: 15px;
      z-index: 1000;
    }
  
    .theme-toggle {
      padding-right: 20px;
    }
  
    .menu-toggle {
      margin-left: 20px; 
    }
  }
  
.menu-toggle.active div:nth-child(1) {
    transform: translateY(19px) rotate(45deg);
}

.menu-toggle.active div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


 */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo */
.logo {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-decoration: none !important;
    cursor: pointer;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

/* Navbar */
.navbar {
    display: flex;
    gap: 25px;
}

.navbar a {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideBottom 0.5s ease forwards;
    animation-delay: calc(0.15s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: #0ef;
    background: rgba(255, 255, 255, 0.05);
}

/* Theme Button */
.theme-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

#theme-icon {
    font-size: 22px;
    color: #fff;
    transition: color 0.3s ease;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.4s;
}

/* Active Hamburger -> Cross */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        display: none;
    }

    .navbar.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Animations */
@keyframes slideRight {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}