/* Multi-Portal Tendering Services Page Styles */
:root {
    --primary: #00325F;
    --secondary: #FDB103;
    --text: #333333;
    --text-light: #6c757d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border: #e9ecef;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.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 */
.page-header {
    background-color: var(--light-bg);
    padding: 5rem 0 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.page-header .subtitle {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Section Styling */
.section {
    padding: 4rem 0;
}

/* Overview points list */
.points-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
    margin-top: 1.5rem;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.1rem 0;
}



.point-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1;
    margin-top: 2px;
}

.point-text {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro .lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.section-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Services Grid */
.services-grid {
    display: block; /* no grid */
    margin-top: 1rem;
}

/* Strong page-scoped overrides to defeat global grid/card styles */
.doc-page .services-grid {
    display: block !important;
    gap: 0 !important;
    margin-top: 1rem !important;
}

/* Ensure children in services grid have no card visuals */
.doc-page .services-grid > * {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.service-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: none;
    border: none;
    height: auto;
    display: block;
    margin: 0 0 1.25rem 0; /* simple stack spacing */
    text-align: left;
}

.doc-page .service-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    display: block !important;
    transform: none !important;
    text-align: left !important;
}

/* Neutralize grid column rules injected by media queries in global CSS */
.doc-page .services-grid { grid-template-columns: none !important; }
.doc-page .services-grid { display: block !important; }
.doc-page .service-card { align-items: normal !important; }

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

.service-icon {
    display: none; /* hide big circular icons for plain layout */
}
.doc-page .service-icon { display: none !important; }



.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.35rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary);
    text-align: left;
    position: static;
    padding-bottom: 0;
}

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

.service-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.service-content ul, .service-content ol {
    margin: 0 0 1rem 1.25rem;
    padding-left: 0;
}
.doc-page .service-content ul, .doc-page .service-content ol { list-style-position: outside !important; }

/* Overview documentation list (plain bullets) */
.doc-points {
    margin: 0 0 1.5rem 1.25rem;
    color: var(--text);
    line-height: 1.7;
}

.doc-points li {
    margin-bottom: 0.4rem;
}

/* Remove any decorative underlines/separators in this page */
.doc-page .section-title::after,
.doc-page .service-content h3::after,
.doc-page .service-details { border: 0 !important; box-shadow: none !important; background: transparent !important; }

.service-content li {
    margin-bottom: 0.4rem;
    position: static;
    line-height: 1.6;
    color: var(--text);
}

.service-content ul {
    list-style: disc;
}

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

.service-content ol {
    list-style: decimal;
    padding-left: 1.25rem;
}

.service-content ol > li {
    margin-bottom: 0.5rem;
}

.service-details {
    margin-top: 0.5rem;
    padding-top: 0;
    border-top: none;
}

.service-details h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #001f3f 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #ffc107;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 177, 3, 0.3);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .page-header .subtitle {
        font-size: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .points-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-intro .lead-text {
        font-size: 1.1rem;
    }
    
    .section-intro p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

/* Animations removed for plain documentation layout */
