/* Global styles */
:root {
    --dark-gray: #272727cc;
    --white-color: rgb(241, 239, 239);
    --trans-white: rgba(238, 238, 238, 0.692);
    --black-color: rgb(17, 17, 17);
    --light-blue: rgb(114, 191, 253);
    --transition: all 0.5s ease-in-out;
}
* {
    font-family: "Baloo 2", sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    color: var(--black-color);
    text-rendering: optimizeLegibility;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 300;
    scroll-behavior: smooth;
}
img {
    width: 100%;
}
a{
    color: var(--black-color);
    text-decoration: none;
}
h1, h2, h3, h4, h5 {
    line-height: 1.25;
    text-transform: capitalize;
    font-weight: 400;
    margin: 0.5rem 0;
}
/* Global Classes */
.center-items {
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
    max-width: 1320px;
}
.button{
    cursor: pointer;
    background: transparent;
    outline: none;
}
/* Navbar */
.navbar {
    position: sticky;
    width: 100%;
    min-height: 70px;
    z-index: 9999;
    padding: 0 1rem;
    top: 0;
    left: 0;
    background-color: var(--dark-gray);
}
.navbar-content {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1.65rem;
}
.navbar-menu-btn {
    border: none;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
    color: var(--white-color);
}
.navbar-menu-btn:hover {
    color: var(--light-blue)
}
.navbar-collapse {
    display: none;
}
.navbar-item {
    padding: 0.5rem 0;
    list-style: none;
}
.navbar-link {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--white-color);
    transition: var(--transition);
}
.navbar-link:hover {
    color: var(--light-blue);
}
.logo-link img{
    width: 70px;
}
.navbar-right-side-content, 
.navbar-left-side-content {
    display: none;
    text-align: center;
    flex-direction: column;
}
.navbar-right-side-content{
    margin-left: 2rem;
    font-size: 0.85rem;
}
.navbar-left-side-content{
    flex-direction: column;
    font-size: 0.75rem;
}
.star-rating{
    color: rgb(255, 217, 0);
}
.star-rating-text{
    font-size: 1rem;
}
/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    color: var(--white-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), 
        rgba(0, 0, 0, 0.7)), 
        url(../assets/images/circuit_background.jpg);
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
.hero-container {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.hero-container-img-box {
    display: flex;
    width: 100%;
}
.hero-carousel-container {
    display: none;
    height: auto;
    max-width: 600px;
    margin: 0 2rem;
}

.button--more-info {
    color: var(--white-color);
    padding: 0.5rem;
    border: 2px solid var(--white-color);
    margin-bottom: 3rem;
}
.button--more-info:hover {
    color: var(--black-color);
    background-color: var(--white-color);
    transition: var(--transition);
}
/* Header Media Query */
@media screen and  (min-width: 1024px){
    .navbar {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }
    .navbar-main-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .navbar-right-side-content, 
    .navbar-left-side-content {
        display: flex;
    }
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar-content {
        font-size: 2rem;
        padding: 0;
    }
    .logo-link img{
        width: 180px;
    }
    .navbar-menu-btn {
        display: none;
    }
    .navbar-collapse {
        display: inline-block!important;
    }
    .navbar-links {
        display: flex;
    }
    .navbar-item {
        margin-left: 1.25rem;
    }
    .hero-container h1 {
        font-size: 3.25rem;
    }
    .hero-container p {
        font-size: 1.35rem;
    }
    .hero-carousel-container {
        display: flex;
        height: 600px;
        max-width: 700px;
        margin: 0 2rem;
    }
    .hero-container h1 {
        font-size: 2.5rem;
    }
    .hero-container p {
        font-size: 1.15rem;
        letter-spacing: 1.5px;
        margin-bottom: 1.5rem;
    }
    .hero-item {
        padding: 2rem;
        flex-direction: column;
        background-color: rgba(43, 43, 43, 0.685);
    }
    .hero-item h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    .hero-icon {
        font-size: 4rem;
    }
}
/* Sections */
.service-section {
    width: 100%;
    min-height: 50vh;
    position: relative;
}
.section-banner {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    height: 50px;
    width: 100%;
    background-color: var(--light-blue);
    text-align: center;
    font-size: 1rem;
    color: var(--white-color);
}
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin: 4rem 0;
}
.services h4 {
    font-weight: 500;
    font-size: 1.55rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dark-gray);
}
.service {
    text-align: center;
    width: 250px;
    background-color: var(--trans-white);
    color: var(--black-color);
    border: 1px solid var(--black-color);
    padding: 1.25rem;
    transition: var(--transition);
}
.residential-section, .commercial-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
}
.residential-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), 
    rgba(0, 0, 0, 0.7)), 
    url(../assets/images/home_computer.jpg);
}
.commercial-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), 
    rgba(0, 0, 0, 0.7)), 
    url(../assets/images/buildings.jpg);
}
/* Testimonials */
.testimonials-section {
    background-color: var(--white-color);
    width: 100%;
    min-height: 50vh;
    position: relative;
}
.carousel-container {
    width: 320px;
    margin-bottom: 1rem;
}
.testimonial {
    position: relative;
    min-width: 290px;
    margin: 2rem 0;
}
.testimonial p {
    line-height: 1.7;
}
.quotes{
    font-size: 2.5rem;
}
.testimonial p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.testimonial span {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1.5rem;
}
/* Contact US */
.contact-section {
   background-color: var(--dark-gray);
   min-height: 400px!important;
   border-bottom: 4px solid var(--white-color);
}

.contact-left-content, 
.contact-right-content {
    margin: 1rem;
    color: var(--white-color);
}
.contact-left-content {
    display: flex;
    flex-direction: column;
}
.contact-left-content span {
    margin: 0.5rem 0;
}
.contact-right-content form {
    display: flex;
    flex-direction: column;
}
#contact-submit-btn {
    margin: 0.5rem 0;
    cursor: pointer;
}
.contact-container {
    flex-direction: column;
    margin-top: 1rem;
}
/* Sections Media Query */
@media screen and  (min-width: 1024px){
    .section-banner {
        height: 85px;
        font-size: 2rem;
    }
    .service:hover {
        scale: 1.1;
    }
    .scroll-top-btn {
        background-color: rgba(0, 0, 0, 0.603);
        position: fixed;
        bottom: 0;
        right: 80px;
        width: 45px;
        height: 40px;
        z-index: 99;
        cursor: pointer;
    }
    .carousel-container {
        width: 50%;
    }
    .contact-container {
        flex-direction: row;
    }
}

/* Footer */
.footer-section {
    position: relative;
    width: 100%;
    color: var(--white-color);
    background-color: var(--black-color);
    flex-direction: column;
    padding: 1rem;
}
.footer-links {
    margin: 1rem;
}
.footer-link {
    font-size: 1.25rem;
    margin: 0.5rem;
    cursor: pointer;
}
.footer-link:hover {
    color: var(--trans-white)
}
