/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif !important;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header Styling */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: black;
    color: white !important;;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Search Bar */
.search-bar input {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    width: 300px;
    transition: width 0.4s ease;
}

.search-bar input:focus {
    width: 350px;
    outline: none;
}

/* Navigation Links */
.nav-links ul {
    display: flex;
    gap: 20px;
}

.nav-links ul li a {
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-links ul li a:hover {
    /* background-color: #f0f0f0; */
}

/* Hamburger Menu for Small Screens */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* Sidebar for Mobile */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    height: 100%;
    width: 300px;
    background-color: #333;
    color: white;
    padding: 60px 20px;
    transition: 0.3s;
    z-index: 999;
}

.sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar ul li a {
    color: white;
    font-size: 18px;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    transition: 0.3s;
}

/* On Scroll - Fixed Background */


/* Responsive Styles */
@media (max-width: 768px) {
    .search-bar {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .search-bar-mobile {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .search-bar-mobile input {
        width: 80%;
    }
}

/* Show Sidebar */
.sidebar.show {
    right: 0;
}

.overlay.show {
    display: block;
}
