/* Burger icon */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #0d70c6;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile view */
@media (max-width: 768px) {
    .items ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 80px;
        /* navbar height */
        right: 20px;
        width: 200px;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    .items ul.show {
        display: flex;
    }

    .burger {
        display: flex;
    }
}

/* Animation for burger → cross */
.burger.toggle .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* hero section */
@media(max-width:798px) {
    .hero .container h1 {
        font-size: 37px;
        text-align: center;
    }

    .row {
        flex-direction: column;
    }

    .hero {
        min-height: 500px;
    }

    .hero .container p {
        font-size: 18px;
        line-height: 20px;
    }

    .hero .container a {
        font-size: 15px;
    }

    .profile-container .profile-lft {
        width: 100%;
    }

    .profile-container .about {
        /* text-align: center; */
        padding-left: 80px;
    }

    .profile-container {
        flex-direction: column;
        text-align: center;
    }

    .profile-lft h2 {
        padding-left: 50px;
        font-size: 25px;
        line-height: 30px;
    }

    p {
        font-size: 15px;
        padding: 0 10px;
    }

    .profile-rgt {
        width: 100%;
    }

    .profile-rgt p {
        padding-right: 33px;
    }

    .container .p {
        font-size: 18px;
        line-height: 25px;
        padding-right: 30px;
    }

    .contact-head-para h1 {
        font-size: 35px;
    }

    .col {
        width: 100vw;
    }

    .techno-h-p p {
        font-size: 18px;
        line-height: 25px;
    }

    .gallery-item img {
        width: 100vw;
    }

    .contact-head-para p {
        font-size: 18px;
        line-height: 25px;
    }

    .container-contact {

        grid-template-columns: 1fr;

        padding: 20px;

    }
}