/* body {
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
} */


/* General Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.spacer-100{
    height: 100px;
}
.spacer-50{
    height:50px;
}
.bgInsert{
    background-color: #325c44b6;
    border-radius: 15px;
    color: white;
}
.bgInsert .bgp{
    color: white;
}

/*Support Index pages*/
.sectional-banner{
    width:100%;
    height: 80px;
    background-color: rgb(85, 86, 87);
    display:flex;
    align-items:center;
    justify-content: flex-end;
    padding:20px;
}
.banner{
    font-size: 27px;
    padding-top: 10px;
    font-weight: bolder;
    color:#dfdfe2;
    animation: backInLeft;
    animation-duration: 1s;
}
.i-support{
    display:none;
}
.HC{
    color:#f2f2f5;
    text-decoration: none;
    transition: 1s ease;
}
.HC:hover{
    color: rgba(1, 1, 184, 0.973);
}
.HC:hover .i-support{
    display:inline-block;
    color: rgba(1, 1, 184, 0.973);
}

li{
    padding-bottom: 10px;
}

ul{
    margin-left: 55px;
}
.unordered-lists {
    margin-left: 55px;
}
.unordered-lists2 {
    margin-left: 55px;
    display: flex;
    flex-wrap: wrap;
    padding: 0; 
}
.unordered-lists2 li {
    width: 33.33%; 
    box-sizing: border-box; 
    padding: 10px;
}

.support-container{
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 20px 0;

}
.support-containerA{
    position:relative;
    width: 100%;
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 20px 0;
    background-image: url("../img/hvac-bg1.png");
    background-size: cover;
    background-position: center;
    color: rgb(255, 255, 255);
    z-index: 1;
}
.support-containerA::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
.support{
    width:80% ;
    line-height: 25px;
    padding: 5px 10px;
}
.support2{
    padding:10px 10px;
    width:100% ;
    color:#f1f1f1
}
.support3{
    width:80% ;
    line-height: 25px;
    padding: 5px 10px;
}
.support-heading{
    padding-top: 30px;
    font-weight: bold;
}
.support-p{
    padding:15px 10px;
    font-size: 18px;
    font-weight: 400;
}
.sectional-banner2{
    width: 80%;
    background-color: rgba(7, 133, 7, 0.781);
    border-radius: .9375rem;
}
.FF{
    padding-top: 15px;
}
.fun-fact{
    width:80% ;
    padding: 3px 5px;
    border: 5px solid rgba(7, 133, 7, 0.781);
    border-radius: 15px;
}
.cont-btns,
.tri-btns{
    display: flex;
    align-items:center;
    justify-content: center;
    text-decoration: none;
}
.cont-btns{
    padding: 1px;
    gap: 10px 40px;
}
.tri-btns {
    font-size: 1.5rem;
    background-color: #37b13b;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin:5px;
    transition: 0.5s ease;
}
.tri-btns:hover {
    font-size: 1.5rem;
    background-color:rgba(233, 229, 229, 0.904);
    color:rgb(45, 182, 79);
    border: 2px solid rgb(45, 182, 79);
    border-radius: 20px;
    transform:scale(1.01);
    font-weight: 700;
}
.support-box-container{
    display:flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;   
}
.sub-box{
    padding: 5px 5px;
    margin:5px 10px 15px 10px;
    width: 600px;
    height: 350px;
    border: 5px solid rgba(7, 133, 7, 0.781);
    border-radius: 15px;
}
.sub-box2{
    width:800px;
    height: 275px;
}
.sub-support{
    display:flex;
    justify-content: center;
    align-items: center;
    margin:2px;
}
.sub-support-p{
    padding: 0px 15px 0px 15px;
}
.sub-support-heading{
    text-align: center;
    font-weight: bold;
    padding: 20px 5px 0px 5px;
}
/*Unique to Thermostat Styles*/

.thermostat-list {
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap; 
    padding: 0;
    list-style: none;
    gap: 20px; 
}

.thermostat-list li {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    max-width: 180px; 
    flex: 1;
}
.thermostat-list img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}
.thermostat-list h3 {
    margin: 10px 0 5px;
    font-size: 1.5rem;
}
.thermostat-list p {
    font-size: 1.2rem;
    color: #555;
}

/*furnace page*/

.row-b {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.row-b2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-direction: row-reverse;
}
.text-content {
    flex: 1; 
    max-width: 80%; 
    padding-top: 40px;
}
.F1 {
    max-width: 300px;
    height: auto;
    flex: 0 0 auto; 
    align-self: flex-start;
    border-radius: 25px;;
}
.F2 {
    max-width: 410px;
    height: auto;
    flex: 0 0 auto; 
    align-self: center;
    border-radius: 30px;
}


@media (max-width: 980px) and (orientation: landscape) {
     body {
        font-size: 16px;
        line-height: 1.6;
    }
    .F1 {
        display: inline-block;
    }
    .text-content {
        max-width: 80%;    
    }
    .support3 {
        width:80%;
    } 
    .p2{
        display:none;
    }
    .sectional-banner{
        justify-content: center;
    }
    .F2 {
        display: none;
        max-width: 300px;
    }
    .row-b2 {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 20px;
        flex-direction: row;
    }

}


