* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

/* Header */
header {
    background-image:url("phone1.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height:75vh;
}

/* Top Navigation */
.topnav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px;
    padding: 10px 30px;
    color: white;
    background-color: rgb(1, 79, 1);
    top: 0;
    font-weight: bolder;
    position: fixed;
    width: 100%;
    z-index: 100;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background-color: white;
    position: fixed;
    top: 38px;
    width: 100%;
    z-index: 99;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link:hover {
    color: black;
}

.brand {
    display:flex;
    gap:10px;
    justify-content: center;
    align-items: center;
    padding:10px;
}

.brand h1 {
    color:rgb(1, 79, 1)
}

.brand img {
    height:90px;
    width:90px;
    border-radius: 50%;
    display:flex;
    justify-content: center;
    align-items: center;
    
}
@media(max-width:350px) {
    .brand img {
        height:50px;
        width:50px;
    }

    .topnav {
        text-align: center;
    }
}
.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: black;
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        position: fixed;
        left: -100%;
        top: 120px;
        transition: 0.3s;
        gap: 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
       /* position:relative; /*Push other links further below*/
    }

    .nav-link {
        color: black;
    }

    .topnav a{
        font-size: 14px;
    }
}


/* Hero Content */
.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 45%;
    gap:30px;
    left: 10%;
    right: 10%;
    padding: 20px;
    color: white;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bolder;
    text-align: center;
}

@media(max-width:300px) {
    .hero-content h1 {
        font-size: 2rem;
    }

}

@media(max-width:500px) {
    .contact-form,
    .call-us,
    .contact-us {
        padding:20px !important;
    }
}

/* Contact Us Section */
.contact-us {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding: 50px;
    font-size: 18px;
    margin-top: 20px;
}

.contact-form {
    flex: 1;
    padding: 50px;
    background-color:rgba(0, 126, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.call-us {
    flex: 1;
    padding: 50px;   
}

.call-us h2 {
    text-align: center;
}

.contact-form h2, .call-us h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-form p, .call-us p {
    margin-bottom: 20px;

}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

form button {
    background-color: rgb(1, 79, 1);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #0056b3;
}

.call-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.call-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-us {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contact-form, .call-us {
        margin-bottom: 20px;
    }
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap:20px;
}

.contact-links .first {
    padding:20px;
    background-color:rgba(0, 126, 0, 0.2);
    display: flex;
}

.contact-links i {
    padding:20px;
    color:rgb(1, 79, 1);
    font-size:30px;
    background-color: white;
    height:70px;
    width:70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-links .first .inside {
    padding:20px;
}

.contact-links .first a {
    color:black;
}

.contact-links .first a:hover {
    color:rgb(1, 79, 1);
}

/*WhatsApp*/
.whatsapp-icon {
    position: fixed;
    right:20px;
    bottom: 160px;
    z-index:1000;
}

.whatsapp-icon img {
    width:60px;
    height:60px;
}

@media(max-width:600px) {
    .whatsapp-icon img {
        width:50px;
        height: 50px;
    }
}

@media(max-width:400px) {
    .whatsapp-icon img {
        width:45px;
        height: 45px;
    }

    .whatsapp-icon {
        right:30px;
    }
}

/* Shopping Cart */
.cart-icon {
    position:fixed;
    right:20px;
    bottom: 90px;
    z-index:1000;
}

.cart-icon img {
    width:65px;
    height:65px;
}

@media(max-width:600px) {
    .cart-icon img {
        width:50px;
        height: 50px;
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px;
    background-color: rgb(1, 79, 1);
    color:white;
    margin-top: 20px;
    position:relative;
    bottom: 0;
}