@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

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

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
}

body {
    background-color: #0062be;
    overflow-x: hidden;
}

.sec {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0062be;
    transition: 0.5s;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
}

header .logo {
    max-width: 70px;
}

header ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

header ul li {
    list-style: none;
}

header ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    margin-left: 20px;
}

header ul li a:hover {
    color:#0ef;
}

.content {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.textBox {
    max-width: 600px;
    flex: 1;
    padding: 20px;
}

.textBox h2 {
    font-size: 3em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
}

.textBox h2 span {
    font-size: 1.5em;
}

.textBox p {
    color: #fff;
}

.textBox a {
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 4rem;
    background: white;
    color: var(--second-bg-color);
    box-shadow: 0 0 0.5rem white;
    letter-spacing: .1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: 0.5s ease;
}

.textBox a:hover {
    box-shadow: none;
    background-color: gainsboro;
}

.imgBox {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.imgBox img {
    max-width: 100%;
    height: auto;
}

.morepepsies {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.morepepsies li {
    list-style: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.morepepsies li:hover {
    transform: translateY(-10px);
}

.morepepsies li img {
    max-width: 40px;
}

.socialmedia {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.socialmedia li {
    list-style: none;
}

.socialmedia li a img {
    filter: invert(1);
    width: 20px;
    transition: 0.3s ease;
}

.socialmedia li a:hover img {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .sec {
        padding: 60px 20px;
    }

    header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    header ul {
        flex-direction: column;
        margin-top: 10px;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }

    .textBox,
    .imgBox {
        width: 100%;
        text-align: center;
    }
}
#menu-icon {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: none;
}

#menu-icon {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: none;
}

/* Media Query: Jab screen chhoti ho */
@media (max-width: 768px) {
    #menu-icon {
        display: block;
        position: absolute;
        top: 28px;
        right: 40px; /* 👈 Right align */
        z-index: 999;
    }

    header ul {
        position: absolute;
        top: 0px;
        left: -100%;
        width: 100%;
        background: #00000052;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        transition: 0.3s ease;
    }
    header .logo{
        width: 50px;
    }
    header ul.active {
        left: 0;
    }
}

