/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

li {
    list-style: none;
}

/* Header */
header {
    background-color: white;
}

/* 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 Section */
.hero {
    position: relative;
    height: 75vh;
    background: url('image1.jpeg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    /*clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);*/
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 79, 1, 0.5); /* Dark green overlay with 50% opacity */
    z-index: 1; /* Ensures the overlay is above the image */
}

/* Content in Hero Section */
.hero-content {
    position: relative;
    z-index: 2; /* Ensures the content is above the overlay */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0;
}

.hero-content h3 {
    font-size: 1.5rem;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

.services {
    display: flex;
    flex-direction: column;
    padding:20px;
}

.services h1 {
    padding:30px;
    text-align: center;
}

.range {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    justify-content: center;
    margin: auto;
    gap:20px;
}

@media(max-width:1300px) {
    .range {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: row;
        justify-content: center;
        margin: auto;
        gap:20px;
    }
}

@media(max-width:900px) {
    .range {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-auto-flow: row;
        justify-content: center;
        margin: auto;
    }

    .range .item {
        max-width:550px;
        height:auto;
        display: flex;
        flex-direction: column;
    }

    .range .item-words {
        max-width:550px;
    }

    .range img {
        max-width: 550px;
    }
}

@media(max-width:550px) {
    .range .item {
        max-width: 100% !important;
        padding:30px;
    }

    .range .item {
        width:100% !important;
    }

    .range .item-words,
    .range img {
        max-width: 100% !important;
    }
}

.range .item {
    max-width:400px;
    height:auto;
    display: flex;
    flex-direction: column;
    gap:30px;
    background-color: rgba(0, 126, 0, 0.2);
}

.range .item-words {
    max-width:400px;
    height:auto;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;  
    margin: auto;
}

.range .item img {
    max-width: 400px;
}

.item-words p {
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

.item-words h2 {
    text-align: center;
    padding: 10px;
}

.item-link {
    margin-bottom: 20px;
}

.item-link a {
    border: 1px solid white;
    padding:5px 8px;
    border-radius: 5px;
    background-color: rgb(1, 79, 1);
    color:white;
    font-size: 20px;
    margin: auto;
}

.wrapper {
	/*position:absolute;*/
	width:100vw;
	/*transform:translate(-50%, -50%);*/
	display:flex;
	justify-content: space-around;
	gap:15px;
	align-items: center;
	left:50%;
	/*margin-top:100px;
	margin-bottom: 50px;*/
	margin-top: 60px;

}

.cont1 {
	/*width:500px;
	height:500px;*/
	display:flex;
	flex-direction: column;
	justify-content: center;
	padding:20px;
	gap:20px;
	position:relative;
	/*border-radius: 0.5em;*/
	background-color:transparent;
	border-bottom: 2px solid rgba(1, 79, 1, 0.5);
}

.cont1 i {
	color:rgb(1, 79, 1);
	font-size:30px;
	text-align: center;
    background-color: whitesmoke;
    padding:20px;
    max-width: 80px;
    margin: auto;
}

span.num {
	color:black;
	display: grid;
	place-items: center;
	font-size: 20px;
}

span.text {
	color:black;
	font-size: 16px;
	text-align: center;
	/*pad:0.7rem 0;*/	

}

@media(max-width:1024px) {
	.wrapper {
		width:85vw;
        margin: auto;
	}
	.cont1 {
		height: 300px;
		width:200px;
		font-size: 12px;
	}
}

@media(max-width:768px) {
	.wrapper {
		width:90vw;
		flex-wrap: wrap;
		gap:30px;
        margin-top: 60px;
	}
	.cont1 {
		width:calc(50% - 40px);
		height:30vmin;
		font-size: 12px;
	}
	.team h1 {
		margin-top: 30vh;
	}
}

@media(max-width:600px) {
	.cont1 {
		height:auto;
	}
}

@media(max-width:480px) {
	.wrapper {
		margin-top: 20vh;
		gap:20px;
		
	}
	.cont1 {
		width:100%;
		height:auto;
		font-size: 8px;
	}
	.team h1{
		margin-top: 65vh;
	}
}

@media(max-width:350px) {
	.cont1 {
		height:auto;
	}
}

.content-bottom {
    margin:60px auto;
    display:flex;
    justify-content: space-around;
    align-items: center;
    max-width:80rem;   
}

@media(max-width:1000px) {
    .content-bottom {
        display: flex;
        flex-direction: column;
    }

    .leftcontent-bottom {
        max-width: 100% !important;
        padding:30px;
    }

    .rightcontent-bottom img {
        padding:30px;
        max-width: 100% !important;
    }
}

.leftcontent-bottom {
    padding:30px;
    font-size: 20px;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap:30px;
    background-color: whitesmoke;
    padding-right: 10px;
}

.rightcontent-bottom {
    padding:30px;
}

.rightcontent-bottom img {
    padding-right: 30px;
    max-width:500px;
    height:auto;
}

.content-bottom .item {
    display: flex;
    gap:20px;
} 

@media(max-width:500px) {
    .content-bottom .item {
        flex-direction: column;
    }

    .content-bottom i {
        text-align: center;
        margin: auto;
    }
}

.content-bottom i {
    background-color: rgb(1, 79, 1);
    color:white;
    padding:20px;
    height:auto;
    font-size: 30px;
    width:80px;
    height:80px;
}

#first {
    width:68px;
    padding:30px;
    text-align: center;
}

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

.link-bottom {
    font-size: 20px;
    margin: auto;
    margin-top: 20px;
    padding:10px;
    border:1px solid white;
    border-radius: 5px;
    text-align: center;
    background-color: rgb(1, 79, 1);
    max-width: 120px;
}

.link-bottom a {
    color:white;
    margin: auto;
}

/* User Reviews Section */
.user-reviews {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 30px;
}

.user-reviews h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.reviews-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.review-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.review-text {
    font-size: 20px;
    color: #555;
    margin-bottom: 15px;
}

.review-author {
    font-size: 17px;
    color: #888;
    font-style: italic;
}

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

/* Contact Us Section */
.contact-us {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: rgba(0, 126, 0, 0.2);
    font-size: 18px;
}

.contact-form {
    flex: 1;
    padding: 30px;
    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: 30px;   
}

.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: 10px;
    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 i {
    padding:10px;
    color:rgb(1, 79, 1);
    font-size:30px;
}

.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;
    }
}

/* 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;
}