@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: rgb(130, 127, 127);
    color: white;
    background-image: url("Images/GULSHAN E KAREEM MPCSL GATE.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

header {
    color: white;
    background-image: url("Images/GULSHAN E KAREEM MPCSL GATE.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

@media (max-width: 1000px) {
    header {
        height: 20vh;
    }
}

nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo img {
    display: block;
}

ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

ul li a:hover {
    color: #ffcc00;
    transform: scale(1.1);
}

main {
    padding: 20px;
}

.about {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    margin: 0px auto;
    max-width: 800px;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
}

.about p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: 0.3s;
}

.cancel-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    ul {
        display: none;
        flex-direction: column;
        align-items: start;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 0px;
        left: 0;
        padding-top: 20px;
        z-index: 1000;
        padding-left: 20px;
    }

    ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .cancel-btn {
        display: block;
        position: absolute;
        top: 17px;
        right: 24px;
        font-size: 47px;
    }

    ul li {
        margin: 10px 0;
    }

    ul li a {
        font-size: 15px;
    }
}