@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';

}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --main-color: green;
}

body {
    font-family: 'Poppins', 'sans-serif';
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; */
    line-height: 1.6;
    color: #1A1F2C;
}



.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    /* padding-top: 180px; */
}

.hero .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 180px;
}
/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.4rem;
}

.btn.primary {
    background-color: var(--main-color);
    color: white;
}

.btn.primary:hover {
    background-color: white;
    transform: scale(1.05);
    border: 2px solid var(--main-color);
    color: var(--main-color);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
}

.btn.secondary:hover {
    background-color: var(--main-color);
    color: white;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.badge:not(.light):not(.white) {
    background-color: var(--main-color);
    color: white;
}

.badge.light {
    background-color: #F1F0FB;
    color: var(--main-color);
}

.badge.white {
    background-color: white;
    color: var(--main-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(to bottom, rgb(203, 255, 203), white);
    padding: 4rem 0;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-text {
    max-width: 600px;
    margin: 0 0 2rem 0;
    color: #8E9196;
    font-size: 1.25rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text-content {
        text-align: center;
    }

    .button-group {
        justify-content: center;
    }

    h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        min-height: 60vh;
        padding: 2rem 0;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* Services Section */

.services p {
    font-size: 1.2rem;
    text-align: center;
}
.services {
    padding: 5rem 0;
    background-color: white;

}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    border: 1px solid #F1F0FB;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-icon {
    width: 68px;
    height: 48px;
    margin: 0px auto;
    background: var(--main-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #F1F0FB;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    min-height: 50vh;
    background:url('/images/ac-installation.jpg') center/cover no-repeat;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 50px -200px;
    padding-top: 100px;
    color: white;
}
.cta-content .btn.primary {
    display: none;
    background-color: white;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}
/* Responsive CTA Section */
@media (max-width: 1024px) {
    .cta {
        min-height: 40vh; /* Adjust height for tablets */
        padding: 3rem 1rem;
    }
    
    .cta-content {
        margin-top: 50px;
        padding-top: 80px; /* Reduce padding for medium screens */
    }
}

@media (max-width: 768px) {
    .cta {
        min-height: 35vh; /* Adjust height for smaller tablets */
        padding: 2rem 1rem;
        background-position: center;
    }

    .cta-content {
        padding-top: 80px; /* Reduce top padding */
        max-width: 50%;
        margin-left: 0px;
        margin-top: 100px;
        margin-bottom: 2rem;

    }
    
    .cta-content .btn.primary {
        margin-top: 50px;
        font-size: 0.2rem; /* Adjust button size */
        padding: 0.8rem 2.5rem;
    }
}

@media (max-width: 576px) {
    .cta {
        margin-top: 50px;
        min-height: 30vh; /* Reduce height for mobile screens */
        padding: 1.5rem 1rem;
        background-size: cover;
    }

    .cta-content {
        padding-top: 40px; /* Reduce top padding further */
        max-width: 95%;
    }
    
    .cta-content h1 {
        font-size: 1.5rem; /* Reduce heading size */
    }

    .cta-content p {
        font-size: 1rem; /* Adjust paragraph font size */
    }

    .cta-content .btn.primary {
        font-size: 1rem; /* Make button smaller */
        padding: 0.6rem 1.2rem;
        width: 110px;
    }
}


/* Responsive Grid for Services & Features */
@media (max-width: 1024px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for medium screens */
    }
}

@media (max-width: 768px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* Maintain two columns for tablets */
    }
}

@media (max-width: 576px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* Single column for smaller screens */
    }
}


.service-desc {
    padding: 0px 150px;
    font-size: 1.5rem;
}
.work-count-section {

    text-align: center;
    padding: 6rem 2rem;
    height: 30%;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
}

.work-counts {
    display: flex;
    padding: 5%;
    justify-content: center;
    gap: 30rem;
}

.count-item {

    color: var(--main-color);
}

.count-item h3, i{
    font-size: 5.5rem;
    justify-content: space-between;
    font-weight: bold;
    color: var(--accent-color);
}

.count-item p {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
}


/* Testimonials Section Styles */
.custom-testimonials-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.custom-testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.custom-testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .custom-testimonials-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--main-color);
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
  }
  
  .custom-testimonials-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
  }
  
  .custom-testimonials-subtitle {
    color: #666666;
    max-width: 600px;
    margin: 5px auto;
    font-size: 1.5rem;
  }
  
  .custom-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 10rem;
    height: 150px;
  }
  
  .custom-testimonial-card {
    background : var(--main-color);
    /*background: linear-gradient(to bottom, rgb(78, 179, 78), white);*/
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;

  }
  
  .custom-testimonial-card:hover {
    transform: translateY(-5px);
  }
  
  .custom-testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .custom-testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: white;
    color: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
  }
  
  .custom-testimonial-info {
    margin-left: 1rem;
    justify-content: center;
  }
  
  .custom-testimonial-name {
    font-weight: 600;
    color: white;
  }
  
  .custom-testimonial-role {
    font-size: 0.875rem;
    color: rgb(224, 224, 224);
  }
  
  .custom-testimonial-content {
    color: white;
    padding: 0 2.8rem;
    font-size: 1.3rem;
    line-height: 1.6;
  }
  
  .custom-testimonials-cta {
    text-align: center;
  }
  
  .custom-testimonials-button {
     font-size: 1.8rem;
    background-color: green;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 9px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .custom-testimonials-button:hover {
    background-color: white;
    border: 2px solid var(--main-color);
    color: var(--main-color);
  }
  
/* Responsive Testimonials Section */
@media (max-width: 1024px) {
    .custom-testimonials-title {
        font-size: 3.5rem; /* Reduce title size */
    }
  
    .custom-testimonials-subtitle {
        font-size: 1.2rem; /* Adjust subtitle font size */
    }

    .custom-testimonials-grid {
        gap: 1.5rem; /* Reduce spacing between testimonials */
        margin-bottom: 7rem; /* Adjust bottom margin */
    }

    .custom-testimonial-content {
        font-size: 1.1rem; /* Reduce testimonial text size */
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {

    .service-desc {
        padding: 0px 40px;
        font-size: 1.5rem;
    }

    .work-counts {
        flex-direction: column;
        gap: 3rem;
    }

    .count-item h3, .count-item i {
        font-size: 3.5rem;
    }
    
    .custom-testimonials-title {
        font-size: 2.8rem; /* Further reduce title size */
    }

    .custom-testimonials-subtitle {
        font-size: 1.1rem;
    }

    .custom-testimonials-grid {
        grid-template-columns: 1fr; /* Switch to a single-column layout */
        height: auto;
        gap: 1rem;
    }

    .custom-testimonial-card {
        padding: 1.2rem; /* Reduce padding */
    }

    .custom-testimonial-content {
        font-size: 1rem; /* Reduce text size */
        padding: 0 1.5rem;
    }
}

@media (max-width: 576px) {
    .custom-testimonials-title {
        font-size: 2.2rem; /* Adjust for smaller screens */
    }

    .custom-testimonials-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .custom-testimonials-grid {
        grid-template-columns: 1fr; /* Ensure a single column layout */
        margin-bottom: 5rem; 
    }

    .custom-testimonial-card {
        padding: 1rem; /* Reduce padding */
    }

    .custom-testimonial-avatar {
        width: 2.5rem; /* Adjust avatar size */
        height: 2.5rem;
        font-size: 0.9rem;
    }

    .custom-testimonial-name {
        font-size: 1rem;
    }

    .custom-testimonial-role {
        font-size: 0.8rem;
    }

    .custom-testimonial-content {
        font-size: 0.9rem; /* Smaller font for compact screens */
        padding: 0 1rem;
    }

    .custom-testimonials-button {
        padding: 0.6rem 1.5rem; /* Adjust button size */
        font-size: 1.5rem;
    }
}
