@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);
    overflow-x: hidden;

}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;

    

}

.home {
    display: flex;
    align-items: center;
    padding: 10% 9%;
    background: url('/images/background-t.png') no-repeat;
    background-size: cover;
    background-position: center;
}

.home-content {
    max-width: 60rem;

}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.home-content .text-animate {
    position: relative;
    width: 32.8rem;
}

.home-content .text-animate h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    /* -webkit-text-stroke: .7px var(--main-color); */
}

.home-content p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
    text-align: left;
}

.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);
    z-index: 1;
    overflow: hidden;
    transition: .5s;

}

.btn-box .btn:hover {
    color: var(--main-color);
}

.btn-box .btn:nth-child(2) {
    background-color: transparent;
    color: var(--main-color);
}

.btn-box .btn:nth-child(2):hover {
    color: var(--bg-color);
}

.btn-box .btn:nth-child(2)::before {
    background: var(--main-color);
}


.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%;
}

.home-sci {
    position: absolute;
    bottom: 0rem;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.home-sci a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    
}

.home-sci a:hover {
    color: var(--bg-color);
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: .5s;
}

.home-sci a i {
    font-size: 24px; /* Adjust this value for icon size */
}

.home-sci a:hover::before {
    width: 100%;
}

@media (min-width: 769px){
    .home-imgHover {
        position: absolute;
        top: 0;
        right: 0;
        width: 47%;
        height: 100%;
        background: transparent;
        transition: 3s;
    }

    .home-imgHover:hover {
        background: var(--bg-color);
        opacity: .8;
    }
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background: var(--second-bg-color);
    padding-bottom: 6rem;
}

.heading {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

span {
    color: var(--main-color);
}


.btn-box.btns {
    display: inline-block;
    width: 15rem
}
.btn-box.btns a::before {
    background: var(--second-bg-color);
}


.why-choose-us {
    background: var(--second-bg-color);
}

.why-choose-us p {
    max-height: 10rem; /* Paragraph visible by default */
    text-align: justify;

}

.desc p {
    font-size: 1.6rem;
    text-align: center;
    color: var(--text-color);
    margin: 3rem 0.44rem;
    margin-bottom: 5rem;

}
.why-choose-us-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}


.why-choose-us-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-choose-us-image img {
    max-width: 90%;
    margin-bottom: 5rem;
    margin-right: 20rem;
    transition: .3s;
}

/* Arrow button style */
.toggle-arrow {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Rotate the arrow when content is shown */
.why-choose-us-item.expanded .toggle-arrow {
    transform: rotate(180deg);
}

/* Hover effect only on screens larger than 768px */
@media (min-width: 769px) {
    .why-choose-us-image:hover img {
        opacity: 0.5;
    }
}

.why-choose-us-item {
    border: .2rem solid var(--main-color); /* Keeps the main color border */
    color: var(--second-bg-color);
    justify-content: space-between;
    width: 50rem;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    background: var(--main-color); /* Initial background is the main color */
    border-radius: 1rem; /* Slight rounding of the corners */
    transition: background 0.5s, border-color 0.5s;
    overflow: hidden; /* Ensure smooth opening */
}

.why-choose-us-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.why-choose-us-item p {
    max-height: 0;
    opacity: 0; 
    overflow: hidden;
    transition: .3s;
}

.why-choose-us-item.expanded {
    background: var(--second-bg-color);
    border-color: var(--main-color); 
    color: var(--main-color); 
}
/* Adjust the paragraph styles when expanded */
.why-choose-us-item.expanded p {
    max-height: 10rem; /* Show full paragraph */
    opacity: 1; /* Show the paragraph */
}

.scroll-btn {
    opacity: 0;
}

.service-desc p{
    font-size: 1.6rem;
    color: var(--text-color);
    text-align: center;
    margin: 0 0.44rem;

}

.service-all-cards {
    padding: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0 5%;
}
.services-container {
    margin-top: 2rem;
    display:inline-flex;
    justify-content:center;
    padding: 0 0.5rem;

}

  /* Service card container */
.service-card {
    width: 200px;
    height: 300px;
    perspective: 1000px; /* This gives the 3D effect */
}

  /* Inner content of the card */
.service-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: 0.6s;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg); /* Rotate the card when hovered */
}

  /* Front and back of the card */
.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hide the back when it's not visible */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--second-bg-color); /* Default background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow */
    transition: background-color 0.3s ease;
}
/* Add an overlay with 50% opacity and the service name at the bottom */
.service-card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%; /* Adjust height based on your need */
    background:rgba(255, 255, 255, 0.8);
    color: var(--bg-color); /* Text color */
    font-size: 1.2rem;
    padding: 0.5rem;
    text-align: center;
    text-transform: uppercase; /* Optional: to capitalize service name */
}

  /* Front side styling */
.service-card-front img {
    max-width: 100%;
    height: 100%;
    object-fit:cover;
}

.service-card-front h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

  /* Back side styling */
.service-card-back {
    transform: rotateY(180deg); /* Position the back side rotated by default */
    background-color: var(--main-color); /* Flip-side background */
}

.service-card-back p {
    font-size: 1rem;
    padding: 1rem;
    text-align:center;
    color: var(--second-bg-color);
}

