@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: 100vh;
    padding: 10rem 9% 2rem;
}


.heading {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

span {
    color: var(--main-color);
}
.about {
    
    padding: 10rem 0%;
    margin-top: 5rem;
    max-height: auto;
    background-color: var(--bg-color);
}
.about-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: 0px;
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-color);
}

.overlay-content p {
    color: var(--bg-color);
}


.about-content {
    text-align: center;

}

.c-data {
    display: flex; /* Use flexbox to align items in a row */
    align-items: center; /* Vertically center the image and text */
}

.mission-image {
    width: 550px; /* Set a fixed width for the image; adjust as needed */
    height: 450px; /* Maintain aspect ratio */
    margin-right: 20px; /* Space between image and text */
}

.mission-image2 {
    display: none;
    width: 80%; /* Responsive image size */
    margin-right: 0; /* Remove right margin */
    margin-bottom: 20px; /* Add space below image */
}
.about-content h3 {
    padding-top: 4rem;
    padding-bottom: -4rem;
    font-size: 4.6rem;
}

.about-content p {
    text-align: justify;
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    color: var(--text-color);
}

.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;
}

.btn-box .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background-color: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--bg-color); /* Initial text color */
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-color);
    z-index: -1;
    transition: .5s;
}

.btn-box .btn:hover::before {
    width: 100%;
}

.btn-box .btn:hover {
    color: var(--main-color);
}

.btn-box.btns {
    display: inline-block;
    width: 15rem;
}

.gallery {
    min-height: 200px;
    display: flex; /* Use flexbox to arrange content side by side */
    padding: 5rem 9%;
    background-color: var(--main-color);
}

.gallery-content {
    flex: 1; /* Allow the text section to take up remaining space */
    padding-right: 20px; /* Add space between text and slider */
    text-align: left; /* Align text to the left */
}

.gallery-content h2 {
    color: var(--bg-color);
    margin-bottom: 1rem;
    text-align: left;
}

.gallery-content p {
    font-size: 1.6rem;
    margin: 2rem 0;
    color: var(--bg-color);
    text-align: left;
}

.gallery .btn-box .btn{
    background-color: var(--bg-color);
    color: var(--main-color);
    margin-top: 1rem;
}

.gallery-slider {
    flex: 1; /* Allow the slider to take up remaining space */
    position: relative;
    overflow: hidden;
    height: 100%; /* Full height */
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%; /* Each slide takes full width of the slider */
    height: 100%; /* Full height */
}

.slide img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures the image covers the container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.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);
}

/* For Tablets and Small Desktops */
@media (max-width: 1024px) {
    .header {
        padding: 1.5rem 5%;
    }

    .logo {
        font-size: 2rem;
    }

    .heading {
        font-size: 4rem;
    }

    .about-content h3 {
        font-size: 4rem;
    }

    .about-content p {
        font-size: 1.5rem;
    }

    .c-data {
        flex-direction: column; /* Stack image and text on smaller screens */
        align-items: center; /* Center align items */
    }

    .mission-image2 {
        display: flex;
        width: 80%; /* Responsive image size */
        margin-right: 0; /* Remove right margin */
        margin-bottom: 20px; /* Add space below image */
    }
    .mission-image {
        display: none;
    }

    .btn-box {
        width: 100%; /* Make button box responsive */
        justify-content: center; /* Center the buttons */
    }

    .btn-box .btn {
        width: 80%; /* Make buttons take up more space */
    }

}

/* For Mobile Devices */
@media (max-width: 768px) {

    section {
        padding: 6rem 5% 2rem; /* Reduce section padding */
    }
    .header {
        padding: 1rem 3%;
    }

    .heading {
        font-size: 3.5rem;
    }
    .about {
        margin-top: 3rem;
    }

    .about-content h3 {
        font-size: 3.5rem;
    }

    .about-content p {
        padding: 0% 3%;
        font-size: 1.4rem;
    }

    .mission-image {
        width: 100%; /* Full width on mobile */
    }

    .btn-box .btn {
        width: 100%; /* Wider buttons on mobile */
    }

    .logo_item {
        padding: 0.5rem; /* Reduce padding for logo items */
    }

    .logo_item img {
        width: 10rem; /* Smaller logo image size */
    }

    .gallery {
        flex-direction: column; /* Stack elements vertically */
        padding: 4rem 5%; /* Reduce padding for mobile */
    }

    .gallery-content {
        padding-right: 0; /* Remove right padding */
        text-align: center; /* Center text on mobile */
    }

    .gallery-content h2 {
        font-size: 4rem; 
        text-align: center;
    }

    .gallery-content p {
        font-size: 1.4rem; /* Adjust paragraph size for mobile */
        margin: 1rem 0;
        text-align: justify;
    }

    .gallery-slider {
        padding-top: 4rem;
        height: 250px; /* Set a specific height for the slider on mobile */
    }

    .gallery .btn-box .btn {
        width: 50%; /* Make button full-width on mobile */
        height: 80%;
        margin-top: 3rem;
         /* Add margin for separation */
    
    }
}

@media (max-width: 480px) {
    .gallery-content h2 {
        font-size: 2.6rem; /* Further reduce heading size */
    }

    .gallery-content p {
        font-size: 1.2rem; /* Further reduce paragraph size */
    }

    .gallery-slider {
        height: 200px; /* Reduce slider height for very small screens */
    }
}
