/* Apprentice Page Specific Styles */

/* Apprentice - Bold Statement */
#apprentice {
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
}

.apprentice-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 3vh;
}

.apprentice-title {
    font-size: clamp(2rem, 6vw, 4rem);
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    font-weight: 300;
}

.apprentice-title strong {
    font-weight: 900;
    font-size: 1.5em;
    display: block;
    color: var(--mint);
}

.apprentice-boxes {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 8vh 5vw 2vh;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.apprentice-hero-cta {
    display: flex;
    justify-content: center;
    padding: 0;
}

.apprentice-cta-bottom {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 0.5rem;
}

.apprentice-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-text);
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.apprentice-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--yellow);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.apprentice-button:hover .button-text {
    color: var(--yellow);
}

.apprentice-button .button-icon {
    font-size: 1.2em;
    font-weight: bold;
}

.apprentice-boxes .expertise-box {
    min-height: 280px;
}

/* Layout for main boxes and small boxes row */
.apprentice-boxes .main-box {
    width: 100%;
    margin-bottom: 0.5rem;
}

.small-boxes-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.small-boxes-row .small-box {
    flex: 1;
    min-height: 300px;
}

/* Apprenticeship emphasis colors matching box hover colors */
.expertise-box.program-structure .emphasis-word:hover {
    color: var(--coral);
}

.expertise-box.portfolio-building .emphasis-word:hover {
    color: var(--yellow);
}

.expertise-box.skill-building .emphasis-word:hover {
    color: var(--orange);
}

.expertise-box.who-are-you .emphasis-word:hover {
    color: var(--mint);
}

/* Mobile: Show emphasis colors without hover */
@media (max-width: 768px) {
    .expertise-box.program-structure .emphasis-word {
        color: var(--coral);
    }

    .expertise-box.portfolio-building .emphasis-word {
        color: var(--yellow);
    }

    .expertise-box.skill-building .emphasis-word {
        color: var(--orange);
    }

    .expertise-box.who-are-you .emphasis-word {
        color: var(--mint);
    }
}

/* Responsive layout for small boxes */
@media (max-width: 768px) {
    .small-boxes-row {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .small-boxes-row .small-box {
        min-height: 220px;
    }
}

.apprentice-boxes .expertise-content {
    padding: 3rem;
    min-height: 250px;
}

.apprentice-boxes .expertise-label {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.apprentice-boxes .expertise-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.apprentice-boxes .expertise-desc strong {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: rgba(242, 242, 242, 0.95);
}

.apprentice-boxes .expertise-desc strong:first-child {
    margin-top: 0;
}

/* Individual apprentice box accent colors */
.expertise-box.program-structure:hover .expertise-label {
    color: var(--coral);
}

.expertise-box.portfolio-building:hover .expertise-label {
    color: var(--yellow);
}

.expertise-box.skill-building:hover .expertise-label {
    color: var(--orange);
}

.expertise-box.who-are-you:hover .expertise-label {
    color: var(--mint);
}

/* Reuse existing expertise box styles */
.expertise-box {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-box:hover {
    transform: translateY(-10px) rotate(1deg);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-content {
    padding: 2rem;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expertise-label {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    color: var(--text);
    transform: rotate(-2deg);
    position: relative;
    z-index: 3;
}

.expertise-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Playful emphasis for key words */
.emphasis-word {
    font-weight: 700;
    font-style: italic;
    position: relative;
    transform: rotate(-1deg);
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.emphasis-word:hover {
    transform: rotate(1deg) scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .apprentice-boxes {
        display: block;
        padding: 5vh 5vw;
        gap: 2.5rem;
    }
    
    .apprentice-boxes .expertise-content {
        padding: 2rem;
        min-height: 220px;
    }
    
    .apprentice-boxes .expertise-label {
        font-size: clamp(1.4rem, 6vw, 2rem);
        letter-spacing: 2px;
    }
    
    .apprentice-hero-cta {
        padding: 0;
    }
    
    .apprentice-cta-bottom {
        padding: 0;
        margin-top: 0.5rem;
    }
    
    .apprentice-button {
        padding: 15px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .apprentice-boxes {
        gap: 2.5rem;
        padding: 6vh 4vw;
    }
    
    .apprentice-boxes .expertise-content {
        padding: 2.5rem;
        min-height: 230px;
    }
}