/* =====================================================
   PORTFOLIO SECTION
===================================================== */

.products-section {
    background: #f6f8fc;
    padding: 90px 0 !important;
}


/* =====================================================
   SECTION HEADER
===================================================== */

.products-subtitle {
    display: inline-block;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}


.products-title {
    font-size: 42px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}


.products-title span {
    color: #e67a00;
}


.products-description {
    max-width: 720px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   PORTFOLIO CARD
===================================================== */

.product-card {
    height: 100%;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}


.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}


/* =====================================================
   PROJECT IMAGE
===================================================== */

.product-image {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #eef2f7;
}


.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.06);
}


/* =====================================================
   PROJECT CATEGORY
===================================================== */

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 13px;
    background: rgba(13, 110, 253, 0.95);
    color: #ffffff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}


/* =====================================================
   PROJECT CONTENT
===================================================== */

.product-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


.product-content h3 {
    font-size: 21px;
    font-weight: 700;
    color: #037fcb;
    margin-bottom: 12px;
}


.product-content p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
    text-align: justify;
}


/* =====================================================
   VIEW PROJECT BUTTON
===================================================== */

.product-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;

    color: #f08000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}


.product-btn i {
    transition: transform 0.3s ease;
}


.product-btn:hover {
    color: #084298;
}


.product-btn:hover i {
    transform: translateX(5px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .products-section {
        padding: 70px 0 !important;
    }


    .products-title {
        font-size: 36px;
    }


    .product-image {
        height: 210px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .products-section {
        padding: 55px 15px !important;
    }


    .products-subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
    }


    .products-title {
        font-size: 30px;
        line-height: 1.25;
    }


    .products-description {
        font-size: 14px;
        line-height: 1.7;
    }


    .product-image {
        height: 220px;
    }


    .product-content {
        padding: 20px;
    }


    .product-content h3 {
        font-size: 19px;
    }


    .product-content p {
        font-size: 14px;
        
    }
     .product-content p {
    text-align: justify;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .products-section {
        padding: 45px 12px !important;
    }


    .products-title {
        font-size: 27px;
    }


    .product-image {
        height: 195px;
    }


    .product-content {
        padding: 18px;
    }

}


