/* AEM Labs - Index CSS */
/* ==================== */


/* --- Hero Section Start --- */
.hero-container {
    padding: 50px 50px 10px;
    width: 100%;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section {
    max-width: min(80%, var(--section-max-width));
    width: 100%;
    margin: 0 auto;
    background-color: #1d1d1d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 35vh;
    transition: max-width 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.hero-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* Prevent layout shifts */
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    /* Optimize rendering */
    contain: layout style paint;
}

.hero-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* Prevent layout shifts */
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    /* Optimize for performance */
    will-change: transform;
    transform: translateZ(0);
    /* Reduce paint during loading */
    contain: layout style paint;
}

.video-control {
    position: absolute;
    bottom: 3%;
    right: 1.2%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 15;
    padding: 0;
}

.video-control i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.video-control:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-video-wrapper:hover .video-control {
    opacity: 0.7;
}

.video-control:focus {
    outline: none;
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 80%;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
}

.hero-cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4%;
}

.hero-cta-button {
    display: inline-block;
    background: linear-gradient(270deg, var(--accent-color), rgba(var(--accent-color-rgb), 0.2), var(--accent-color), rgba(var(--accent-color-rgb), 0.2));
    background-size: 300% 100%;
    background-position: 0% 0%;
    color: white;
    border: 1px solid rgba(var(--accent-color-rgb), 1);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease, background-position 0.6s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta-button:hover {
    background-position: 100% 0%;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-msg-bar {
    max-width: min(80%, var(--section-max-width));
    width: 100%;
    margin: 20px auto 0;
    background-color: white;
    border-radius: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: max-width 0.4s ease-out;
}

.info-message {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.info-message i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 18px;
}

@media (max-width: 1400px) {
    .hero-container {
        padding:  50px 25px 25px;
    }

    .hero-section {
        max-width: min(85%, var(--section-max-width));
        height: 40vh;
    }

    .hero-title {
        font-size: 30px;
        max-width: 85%;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-msg-bar {
        max-width: min(85%, var(--section-max-width));
        padding: 12px 25px;
    }

    .info-message {
        font-size: 14px;
    }

    .info-message i {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .hero-container {
        padding: 20px;
        margin-top: 20px;
    }

    .hero-section {
        max-width: min(90%, var(--section-max-width));
        height: 25vh;
        border-radius: 16px;
    }

    .hero-content {
        padding: 5% 4%;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 10px;
        max-width: 90%;
    }

    .hero-subtitle {
        font-size: 16px;
        font-weight: 400;
    }

    .hero-cta-button {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 16px;
    }

    .video-control {
        width: 36px;
        height: 36px;
        font-size: 14px;
        bottom: 4%;
        right: 2%;
    }

    .hero-msg-bar {
        max-width: min(90%, var(--section-max-width));
        margin: 15px auto 0;
        padding: 10px 20px;
        border-radius: 14px;
    }

    .info-message {
        font-size: 12px;
    }

    .info-message i {
        font-size: 15px;
        margin-right: 8px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 15px;
        margin-top: 0;
    }

    .hero-section {
        max-width: 95%;
        height: 25vh;
        border-radius: 14px;
    }

    .hero-content {
        padding: 4% 3%;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 8px;
        max-width: 95%;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-cta-button {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 14px;
    }

    .video-control {
        width: 32px;
        height: 32px;
        font-size: 12px;
        bottom: 5%;
        right: 3%;
    }

    .hero-msg-bar {
        max-width: 95%;
        margin: 12px auto 0;
        padding: 8px 15px;
        border-radius: 16px;
        flex-direction: column;
        gap: 16px;
    }

    .info-message {
        font-size: 12px;
        justify-content: center;
    }

    .info-message i {
        font-size: 14px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 10px 10px;
    }

    .hero-section {
        max-width: 98%;
        height: 20vh;
    }

    .hero-content {
        padding: 3% 2%;
    }

    .hero-title {
        font-size: 14px;
        margin-bottom: 6px;
        max-width: 98%;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 11px;
        font-weight: 500;
    }

    .hero-cta-button {
        font-size: 10px;
        padding: 6px 12px;
        border-radius: 10px;
    }

    .video-control {
        width: 28px;
        height: 28px;
        font-size: 10px;
        bottom: 6%;
        right: 4%;
    }

    .hero-msg-bar {
        max-width: 98%;
        margin: 10px auto 0;
        padding: 6px 12px;
        border-radius: 10px;
        flex-direction: column;
        gap: 10px;
    }

    .info-message {
        font-size: 11px;
        justify-content: center;
    }

    .info-message i {
        font-size: 12px;
        margin-right: 5px;
    }
}

/* --- Hero Section End --- */


/* --- Featured PCs Section Start --- */
.featured-pcs-section {
    padding: 10px 30px 30px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.featured-container {
    max-width: min(95%, var(--section-max-width));
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 30px;
    align-items: center;
}

.carousel-container.full-width {
    grid-column: 1 / -1;
    width: 100%;
}

.promo-card {
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, var(--accent-color) 100%);
    border-radius: 18px;
    color: white;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.promo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center,
            rgba(120, 0, 0, 0.2) 0%,
            rgba(80, 0, 0, 0.2) 20%,
            rgba(50, 0, 0, 0.3) 40%,
            rgba(30, 0, 0, 0.4) 60%,
            rgba(20, 0, 0, 0.5) 80%,
            rgba(10, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.promo-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 30px;
    margin-bottom: -15px;
    position: relative;
    z-index: 2;
}

.promo-logo img {
    max-width: 200px;
    width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.promo-content {
    padding: 30px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.promo-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-content p {
    font-size: 15px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.promo-cta-button {
    display: inline-block;
    background-color: white;
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.promo-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: #f8f8f8;
}

.featured-pcs-section .carousel-container {
    max-width: 100%;
}

@media (max-width: 1400px) {
    .featured-pcs-section {
        padding: 12px 20px;
    }

    .featured-container {
        max-width: min(100%, var(--section-max-width));
        grid-template-columns: 300px 1fr;
        gap: 25px;
    }

    .promo-card {
        height: auto;
    }

    .promo-logo {
        padding-top: 18px;
        padding-bottom: 12px;
    }

    .promo-logo img {
        max-width: 160px;
    }

    .promo-content {
        padding: 25px;
    }

    .promo-content h2 {
        font-size: 18px;
    }

    .promo-content p {
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .featured-pcs-section {
        padding: 0 20px 20px;
    }

    .featured-container {
        max-width: min(100%, var(--section-max-width));
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promo-card {
        height: auto;
        max-width: 100%;
        order: 1;
    }

    .promo-content {
        padding: 16px;
        text-align: center;
    }

    .promo-content h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .promo-content p {
        font-size: 12px;
        width: 60%;
        margin: 0 auto 12px;
    }

    .promo-cta-button {
        font-size: 13px;
        padding: 9px 18px;
    }
}

@media (max-width: 768px) {
    .featured-pcs-section {
        padding: 0 15px 15px;
    }

    .featured-container {
        gap: 15px;
    }

    .promo-card {
        border-radius: 14px;
    }

    .promo-logo img {
        max-width: 160px;
        width: 160px;
    }

    .promo-content {
        padding: 18px;
    }

    .promo-content h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .promo-content p {
        display: none;
    }

    .promo-cta-button {
        font-size: 12px;
        padding: 8px 16px;
        border-radius: 14px;
    }

}

@media (max-width: 480px) {
    .featured-pcs-section {
        padding: 0 10px 10px;
    }

    .featured-container {
        gap: 12px;
    }

    .promo-card {
        border-radius: 12px;
    }

    .promo-logo {
        padding-top: 20px;
    }

    .promo-logo img {
        max-width: 120px;
        width: 120px;
    }

    .promo-content {
        padding: 12px;
    }

    .promo-content h2 {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .promo-content p {
        font-size: 11px;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .promo-cta-button {
        font-size: 10px;
        padding: 6px 12px;
        border-radius: 12px;
    }
}

/* --- Featured PCs Section End --- */


/* --- Category Boxes Section Start --- */
.category-boxes {
    padding: 0;
    width: 100%;
    max-width: min(95%, var(--section-max-width));
    margin: 0 auto;
    padding-bottom: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.category-box-container {
    margin: 0 20px;
    width: 100%;
    padding: 12px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.category-item {
    position: relative;
    border-radius: 18px;
    height: 270px;
    width: 25%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.5);
}

.category-boxes .image-wrapper {
    width: 100%;
    height: 100%;
}

.category-boxes .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.category-boxes .item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-boxes .text-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 12px;
}

.category-boxes .text-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 0;
    width: 3px;
    background-color: var(--accent-color, #FF5722);
    transform: translateY(-50%);
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.category-boxes .category-item:hover .text-block::before {
    height: 80%;
    opacity: 1;
}

.category-boxes .category-item h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 0 16px rgba(0, 0, 0, 1);
    text-align: center;
    margin: 0;
    margin-bottom: 8px;
}

.category-boxes .item-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-align: center;
    margin: 0;
    max-width: 80%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.category-boxes .category-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.category-boxes .category-item:hover .item-content {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

@media screen and (max-width: 1400px) {
    .category-box-container {
        gap: 12px;
        padding: 12px;
        max-width: min(100%, var(--section-max-width));
        margin: 0 auto;
    }

    .category-item {
        width: 25%;
        height: 200px;
    }

    .category-boxes .category-item h3 {
        font-size: 20px;
    }

    .category-boxes .item-subtext {
        font-size: 14px;
    }

    .category-boxes .text-block {
        padding-left: 0;
    }
}

@media screen and (max-width: 992px) {
    .category-boxes {
        max-width: min(100%, var(--section-max-width));
        margin: 0 auto;
    }

    .category-box-container {
        margin: 0;
        max-width: 90%;
        gap: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }

    .category-item {
        height: 160px;
        margin: 0;
        width: 100%;
        border-radius: 0;
        transition: all 0.3s ease-in-out;
    }

    .category-boxes .category-item h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .category-boxes .item-subtext {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .category-item {
        height: 140px;
    }

    .category-boxes .category-item h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .category-boxes .item-subtext {
        font-size: 13px;
        max-width: 85%;
    }
}

@media screen and (max-width: 480px) {
    .category-boxes {
        padding: 0;
    }

    .category-box-container {
        gap: 8px;
    }

    .category-item {
        height: 110px;
        width: 100%;
        margin: 0;
        box-shadow: none;
    }

    .category-boxes .category-item h3 {
        font-size: 13px;
        margin-bottom: 0;
    }

    .category-boxes .item-subtext {
        display: none;
    }
}

/* --- Category Boxes Section End --- */


/* --- Selling CTA Section Start --- */
.selling-cta {
    padding: 30px 0;
    background-color: #f8f8f8;
}

.selling-cta-container {
    max-width: min(86%, var(--section-max-width));
    margin: 0 auto;
    background-color: white;
    border-radius: 18px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
    position: relative;
}

.selling-cta-content {
    max-width: 60%;
    z-index: 2;
}

.selling-cta-label {
    position: absolute;
    top: -15px;
    left: 30px;
    z-index: 10;
}

.selling-cta-label p {
    color: #222;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    color: #222;
    padding: 8px 14px;
    border-radius: 12px;
    width: fit-content;
}

.selling-cta-title {
    font-size: 26px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.2;
}

.selling-cta-description {
    font-size: 14px;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.5;
}

.selling-cta-description:first-of-type {
    margin-bottom: 0;
}

.selling-cta-button {
    display: inline-block;
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    background-position: 0% 0%;
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(93, 75, 231, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.selling-cta-button:hover {
    background-position: 100% 0%;
    transform: translateY(-2px);
}

.selling-cta-image {
    position: relative;
    z-index: 1;
    width: 35%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 250px;
    margin-right: -50px;
}

.selling-cta-image .cta-img {
    position: absolute;
    width: 125px;
    height: 125px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.selling-cta-image .img-1 {
    right: 28%;
    top: -5%;
    transform: rotate(-8deg);
    z-index: 3;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.selling-cta-image .img-2 {
    right: 44%;
    top: 38%;
    transform: rotate(6deg);
    z-index: 2;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

.selling-cta-image .img-3 {
    right: 10%;
    top: 30%;
    transform: rotate(-6deg);
    z-index: 1;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}

.selling-cta-image .img-4 {
    right: -6%;
    top: -5%;
    transform: rotate(14deg);
    z-index: 0;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}

.selling-cta:hover .img-1 {
    transform: rotate(-12deg) translateY(-10px);
}

.selling-cta:hover .img-2 {
    transform: rotate(9deg) translateY(-5px);
}

.selling-cta:hover .img-3 {
    transform: rotate(-15deg) translateY(-8px);
}

.selling-cta:hover .img-4 {
    transform: rotate(18deg) translateY(-10px);
}

@media (max-width: 1400px) {
    .selling-cta {
        padding: 25px 0;
    }

    .selling-cta-container {
        max-width: min(90%, var(--section-max-width));
        padding: 20px 40px;
        border-radius: 16px;
    }

    .selling-cta-label {
        left: 25px;
    }

    .selling-cta-description {
        margin-bottom: 20px;
    }

    .selling-cta-button {
        font-size: 13px;
        padding: 11px 22px;
        border-radius: 16px;
    }

    .selling-cta-image {
        height: 220px;
        margin-right: -40px;
    }

    .selling-cta-image .cta-img {
        width: 110px;
        height: 110px;
        border-radius: 10px;
    }
}

@media (max-width: 992px) {
    .selling-cta {
        padding: 20px;
    }

    .selling-cta-container {
        max-width: min(95%, var(--section-max-width));
        padding: 22px 30px;
    }

    .selling-cta-content {
        max-width: 70%;
    }

    .selling-cta-label {
        left: 20px;
    }

    .selling-cta-label p {
        font-size: 10px;
        padding: 6px 12px;
        border-radius: 10px;
    }

    .selling-cta-title {
        font-size: 22px;
        margin-bottom: 12px;
        width: 90%;
    }

    .selling-cta-description {
        margin-bottom: 18px;
    }

    .selling-cta-button {
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 14px;
    }

    .selling-cta-image {
        width: 30%;
        height: 200px;
        margin-right: -30px;
    }

    .selling-cta-image .cta-img {
        width: 95px;
        height: 95px;
        border-radius: 8px;
    }

    .selling-cta-image .img-1 {
        right: 35%;
        top: 0%;
    }

    .selling-cta-image .img-2 {
        right: 50%;
        top: 70%;
    }

    .selling-cta-image .img-3 {
        right: 10%;
        top: 50%;
    }

    .selling-cta-image .img-4 {
        right: -8%;
        top: -10%;
    }
}

@media (max-width: 768px) {
    .selling-cta-container {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        overflow: visible;
        max-width: min(100%, var(--section-max-width));
    }

    .selling-cta-label {
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
    }

    .selling-cta-label p {
        font-size: 12px;
        padding: 5px 10px;
    }

    .selling-cta-content {
        max-width: 100%;
        margin-bottom: 25px;
    }

    .selling-cta-title {
        width: 100%;
        margin: 0 auto 15px;
    }

    .selling-cta-description {
        font-size: 13px;
        width: 80%;
        margin: 0 auto 15px;
    }

    .selling-cta-button {
        font-size: 13px;
        padding: 10px 20px;
        border-radius: 14px;
    }

    .selling-cta-image {
        width: 100%;
        justify-content: center;
        margin-right: 0;
        height: 100px;
        margin-bottom: -60px;
    }

    .selling-cta-image .img-1 {
        margin-right: 30%;
        top: -20%;
    }

    .selling-cta-image .img-2 {
        margin-right: 35%;
        top: -80%;
    }

    .selling-cta-image .img-3 {
        margin-right: -10%;
        top: -20%;
    }

    .selling-cta-image .img-4 {
        margin-right: 30%;
        top: -60%;
    }

    .selling-cta-image .cta-img {
        width: 85px;
        height: 85px;
    }
}

@media (max-width: 480px) {
    .selling-cta {
        padding: 30px 0;
    }

    .selling-cta-container {
        padding: 25px 15px;
        border-radius: 10px;
        max-width: 95%;
    }

    .selling-cta-label {
        top: -10px;
    }

    .selling-cta-label p {
        font-size: 8px;
        padding: 4px 8px;
        border-radius: 8px;
    }

    .selling-cta-content {
        margin-bottom: 20px;
    }

    .selling-cta-title {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .selling-cta-description {
        font-size: 11px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .selling-cta-description:first-of-type {
        display: none;
    }

    .selling-cta-button {
        font-size: 10px;
        padding: 8px 16px;
        border-radius: 10px;
    }

    .selling-cta-image {
        height: 60px;
        margin-bottom: -40px;
    }

    .selling-cta-image .img-1 {
        margin-left: -10px;
        top: -10px;
    }

    .selling-cta-image .img-2 {
        margin-left: -110px;
        top: -80px;
    }

    .selling-cta-image .img-3 {
        margin-left: 55px;
        top: -60px;
    }

    .selling-cta-image .img-4 {
        margin-left: -65px;
        top: -5px;
    }

    .selling-cta-image .cta-img {
        width: 70px;
        height: 70px;
        border-radius: 6px;
    }
}

/* --- Selling CTA Section End --- */


/* --- Reviews Section Start --- */
.reviews-section {
    padding: 30px 0;
    overflow: hidden;
}

.reviews-container {
    max-width: min(90%, var(--section-max-width));
    margin: 0 auto;
}

.reviews-sliding-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reviews-row {
    position: relative;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent 0%, white 5%, white 95%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, white 5%, white 95%, transparent 100%);
}

.reviews-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: calc(420px * 6);
    /* 3 reviews * 2 (for loop) * 420px width */
}

.reviews-row-1 .reviews-track {
    animation: scroll-reviews-left 30s linear infinite;
}

.reviews-row-2 .reviews-track {
    animation: scroll-reviews-right 35s linear infinite;
}

@keyframes scroll-reviews-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-420px * 3));
        /* Move by width of 3 reviews */
    }
}

@keyframes scroll-reviews-right {
    0% {
        transform: translateX(calc(-420px * 3));
        /* Start from moved position */
    }

    100% {
        transform: translateX(0);
        /* Move back to start */
    }
}

.reviews-sliding-container:hover .reviews-track {
    animation-play-state: paused;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    position: relative;
    width: 400px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    white-space: normal;
}

.review-card .review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.review-card .review-stars i {
    color: #ffa726;
    font-size: 13px;
}

.review-card .review-content {
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 12px 0;
    font-style: italic;
    flex-grow: 1;
    position: relative;
}

.review-card .review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.review-card .review-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color, #6907c5), #a71c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-card .review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.review-card .avatar-fallback {
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.review-card .review-info {
    flex-grow: 1;
    min-width: 0;
}

.review-card .reviewer-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card .review-label {
    font-size: 8px;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-card .review-label::after {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    border: 1.5px solid #00b609;
    border-radius: 50%;
    font-size: 6px;
    font-weight: bold;
    color: #00b609;
    background: transparent;
}

@media (max-width: 992px) {
    .reviews-section {
        padding: 20px 0 40px;
    }

    .review-card {
        width: 350px;
        min-height: 150px;
        padding: 18px;
    }

    .review-card .review-content {
        font-size: 12px;
    }

    .review-card .reviewer-name {
        font-size: 13px;
    }

    .reviews-track {
        width: calc(370px * 6);
    }

    .reviews-row-1 .reviews-track {
        animation: scroll-reviews-left-tablet 25s linear infinite;
    }

    .reviews-row-2 .reviews-track {
        animation: scroll-reviews-right-tablet 30s linear infinite;
    }

    @keyframes scroll-reviews-left-tablet {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-370px * 3));
        }
    }

    @keyframes scroll-reviews-right-tablet {
        0% {
            transform: translateX(calc(-370px * 3));
        }

        100% {
            transform: translateX(0);
        }
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 20px 0 40px;
    }

    .review-card {
        width: 300px;
        min-height: 140px;
        padding: 16px;
    }

    .review-card .review-content {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .review-card .reviewer-name {
        font-size: 12px;
    }

    .review-card .review-avatar {
        width: 32px;
        height: 32px;
    }

    .reviews-track {
        width: calc(320px * 6);
    }

    .reviews-row-1 .reviews-track {
        animation: scroll-reviews-left-mobile 20s linear infinite;
    }

    .reviews-row-2 .reviews-track {
        animation: scroll-reviews-right-mobile 25s linear infinite;
    }

    @keyframes scroll-reviews-left-mobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-320px * 3));
        }
    }

    @keyframes scroll-reviews-right-mobile {
        0% {
            transform: translateX(calc(-320px * 3));
        }

        100% {
            transform: translateX(0);
        }
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 10px 0 20px;
    }

    .review-card {
        width: 280px;
        min-height: 130px;
        padding: 14px;
    }

    .review-card .review-stars {
        margin-bottom: 6px;
    }

    .review-card .review-stars i,
    .review-card .reviewer-name {
        font-size: 9px;
    }

    .review-card .review-content {
        margin-bottom: 6px !important;
        font-size: 9px;
    }

    .review-card .review-avatar {
        width: 24px;
        height: 24px;
    }

    .reviews-track {
        width: calc(300px * 6);
    }

    .reviews-row-1 .reviews-track {
        animation: scroll-reviews-left-small 18s linear infinite;
    }

    .reviews-row-2 .reviews-track {
        animation: scroll-reviews-right-small 22s linear infinite;
    }

    .review-card .review-label {
        font-size: 7px;
    }

    .review-card .review-label::after {
        width: 9px;
        height: 9px;
        font-size: 6px;
        border-width: 1px;
        padding-left: 1px;
    }

    @keyframes scroll-reviews-left-small {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-300px * 3));
        }
    }

    @keyframes scroll-reviews-right-small {
        0% {
            transform: translateX(calc(-300px * 3));
        }

        100% {
            transform: translateX(0);
        }
    }
}

/* --- Reviews Section End --- */