﻿.cat-items-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
    /*  margin-left:15px; */
}

.cat-item {
    flex: 0 0 12.33%;
    padding: 0 5px;
    margin-bottom: 20px;
    text-align: center;
    background: white;
    margin-right: 8px;
}

    .cat-item .cat-icon {
        display: inline-block;
        padding: 15px;
    }

    .cat-item p {
        font-size: 10px;
    }

.category-card {
    border: 0.063rem solid #f1f2f3;
    -webkit-box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.04);
    box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.04);
    border-radius: 0.75rem;
    height: 145px;
}

.products-section {
    background: #c2ebed;
    padding: 70px 40px;
    text-align: center;
}

.products-title {
    color: #fff;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.products-line {
    width: 20%;
    height: 2px;
    background: #fff;
    margin: 0 auto 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.product-card {
    background: #fff;
    overflow: hidden;
}

.product-img {
    overflow: hidden;
}

    .product-img img {
        width: 100%;
        display: block;
        transition: transform 0.5s ease;
    }

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-content {
    padding: 18px;
    text-align: left;
}

    .product-content h3 {
        font-size: 15px;
        margin-bottom: 6px;
        color: #000;
    }

    .product-content p {
        font-size: 13px;
        color: #666;
        line-height: 1.5;
    }

.products-btn {
    margin-top: 40px;
}

    .products-btn a {
        display: inline-block;
        padding: 10px 28px;
        border: 1px solid #fff;
        color: #fff;
        text-decoration: none;
        font-size: 13px;
        letter-spacing: 1px;
        transition: 0.3s;
    }

        .products-btn a:hover {
            background: #fff;
            color: #ff6a3d;
        }

/* Responsive */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.news-section {
    padding: 70px 40px;
    background: #fff;
    text-align: center;
}

.news-title {
    font-size: 26px;
    color: #ff6a3d;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.news-line {
    width: 220px;
    height: 2px;
    background: #666;
    margin: 0 auto 50px;
}

.news-list {
    max-width: 1100px;
    margin: auto;
}

.news-card {
    display: flex;
    align-items: center;
    background: #fff;
    margin-bottom: 30px;
    transition: 0.4s ease;
    overflow: hidden;
}

    .news-card.reverse {
        flex-direction: row-reverse;
    }

    .news-card:hover {
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.news-img {
    flex: 0 0 45%;
    overflow: hidden;
}

    .news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.news-content {
    flex: 1;
    padding: 25px;
    text-align: left;
}

    .news-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #000;
    }

    .news-content p {
        font-size: 13px;
        color: #666;
        line-height: 1.6;
        max-height: 40px;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

/* Expand description on hover */
.news-card:hover .news-content p {
    max-height: 200px;
}

.news-btn {
    margin-top: 40px;
}

    .news-btn a {
        display: inline-block;
        padding: 10px 28px;
        border: 1px solid #ff6a3d;
        color: #ff6a3d;
        text-decoration: none;
        font-size: 13px;
        letter-spacing: 1px;
        transition: 0.3s;
    }

        .news-btn a:hover {
            background: #ff6a3d;
            color: #fff;
        }

/* Responsive */
@media (max-width: 768px) {
    .news-card,
    .news-card.reverse {
        flex-direction: column;
    }

    .news-img {
        width: 100%;
    }

    .news-content {
        text-align: center;
    }
}

.projects-section {
    padding: 80px 40px;
    background: linear-gradient(180deg, #abcacf, #c2ebed);
    text-align: center;
}

.projects-title {
    font-size: 26px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 10px;
}

.projects-line {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 60px;
}

.projects-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    transition: 0.4s ease;
}

    .project-card:hover {
        transform: translateY(-6px);
    }

.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .project-images img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        display: block;
    }

.project-info {
    background: #3b3b3d;
    padding: 16px 20px;
    color: #fff;
}

    .project-info h3 {
        font-size: 14px;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }

    .project-info p {
        font-size: 13px;
        color: #d0d0d0;
    }

/* wrap images properly */
.project-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: hidden;
}

.img-box {
    overflow: hidden;
}

    /* images */
    .img-box img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
    }

/* staggered zoom */
.project-card:hover .img-box:first-child img {
    transform: scale(1.12);
}

.project-card:hover .img-box:last-child img {
    transform: scale(1.07);
}

/* overlay */
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

    .project-overlay h4 {
        color: #fff;
        font-size: 18px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

/* show overlay on hover */
.project-card:hover .project-overlay {
    opacity: 1;
}

/* image zoom animation */
/* .project-images img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
 */
/* zoom on card hover */
/* .project-card:hover .project-images img {
        transform: scale(1.08);
    }

    .project-card:hover .project-images img {
        transform: scale(1.08);
        filter: brightness(0.95);
    } */


.projects-btn {
    margin-top: 50px;
}

    .projects-btn a {
        display: inline-block;
        padding: 10px 32px;
        border: 1px solid #fff;
        color: #fff;
        text-decoration: none;
        font-size: 13px;
        letter-spacing: 1px;
        transition: 0.3s;
    }

        .projects-btn a:hover {
            background: #fff;
            color: #1e2a3a;
        }

/* Responsive */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-images img {
        height: 220px;
    }
}



.about-section {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.about-title {
    font-size: 26px;
    letter-spacing: 2px;
    color: #ff6a3d;
    margin-bottom: 10px;
}

.about-line {
    width: 200px;
    height: 2px;
    background: #666;
    margin: 0 auto 60px;
}

.about-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Slider */
.about-slider {
    position: relative;
    height: 360px;
    overflow: hidden;
}

.about-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .about-img.active {
        opacity: 1;
        transform: scale(1);
    }

/* Content */
.about-content {
    text-align: left;
}

    .about-content h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: #000;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.7;
        color: #555;
        margin-bottom: 12px;
    }

/* Responsive */
@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-content {
        text-align: center;
    }

    .about-slider {
        height: 300px;
    }
}


.contact-section {
    padding: 60px 20px;
    background-color: #fff;
}

.section-title {
    text-align: center;
    color: #ff8c1a;
    margin-bottom: 40px;
    font-weight: 500;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.contact-form {
    flex: 1 1 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-form button {
        background-color: #ff8c1a;
        border: none;
        color: #fff;
        padding: 12px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 4px;
        transition: 0.3s;
    }

        .contact-form button:hover {
            background-color: #e67600;
        }



.contact-info {
    flex: 1 1 250px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.qr-code {
    margin-top: 15px;
}

    .qr-code img {
        width: 120px;
        height: 120px;
        object-fit: contain;
        border-radius: 6px;
    }

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
}
