/*
Theme Name: ECE-MAKERSPACE
Theme URI: Your Theme URI
Author: ECE Makerspace IT Team
Description: for footer,header,site settings
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: your-theme-name
*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}


/* HEADER */

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    flex-direction: column;
    gap: 2rem;
    margin: 0px;

}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    color: rgba(0, 0, 0, 1);
    background: rgba(246, 246, 244, 0.96);
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;

}

.logo {
    width: 25rem;
    margin-bottom: 10px;
}






.logocontainer {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: left;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    font-family: "muli", sans-serif;
    font-weight: 600;
    font-style: normal;
    gap: 1rem;
    font-size: large;

}

/* .dept {
    justify-content: left;
    align-items: center;
    display: flex;
}

.logocontainer>p {
    justify-content: center;
    align-items: center;
    color: black;
} */

.navbaritems {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: rgba(0, 0, 0, 1);
}

.text-special {
    color: rgba(247, 116, 49, 1) !important;
    font-weight: 600 !important;
}



.nav-item {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: -0.13px;
    text-decoration: none;
    margin-left: 2.5rem;
    transition: all 0.5s ease;
    color: rgba(0, 0, 0, 1);
}

.nav-item:hover {
    color: rgba(247, 116, 49, 1);
}

.nav-item::after {
    content: "";
    position: absolute;
    bottom: -0.3rem;
    left: 50%;
    width: 0;
    height: 0.15rem;
    transform: translateX(-50%);
    background-color: rgba(247, 116, 49, 1);
    transition: all 0.5s ease;
}

.nav-item:hover:after {
    width: 100%;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.3rem;
    color: black;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.light:after {
    content: "Explore";
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    color: #fff;
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    border-radius: 5px;
}

/* MEDIA QUERIES */

@media (max-width: 900px) {
    header {
        padding: 1.3rem 5%;
    }
}

@media (max-width: 700px) {
    header::before {
        position: absolute;
        content: "";
        inset: 0;
        width: 100%;
        height: 100%;
        background: rbga(0, 0, 0, 0.1);
        backdrop-filter: blur(50px);
        z-index: -1;
    }

    header::after {
        position: absolute;
        content: "";
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        /* background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.4),
                transparent); */
        background-color: rgba(246, 246, 244, 0.96);
        transition: 0.8s;
    }

    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(246, 246, 244, 0.96);
        /* backdrop-filter: blur(50px); */
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    #check:checked~.navbar {
        height: 25rem;
    }

    .nav-item {
        display: block;
        font-size: 1.1rem;
        margin: 2rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-item:hover::after {
        width: auto;
    }

    #check:checked~.navbar a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(0.15s * var(--i));
    }
}

@media (max-width: 450px) {
    .btn {
        width: 130px;
    }

    .light:after {
        width: 120p25
    }
}

.current_page_item {
    color: rgba(247, 116, 49, 1);
    /* Your orange color */
}

/* HERO SECITON */

/* Hero Section Styles */
.hero {
    position: relative;
    height: 60vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: rgba(246, 246, 244, 0.96);
    margin-top: 100px;
    /* Add this to account for fixed header */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/Circuit_Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.hero .logo,
.hero-title,
.cta-button {
    position: relative;
    z-index: 2;
}

.hero .logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 1);
    text-align: center;
    margin-bottom: 30px;
    gap: 10rem;
    display: flex;
    padding-bottom: 50px;
}

.cta-button {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    padding: 12px 40px;
    background-color: rgba(247, 116, 49, 1);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero .logo {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero .logo {
        max-width: 200px;
    }

    .cta-button {
        padding: 10px 30px;
        font-size: 1rem;
    }
}