:root {
    --rating-lg-height: 60px;
    --navbar-lg-height: 66px;
    --banner-container-image-height-lg: 720px;
    --banner-container-image-height-sm: 619px;
    scrollbar-width: none;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
}

.fixed-top {
    position: sticky;
    top: 0;
    background: white;

}

.slick-vertical .slick-slide {
    border: none !important;
}

.rating {
    height: var(--rating-lg-height);
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E8E8E8;
    /* justify-content: space-between; */
}

.trust-piolet {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 21.66px;
    /* 135.375% */
}

.contact-container {
    height: var(--rating-lg-height);
}

.ph-no {
    color: #222;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;

    line-height: 24.614px;
    /* 136.742% */


}

.contact-container>a {
    text-decoration: none;
}

.since-container {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 21.66px;
    /* 135.375% */
}

.since-container span {
    font-weight: 600;
}

#navbar-container {
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
}

.navbar {
    min-height: var(--navbar-lg-height);
}

.navbar-toggler {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.nav-item {
    font-weight: 500;
    line-height: 18px;
    font-size: 18px;
    white-space: nowrap;
}

.banner {
    background-image: url('https://modernopticals.com/public/website/assets/images/home/banner/banner-sm.png');
    background-image: url('https://modernopticals.com/public/website/assets/images/home/banner/banner-sm.webp');
    font-family: "Jost", sans-serif;
    height: var(--banner-container-image-height-sm);
    min-height: calc(100dvh - (var(--navbar-lg-height) + var(--rating-lg-height)));
    background-size: cover;
    /* change to fill */
    background-repeat: no-repeat;
    background-position: center;
}

.banner-content-container {
    /* padding-left: 80px; */
    padding-top: 130px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-main-title {
    font-size: 38px;
    font-weight: 400;
    font-style: normal;
    line-height: 38px;
    letter-spacing: 1.14px;
}

.banner-sub-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -2.1px;
}

.banner-slogan {
    font-family: "Inclusive Sans", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.banner-buy-now {
    display: flex;
    width: 111px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: #AB2317;
    outline: none;
    white-space: nowrap;
    border: none;
    box-shadow: none;
    color: white;
}

.highlight-section {
    background: #F1EDE3;
    padding-bottom: 70px;
    padding-top: 70px;
}

#highlight-title {
    color: #222;
    font-family: "DM Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    padding-bottom: 35px;
    text-align: center;
    line-height: 24px;
    /* 100% */
}

.nav-item {
    padding-left: 10px;
    padding-right: 10px;
}

#aboutSection {

    padding-bottom: 50px;
}

.about-content {
    padding-top: 40px;
}

.about-title {
    color: #222;
    font-family: "DM Sans";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    display: flex;

    line-height: 24px;
    /* 60% */
}

.about-desc {
    color: #1F1F1F;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    /* 150% */
}

.product-card {
    border-radius: 16px;

}

.product-one {
    background: #E6CCB2;
}

.product-two {
    background: #DDB892;
}

.product-three {
    background: #B08968;
}

.product-detail-container {
    padding: 20px 16px;
    font-style: normal;
    font-weight: 700;
    color: black;
}

.product-detail-container>h5 {
    font-size: 15px;
    line-height: normal;
}

.product-detail-container>p {
    font-size: 50px;
    line-height: 70px;
    padding-left: 15px;
    position: relative;
}

.product-card img {
    max-width : 300px;
}
.slider-item-container {
    height: 720px;
    

}

.vslider-item-container {
    height: 443px;

}

.product-detail-container>p>sup {

    font-size: 30px;
    transform: translateY(-50%);
    line-height: 45px;
    position: absolute;
    top: 10px;
    left: -10px;
    /* 150% */
}

.service-block {
    padding-top: 60px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;

    gap: 40px;
}

.service-items-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;

}

.service-item {
    padding: 25px 45px;
    border-radius: 16px;
    background: #F3EFE5;
    color: #000;
    gap: 20px;
    display: flex;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 21.66px;
    /* 135.375% */
}

.service-item .title {
    font-size: 18px;

    font-weight: 700;
    line-height: 24px;
}




.slideshow,
.slideshow-right {
    width: 100%;
    overflow: hidden;
}



.item {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: #333;
    color: white;
}

footer {
    color: #CCC;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;

    line-height: 18px;
    /* 128.571% */
}

.footer-lg {
    height: 381px;
}


footer * {
    color: #CCC;
}

footer .title {
    color: #CCC;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 22.5px;
    /* 125% */
    padding-bottom: 17px;
}

.footer-sm {
    padding: 3rem 1rem;
    text-align: center;
    padding-bottom: 10px;
}

.footer-sm .footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-sm .footer-sub-items {
    padding-left: 0;
}

.footer-sm .payment-icons .fab,
.footer-sm .social-icons .bi {
    font-size: 1.75rem;
    margin: 0 0.75rem;
}

