/*--------------------------------------------------------------
# Services Page Header (Hero Banner)
--------------------------------------------------------------*/

.page-header {
    /* UPDATED: Changed from 100vh to 60vh */
    height: 60vh;
    min-height: 400px;
    /* Added a minimum height */
    position: relative;
    /* You can change this background image if you want */
    background: url('../images/3.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* REMOVED: margin-top: 70px; */
    /* This content now slides behind the navbar */
}

.page-header .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.7);
    /* Dark overlay */
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}


/*--------------------------------------------------------------
# Services Page Grid Card (Main Section)
--------------------------------------------------------------*/

.service-grid-card {
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    /* Makes all cards in a row the same height */
    display: flex;
    flex-direction: column;
    /* Arranges content vertically */
}

.service-grid-card .service-card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 60px;
    /* Creates the circle */
    height: 60px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-grid-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #000;
    transition: all 0.3s ease;
}

.service-grid-card p {
    font-size: 15px;
    flex-grow: 1;
    /* This is key: it pushes the 'Read More' link to the bottom */
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-grid-card .read-more {
    font-weight: 600;
    color: var(--primary-color);
}

.service-grid-card .read-more:hover {
    color: var(--secondary-color);
}


/* Active/Hover State */

.service-grid-card:hover,
.service-grid-card.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    transform: translateY(-10px);
}

.service-grid-card:hover h3,
.service-grid-card:hover p,
.service-grid-card.active h3,
.service-grid-card.active p {
    color: #fff;
}

.service-grid-card:hover .service-card-icon,
.service-grid-card.active .service-card-icon {
    color: var(--primary-color);
    background-color: #fff;
    border-color: #fff;
}

.service-grid-card:hover .read-more,
.service-grid-card.active .read-more {
    color: #fff;
}