html,
body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

.include-header {
    padding-top: 6%;
}

.head-quick-links {
    width: 90%;
    margin: 3% auto;
}

.head-quick-links p {
    font-size: 0.8rem;
}

.section-1 {
    width: 100vw;
    height: auto;
    background: transparent linear-gradient(180deg, #80C9ED 0%, #92D0EE 0%, #FAFAFA 100%) 0% 0% no-repeat padding-box;
    display: flex;
    flex-direction: column;
}

.main-section {
    width: 80%;
    margin: 0 auto;
}

.img-card {
    background-color: #ededed;
    border-radius: 10px;
    padding: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 450px;
}

@media (max-width: 1680px) {
    .img-card {
        width: 400px;
        height: 350px;
    }
}

@media (max-width: 1480px) {
    .img-card {
        width: 350px;
        height: 300px;
    }
}

@media (max-width: 1280px) {
    .img-card {
        width: 300px;
        height: 250px;
    }
}

@media (max-width: 1080px) {
    .img-card {
        width: 250px;
        height: 200px;
    }
}

.img-card img {
    height: 100%;
    object-fit: contain;
}

.divider-line {
    border-top: 1px solid #c1c1c1;
    margin: 3% 0;
}

.product-attributes p {
    font-size: 0.9rem;
}

.pill-shape {
    font-size: 13px;
    max-width: fit-content;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: white;
}

.pill-shape.active {
    background-color: #80C9ED21;
    border: 1px solid #46B3E8;
    transform: scale(1.01);
}

.pill-shape {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

.pill-shape:nth-child(1) {
    animation-delay: 0.1s;
}

.pill-shape:nth-child(2) {
    animation-delay: 0.2s;
}

.pill-shape:nth-child(3) {
    animation-delay: 0.3s;
}

.pill-shape:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.add-to-cart button {
    font-size: 14px;
    border-radius: 10px;
    padding: 2% 7%;
}

.add-to-cart button span {
    font-size: 10px;
}

.add-to-cart .fs13 {
    font-size: 13px;
}

.product-details {
    background-color: #ffffff;
    padding: 5%;
    border-radius: 30px;
}

.dividing-line {
    border-top: 1px solid #c1c1c1;
    margin: 2% 0;
}

.product-details p,
.product-details li {
    font-size: 13px;
}

.requirements {
    width: 60%;
}

.author-info {
    display: flex;
}

.author-desc {
    width: 50%;
}


/* video section */

.demo-videos-section {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.videos-container {
    overflow-x: auto;
    padding: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.videos-container::-webkit-scrollbar {
    height: 8px;
}

.videos-container::-webkit-scrollbar-track {
    background: transparent;
}

.videos-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.videos-wrapper {
    display: flex;
    gap: 1.5rem;
    min-width: max-content;
}

.video-card {
    position: relative;
    width: 320px;
    height: 180px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-card:first-child {
    background-color: #999;
    opacity: 1;
}

.video-card:not(:first-child) {
    background-color: #d3d3d3;
    opacity: 0.6;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #333;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-card:hover .play-button {
    background-color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

.modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-button {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.close-button:hover {
    opacity: 0.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .include-header {
        padding-top: 21%;
    }

    .head-quick-links {
        font-size: 10px;
        margin: 1%;
    }

    .main-section {
        width: 100%;
    }

    .mobilewidth {
        width: 90%;
        margin: 0 auto;
    }

    .product-name {
        font-size: 18px;
        width: 90%;
        margin: 0 auto;
        margin-top: 2%;
    }

    .author-name {
        font-size: 14px;
        width: 90%;
        margin: 0 auto;
        margin-top: 2%;

    }

    .img-card {
        width: 350px;
        height: 350px;
    }

    .product-description {
        font-size: 13px;
    }

    .product-attributes .d-flex {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pill-shape {
        white-space: normal;
        min-width: max-content;
        max-width: 100%;
    }

    .add-to-cart button {
        width: 100%;
    }

    .product-details {
        border-radius: 0;
    }

    .product-details h3 {
        font-size: 1.5rem;
    }

    .product-details ul {
        padding-left: 1rem;
    }

    .bged {
        background-color: #fafafa;
    }

    .requirements,
    .author-desc {
        width: 100%;
    }

    .author-info {
        display: flex;
        flex-direction: column;
    }

    .author-desc h3 {
        margin-top: 1rem;
    }

    .author-desc br {
        display: none;
    }

    .author-img {
        width: 150px;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .video-card {
        width: 280px;
        height: 157px;
    }

    .videos-wrapper {
        gap: 1rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-button::after {
        border-left-width: 15px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }

    .modal-content {
        width: 95%;
        margin: 0 1rem;
    }

    .close-button {
        top: -35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-card {
        width: 240px;
        height: 135px;
    }

    .play-button {
        width: 45px;
        height: 45px;
    }

    .play-button::after {
        border-left-width: 12px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }
}


.product-card {
    position: relative;
}

.img-card {
    position: relative;
    overflow: visible;
}

.product-badge {
    position: absolute;
    padding: 4px 12px;
    height: 20px;
    font-size: 10px;
    font-weight: 600;
    z-index: 1;
    background: #FF4D7F;
    color: white;
    border-radius: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-wrap: balance;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-size: 13px;
    padding-right: 2%;
    padding-left: 2%;
    /* font-weight: bold; */
    color: #fff;
}

.ribbon {
    --f: .5em;
    /* control the folded part*/
    --r: .8em;
    /* control the ribbon shape */

    position: absolute;
    top: 5px;
    right: calc(-0*var(--f));
    /* padding-inline: .29em; */
    line-height: 1.8;
    background: #e1535a;
    border-bottom: var(--f) solid #0005;
    border-left: var(--r) solid #0000;
    clip-path:
        polygon(0 0, 100% 0, 100% calc(100% - var(--f)), calc(100% - var(--f)) 100%,
            calc(100% - var(--f)) calc(100% - var(--f)), 0 calc(100% - var(--f)),
            var(--r) calc(50% - var(--f)/2));
}

/* new Reb */
/* HTML: <div class="ribbon">Your text content</div> */
.Tribbon {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

.Tribbon {
    --c: #d81a14;
    /* control the Tribbon shape (adjust each variable to understand what it does) */
    --a: 56deg;
    --r: 6deg;
    /* --s: 1.6em; */

    padding: .6em 1.3em;
    /* you may need to adjust this based on your content */
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    text-align: center;
    position: relative;
    z-index: 0;
    width: fit-content;
    box-sizing: border-box;
}

.Tribbon:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: calc(50% - var(--s)/2) -150% auto;
    /* you can also adjust the 150% to control the shape */
    border-radius: 999px 999px 0 0;
    aspect-ratio: 2;
    border: var(--s) solid color-mix(in srgb, var(--c), #000 35%);
    border-bottom: none;
    clip-path: polygon(100% 0,
            calc(50% + 50%*cos(var(--a))) calc(100% - 100%*sin(var(--a))),
            calc(50% + (50% - var(--s)/2)*cos(var(--a) + var(--r))) calc(100% - (100% - var(--s)/2)*sin(var(--a) + var(--r))),
            calc(50% + (50% - var(--s))*cos(var(--a))) calc(100% - (100% - var(--s))*sin(var(--a))),
            50% 100%,
            calc(50% - (50% - var(--s))*cos(var(--a))) calc(100% - (100% - var(--s))*sin(var(--a))),
            calc(50% - (50% - var(--s)/2)*cos(var(--a) + var(--r))) calc(100% - (100% - var(--s)/2)*sin(var(--a) + var(--r))),
            calc(50% - 50%*cos(var(--a))) calc(100% - 100%*sin(var(--a))),
            0 0);
}

.Tribbon:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(35% 35%, #0000 96%, #0003 97% 99%, #0000) var(--c);
    clip-path: polygon(100.00% 50.00%, 89.66% 55.22%, 98.30% 62.94%, 86.96% 65.31%, 93.30% 75.00%, 81.73% 74.35%, 85.36% 85.36%, 74.35% 81.73%, 75.00% 93.30%, 65.31% 86.96%, 62.94% 98.30%, 55.22% 89.66%, 50.00% 100.00%, 44.78% 89.66%, 37.06% 98.30%, 34.69% 86.96%, 25.00% 93.30%, 25.65% 81.73%, 14.64% 85.36%, 18.27% 74.35%, 6.70% 75.00%, 13.04% 65.31%, 1.70% 62.94%, 10.34% 55.22%, 0.00% 50.00%, 10.34% 44.78%, 1.70% 37.06%, 13.04% 34.69%, 6.70% 25.00%, 18.27% 25.65%, 14.64% 14.64%, 25.65% 18.27%, 25.00% 6.70%, 34.69% 13.04%, 37.06% 1.70%, 44.78% 10.34%, 50.00% 0.00%, 55.22% 10.34%, 62.94% 1.70%, 65.31% 13.04%, 75.00% 6.70%, 74.35% 18.27%, 85.36% 14.64%, 81.73% 25.65%, 93.30% 25.00%, 86.96% 34.69%, 98.30% 37.06%, 89.66% 44.78%);
    /* from https://css-generators.com/starburst-shape/ */
}


.badge-book {
    top: 15px;
    right: 15px;
    width: 90px;
    background-color: #010101;
}

.badge-hours {
    top: 15px !important;
    width: 90px;
    left: 15px;
    background-color: #357166;
}


.badge-attempts {
    bottom: 15px;
    left: 15px;
    width: 90px;
    background-color: #6a00ff;
}

/* Circular Hours Badge */
.badge-circle-hours {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 55px;
    height: 55px;
    background: #357166;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
    animation: badgePop 0.3s ease-out;
    transition: all 0.3s ease;
}

.badge-circle-hours .hours-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.badge-circle-hours .hours-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ribbon tails */
/* .product-badge::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-top: 5px solid #D95566;
    border-right: 5px solid transparent;
} */

/* Tablet devices */
/* Large desktop screens */
@media (min-width: 1200px) {
    .badge-circle-hours {
        width: 50px;
        height: 50px;
        bottom: 15px;
        left: 15px;

    }

    .badge-circle-hours .hours-number {
        font-size: 15px;
    }

    .badge-circle-hours .hours-text {
        font-size: 10px;
    }
}

/* Desktop and small desktop screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .badge-circle-hours {
        width: 45px;
        height: 45px;
        bottom: 12px;
        left: 12px;
    }

    .badge-circle-hours .hours-number {
        font-size: 12px;
    }

    .badge-circle-hours .hours-text {
        font-size: 8px;
    }
}

/* Tablet devices */
@media (min-width: 768px) and (max-width: 991px) {
    .product-badge {
        padding: 3px 11px;
        height: 19px;
        font-size: 9.5px;
    }

    .badge-circle-hours {
        width: 55px;
        height: 55px;
        bottom: 10px;
        left: 10px;
    }

    .badge-circle-hours .hours-number {
        font-size: 16px;
    }

    .badge-circle-hours .hours-text {
        font-size: 10px;
    }

    .badge-book {
        top: 15px;
        right: 15px;
        width: 70px;
    }

    .badge-hours {
        top: 15px;
        width: 80px;
        left: 15px;
    }


    .badge-attempts {
        bottom: 15px;
        left: 15px;
        width: 75px;
    }

    .badge-circle-hours {
        width: 45px;
        height: 45px;
    }

    .badge-circle-hours .hours-number {
        font-size: 14px;
    }

    .badge-circle-hours .hours-text {
        font-size: 9px;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .product-badge {
        padding: 3px 10px;
        height: 18px;
        font-size: 9px;
    }

    .badge-book {
        top: 15px;
        right: 15px;
        width: 70px;
    }

    .badge-hours {
        top: 15px;
        width: 70px;
        left: 15px;
    }


    .badge-attempts {
        bottom: 15px;
        left: 15px;
        width: 80px;
    }

    .product-badge::before {
        border-top-width: 4px;
        border-right-width: 4px;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .product-badge {
        padding: 2px 10px;
        height: 18px;
        font-size: 9px;
    }

    .badge-circle-hours {
        width: 50px;
        height: 50px;
        bottom: 8px;
        left: 8px;
    }

    .badge-circle-hours .hours-number {
        font-size: 15px;
        margin-bottom: 1px;
    }

    .badge-circle-hours .hours-text {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .badge-circle-hours {
        width: 38px;
        height: 38px;
        bottom: 5px;
        left: 5px;
    }

    .badge-circle-hours .hours-number {
        font-size: 12px;
        margin-bottom: 0;
    }

    .badge-circle-hours .hours-text {
        font-size: 7px;
    }
}

@keyframes badgePop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes badgePop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}