/* Med-Small screens */

@media (max-width: 768px) and (orientation: landscape) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    .F1 {
        display: inline-block;
    }
    .text-content {
        max-width: 80%;    
    }
    .support3 {
        width:80%;
    }
    .p2{
        display:none;
    }
    .row-b2 {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px; 
    }
    .cont-btns .tri-btns{
        flex-direction: column;
        width:90%;
        }
    .tri-btns{
        font-size: 1rem;
        font-weight: 500;
        padding: 20px 10px 20px 10px;
    }
    .cont-btns{
        gap: 1.25rem 3.75rem;
        padding: 10px 10px 50px 10px;
    }  
}

/* Med-Small screens */
@media screen and (max-width: 500px) {
    .banner {
        font-size: 22px;
        padding-top: 5px;
    }
    .cont-btns {
        flex-wrap: wrap;
        width:500px;
        padding: 5px 5px;
    }
    .sub-box{
        padding: 0px 0px;
        margin-bottom: 15px;
        width:400px;
        height: auto;
        border: 5px solid rgba(7, 133, 7, 0.781);
        border-radius: 15px;
    }
    .sub-box2{
        width:400px;
    }
    .sub-support-p,
    .support-p{
        font-weight: 600;
    }
    .support-heading{
        padding-top: 10px;
    }
    .cont-btns .tri-btns{
    flex-direction: column;
    width:90%;
    }
    .tri-btns{
        font-size: 1rem;
        font-weight: 500;
        padding: 20px 10px 20px 10px;
    }
    .cont-btns{
        gap: 1.25rem 3.75rem;
        padding: 10px 10px 50px 10px;
    }
    .row-b2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        flex-direction: column;
    }
    .F1 {
        margin: 0 10% 0 10%;
    }
    .F2{
        margin: 0 0 0 5%;
        max-width: 350px;
        height: auto;
        box-shadow: none
    }
    .text-content {
        text-align: center;
        max-width: 100%;
        padding-top: 5px;      
    }
    .support3 {
        width:100%;
    }
    .support {
        width:100%;
        margin-right:1px;
    }
    .p2{
        display:none;
    }
    li{
        padding-bottom: 10px;
    }
    ol{
        margin-left: 25px;
    }
    .unordered-lists {
        margin-left: 25px;
    }
    .unordered-lists2 {
        margin-left: 35px;
    }
    .unordered-lists2 li {
        width: 65.33%;
    }
    body {
        font-size: 18px; 
        line-height: 1.6;
    }
}

/* NEW heating services layout styles*/
.intro{
    position:relative; 
    display:flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    width:100%;
    margin:0;
    background-image: url("../img/rsbg2.png");
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    z-index: 1;
}
.intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.274); 
    z-index: -1;
}
.resHeader{
    position: relative;
    font-size: 4rem;
    font-weight: bold;
    z-index: 1;
    color:rgb(255, 255, 255);
    animation: backInLeft;
    animation-duration: 1s;
}
.resHeader::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(40, 252, 20, 0.281) 0%, rgba(12, 106, 247, 0.308) 100%);
    z-index: -1;
}
.residential-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    gap: 1rem; 
    padding: 1rem;
    background-color: #325c44d3;
    flex: 1 1 0;
    
}
.content-heading {
    font-size: 1.5rem; 
    font-weight: bold;
    color:white;
    position: relative; 
    z-index: 1; 
    margin-top: 20px;
}
.service-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;  
    width: 400px;
    height: 250px;
    background-color: #325c440e;
    color: white;
    text-align: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.rs-heading {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* Target all elements on hover */
.service-item:hover .rs-heading::before {
    transform: scale(1.05);
    background: linear-gradient(to right, rgb(10, 185, 10), rgb(1, 1, 184));
}
.rs-heading::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: #dadfdb; 
    clip-path: circle(50%);
    z-index: -1;
    top: -1%;
    transition: transform 0.4s ease, background 0.4s ease;
}
.rs-heading a {
    position:relative;
    z-index: 1;
    bottom: -10%;
}
.icon2 {
    font-size: 3rem;
    color: #4CAF50;
    z-index: 1;
    transition: color 0.4s ease;
}
.service-item:hover .icon2 {
    color: white;
}

.service-item:hover .content-heading {
    color: #f7f7f7;
}
.p {
    padding:0.625rem;
}

/* Med-Small screens */
@media screen and (max-width: 500px) {
    .resHeader{
        position: relative;
        font-size: 3.5rem;
        font-weight: bold;
        z-index: 1;
        color:rgb(255, 255, 255);
        animation: backInLeft;
        animation-duration: 1s;
    }
    .resHeader::before {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(40, 252, 20, 0.281) 0%, rgba(12, 106, 247, 0.308) 100%);
        z-index: -1;
    }
}