.home-page .hero-section {
    background-image: url("https://technical-soft.ir/wp-content/themes/techno/assets/بک گراند سربرگ صفحه اصلی.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home-page .hero-section .container {
    width: 100%;
    min-height: 60vh;
}
.home-page .hero-section .hero-content > * + * {
    margin-top: var(--spacing-xl);
}
.home-page .hero-section .logo {
    margin-right: var(--spacing-2xl);
    margin-bottom: var(--spacing-sm);
}
.home-page .hero-section .hero-content p:first-child {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: var(--deep-black);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.home-page .hero-section .hero-content p:last-child {
    font-size: var(--font-large);
    font-weight: 600;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.home-page .hero-section .hero-content h1 {
    font-size: var(--font-2xl);
    color: var(--sunset-orange);
    font-weight: 600;
    border: 1px solid var(--deep-black);
    width: max-content;
    margin: 0 auto;
    border-radius: 9999px;
    padding: 0;
    margin-top: var(--spacing-xs);
}
.home-page .products-section {
    background-image: url("https://technical-soft.ir/wp-content/themes/techno/assets/بک گراند بخش محصولات.png");
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% 55%;
    min-height: 30vh;
}

.home-page .products-section .product-header {
    width: max-content;
    margin: 0 auto;
    color: var(--white-main);
    margin-top: var(--spacing-2xl);
    font-size: var(--font-large);
    margin-bottom: var(--spacing-xl);
}
.home-page .products-section .product-header h2 {
    font-size: var(--font-2xl);
}

.home-page .products-section .product-button {
    width: max-content;
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background-color: #ffd9c2;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(-9%);
}
.home-page .products-section .product-button button {
    width: 45px;
    height: 45px;
    background-color: #f17121;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page .product-list {
    gap: var(--spacing-2xl);
}
.home-page .product-list .product-item {
    padding: var(--spacing-md);
    max-width: calc(100% / 3);
}
.home-page .product-list .product-item .product-item-header {
    position: relative;
}

.home-page .product-list .product-item .product-item-header img {
    width: 100%;
}

.home-page .product-list .product-item .product-item-header > div {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--deep-black);
    color: var(--white-main);
    font-size: 0.8em;
    font-weight: 600;
    transform: translate(50%, 50%);
    padding: var(--spacing-xxs) var(--spacing-sm);
    gap: 5px;
}

.home-page .product-list .product-item .product-item-content h3 {
    color: var(--deep-black);
    position: relative;
    font-size: var(--font-large);
    padding: var(--spacing-md) 0;
}
.home-page .product-list .product-item .product-item-content h3::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 2px;
    background-color: var(--very-light-gray);
}
.home-page .product-list .product-item .product-item-content h3::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 25%;
    height: 2px;
    background-color: var(--sunset-orange);
}
.home-page .product-list .product-item .product-item-content p {
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-base);
}
.home-page .product-list .product-item .product-item-footer {
    width: 50%;
}

.home-page .customers-section {
    padding-top: var(--spacing-3xl);
}

.home-page .customers-section h2 {
    font-size: var(--font-large);
    position: relative;
    padding: var(--spacing-xxs) var(--spacing-md);
    color: var(--deep-black);
}
.home-page .customers-section h2::before {
    position: absolute;
    content: "";
    position: absolute;
    width: 5px;
    background-color: var(--sunset-orange);
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    right: 0;
    border-radius: 9999px;
}

.home-page .customers-section .customers-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: var(--light-gray);
    border: 1px solid var(--light-gray);
    margin: var(--spacing-xl) 0;
}

.home-page .customers-section .customers-list > div {
    box-sizing: border-box;
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.home-page .customers-section .customers-list > div:hover {
    background-color: white;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--light-gray);
    z-index: 1;
}

