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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #222;
    
}

a {
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
}

:root {
    --container-normal: 1200px;
    --container-wide: 1400px;
    --container-narrow: 900px;
    scroll-behavior: smooth;
    --green-main: #1f7a3f;
    --green-dark: #233623;
    --gray-bg: #f6f7f6;
    --text-dark: #1a1a1a;

}
/* Container */
.container {
    max-width: var(--container-normal);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: var(--container-wide);
}

.container-sm {
    max-width: var(--container-narrow);
}

section {
    position: relative;
    padding-top: 4rem;
  }
  
section::after {
    content: "";
    display: block;
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin-top: 4rem;
}


/* Header */
.header {
    margin: 0.8rem auto;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);

}
.logo-txt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.header .title {
    font-family: 'Poppins', sans-serif;
}
.header .logo {
    width: 70px;
}

.header .header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container .main-menu {
    display: flex;
    gap: 1rem;
}

.header .main-menu a {
    padding: 0.5rem 1rem;
    color: #333;
}
.header .main-menu a:hover {
    background: #333;
    color: white;
}

.hero {
    position: relative;
    min-height: calc(100dvh - 80px);
    background: linear-gradient(135deg, var(--green-dark), var(--green-main));
    
    display: flex;
    justify-content:center;
    align-items: center;
    overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 25% 50%, rgba(255,255,255,0.08), transparent 60%);
  z-index: 0;
}
.hero .container {
    position: relative;
    z-index: 2;
}

.back-pic {
    position: absolute;
    left: 55%;
    top: 50%;
    width: 50%;
    transform: translateY(-50%) rotate(5deg);
    z-index: 1;
    opacity: 30%;
    filter: contrast(150%);

}

.hero h2 {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);

}
.hero h1, .hero h2, .hero p {
    max-width: 60%;
    
}

.hero p {
    margin-bottom: 0.5rem;
}


.btn {
    display: flex;
    padding: 0.75rem 1.5rem;
    text-align: center;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
}
.hero .hero-btn {
    display: flex;
    gap: 1rem;
}

