:root {
    --background-color: #fff;
    --background-color-1: #fafafa;
    --background-color-2: #f8f9fb;
    --primary-color: #5a1cd3;
    --secondary-color-1: #3d1390;
    --secondary-color-2: #a79bff;
    --secondary-color-3: #d3cdff;
    --secondary-color-4: #f5ecff;
    --secondary-color-5: #7030a0;
    --text-color: #333
}

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

*,
:before,
:after {
    box-sizing: inherit
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    overflow: scroll
}

.underline {
    text-decoration: underline
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1.25rem
}

header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px #0000001a;
    position: fixed;
    width: 100%;
    z-index: 1000
}

nav {
    align-items: center;
    display: flex;
    justify-content: left;
    padding: 20px 0
}

.logo {
    margin-right: 80px
}

nav ul {
    display: flex;
    gap: 30px;
    list-style-type: none;
    margin-left: 75px
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: color .3s ease
}

.hero {
    background-color: var(--background-color);
    padding: 150px 0 100px;
    text-align: center
}

.hero p {
    font-size: 20px;
    margin: 0 auto 40px;
    max-width: 800px
}

.hero-section {
    align-items: center;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 1.5rem
}

.hero-title {
    color: var(--primary-color);
    font-size: 2.10rem;
    font-weight: 600;
    letter-spacing: .05rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase
}

.hero-header {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center
}

.hero-subheader {
    color: var(--secondary-color);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    text-align: center
}

.hero-tagline {
    color: var(--accent-color-light);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    max-width: 700px;
    text-align: center
}

.leading-content {
    background-color: var(--secondary-color-5);
    padding: 80px 0
}

.leading-content h2 {
    color: var(--background-color-1);
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center
}

.leading-content p {
    color: var(--background-color-1);
    font-size: 18px;
    margin-bottom: 50px;
    text-align: center
}

.features {
    background-color: var(--background-color-2);
    padding: 100px 0
}

.feature-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
}

.feature-grid a,
.feature-grid a:visited {
    text-decoration: none;
    color: inherit;
}

.feature-item {
    background-color: var(--secondary-color-4);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    height: 80%;
    /*display: flex;*/
    flex-direction: column;
}

.feature-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px
}

.feature-item p {
    font-size: 16px
}





.trust-building {
    background-color: var(--background-color);
    display: block;
    /*min-height:400px;*/
    padding: 100px 0
}

.carousel {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: none;
    padding: 20px;
    text-align: center;
    /* min-height: 380px; */
}

.carousel-slide img {
    margin-bottom: 10px;
    max-width: 1000px
}

.carousel-slide.active {
    display: block
}

.carousel-slide .quote {
    background-color: var(--background-color-2);
    border-left: 10px solid var(--secondary-color-5);
    font-size: 22px;
    font-style: italic;
    padding: 45px;
    text-align: center;
    min-height: 100px;
    /* line-height: 100px; */
    /* box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); */
}

.call-to-action {
    background-color: var(--background-color-2);
    padding: 100px 0;
    text-align: center
}

footer {
    background-color: var(--background-color);
    padding: 60px 0 20px
}

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

.footer-heading {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px
}

.footer-section h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px
}

.footer-section ul {
    list-style: none
}

.footer-section a {
    color: #666;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color .3s ease
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid var(--secondary-color-3);
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px
}

.social-links {
    display: flex;
    gap: 8px;
    justify-content: left;
    margin-bottom: 40px;
    margin-left: 12px
}

.social-icon {
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
    font-style: normal;
    padding: 8px;
    transition: all .3s ease
}

.footer-legal-links {
    display: flex;
    gap: 15px
}

.footer-legal-links a {
    color: #666;
    text-decoration: none
}


.cta-button-top,
.cta-button {
    background-color: var(--primary-color);
    border-radius: 30px;
    color: var(--background-color);
    display: inline-block;
    font-weight: 600;
    margin-left: auto;
    padding: .75rem 1.5rem;
    text-decoration: none
}


.cta-button-top:hover,
.cta-button:hover {
    background-color: var(--secondary-color-1);
    transform: scale(1.05)
}

button {
    background-color: var(--primary-color);
    border-radius: 30px;
    color: var(--background-color);
    font-weight: 600;
    margin-left: auto;
    padding: .75rem 1.5rem;
    text-decoration: none
}

button:hover {
    background-color: var(--secondary-color-1)
}

.about {
    background-color: var(--background-color-2);
    padding: 150px 0 100px
}

.about-content {
    align-items: left;
    display: flex;
    justify-content: left
}

.about h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 50px;
    text-align: left
}

.about p {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 50px;
    padding-right: 50px;
    text-align: left
}

.about image {
    height: auto;
    margin-top: 20px;
    max-width: 100%
}

.hamburger-menu {
    cursor: pointer;
    display: none;
    margin-left: auto
}

nav ul li a:hover,
.footer-section a:hover {
    color: var(--primary-color)
}

.features h2,
.trust-building h2,
.call-to-action h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px
    }

    .hero-title h1,
    h1 {
        font-size: 1.5rem
    }

    h2 {
        font-size: 1.4rem
    }

    button {
        font-size: .9rem;
        padding: 8px 15px
    }

    .footer-grid {
        flex: 1 1 100%;
        grid-template-columns: 300px;
        grid-template-rows: repeat(4, 1fr)
    }

    nav ul {
        background: #f9f9f9;
        border: 1px solid #ddd;
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        position: absolute;
        right: 15px;
        top: 50px
    }

    nav ul.active {
        display: flex
    }

    nav .menu-toggle {
        cursor: pointer;
        display: block
    }

    .cta-button-top {
        display: none
    }

    .hamburger-menu {
        display: block;
        z-index: 2
    }
}

.product-hero {
    background-color: var(--secondary-color-5);
    padding: 8rem 0 4rem;
    text-align: center
}

.product-hero h1 {
    color: var(--background-color-1);
    font-size: 2.5rem;
    margin-bottom: 1rem
}

.product-hero p {
    color: var(--background-color-1);
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 800px
}






.prod-details {
    padding: 2rem 0 2rem 0;
}

.grey-bg {
    background-color: var(--background-color-2);
}

.prod-details h1 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 0px;
    text-align: center
}

.prod-item {
    align-items: left;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /*flex-direction: row;*/
    width: 100%;
    gap: 2rem;
    margin-bottom: 4rem;
}

.prod-item p {
    margin-bottom: 10px;
}

.prod-item.reverse {
    flex-direction: column
}

.prod-content {
    flex: 2;
    width: 100%;
    overflow: hidden;
}

.prod-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem
}

.prod-content ul {
    list-style: none;
    padding: 0;
}

.indent {
    /* indentation for the list items */
    margin-left: 2rem;
    color: var(--secondary-color-1);
}

.prod-content ul li {
    /*font-size: 18px;*/
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-color);
}

.prod-content ul li::before {
    color: var(--primary-color);
    content: "✔";
    left: 0;
    position: absolute;
    font-weight: bold;
}

.prod-image {
    flex: 1;
    text-align: center
}

.prod-image img {
    border-radius: 10px;
    height: auto;
    max-width: 20%
}


.prod-adv {
    /* background-color: var(--secondary-color-4);*/
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}



.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.error-title {
    font-size: 8rem;
    margin: 0;
    color: var(--primary-color);
}

.error-message {
    font-size: 1.5rem;
    margin: 20px 0;
}

.error-button {
    background-color: var(--secondary-color-1);
    color: var(--background-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

.error-button:hover {
    background-color: var(--secondary-color-5);
}
