/* =============================================
   BROWSE SERVICES PAGE STYLES
   ============================================= */

/* ---- Services Hero ---- */
.browse-services-hero-wrapper {
    padding: 30px 20px 42px;
    text-align: center;
    max-width: 1240px;
    margin: 0 auto;
}

.browse-services-hero-bg {
    background: url('../assets/browse-services/browse-service-bg.png') center/cover no-repeat;
    border-radius: 30px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.browse-services-hero-content {
    background-color: #FFFFFFCC;
    max-width: 800px;
    /* width: 100%; */
    padding: 40px 50px;
    transition: all 0.3s ease;
}


.browse-services-hero-content:hover {
    background-color: white;
    border-radius: 12px;
}

.browse-services-pill {
    display: inline-block;
    background-color: #EDF7FF;
    color: #0065B3;
    font-size: 17px;
    padding: 8px 30px;
    border-radius: 25px;
    margin-bottom: 24px;
    font-family: 'Jaldi', sans-serif;
    transition: all 0.3s ease;
}

.browse-services-pill:hover {
    background-color: #0065B3;
    color: #EDF7FF;
}

.browse-services-hero-content h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: bold;
    color: #000;
    margin-bottom: 16px;
    line-height: 1.02;
}

.browse-services-hero-content p {
    font-size: 20px;
    color: black;
    line-height: 1.31;
    max-width: 580px;
    margin: 0 auto;
}

/* ---- Services Grid ---- */
.browse-services-grid-container {
    max-width: 1160px;
    margin: 20px auto 80px;
    padding: 0 30px;
}

.browse-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ---- Service Card ---- */
.browse-service-card {
    background: #FFFFFF;
    border-radius: 27px;
    padding: 18px;
    box-shadow: 0px 0px 12px 0px #BDBDBD26;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
}

.browse-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 144, 255, 0.1);
    border-color: #0090FF;
}

/* Card Image */
.browse-service-card-image {
    width: 100%;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}

.browse-service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.browse-service-card:hover .browse-service-card-image img {
    transform: scale(1.05);
}

/* Card Body */
.browse-service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.browse-service-card-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: black;
    margin-bottom: 12px;
    line-height: 1;
}

.browse-service-desc {
    font-size: 16px;
    color: #000000;
    line-height: 1;
    margin-bottom: 24px;
}

/* Link Button */
.browse-view-details-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #0088FF;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
    margin-top: auto;
    transition: all 0.3s ease;
}

.browse-service-card:hover .browse-view-details-btn {
    gap: 10px;
    color: #EDF7FF;
    background-color: #0091ffa8;
    border-radius: 12px;
}


.browse-view-details-btn i {
    font-size: 16px;
}

/* =============================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .browse-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .browse-services-grid-container {
        padding: 0 24px;
    }
}

/* =============================================
   RESPONSIVE — Mobile (max 768px)
   ============================================= */
@media (max-width: 768px) {

    /* Hero */
    .browse-services-hero-wrapper {
        padding: 20px 16px;
    }

    .browse-services-hero-bg {
        min-height: 350px;
        padding: 30px 16px;
        border-radius: 20px;
    }

    .browse-services-hero-content {
        padding: 30px 20px;
    }

    .browse-services-pill {
        font-size: 13px;
        padding: 6px 20px;
        margin-bottom: 16px;
    }

    .browse-services-hero-content h1 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .browse-services-hero-content p {
        font-size: 15px;
    }

    /* Grid */
    .browse-services-grid-container {
        margin: 24px auto 50px;
        padding: 0 16px;
    }

    .browse-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .browse-service-card-image {
        height: 200px;
    }

    .browse-service-card-body h3 {
        font-size: 18px;
    }

    .browse-service-desc {
        font-size: 14px;
    }
}