/* Partially Generated by Copilot */
/* Ideal Role Page Specific Styles */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent sections from hiding behind fixed header */
section {
    scroll-margin-top: 400px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile menu toggle button - hidden by default */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Quick Navigation */
.quick-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 0 20px;
}

.quick-nav-toggle {
    display: none !important;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Courier Prime', 'Source Code Pro', monospace;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.quick-nav-toggle:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.quick-nav-toggle svg {
    transition: transform 0.3s ease;
}

.quick-nav-toggle.active svg {
    transform: rotate(180deg);
}

.quick-nav-items {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-nav-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    display: inline-block;
}

.quick-nav-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.tagline {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Scrollable Content */
.scrollable-content {
    margin-top: 0;
}

/* Section Styles */
.role-section {
    padding: 60px 20px;
    background-color: white;
}

.role-section.alt-bg {
    background-color: var(--light-bg);
}

.role-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.role-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.role-section h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    margin-top: 20px;
}

/* Content Blocks */
.content-block {
    max-width: 1000px;
    margin: 0 auto;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.vision-statement {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 5px solid var(--secondary-color);
}

.vision-statement p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.vision-statement p:last-child {
    margin-bottom: 0;
}

.key-insight {
    background-color: var(--dark-bg);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    border-left: 5px solid var(--secondary-color);
}

.key-insight a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.key-insight a:hover {
    color: white;
}

/* Grid Layouts */
.opportunity-grid,
.responsibilities-grid,
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.opportunity-card,
.responsibility-card,
.requirement-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.alt-bg .opportunity-card,
.alt-bg .responsibility-card,
.alt-bg .requirement-card {
    background-color: white;
}

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

.opportunity-card h3,
.responsibility-card h3,
.requirement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.opportunity-card p,
.responsibility-card p,
.requirement-card p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.opportunity-card p:last-child,
.responsibility-card p:last-child,
.requirement-card p:last-child {
    margin-bottom: 0;
}

/* Deliverables List */
.deliverables {
    margin-top: 20px;
    padding-left: 20px;
}

.deliverables li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.timeline-marker .year {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.timeline-content {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--secondary-color);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-content .objective {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.timeline-content .key-result,
.timeline-content .accelerator,
.timeline-content .my-role {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 5px;
}

.timeline-content .accelerator {
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.1), rgba(226, 92, 4, 0.1));
    border-left: 4px solid var(--secondary-color);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    line-height: 1.8;
}

/* Call to Action Section */
.role-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    color: white;
    text-align: center;
}

.role-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
}

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

.cta-content .lead {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 20px;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.value-list li {
    font-size: 1.2rem;
    padding: 15px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border-left: 4px solid var(--secondary-color);
}

.closing {
    font-size: 1.2rem;
    margin: 30px 0;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile menu toggle visible on mobile */
    .mobile-menu-toggle {
        display: block !important;
    }

    /* Hide main nav by default on mobile */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        transition: left 0.3s ease;
        z-index: 999;
        padding-top: 60px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        color: white;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Quick Navigation Mobile */
    .quick-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .quick-nav-toggle {
        display: flex !important;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .quick-nav-items {
        display: none;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 10px;
    }

    .quick-nav-items.active {
        display: flex;
    }

    .quick-nav-btn {
        width: 100%;
        text-align: center;
    }

    /* Header adjustments */
    header h1 {
        font-size: 1.8rem;
    }

    header h2 {
        font-size: 1.2rem;
    }

    /* Section adjustments */
    .role-section {
        padding: 40px 15px;
    }

    .role-section h2 {
        font-size: 1.8rem;
    }

    .role-section h3 {
        font-size: 1.4rem;
    }

    .lead,
    .intro-text {
        font-size: 1.1rem;
    }

    /* Timeline mobile layout */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 80px;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }

    .timeline-marker .year {
        font-size: 1.2rem;
    }

    .timeline-content {
        width: 100%;
    }

    /* Grid adjustments */
    .opportunity-grid,
    .responsibilities-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    /* Button adjustments */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    header h2 {
        font-size: 1rem;
    }

    .role-section h2 {
        font-size: 1.5rem;
    }

    .lead,
    .intro-text {
        font-size: 1rem;
    }
}