.hero .quote-btn {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    /* background: var(--green-dark);  */
    background: linear-gradient(135deg, #233623, #1f7a3f);
    border: 1px solid var(--green-dark);

    color: white;
    text-decoration: none;
}
.hero .quote-btn:hover {
    border: none;
    background: white; 
    color: var(--green-dark);
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.hero .services-btn {
    border: 1px white solid;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent; 
    color: white;
    text-decoration: none;
}
.hero .services-btn:hover {
    border: 1px white solid;
    background: white; 
    color: black;
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.services {
    padding: 3rem 0 4rem;
    background: var(--gray-bg);
}
.services h2 {
    text-align: center;
    font-size: 3rem;
}


.services-flex {
    display: flex;
    /* gap: 2rem; */
    
    
    width: 90%;
    margin: 0 auto;

    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: stretch;
}
.card h3 {
    /* font-size: 2rem; */
    font-size: clamp(1.5rem, 2.5vw, 1.6rem); 
}
.card .fa-check {
    color: var(--green-main);
}
.card {
    background: #fff;
    color: var(--text-dark);
    min-width: 380px;
    height: auto;
    flex: 1 1 calc(33% - 1rem);
    padding: 0;
    text-align: left;
    margin: 0.3rem;
    transition: all 0.5s ease, box-shadow 0.25s ease;
    position: relative;
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    
}
.card-btn.btn-primary {
    background: var(--green-main);
    color: #fff;
}
.card-btn.btn-secondary {
    background: transparent;
    color: var(--green-main);
    border: 1px solid rgba(31, 122, 63, 0.5);
}
.card-btn.btn-primary:hover {
    transition: all 0.3s ease;
    background: #176233;
    cursor: pointer;
}
.card-btn.btn-secondary:hover {
    transition: all 0.3s ease;
    background: rgba(31, 122, 63, 0.2);
    cursor: pointer;
}
.card:hover {
    /* background: rgba(0, 100, 0 , 0.6); */
    filter: brightness(1.2);
    transition: all 0.5s ease;
    /* transform: scale(1.05); */
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

.card-btn {
    display: block;
    width: 100%;
    color: inherit;
    background: none;
    padding: 0.65rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
    
}

.card-header {
    padding: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #2faa63, var(--green-main));
    border-radius: 15px 15px 0 0 ;
    width: 100%;
}
.card-body {
    padding: 1.5rem;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.card .list {
    margin-top: 0.5rem;
    
    list-style: none;
    padding-left: 0.9rem;
    padding-top: 0.7rem;
    font-size: 1.2rem;
}

.card .list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}


.card.residential, .card.commercial {
    border: 2px solid var(--green-main);
}



.about-us {
    padding: 3rem 0 4rem;
}
.about-us h2 {
    font-size: 3rem;
    text-align: center;
}

.about-us p {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}


.footer {
    border-top: 1px solid #aaa;
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.footer .footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer img {
    width: 120px;

}
.footer-logo {
    display: flex ;
    align-items: center;
    gap: 0.5rem;
}
.footer h2 {
    font-weight: 800;
}
.footer h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer {
    background-color: #ccc;
}


.contact-form {
    flex: 0 0 600px;
    max-width: none;
    width: 100%;
    padding: 3rem 0 4rem;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

}

.contact-form p {
    text-align: center;
    /* margin-bottom: 2rem; */
    
}

.form-group {
    margin: 0;
   
}
.contact-form h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    width: 70%;

}
.contact-form input, .contact-form textarea {
    border: none;
    border-bottom: 1px solid #333;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    padding-bottom: 1rem;
}

.contact-form textarea {
    height: 200px;
    resize: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: 0;
}

.contact-form .btn {
    width: 100%;
    background: var(--green-main);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    border: none;
}

.form-flex {
    margin: 0 auto;
    max-width: 600px;
}

.contact-section {
    min-height: calc(100dvh - 80px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 1.5rem;
    background: var(--gray-bg);
}


.contact-image {

    display: flex;
    flex: 0 0 750px;
    justify-content: right;
    align-items: center;
}

.contact-image img {
    max-width: 100%;
    opacity: 0.15;
    filter: grayscale(100%) contrast(120%);

}

.flex-name {
    display: flex;
}




.map-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    
    
    flex: 0 0 600px;
    max-width: none;
    width: 100%;
    padding: 3rem 0 4rem;
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.text-map {
    flex: 1 1 300px;
}
.map-embed {
  position: relative;
  flex: 1 1 400px;        
  max-width: 640px;      
  margin: 0 auto;          
  border-radius: 16px;
  overflow: hidden;

}

.map-embed iframe {
    width: 100%;
    height: 480px;          
    border: 0;
    display: block;
    pointer-events: none;
    filter: grayscale(20%) contrast(110%) brightness(95%);
  }
.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
}
.map-embed:focus-within iframe {
    pointer-events: auto;
}
  
.map-embed:focus-within .map-overlay {
    opacity: 0;
    pointer-events: none;
}



.map-flex h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}
.map-flex p {
    margin-top: 2rem;
    
}
.flex-names {
    display: flex;
    width: 100%;
    gap: 1.5rem;
    

}
.flex-names .form-group {
    flex: 1;
    margin: 2rem 0;
    
}

.contact-form form > .form-group {
    margin-bottom: 2rem;
}

/* Learn More Pages */
.hero-learn-more h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}
.hero-learn-more h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-learn-more p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}
.hero-learn-more {
    min-height: calc(50vh - 80px); 
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--green-dark), var(--green-main));
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.footer a {
    text-decoration: none;
    color: #1a1a1a;
}




/* Media Queries */
@media(max-width: 879px) {
    .card h3 {
        /* font-size: 2rem; */
        font-size: clamp(1.3rem, 2.5vw, 1.6rem); 
    }
    .card {
    min-width: 330px ;
    }
}
@media(max-width: 768px) {
    .header-flex {
        flex-direction: column;
        padding-bottom: 0.6rem;
    }

    .back-pic{
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 78%;
        opacity: 0.3;
        z-index: 0;
        filter: grayscale(100%), contrast(120%);
    }
    .hero .container {
        position: relative;
        z-index: 1;
    }
    .hero h1, .hero h2, .hero p {
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    .hero-btn {
        flex-direction: column;
    }
    .map-flex {
        flex-direction: column;
        align-items: stretch;
    }
    .map-flex h2 {
        font-size: 1.5rem;
    }
    .map-flex p {
        margin-bottom: 0.5rem;
    }
    .map-embed {
        max-width: 100%;
        margin: 0;      
    }

    .map-embed iframe {
        height: 320px;     
    }
    .services h2 {
        margin-bottom: 1rem;
    }
    .footer-flex {
        flex-direction: column;
        text-align: center;
    }
    .contact-section {
        flex-direction: column;
    }
    .contact-image {
        display: none;
    }
    .card h3 {
        font-size: 2rem;
    }
    
    
    
  
    
}




