* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Global body styling - Sets black background for entire page */
body {
    background-color: black;
}

/* Logo container styling - Positions and sizes the main logo */
.header .logo-container {
    background-color: black;
    padding: 4vh 10vw 4vh 10vw;
    height: auto;
}

.header .logo-container img {
    height: 80px;
    width: auto;
    margin: 0;
}

/* Navigation bar styling - Main navigation layout and positioning */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    z-index: 1000;
    background-color: #333;
    position: sticky;
    width: 100%;
    max-width: 100vw;
    padding: 15px 10vw;
    overflow: hidden;
}

/* Search container styling - Now integrated in navbar */
.search-container {
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

/* Navigation links container - Centered navigation menu */
.nav-links {
    margin-left: 0;
    padding-left: 0;
}

.nav-links ul {
    list-style: none;
    padding: 0;
}

/* Individual navigation list items - Horizontal menu layout */
.nav-links ul li {
    display: inline-block;
    padding: 8px 20px;
    position: relative;
}

/* Navigation link styling - Text appearance and hover effects */
.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.5s, color 0.5s;
    margin: 5px;
    padding: 5px 10px;
    position: relative;
    border-radius: 12px;
}

/* Navigation link hover effects - Changes color and background on hover */
.nav-links ul li:hover a {
    background-color: lightskyblue;
    color: #333;
    border-radius: 12px;
}

/* Hide mobile menu icon by default - Only shown on smaller screens */
nav .fa {
    display: none;
}

/* Show hamburger menu on all screen sizes */
.fa-bars {
    display: block !important;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3;
}

/* Search box container styling - Input field and background */
.search-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 25px;
    padding: 0 15px;
    height: 40px;
    max-width: 280px;
    width: 280px;
    margin: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    overflow: hidden;
}

/* Search input field styling - Text input appearance */
.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #333;
    font-size: 14px;
    padding: 0;
    width: 100%;
}

/* Footer contact card container - Bottom section layout */
.contact-card {
    background-color: black;
    width: 100%;
    margin: 0 auto;
    padding: 20px 9vw 20px 9vw;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Footer logo styling - Contact section logo appearance */
.contact-card img {
    height: 70px;
    width: auto;
    border-radius: 16px;
}

/* Social media icons container - Icon layout and spacing */
.social-icons {
    display: flex;
    gap: 15px;
    margin-right: auto;
}

/* Social media icon styling - Individual icon appearance */
.social-icons a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

/* Social media icon hover effects - Color change on hover */
.social-icons a:hover {
    color: lightskyblue;
}

/* Contact links container - Footer navigation positioning */
.contact-links {
    margin-left: auto;
}

/* Contact link styling - Footer link appearance and interactions */
.contact-links a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s ease;
}

/* Contact link hover effects - Footer link color change */
.contact-links a:hover {
    color: lightskyblue;
}

/* Section divider styling with margin - Spaced horizontal rule */
.hr hr{
    margin-top: 3vh;
    width: 80%;
    margin-left: 10vw;
    background-color: lightskyblue;
    border: 1px solid lightskyblue;
    height: 2px;
}

/* General horizontal rule styling - Standard page dividers */
hr {
    width: 80%;
    margin-left: 10vw;
    background-color: lightskyblue;
    border: 1px solid lightskyblue;
    height: 2px;
}

/* Mobile responsiveness */
/* Desktop search link - shows only on desktop */
.desktop-search-link {
    display: inline-block;
}

@media (max-width: 768px) {
    .desktop-search-link {
        display: none;
    }
    
    .header .logo-container {
        padding: 2vh 5vw;
    }
    
    .header .logo-container img {
        height: 60px;
    }
    
    .nav-links {
        position: fixed;
        background: black;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
        padding-top: 50px;
    }
    
    .nav-links ul li {
        display: block;
        margin: 25px 0;
    }
    
    .nav-links ul li a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        padding: 10px 20px;
        display: block;
    }
    
    .nav-links .fa {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
        color: white;
        font-size: 20px;
        z-index: 4;
    }
    
    .nav-links .close-btn {
        position: absolute;
        top: 20px;
        left: 20px;
        color: white;
        font-size: 24px;
        cursor: pointer;
        z-index: 4;
        background-color: rgba(0, 0, 0, 0.3);
        padding: 8px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }
    
    .nav-links .close-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: lightskyblue;
    }
    
    .search-container {
        padding: 10px 5vw;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }

    /* Mobile contact card layout - Column display */
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px 5vw;
    }

    .contact-card img {
        height: 60px;
    }

    .social-icons {
        margin: 0;
        justify-content: center;
    }

    .contact-links {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .contact-links a {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .header .logo-container {
        padding: 1vh 3vw;
    }
    
    .header .logo-container img {
        height: 50px;
    }
    
    .search-container {
        padding: 8px 3vw;
    }

    /* Smaller mobile contact card adjustments */
    .contact-card {
        padding: 15px 3vw;
        gap: 15px;
    }

    .contact-card img {
        height: 50px;
    }

    .social-icons {
        gap: 20px;
    }

    .social-icons a {
        font-size: 22px;
    }
}
/* Navigation Search Bar Styling */
.search-bar-item {
    display: inline-block;
    padding: 0 !important;
    margin-left: 10px;
}

.nav-search-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

.nav-search-container:hover {
    background-color: #f0f0f0;
}

.nav-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: black;
    font-size: 16px;
    padding: 5px 10px;
    width: 200px;
    font-family: 'Oswald', sans-serif;
}

.nav-search-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.nav-search-btn {
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.nav-search-btn:hover {
    color: #007bff;
}

.nav-search-btn i {
    font-size: 18px;
}

/* Mobile responsive adjustments for search bar */
@media (max-width: 900px) {
    .search-bar-item {
        display: block;
        width: 100%;
        padding: 10px 0 !important;
    }
    
    .nav-search-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .nav-search-input {
        width: 100%;
    }
}
