/* Special body class for info pages */
body.info-page-body {
    padding-top: 0 !important;  /* Override any existing padding */
}

/* Info Page Layout */
.info-page {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.info-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.info-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.info-content h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.info-content h2 {
    color: #3498db;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.5rem;
}

.info-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.info-content ul, .info-content ol {
    color: #555;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.info-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.info-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s;
}

.info-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.info-content .text-muted {
    color: #7f8c8d !important;
}

.info-content section {
    margin-bottom: 2.5rem;
}

/* Sidebar Styling */
.info-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(69, 123, 157, 0.1);
}

.info-sidebar .nav-link {
    color: #2A2D34;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.info-sidebar .nav-link:hover {
    background-color: #E5F2F8;
    color: #457B9D;
    transform: translateX(5px);
}

.info-sidebar .nav-link.active {
    background-color: #457B9D;
    color: white;
    font-weight: 500;
}

/* Article Typography */
.info-content article {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Numbered Sections */
.numbered-section {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #457B9D;
}

.numbered-section h3 {
    color: #457B9D;
    margin-bottom: 1.25rem;
}

.numbered-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.numbered-section li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #4A4A4A;
}

.numbered-section li::before {
    content: "→";
    color: #88C8A4;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.numbered-section strong {
    font-size: 1.2rem;
    color: #5AA8B5;
    display: block;
    margin-bottom: 1rem;
}

/* FAQ Cards */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.faq-card {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 1.75rem;
    border-left: 4px solid #5AA8B5;
    transition: transform 0.2s ease;
}

.faq-card:hover {
    transform: translateY(-3px);
}

.faq-card h4 {
    color: #457B9D;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-card ul {
    list-style: none;
    padding: 0;
}

.faq-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: #4A4A4A;
}

.faq-card li::before {
    content: "•";
    color: #88C8A4;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.faq-card strong {
    font-size: 1.1rem;
    color: #457B9D;
    display: block;
    margin-bottom: 0.75rem;
}

/* Lead Text */
.lead {
    font-size: 1.25rem;
    color: #5AA8B5;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .info-page {
        grid-template-columns: 200px 1fr;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .info-page {
        margin-top: 4rem;  /* Slightly less space on mobile */
        padding: 0 1.5rem;
    }
    
    .info-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }
    
    .info-content {
        padding: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .info-content h1 {
        font-size: 1.8rem;
    }
    
    .info-content h2 {
        font-size: 1.3rem;
    }
}

.info-content section > p > strong {
    display: block;
    font-size: 1.4rem;
    color: #457B9D;
    margin: 3rem 0 1.5rem;
}

.numbered-section p > strong,
.principle-card p > strong,
.faq-card p > strong {
    display: block;
    font-size: 1.2rem;
    color: #5AA8B5;
    margin-bottom: 1rem;
}

/* Cards and Lists */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.principle-card {
    background: #F8F9FA;
    padding: 1.5rem;
    background: #F8F9FA;
    border-radius: 8px;
    border-left: 4px solid #457B9D;
    height: 100%;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-card {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #88C8A4;
    height: 100%;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li::before {
    content: "•";
    color: #88C8A4;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .principles-grid,
    .feature-cards {
        grid-template-columns: 1fr;
    }
}

/* Additional styling for the new elements */

/* FAQ Page */
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: #e3f2fd;
    color: #0d6efd;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* How It Works Page */
.process-timeline {
    position: relative;
    margin: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.5rem;
    width: 2px;
    background-color: #e9ecef;
    z-index: 0;
}

.process-step {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 5rem;
    height: 5rem;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.step-content {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #3498db;
}

.step-content h2 {
    margin-top: 0;
    color: #3498db;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.feature i {
    margin-right: 0.5rem;
    color: #3498db;
}

.security-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.security-features {
    list-style: none;
    padding-left: 0;
}

.security-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.security-features i {
    color: #3498db;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Values-Based Hiring Page */
.values-card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.values-card-header {
    background-color: #3498db;
    color: white;
    padding: 1.5rem;
}

.values-card-body {
    padding: 1.5rem;
}

.values-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.conclusion {
    font-style: italic;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid #3498db;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 1.5rem;
    }
    
    .process-step {
        padding-left: 3.5rem;
    }
    
    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }
    
    .step-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}