/* GeM Services Page Styles */
/* Page Banner with Overlay */
.page-banner {
    position: relative;
    height: 400px; /* match premium banner height */
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 3rem; /* more breathing room */
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 50, 95, 0.7); /* Navy blue with 70% opacity */
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
}

.banner-content h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-content .page-subtitle {
    color: #fff;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.page-header {
    background-color: #f8f9fa;
    padding: 4rem 0 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: #00325F;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-head.service-icon {
    margin-bottom: 1.25rem;
    text-align: left;
    font-size: 2rem;
    color: #00325F;
    background: #f0f4f8;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.page-subtitle {
    color: #6c757d;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 4rem 0; /* consistent with premium spacing */
    background-color: #fff;
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center; /* center like multi-portal */
    padding: 0 1rem;
}

.section-intro .lead-text {
    color: #00325F;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-intro p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Services Grid */
.services-grid {
    display: block; /* switch to doc-style stack */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    background: transparent; /* plain document feel */
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
    border: none;
    height: auto;
    display: block;
    padding: 0; /* remove inner card padding */
    position: relative;
    z-index: 1;
    margin: 0 0 1.25rem 0; /* stacked spacing */
}

.service-card:hover {
    transform: none;
    box-shadow: none;
}

.service-icon { display: none; }

.service-card:hover .service-icon { display: none; }

.service-content {
    flex: 1;
    display: block;
    text-align: left;
    padding: 0;
}

.service-content h3 {
    color: #00325F;
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    position: static; /* no underline bar */
    padding-bottom: 0;
}

.service-content h3:after { content: none; }

.service-content p {
    color: #4a5568;
    margin: 0 0 1.25rem 0;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 0.95rem;
}

.service-content ul {
    list-style: disc; /* plain bullets */
    margin: 0 0 1rem 1.25rem;
    padding-left: 0;
}

.service-content li {
    color: #333;
    margin-bottom: 0.4rem;
    position: static;
    line-height: 1.6;
    padding-left: 0;
}

.service-content li:before { content: none; }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-intro .lead-text {
        font-size: 1.1rem;
    }
    
    .section-intro p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
