
body{
    background-color: var(--primary-color);
}
#home-page-main-contents{
    position: relative;
    width: 100%;
}
#home-page-main-contents>#page-intro-section{
    position: relative;
    width: 100%;
    min-height: 90vh;
    background-image: linear-gradient(to top right, var(--primary-color) 70%, var(--secondary-color) 100%);
    background-image: url(../images/hamtechComputersAndAccessories/accessories2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4rem 1rem;
    padding-top: 8rem;
    margin-bottom: 200px;
}
#page-intro-section::before{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background-color: rgba(0,0,0,0.5);
}
#page-intro-section>.intro-text-wrapper{
    position: relative;
    width: 70%;
    margin: 2rem auto;
    margin-top: 0;
}
.intro-text-wrapper>.welcome-text{
    position: relative;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-white);
    font-style: italic;
}
.intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
    position: relative;
    font-size: 5rem;
    font-weight: bold;
    text-align: center;
    max-width: 100%;
    margin: 2rem 0;
    text-transform: capitalize;
    font-family: "Lato", sans-serif;
    color: var(--color-white);
}

.intro-text-wrapper>.page-heading>span{
    color: var(--secondary-color);
}
.intro-text-wrapper>.intro-text{
    position: relative;
    width: 70%;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--color-grey1);
    margin: 2rem auto;
}
.call-to-action-button-wrapper{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 1rem;
}
.call-to-action-button-wrapper>#know-more-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
#know-more-btn button{
    display: inline-block;
    outline: none;
    border: none;
    background-color: var(--color-white);
    border-radius: 5px;
    transition: back-ground-color, color 0.4s ease-in;
}

#know-more-btn button a{
    display: inline-block;
    width: 100%;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: capitalize;
}
#know-more-btn-icon-wrapper{
    position: relative;
    width: 35px;
    height: 35px;
     display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    box-shadow: 0 0 7px 0 rgba(4, 228, 176, 0.893);
     box-shadow: 0 0 7px 0 rgba(228, 228, 0, 0.893);
    border-radius: 50%;
    margin-left: 0.5rem;
    border-right: 2px solid #f00;
    border-bottom: 2px solid #f00;
    transform: translateY(0.7rem);
    animation: animate-know-more-btn 1s linear infinite;
    transition: transform 1s ease-in;
}
@keyframes animate-know-more-btn {
    from{
        transform: translateY(0.7rem);
    }
    to{
        transform: translateY(0rem);
    }
}
#know-more-btn-icon-wrapper>i{
   font-size: 1.3rem;
   font-weight: bold;
   color: var(--color-grey1);
}
#know-more-btn button:hover{
    background-color: var(--color-white);
}
#know-more-btn button:hover a{
    color: var(--primary-color);
}
#know-more-btn button:hover #know-more-btn-icon-wrapper>i{
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.5);
}
.call-to-action-button-wrapper>.call-to-action-btn{
    outline: none;
    background-color: var(--color-white);
    border: 1px solid var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 20px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;
}
.call-to-action-button-wrapper>.call-to-action-btn.reg-btn>a{
    color: var(--primary-color);
}
.call-to-action-button-wrapper>.call-to-action-btn.login-btn{
    background-color: transparent;
    border: 2px solid var(--color-white);
}
.call-to-action-button-wrapper>.call-to-action-btn>a{
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: bold;
    text-transform: capitalize;
}
.call-to-action-button-wrapper>.call-to-action-btn.reg-btn:hover{
    background-color: transparent;
    border: 2px solid var(--color-white);
}
.call-to-action-button-wrapper>.call-to-action-btn.login-btn:hover{
    background-color: var(--color-white);
    border: 2px solid var(--color-white);
}
.featured-products-and-accessories-section{
    position: relative;
    width: 100%;
    background-color: var(--color-grey1);
    padding: var(--general-padding);
    border-top: 10px solid var(--secondary-color);
    border-radius: 30px 30px 0 0;
}

.featured-products-and-accessories-section>.featured-product-intro{
    position: relative;
    width: 80%;
    margin: 2rem auto;
    padding: 1rem;
}

.featured-product-intro>h2{
    position: relative;
    max-width: 100%;
    margin: 2rem 0;
    text-transform: uppercase;
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
}
.featured-product-intro>h2::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 50px;
    height: 15px;
    background-color: var(--secondary-color);
    margin-left: -4rem;
    margin-top: 0.7rem;
}
.featured-product-intro>h2::after{
    position: absolute;
    width: 50px;
    height: 15px;
    content: '';
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    margin-right: -4rem;
    margin-top: 0.7rem;
}
.featured-product-intro>p{
    position: relative;
    font-size: 1.4rem;
    line-height: 1.2;
    text-align: justify;
}
.featured-product-intro>p>.brand-name-text-wrapper{
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: capitalize;
    color: var(--secondary-color);
}

