@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&family=Poppins:wght@400;500&family=DM+Sans:wght@500&display=swap');

body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    overflow-x: hidden; 
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
    align-items: center;
    padding-left: 10%;
    animation-name: fade;
    animation-duration: 1.5s;
}

.slide.active-slide {
    display: flex;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.caption-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.text-box {
    position: relative;
    color: #FFFFFF;
    padding: 10px 50px 15px 30px;
    width: fit-content;
    z-index: 1;
    margin: 0;
}

.text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 2px;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
}

.text-box.orange {
    font-size: 52px;
    font-weight: 600;
}

.text-box.orange::before {
    background: #F1840F;
    filter: blur(3.5px);
}

.text-box.green {
    font-size: 42px;
    font-weight: 400;
    padding-right: 70px;
    margin-left: 0;
}

.text-box.green::before {
    background: #48B770;
    filter: blur(3.5px);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    background-color: rgba(241, 132, 15, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(241, 132, 15, 1);
}

.nav-btn.prev { left: 30px; }
.nav-btn.next { right: 30px; }

.dots-container {
    display: flex;
    justify-content: center; 
    gap: 10px;
    padding-top: 20px;       
    padding-bottom: 20px;    
    width: 100%;
    background-color: #fff;  
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #E6E6E6; 
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #C4C4C4;
}



.products-page-section {
    padding: 80px 0;
    max-width: 1240px;
    margin: 0 auto;
}

.products-container {
    padding: 0 20px;
}

.products-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #333333;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.product-card {
    background: #FFFFFF;
    border: 0.88px solid #ADADAD;
    border-radius: 8.9px;
    height: 336px; 
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.product-link {
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.product-footer {
    padding: 0 20px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #050B20;
}

.product-arrow {
    width: 29px;
    height: 29px;
    border: 2px solid #D19357;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.product-card:hover .product-arrow {
    background-color: #D19357;
}

.product-card:hover .product-arrow svg {
    stroke: #FFFFFF;
}

@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .products-main-title { font-size: 30px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}



.references-section {
    padding: 60px 0;
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
}

.references-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 30px 20px;
}

.references-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.references-more {
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}
.references-more:hover { color: #37BA77; }

.references-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 20px;
    scrollbar-width: none;
}

.references-track::-webkit-scrollbar { display: none; }

.reference-card {
    flex: 0 0 200px;
    height: 191px;
    border: 1px solid #E9E9E9;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
}

.ref-logo-box {
    height: 100px;
    display: flex;
    align-items: center;
}

.ref-logo-box img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
}

@media (max-width: 1250px) {
    .home-info-wrapper { flex-wrap: wrap; }
    .container-fluid-custom { padding: 0 40px; }
    .prev-prod { left: 10px; }
    .next-prod { right: 10px; }
}



@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px;
    }

    .slider-container {
        height: 450px; 
    }

    .text-box {
        font-size: 32px; 
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    .products-main-title, .references-title {
        font-size: 30px;
        text-align: center;
    }

    .references-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .slider-container {
        height: 350px;
    }

    .caption-wrapper {
        left: 5%;
        bottom: 15%;
    }

    .text-box {
        font-size: 24px;
        line-height: 1.2;
    }

    .product-card {
        height: auto; 
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr; 
    }

    .slider-container {
        height: 280px;
    }

    .text-box {
        font-size: 18px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .product-title {
        font-size: 18px;
    }

    .reference-card {
        flex: 0 0 140px; 
        height: 150px;
    }

    .product-image-wrapper img {
        max-height: 160px;
    }

    .product-card {
        min-height: 280px;
    }
}