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;
    }
}