.featured-products-and-accessories-cont{
    position: relative;
    width: 80%;
    margin: 4rem auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    background-color: var(--color-white);
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
    padding: 2rem 0.7rem;
    border-radius: 10px;
    height: 900px;
    overflow-y: auto;
}
.product-or-accessory{
    position: relative;
    width: 200px;
    height: 200px;
    background-color: var(--color-white);
    box-shadow: 0 0 7px rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 20px;
    transition: all 0.4s ease-in-out;
}
.product-or-accessory:hover{
    transform: scale(1.05);
}
.product-or-accessory-img-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}
.product-or-accessory-img-wrapper>.product-or-accessory-img{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px 20px 0 0;
}
.product-or-accessory-label-wrapper{
    position: relative;
    max-width: 100%;
    background-color: var(--color-white);
    padding: 1rem;
}
.product-or-accessory-label-wrapper>p{
    position: relative;
    line-height: 1.2;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: capitalize;
    color: transparent;
    text-align: center;
    background-image: linear-gradient(to right, var(--primary-color) 10%, var(--secondary-color) 70%);
    background-clip: text;
}

#faqs-section-cont{
    position: relative;
    width: 80%;
    margin: 4rem auto;
    background-color: var(--color-grey1);
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
#faqs-section-cont>h3{
    position: relative;
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
    color: var(--primary-color);
    text-transform: capitalize;
    margin: 1rem 0;
    border-bottom: 1px solid var(--primary-color-light);
    padding-bottom: 1rem;

}
#faqs-wrapper{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.faq-wrapper{
    position: relative;
    width: 100%;
    padding: 1rem;
}
.faq-wrapper>.faq-question-header{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: var(--primary-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}
.faq-wrapper>.faq-question-header.rounded{
    border-radius: 10px 10px 0 0;
}
.faq-question-header>.question-text{
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: capitalize;
}

.faq-question-header>.question-show-icon{
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--primary-color-light);
}
.question-icon-wrapper{
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    border-right: 3px solid #f00;
    border-bottom: 3px solid #f00;
    border-radius: 50%;
    margin-left: 0.7rem;
}
.question-icon-wrapper>i{
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-white);
}

.faq-wrapper>.faq-question-body{
    position: relative;
    width: 100%;
    display: none;
    padding: 2rem 1rem;
    background-color: var(--color-white);
    box-shadow: 2px 4px 10px rgba(0,0,0,0.3);
    border-radius: 0;
    border-right: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    border-radius: 0 0 10px 10px;
}
.faq-question-body>p{
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    color: #666;
}



/* Optimization for Tablets and Mobile Devices */
@media(max-width:830px){
    .intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
        font-size: 4rem;
    }
}

@media(max-width:670px){
    .intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
        font-size: 3rem;
    }

    .intro-text-wrapper>.intro-text{
        width: 90%;
        font-size: 1.3rem;
    }
}
@media(max-width: 592px){
    .featured-products-and-accessories-cont{
         width: 90%;
    }
}

@media(max-width:550px){
    .intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
        font-size: 3rem;
    }
    .intro-text-wrapper>.intro-text{
        width: 95%;
        font-size: 1.3rem;
    }
    .featured-products-and-accessories-cont{
         width: 98%;
    }
}

@media(max-width:492px){
    .featured-products-and-accessories-cont{
         flex-direction: row;
    }
     .product-or-accessory{
        width: 100%;
        height: auto;
    }
}

@media(max-width:450px){
    #page-intro-section>.intro-text-wrapper{
        width: 90%;
    }
    .intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
        font-size: 2.7rem;
    }
     .intro-text-wrapper>.welcome-text{
        font-size: 1.3rem;
    }

    .intro-text-wrapper>.intro-text{
        width: 100%;
        font-size: 1.3rem;
    }

    .featured-product-intro>h2{
        font-size: 2rem;
    }
}

@media(max-width:350px){
    #page-intro-section>.intro-text-wrapper{
        width: 95%;
    }
    .intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
        font-size: 2.3rem;
    }

    .intro-text-wrapper>.welcome-text{
        font-size: 1.2rem;
    }

    .intro-text-wrapper>.intro-text{
        font-size: 1.1rem;
    }
    .featured-products-and-accessories-section>.featured-product-intro{
        width: 96%;
    }
     .featured-product-intro>h2{
        font-size: 1.7rem;
    }
    .featured-product-intro>p{
        font-size: 1rem;
    }
}

@media(max-width:300px){
    #page-intro-section>.intro-text-wrapper{
        width: 100%;
    }
    .intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
        font-size: 1.7rem;
    }

    .intro-text-wrapper>.welcome-text{
        font-size: 1rem;
    }

    .intro-text-wrapper>.intro-text{
        font-size: 1rem;
    }

    #know-more-btn button a{
        padding: 0.5rem 1.3rem;
    }
    #know-more-btn-icon-wrapper{
        width: 30px;
        height: 30px;
    }

    .intro-text>.emphasized-phrase{
        font-size: 1.3rem;
    }
     .featured-product-intro>h2{
        font-size: 1.5rem;
    }

    .featured-product-intro>p>.brand-name-text-wrapper{
        font-size: 1.2rem;
    }
}

@media(max-width:200px){
    .intro-text-wrapper>.page-heading, .intro-text-wrapper>.page-heading>span{
        font-size: 1.5rem;
    }
     .featured-product-intro>h2{
        font-size: 1.5rem;
    }

    .featured-products-and-accessories-section>.featured-product-intro{
        width: 98%;
    }
    .featured-product-intro>p{
        font-size: 1rem;
    }
    .featured-product-intro>p>.brand-name-text-wrapper{
        font-size: 1rem;
    }

}

