@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


* {
    margin :0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', 'sans-serif';

}

:root {
    /* --bg-color: #081b29; */
    --bg-color: #ededed;
    /* --second-bg-color: #112e42; */
    --second-bg-color: #f9f8f8;
    --text-color: rgb(8, 27, 41);
    --main-color: green;
    /* --main-color: #00abf0; */
}

html{
    font-size: 62.5%;
    overflow-x: hidden;

}
body{
    background: var(--bg-color);
    color: var(--text-color);
    
}
section {
    min-height: 50vh;
    padding: 10rem 9% 2rem;
}/* General Styles */



.heading {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

span {
    color: var(--main-color);
}

.services-section {
    
    padding: 12rem 0%;
    max-height: auto;
    background-color: var(--bg-color);
}
.service-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay with opacity */
    border-radius: 8px;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-color);
}
.heading {
    font-size: 4.4rem;
    text-align: center;
    margin-bottom: 2rem;
}

.heading span {
    color: var(--main-color);
}

.service-desc p {
    text-align: justify;
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--bg-color);
}

/* Service Item Styles */
.service-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin:4rem 0;
    padding: 0 4rem;
}
/* Reverse order for specific items */
.service-item.reverse {
    flex-direction: row-reverse; /* Reverse the order of image and text */
}


.service-image {
    width: 30%;
    height: 300px;
    border-radius: 8px;
}

.service-text p {
    width: 100%;
    text-align: justify;
    color: var(--text-color);
}

.service-text h3 {
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.service-text p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-btn .s-btn {
    
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    background-color: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;

}

.service-btn .s-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.service-btn .s-btn:hover::before {
    width: 100%;
}

.service-btn .s-btn {
    font-size: 1.2rem;
    color: var(--bg-color);
    transition: .5s;
}

.service-btn .s-btn:hover {
    color: var(--main-color);
}

/* Services html design */

.work-count-section {
    text-align: center;
    padding: 4 0rem;
    height: 30%;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
}
.service-desc-d p{
        text-align: justify;
        font-size: 1.5rem;
        margin: 0 auto 3rem;
        color: var(--text-color);

}

.work-counts {
    display: flex;
    padding: 0%;
    justify-content: center;
    gap: 30rem;
}

.count-item {
    color: var(--main-color);
}

.count-item h3, i{
    font-size: 6.5rem;
    justify-content: center;
    font-weight: bold;
    color: var(--accent-color);
}

.count-item p {
    font-size: 2rem;
    font-weight: 600;
}

/* Overall section styling */
.our-process {
    text-align: center;
    padding: 40px;
    background-color: var(--main-color);
    color: var(--bg-color);
}

/* Section title and description styling */
.our-process p {
    font-size: 16px;
    color: var(--bg-color);
    margin-bottom: 30px;
}

/* Process steps container */
.process-steps {
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

/* Individual step styling */
.step {
    text-align: center;
    max-width: 150px;
}
.process-steps h3 {
    color: var(--bg-color);
}

/* Icon circle styling */
.icon-circle {
    width: 70px;
    height: 70px;
    border : 1px solid var(--bg-color); /* Adjust this color as needed */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Icon styling */
.icon-circle i {
    font-size: 4rem;
}

.our-process .service-btn {
    margin-top: 5%;
}

.our-process .s-btn {
    width: 200px;
    height: 50px;
    font-size: 2rem;
    font-weight: 600;
    background-color: var(--bg-color);
    color: var(--main-color);
    

}

.our-process .s-btn::before {
    background-color: var(--main-color);
    
}

.our-process .s-btn:hover {
    background-color: #4CAF50;
    color: var(--bg-color);
    border: 1px solid var(--bg-color);
}

.c-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
}
.c-container hr{
    width: 80%;
}
.c-container h2{
    font-size: 20px;
}
.contact-items{
    display: flex;
    margin: 30px auto;
    flex-wrap: wrap;
    align-items: center;

}
.customer-care,.write-us,.sales-market{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28%;
    margin: 30px auto;
    padding: 35px 15px;
    border-radius: 15px;
    text-align: center;
    min-width: 250px;
    
}
.customer-care{
    height: 250px;
    box-shadow: 0 15px 15px green;
    border: 1px solid green;
}
.write-us{
    height: 250px;
    box-shadow: 0 15px 15px var(--main-color);
    border: 1px solid var(--main-color);
}
.sales-market{
    height: 250px;
    box-shadow: 0 15px 15px blue;
    border: 1px solid blue;
}
.c-container p{
    font-size: 15px;
    color: var(--text-color);
}
.c-container button{
    padding: 8px 16px;
    font-size: 17px;
    border-radius: 2px;
    border: none;
    margin: 15px auto;
    cursor: pointer;
    color: rgb(255, 255, 255);
    transition: .3s;
}
.c-container button:hover{
    background-color: var(--bg-color);
    color: var(--main-color);
}

#cust-care{
    background: green;
    box-shadow: 0 0 5px black;
}

#cust-care:hover {
    background-color: var(--bg-color);
}

#write{
    background: var(--main-color);

    box-shadow: 0 0 5px black;
}

#sales{
    background: blue;
    box-shadow: 0 0 5px black;
}

#write:hover, #cust-care:hover, #sales:hover {
    background-color: var(--bg-color);
    border: 1px solid var(--main-color);
    box-shadow: none;
}

.c-container a{
    font-size: 16px;
}
.customer-care a{
    color: green;
    text-shadow: 0 0 2px rgba(73, 129, 80, 0.637);
}
.sales-market a{
    color: blue;
    text-shadow: 0 0 2px rgba(76, 62, 158, 0.637);
}


/* Mobile Styles */
@media (max-width: 768px) {
    
    section {
        padding: 6rem 5% 2rem; /* Reduce section padding */
    }

    .contact {
        margin-top: 7rem;
    }

    .service-item {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to start */
    }

    /* Reset reverse effect for small screens */
    .service-item.reverse {
        flex-direction: column; /* Override reverse order */
    }

    .service-image {
        width: 100%; /* Image takes full width */
        height: auto; /* Maintain aspect ratio */
        margin-bottom: 10px; /* Space below the image */
    }

    .service-text {
        
        margin-left: 0;
    }

    .service-text h3 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    .service-text p {
        font-size: 1.2rem;
        justify-content: center; /* Smaller paragraph size for mobile */
    }

    .service-btn .s-btn {
        font-size: 1.5rem; /* Smaller button text */
    }

    .work-counts {
        flex-direction: column; /* Stack work counts vertically */
        gap: 2rem; /* Reduce gap */
    }

    .count-item h3, i {
        font-size: 4rem; /* Smaller font size */
    }

    .count-item p {
        font-size: 1.5rem; /* Smaller paragraph font size */
    }

    .process-steps {
        gap: 20px;
        flex-direction: column; /* Stack icons vertically on small screens */
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle i {
        font-size: 3rem;
    }

}

/* Additional styles for smaller screens */
@media (max-width: 480px) {
    

    .service-text h3 {
        font-size: 1.8rem; /* Smaller service title */
    }

    .service-text p {
        font-size: 1.2rem; /* Smaller service description */
    }

    .count-item h3, i {
        font-size: 3.5rem; /* Further reduce font size */
    }

    .count-item p {
        font-size: 1.3rem; /* Adjust paragraph font size */
    }
}