.footer-sm .footer-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    /* margin-top: 2rem;
    margin-bottom: 2rem; */
}

p {
    margin: 0;
}

footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.address {
    color: #CCC;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.footer-contents {
    padding-top: 36px;
    padding-bottom: 24px;
}

.footer-sub-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slider-sm-container {
    height: 443px;
}

@media screen and (min-width: 480px) {
    .banner {
        background-image: url("https://modernopticals.com/public/website/assets/images/home/banner/banner.webp");
        height: var(--banner-container-image-height-lg);
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .nav-item {
        padding-left: 20px;
        padding-right: 20px;
        display: flex;
        align-items: end;
        justify-content: end;

    }

    .banner-main-title {
        font-style: normal;
        font-size: 74px;
        line-height: 32px;
        letter-spacing: 2.22px;
    }

    .banner-sub-title {


        font-size: 90px;

        line-height: 60px;
        letter-spacing: -4.5px;
    }

    .banner-slogan {

        font-size: 20px;
        color: #FFFFFFE5;

    }

    .banner-buy-now {

        display: inline-flex;
        gap: 10px;
        width: auto;

    }

    .service-items-container {

        flex-direction: column;


    }
}

#marquee-container {
    padding: 30px 20px 50px;
}

.marquee-items {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.marquee {
    display: flex;
    width: 200%;
    animation: marqueeSlide 20s linear infinite;
}

.marquee-items>p>img {
    height: 55px;
}

.slider {
    width: 100%;
    position: relative;
}

.slider ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.slider-sm {
    width: 100%;
    position: relative;
}

.vslider-sm {
    width: 100%;
    position: relative;
}

.slider-sm ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vslider-sm ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.v-slider .item {
    border-radius: 32px;
}

.slider li {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-sm li {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.vslider-sm li {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.vslider-sm img {
    border-radius: 16px;
}

/* Left slider items */
.slideshow-left .item {
    border-radius: 32px 0 0 32px;
    /* Rounded on the left side */
    overflow: hidden;
    /* Needed if items have inner content that shouldn't spill out */
}

/* Right slider items */
.slideshow-right .item {
    border-radius: 0 32px 32px 0;
    /* Rounded on the right side */
    overflow: hidden;
}

/* .slider img {
    height: 400px;
    width: 400px;
} */

.slider li.active {
    opacity: 1;
}

.slider-sm li.active {
    opacity: 1;

}

.vslider-sm li.active {
    opacity: 1;

}

a {
    text-decoration: none !important;
}

.about-page,
.contact-section,
.blog-post-section,
.writings-section {

    padding-top: 30px;
    padding-bottom: 60px;
}

.about-page-heading {
    color: #222;
    font-family: "DM Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    padding-top: 30px;
    padding-bottom: 20px;
    /* 100% */
}

.about-page-content {
    color: #1F1F1F;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    /* 100% */
}



.contact-form-container {
    background-color: #ffffff;

    border-radius: 1rem;

}

.contact-section h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-section .lead {
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.form-label {
    font-weight: 500;
    color: #343a40;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-submit {
    background-color: #495057;
    border-color: #495057;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #343a40;
    color: #ffffff;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}


.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-weight: 700;
    color: #212529;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.article-card {
    margin-bottom: 3rem;
}

.article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.article-card h4 {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.75rem;
}

.article-card p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.article-card .read-post-link {
    color: #5a4fcf;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card .read-post-link:hover {
    color: #3e3594;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.blog-content {
    max-width: 950px;
    margin: 0 auto;
}

.blog-content img {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
}

.blog-content p,
.blog-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.blog-content h3 {
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.blog-quote {
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin: 3rem auto;
    color: #212529;
    /* border-left: 3px solid #6c757d; */
    padding-left: 1.5rem;
}

.blog-content ul {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.utility-icons {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.utility-icons a {
    color: #6c757d;
    font-size: 1.25rem;
    text-decoration: none;
}

.utility-icons a:hover {
    color: #212529;
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .nav-item {
        padding-left: 30px;
        padding-right: 30px;
    }

    .product-detail-container {
        padding: 20px 40px;
        font-style: normal;
        font-weight: 700;
        color: black;

    }

    .product-detail-container>h5 {
        font-size: 16px;

        line-height: normal;
    }

    .product-detail-container>p {
        font-size: 58.652px;
        line-height: 70px;
    }

    .slider-item-container {
        height: 519.6px;
        ;
    }

    .about-page-heading {
        color: #222;
        font-family: "DM Sans";
        font-size: 40px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px;
        padding-top: 50px;
        padding-bottom: 30px;
        /* 60% */
    }

    .about-page-content {
        color: #1F1F1F;
        font-family: "DM Sans";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: 27px;
        /* 150% */
    }


}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .nav-item {
        padding-left: 50px;
        padding-right: 50px;
    }

    .service-items-container {

        flex-direction: row;


    }
    .product-card img {
        max-width : unset;
    }
}




@keyframes marqueeSlide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}