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


:root {
    --primary-color: #2b620b;
    --light-color: #f4f4f6;
    --darkcolor: #111;
    --bluecolor: #4891ff;
    --graycolor: #7a7a7b;

}
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Navbar */
.navbar {
    background: #fff;
    padding: 20px;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .main-menu ul {
    display: flex;
}

.navbar ul li a {
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a i {
    margin-right: 10px;
}

.navbar ul li:last-child a {
    margin-left: 10px;
}

/* superHERO FN */
.hero {
    margin-bottom: 50 px;
}

.hero .container {
    background: url('../images/heroboardfinal.png')no-repeat;
    background-size: contain;
    background-position: center bottom;
    height: 550px;
}

.hero .hero-content {
    width: 85%;
}
.hero .hero-text {
    width: 50%;
    margin-bottom: 20px;
}

/* Video*/

.video {
    padding : 10px 0 40px;
}
.video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-preview {
}

/*testimonials*/

.testimonials {
    padding:80px 0;
}

.testimonials .testimonials-heading {
    width: 700px;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 75px;
}

.testimonials .card p:nth-child(2) {
    margin-top: 30px;
    font-weight: bold;
}

/*results fn*/

.results {
    padding: 30px 0;
}

.results .results-heading {
    position: relative;
    margin-bottom: 10px;

}

.before-after-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 0;
    margin-bottom: -50px;
  }
  
  .before-after-container {
    position: relative;
    width: 350px;
    height: 350px;
    overflow: hidden;
  }
  
  .before, .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 1s ease;
  }
  
  .after {
    opacity: 0;
  }

/*faq faq faq*/

.faq {
    padding: 40px 0;
}

.faq .faq-group {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.faq .faq-group .faq-group-header {
    padding: 20px 0;
    margin-bottom: 15px;
    position: relative;
}

.faq .faq-group .faq-group-header h4 {
    font-weight: 600;
    width: 95%;
}

.faq .faq-group .faq-group-header i {
    position: absolute;
    right: 0;
    top: 35px;
    font-size: 1.3rem;
    cursor: pointer;
}

.faq .faq-group .faq-group-body {
    display: none;
}

.faq .faq-group .faq-group-body.open {
    display: block;
}

.faq ul.faq-menu {
    max-width: 400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ddd;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.faq ul.faq-menu li {
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}
.faq ul.faq-menu li.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* Footer*/

.footer {
    padding: 40px 0;
}

.footer h4 {
    margin-bottom: 10px;
}

.footer ul li {
    line-height: 2.5;
}

.footer a { 
    color: #ccc;
}

.footer i {
    font-size: 1.5 rem;
    margin-right: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer .card {
    margin: 20px 30px 30px 0;
}

.footer input[type='email'] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 20px 0;
}

/* Utility Class */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;

}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    
}

/* Button for Quote Now FN*/
.btn {
    display: inline-block;
    padding: 13px 20px;
    background: var(--bluecolor);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.8;

}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
} 

.btn-dark {
    background: var(--darkcolor);
    color: #fff;
}

.btn-gray {
    background: var(--graycolor);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* text classes*/

.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 40px 0 20px;
}

.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 30px 0 20px;
}

.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-s {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

.text-center {
    text-align: center;
}

/* background fn */
.bg-primary {
    background: var(--primary-color);
    color: #fff;
}
.bg-light {
    background: var(--light-color);
    color: #333;
}
.bg-dark {
    background: var(--darkcolor);
    color: #fff;
}
.bg-black {
    background: #000;
    color: #fff;
}

/*card*/
.card {
    background: #fff;
    color: #000;
    border-radius: 10px;
    padding: 20px;
}

html {
    scroll-behavior: smooth;
}

/*hamburger button*/
.hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-button .hamburger-line {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 6px 0;
}

/*mobile menu*/
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width:250px;
    height: 100%;
    z-index:100;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    margin-top: 100px;
    padding-right: 10px;
}

.mobile-menu ul li {
    margin: 10px 0;
}

.mobile-menu ul li a {
    font-size: 20px;
    transition: 0.3s;
}
/*Media Queries (only pertains at the 960px mark andrew)*/

@media (max-midth: 960px) {
    .text-xxl {
        font-size: 2.5rem;
    }
}

@media(max-width: 670px) {
    .navbar .main-menu {
        display: none;
    }

    .navbar .hamburger-button {
        display: block;
    }
    .hero .container {
        background: url('../images/heroboardmobile.png') no-repeat;
        background-size: 400px 450px;
        background-position: bottom;
        height: 770px;
    }
    .hero .hero-content, .hero .hero-text {
        width: 100%;
        text-align: center;
    }
    .hero .hero-buttons .btn {
        margin-bottom: 10px;
        display: block;
        WIDTH: 100%;
    }

    .testimonials .testimonials-heading {
        max-width: 100%;
        text-align: center;
    }

    .testimonials .testimonials-grid, .footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer .card {
        margin-right: 0;
    }
    .footer .footer-grid > div {
        text-align: center;
    }
    /*text*/

    .text-xl {
        font-size: 1.9rem;
    }

    .text-lg {
        font-size: 1.5rem;
    }
    .text-md {
        font-size: 1.1rem;
    }
}

@media(max-width: 500px) {
    .text-xxl {
        font-size: 2rem;
    }
}