/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E6DBA;
    --secondary-color: #009CFF;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
    --card-bg: #ffffff;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    margin-top: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background-color: var(--secondary-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Subsidiaries Section */
.subsidiaries {
    padding: 6rem 2rem;
    background-color: var(--white);
    margin-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subsidiaries h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.subsidiaries .subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.2rem;
}

.subsidiary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.subsidiary-card {
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subsidiary-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
}

.learn-more:hover {
    color: var(--secondary-color);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.coming-soon {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Ensure anchor jumps reveal headings below fixed header + banner */
    scroll-margin-top: 110px;
}

/* Ensure first section clears fixed header + hiring banner on landing page */
.section:first-of-type {
    margin-top: 110px;
}

.section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section .subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.blue-subtitle {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.section .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section .content p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* AI Section */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.ai-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-right: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 109, 186, 0.1), transparent);
    transition: right 0.5s ease;
}

.ai-card:hover::before {
    right: 100%;
}

.ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-right-color: var(--secondary-color);
}

.ai-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.ai-card:hover .ai-icon {
    transform: scale(1.1) rotate(-5deg);
}

.ai-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Consulting Section */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.consulting-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.consulting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: var(--secondary-color);
}

.consulting-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.consulting-card:hover .consulting-icon {
    transform: scale(1.1);
}

.consulting-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Leadership Section */
.leadership-rotator {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.rotator-container {
    position: relative;
    width: 1000px;
    height: 800px;
    margin: 0 auto 2rem auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotator-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(.77,0,.18,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    text-align: center;
    box-sizing: border-box;
}

.rotator-block.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.block-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(46,109,186,0.08);
}

.rotator-block h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.rotator-block p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.rotator-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rotator-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rotator-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.rotator-indicator:hover {
    background-color: var(--secondary-color);
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact .subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Contact Page Styles */
.contact-page {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.contact-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-address {
    color: var(--text-color);
    font-style: normal;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.6;
}

.map-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.map-container {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-cta {
    text-align: center;
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 109, 186, 0.1);
}

.form-group.focused label {
    color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-button:hover:not(:disabled) {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 109, 186, 0.3);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    display: none;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section ul a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

        .contact-info-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header .subtitle {
        font-size: 1.1rem;
    }

    .contact-info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-icon {
        align-self: center;
    }

    .map-section {
        padding: 1.5rem;
    }

    .contact-cta {
        padding: 2rem 1.5rem;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .subsidiary-grid,
    .feature-grid,
    .consulting-grid,
    .leadership-rotator,
    .ai-grid {
        grid-template-columns: 1fr;
    }

    /* Slideshow responsive */
    .rotator-container {
        width: 95vw;
        max-width: 420px;
        height: 260px;
        border-radius: 0.5rem;
        padding: 0;
    }

    .rotator-block {
        padding: 1.5rem 0.5rem;
    }

    .block-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .rotator-block h4 {
        font-size: 1.1rem;
    }

    .rotator-block p {
        font-size: 0.95rem;
        max-width: 90vw;
    }

    /* Section responsive */
    .section {
        padding: 4rem 1rem;
        min-height: 80vh;
        scroll-margin-top: 130px;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section .subtitle {
        font-size: 1.1rem;
    }
}

/* Leadership Grid Section - match AI and Consulting cards */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.leadership-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.leadership-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.leadership-card:hover .leadership-icon {
    background: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.leadership-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
} 

/* Hiring banner */
.hiring-banner {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.hiring-banner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}

/* Job promotion teasers */
.job-promo {
    margin-top: 2rem;
}

.job-promo .promo-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.job-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.job-teaser-card {
    background-color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.job-teaser-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.job-teaser-card p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.job-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.job-promo .apply-line {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.job-promo .apply-line a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.job-promo .apply-line a:hover {
    text-decoration: underline;
}

/* Careers page grid/cards */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 2rem auto 0;
}

.job-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem 0.5rem 1.5rem;
}

.job-header h3 { color: var(--primary-color); }

.job-type {
    background: rgba(46,109,186,0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.job-details, .job-description {
    padding: 0 1.5rem 1rem 1.5rem;
}

.job-description h4 {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.job-description ul {
    padding-left: 1.25rem;
    color: var(--text-secondary);
}