.service-btn .s-btn {
    
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
    background-color: var(--bg-color);
    border: .2rem solid var(--bg-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(--main-color);
    z-index: -1;
    transition: .5s;
}

.service-btn .s-btn:hover::before {
    width: 100%;
}

.service-btn .s-btn {
    font-size: 1.2rem;
    color: var(--main-color);
    transition: .5s;
}

.service-btn .s-btn:hover {
    color: var(--bg-color);
}


.button input[type="button"]:hover {
    background: var(--second-bg-color);
    color: var(--main-color);
}

/* Overall section styling */
.our-process {
    text-align: center;
    min-height: 300px;
    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: var(--bg-color);
    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: var(--main-color);
    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 {
    background: var(--second-bg-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);
}

.custom-carousel-container {
    max-width: 1300px !important;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
  }
  .custom-carousel-title {
    text-align: center;
    margin-bottom: 20px;
  }
  .custom-carousel-title h2 {
    margin: 0;
    color: #333;
  }
  .custom-carousel-separator {
    width: 80px;
    height: 1px;
    background: var(--main-color);
    margin: 10px auto;
  }
  .custom-carousel-slide-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap:8px;
  }
  .custom-testimonial {
    min-width: 24.4%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    color: #333;
    text-transform:uppercase;
    border:1px solid #f0f1f1;
    border-radius:20px;
  }
  .custom-testimonial img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
  }
  .custom-author-info {
    font-weight: bold;
  }
  .custom-testimonial-text {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
  }
  .custom-rating {
    color: #ffd700;
    margin-top: 8px;
    font-size: 16px;
  }
  .custom-carousel-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
  }
  .custom-carousel-button {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #3333;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    transition: background 0.3s;
  }
  .custom-carousel-button:hover {
    background: #666;
    color: var(--main-color);
}
@media (max-width: 768px) {
    .custom-testimonial {
    min-width: 100%;
    }
  }


/* Responsive navbar for mobile devices */
@media (max-width: 768px) {

    /* Header */
    .header {
        padding: 1rem 5%;
    }
    
    /* .navbar a {
        font-size: 1.4rem;
        margin-left: 1.5rem;
    } */
    
    .heading {
        font-size: 3.5rem;
    }

    /* Home Section */
    .home {
        flex-direction: column;
        background: url(/images/background-t---Copy.png) no-repeat;
        background-size: cover;
        background-size: 300px;
        background-position: 4rem 7rem;
        padding-top: 15rem ;
    }

    .home-content h1 {
        font-size: 4.2rem;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content p {
        font-size: 1.4rem;
    }

    .home-sci {
        /* padding: 0rem 4%; */
        margin-bottom: -0rem;
        display: none;
    }
    .desc p
    {
        margin-bottom: 35rem;
        text-align: justify;

    }
    .service-desc p {
        text-align: justify;
    }
    .btn-box {
        width: 100%;
        bottom: 10px
    }
    .scroll-btn {
        opacity: 1;
    }


    .service-card:hover .service-card-inner {
        transform: rotateY(180deg); /* Rotate the card when hovered */
    }

    .service-card-inner {
        transition: transform 0.6s;
    }

    .service-container-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        padding: 2rem 0;
    }

    .service-card {
        min-width: 85%;
        height: 300px;
        perspective: 1000px; /* Keep the 3D effect */
        cursor: pointer; /* Change cursor to pointer to indicate clickability */
    }

    .service-card-inner {
        pointer-events: auto; /* Ensure that the inner card is clickable */
    }

    /* Remove hover effect for mobile */
    .service-card:hover .service-card-inner {
        transform: none; /* Disable hover effect */
    }

    /* Enable horizontal scrolling for the cards on mobile */
    .service-all-cards {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 1rem;
        padding: 2rem 0;
        margin: 0;

        /* Center the first card */
        justify-content: flex-start; /* Start from the left */
        padding-left: calc((70% - 200px) / 2); /* Center the first card based on its width */
    }

    /* Scroll buttons for mobile positioned on left and right */
    .scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        background: var(--main-color);
        color: var(--bg-color);
        border: none;
        cursor: pointer;
        z-index: 10;
        padding: 0.5rem;
        border-radius: 30%;
    }

    .scroll-btn.left {
        left: 10px;
    }

    .scroll-btn.right {
        right: 10px;
    }

    /* Service card adjustments for mobile */
    .service-card {
        min-width: 85%;
        height: 300px;
        perspective: 1000px; /* Keep the 3D effect */
    }

    /* Why Choose Us Section */
    .why-choose-us-container {
        flex-direction: column;
    }

    .why-choose-us-image {
        margin-bottom: 2rem;
        margin-left: 20rem;
        width: 50rem;
    }

    .why-choose-us-item  {
        width: 100%;
    }
    .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;
    }

    .service-btn .s-btn {
        font-size: 2rem; /* Smaller button text */
    }

    
    .review-slider {
        padding: 0.5rem; /* Reduce padding */
    }

    .review-slider .wrapper {
        width: calc(100% * 4); /* Show 2 items per view */
    }

    .review-slider .box {
        max-width: 100%; /* Adjust box width */
        padding: 2rem; /* Reduce padding */
        margin: 0.5rem; /* Add margin between boxes */
    }

    .review-slider .box h3 {
        font-size: 1.5rem; /* Smaller font for names */
    }

    .review-slider .box p {
        font-size: 0.8rem; /* Smaller font for review text */
    }

    .review-slider .box .star i {
        font-size: 1.5rem; /* Smaller stars */
    }

}


@media (max-width: 480px) {
    .header {
        padding: 1rem 3%;
    }


    .home-content h1 {
        padding-top: 20rem;
        font-size: 3.6rem;
    }

    .home-content h3 {
        font-size: 2.4rem;
    }

    .home-content p {
        font-size: 1.2rem;
    }

    .about-img {
        width: 20rem;
        height: 20rem;
    }

    .about-content h3 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1.2rem;
    }

    .logo_item img {
        width: 10rem;
    }

    .logo_item {
        padding: 0.5rem;
    }

    
}