.home-page .customers-section .customers-list > div img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.home-page .about-section {
    /* background-image: url("../../../assets/تصویر بخش درباره ما.png"); */
    /* background-image: url('https://technical-soft.ir/wp-content/themes/techno/assets/تصویر بخش درباره ما.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
}

.home-page .about-section .about-section-content {
    width: 50%;
}
.home-page .about-section .about-section-content h2 {
    font-size: var(--font-2xl);
}

.home-page .about-section .about-section-content > div:first-child {
    font-size: var(--font-large) !important;
    position: relative;
    color: var(--deep-black);
    padding: var(--spacing-xl) var(--spacing-md);
}

.home-page .about-section .about-section-content > div:first-child::before {
    position: absolute;
    content: "";
    position: absolute;
    width: 5px;
    background-color: var(--sunset-orange);
    height: 30px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 9999px;
}
.home-page .about-section .about-section-content > p {
    text-align: justify;
    font-size: var(--font-base);
}
.home-page .about-section .about-section-content > p:last-of-type {
    margin-bottom: var(--spacing-sm);
}
.home-page .about-section .about-section-footer {
    width: 30%;
    margin: var(--spacing-2xl) auto;
}

.home-page .about-section {
    margin-bottom: 10rem;
}

/* ================= Base Styles (Desktop) ================= */
.home-page .hero-section {
    background-image: url("https://technical-soft.ir/wp-content/themes/techno/assets/بک گراند سربرگ صفحه اصلی.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home-page .hero-section .container {
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.home-page .hero-section .hero-content > * + * {
    margin-top: var(--spacing-lg);
}
.home-page .hero-section .logo {
    margin-right: 0;
    margin-bottom: var(--spacing-md);
}
.home-page .hero-section .hero-content p:first-child,
.home-page .hero-section .hero-content p:last-child {
    font-size: var(--font-2xl);
    color: var(--deep-black);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.home-page .hero-section .hero-content p:last-child {
    font-size: var(--font-xl);
}
.home-page .hero-section .hero-content h1 {
    font-size: var(--font-xl);
    color: var(--sunset-orange);
    font-weight: 600;
    margin-top: var(--spacing-sm);
    padding: 5px 20px;
}

/* ================= Mobile: max-width 480px ================= */
@media screen and (max-width: 480px) {
    .home-page .hero-section {
        min-height: 40vh;
    }

    .home-page .products-section .product-button {
        width: 40px;
        height: 40px;
    }
    .home-page .products-section .product-button button {
        width: 30px;
        height: 30px;
    }
    .home-page .products-section .product-header {
        margin-top: var(--spacing-3xl);
    }
    .home-page .customers-section h2 {
        font-size: var(--font-2xl);
    }
    .home-page .products-section .product-header img {
        width: 40px;
    }

    .home-page .about-section {
        background-image: unset !important;
    }


    .home-page .customers-section img,
    .home-page .about-section .about-section-content > div:first-child img {
        width: 40px;
    }

    .home-page .products-section .product-list {
        flex-direction: column;
    }
    .home-page .product-list .product-item {
        max-width: 100%;
    }

    .home-page .customers-section h2 {
        font-size: var(--font-2xl);
    }
    .home-page .customers-section .customers-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .home-page .about-section .about-section-content {
        width: 100%;
    }

    .home-page .product-list .product-item .product-item-header img {
        width: 100%;
    }

    .home-page .about-section .about-section-content > img {
        width: 40%;
    }

    .home-page .about-section .about-section-footer {
        width: 90%;
        margin: var(--spacing-2xl) auto;
    }
}

/* ================= Tablet: 481px - 768px ================= */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .home-page .hero-section {
        background-size: cover;
        background-position: center;
    }
    .home-page .products-section .product-button {
        width: 40px;
        height: 40px;
    }
    .home-page .products-section .product-button button {
        width: 30px;
        height: 30px;
    }

    .home-page .products-section .product-header {
        margin-bottom: var(--spacing-lg);
    }

    .home-page .product-list .product-item {
        max-width: calc(100% / 1.9);
    }
    .home-page .customers-section img,
    .home-page .about-section .about-section-content > div:first-child img {
        width: 60px;
    }
    .home-page .customers-section .customers-list {
        grid-template-columns: repeat(7, 1fr);
    }

    .home-page .customers-section h2 {
        font-size: var(--font-2xl);
    }
    .home-page .customers-section .customers-list > div img {
        width: 60%;
    }

    .home-page .about-section .about-section-content {
        width: 65%;
    }

    .home-page .product-list .product-item .product-item-header img {
        width: 100%;
    }

    .home-page .about-section .about-section-content > img {
        width: 40%;
    }

    .home-page .about-section .about-section-footer {
        width: 50%;
        margin: var(--spacing-2xl) auto;
    }
}

/* ================= Small Desktop: 769px - 1024px ================= */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .home-page .products-section .product-header {
        margin-top: var(--spacing-md);
    }
    .home-page .products-section .product-header img {
        width: 40px;
    }

    .home-page .product-list .product-item .product-item-content p {
        font-size: var(--font-small);
    }

    .home-page .product-list .product-item {
        max-width: calc(100% / 2);
        border-radius: 20px;
    }

    .home-page .customers-section img,
    .home-page .about-section .about-section-content > div:first-child img {
        width: 50px;
    }

    .home-page .customers-section .customers-list {
        grid-template-columns: repeat(7, 1fr);
    }
    .home-page .about-section .about-section-content {
        width: 55%;
    }

    .home-page .product-list .product-item .product-item-footer button {
        font-size: var(--font-base);
        padding: var(--spacing-md);
    }

    .home-page .product-list .product-item .product-item-header img {
        width: 100%;
    }
    .home-page .about-section .about-section-content > img {
        width: 50%;
    }

    .home-page .about-section .about-section-footer {
        width: 50%;
        margin: var(--spacing-2xl) auto;
    }
}

@media screen and (max-width:768px) {
    .customers-list div:nth-child(7) {
    display: none !important;
}
}
