/* ==============================
   Services Archive Page
   ============================== */
.services-archive-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    font-family: Helvetica, Arial, sans-serif;
}

/* ===== Heading + Description Section ===== */
.services-archive-section {
    background-color: #f5f5f5; /* gray background full width */
    padding: 10px 20px;
    text-align: left;
    margin-top: 120px;
    margin-button: 20px;
}

.services-archive-inner {
    max-width: 80%;
    margin: 0 auto;
}

.services-archive-title {
    margin-top: 60px;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
    text-align: left;
}

.services-archive-line {
    width: 100%;
    height: 1px;
    background-color: #007A09; /* green line */
    margin: 0 auto 10px auto; /* bottom space before description */
}

.services-archive-description {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    margin-bottom:20px
}


/* ===== Services Grid ===== */
.services-grid-wrapper {
    padding: 40px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* ===== Service Card ===== */
.service-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.service-thumb {
    position: relative;
}

.service-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 6px 6px 0 0;
}

/* Overlay Title on Image */
.service-title-overlay {
    position: absolute;
    bottom: -18px;;
    left: 10px;
    right:10px;
    background-color: #007A09;
    color: #fff;
    padding: 6px 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    font-family: HELVETICA;
}


/* Description below Image */
.service-description-box {
    padding: 15px 15px 10px;
    font-size: 14px;
    color: #333;
    flex-grow: 1;
}

/* Read More Button */
.read-more-wrap {
margin-top:40px;
    padding: 0 15px 15px;
}

.read-more-btn {
    display: inline-block;
    background-color: #fff;          /* White background */
    color: #007A09;                  /* Green text */
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #007A09;       /* Green border */
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #007A09;       /* Hover এ Green background */
    color: #fff;                     /* White text */
}
/* ===== Responsive ===== */
@media(max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .service-thumb img {
        height: 180px;
    }
    
    .services-archive-title {
        font-size: 32px;
    }

    .services-archive-description {
        font-size: 15px;
        padding: 15px 20px;
    }
}