/* 
Primary: #2563EB
Dark: #111827
Gray: #6B7280
Background: #F9FAFB
Card White: #FFFFFF
*/

.inter-heading {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    background-color: #F9FAFB;
    color: #111827;
    line-height: 1.5;
    letter-spacing: 1px;
}

main {
    margin-top: 8rem;
    padding: 0 3rem;
}

.card {
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.blueButton {
    padding: 0.5rem 1rem;
    background-color: #2563EB;
    color: #FFFFFF;
    border-radius: 0.5rem;
    border: none;
    width: fit-content;
}

.blueButton:hover {
    transform: scale(1.05);
}

.blockquote-footer {
    padding-top: 1rem;
}

.blockquote-footer::before {
    content: "";
}

.whiteButton {
    padding: 0.5rem 1rem;
    background-color: #F9FAFB;
    color: #2563EB;
    border-radius: 0.5rem;
    border: 1px solid #2563EB;
    width: fit-content;
}

.whiteButton:hover {
    transform: scale(1.05);
}

/* ##### navbar styling #####*/
header {
    padding: 1rem 3rem;
    background-color: #F9FAFB;
    border-bottom: 1px solid rgb(107, 114, 128, 0.2);
}

.logo {
    width: 10rem;
    height: auto;
}

.navbar-nav {
    gap: 1.5rem;
}

.nav-link {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav-link:hover {
    color: #2563EB;
    transform: scale(1.05);
}

#nav-button {
    padding: 0.3rem 1rem;
    background-color: #2563EB;
    color: #FFFFFF !important;
    border-radius: 0.5rem;
    border: none;
    width: fit-content;
}

#nav-button:hover {
    background-color: #2563EB;
    color: #FFFFFF !important;
    transform: scale(1.05);
}


/* ##### hero sectionstyling #####*/
.heroSection {
    padding: 3rem 0;
}

.heroLeftDiv {
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.heroLeftDiv p,
.productSection p,
.featuredProductSection p {
    font-size: 1.3rem;
}

.heroImage {
    min-width: 80%;
    height: auto;
}

.heroRightDiv {
    display: flex;
    align-items: flex-end;
    background-color: rgb(37, 99, 235, 0.1);
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}


/* ##### latest products section styling #####*/
.productSection,
.featuredProductSection {
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cardsDiv {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 2rem;
    width: 100%
}

.cardsDiv>.card {
    display: flex;
    width: 30%;
}

.productSection h3,
.featuredProductSection h3 {
    color: #2563EB;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body h5,
.card-footer h5 {
    font-weight: bold;
}

.card-imageDiv {
    display: flex;
    justify-content: center;
}

.card-img-top,
.modal-img {
    width: auto;
    height: 10rem;
}

/* ##### featured product section styling #####*/
.featuredProductSection>.card {
    margin-top: 1rem;
    width: 80%;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featuredProductSection>.card h4 {
    color: #2563EB;
}

.bottomCard {
    display: flex;
    flex-wrap: wrap;
}

.cardLeftDiv,
.cardRightDiv {
    width: 50%;
}

.cardLeftDiv {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.cardRightDiv {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-color: rgb(37, 99, 235, 0.05);
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

.whiteHeadset {
    width: 50%;
    height: auto;
}

/* ##### footer styling #####*/
footer {
    background-color: rgb(107, 114, 128, 0.6);
    color: #111827;
    display: flex;
    justify-content: space-between;
    padding: 2rem 3rem;
    margin-top: 3rem;
}

.footerLeftDiv {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.iconDiv {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
}

.icon {
    width: 1.5rem;
    height: auto;
    filter: invert(100%) sepia(100%) grayscale(100%) brightness(200%);
}

.icon:hover {
    transform: scale(1.5);
}

footer li {
    list-style: none;
}

footer a {
    color: #2563EB;
    text-decoration: none;
}

/* ############### responsive design ###############*/
/* screens above 768px and below 883px */
@media (min-width:768px) and (max-width:883px) {
    header {
        padding: 1rem;
    }

    .navbar-nav {
        gap: 0;
    }

    #nav-button {
        padding: 0.3rem 0.5rem;
    }

    footer {
        padding: 1rem;
    }

    .heroRightDiv {
        border-top-left-radius: 80% 100%;
        border-top-right-radius: 80% 100%;
    }
}

/* screens above 768px and below 992px */
@media (min-width:768px) and (max-width:992px) {
    main {
        padding: 0 1rem;
    }

    .heroLeftDiv p {
        font-size: 1.2rem;
    }

    .cardsDiv {
        gap: 1rem;
    }

    .featuredProductSection>.card {
        width: 90%;
    }

    .whiteHeadset {
        width: 65%;
        height: auto;
    }
}

/* screens above 576px and below 768px */
@media (min-width:576px) and (max-width:768px) {
    main {
        padding: 0 1rem;
    }

    .heroLeftDiv {
        padding-left: 0;
        gap: 0.5rem;
    }

    .heroLeftDiv p,
    .productSection p,
    .featuredProductSection p {
        font-size: 1.1rem;
    }

    .heroImage {
        min-width: 100%;
    }

    .heroRightDiv,
    .cardRightDiv {
        border-top-left-radius: 80% 100%;
        border-top-right-radius: 80% 100%;
    }

    .cardsDiv {
        gap: 0.5rem;
        padding: 0;
    }

    .featuredProductSection>.card {
        width: 100%;
        margin-top: 0;
    }

    .whiteHeadset {
        width: 80%;
        height: auto;
    }

    .footerMiddleDiv {
        display: none;
    }
}

/* screens below 576px */
@media (max-width:576px) {
    main {
        padding: 0 1rem;
    }

    .heroLeftDiv {
        padding-left: 0;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
        padding-bottom: 2rem;
    }

    .heroImage {
        min-width: 50%;
    }

    .heroRightDiv,
    .cardRightDiv {
        border-top-left-radius: 80% 100%;
        border-top-right-radius: 80% 100%;
    }

    .heroLeftDiv p,
    .productSection p,
    .featuredProductSection p {
        font-size: 1.1rem;
    }

    .productSection p,
    .featuredProductSection p {
        text-align: center;
    }

    .cardLeftDiv p {
        text-align: left;
    }

    .heroImage {
        min-width: 100%;
    }

    .heroRightDiv,
    .cardRightDiv {
        border-top-left-radius: 80% 100%;
        border-top-right-radius: 80% 100%;
    }

    .heroSection,
    .productSection {
        padding: 2rem 0;
    }

    .cardsDiv {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0;
    }

    .cardsDiv>.card {
        width: 15rem;
    }

    .featuredProductSection>.card {
        width: 100%;
        margin-top: 0;
    }

    .whiteHeadset {
        width: 80%;
        height: auto;
    }

    .footerMiddleDiv {
        display: none;
    }

    footer {
        padding: 1rem;
    }
}

/* screens below 503px */
@media (max-width:503px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }

    .iconDiv {
        justify-content: center;
    }
}

/* screens below 528px */
@media (max-width:528px) {
    header {
        padding: 1rem;
    }

    .cardsDiv {
        gap: 2rem;
    }

    .cardsDiv>.card {
        width: 80%;
    }

    .featuredProductSection>.card h1,
    .featuredProductSection>.card h4 {
        text-align: center;
    }

    .bottomCard {
        flex-direction: column;
        gap: 1rem;
    }

    .cardLeftDiv,
    .cardRightDiv {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .heroRightDiv {
        border-top-left-radius: 80% 100%;
        border-top-right-radius: 80% 100%;
    }

    .whiteHeadset {
        width: 60%;
        height: auto;
    }
}