/* Careers Page Styles */

/* Use consistent color variables from main style.css */
:root {
    --primary-color: #1B365D;
    --secondary-color: #2B4B7E;
    --accent-color: #E52233;
    --text-color: #333;
    --background-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --hover-bg: rgba(27, 54, 93, 0.1);
    --transition: all 0.3s ease;
    --shadow-light: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ===== GENERAL SECTION STYLES ===== */
.join-manilom,
.explore-opportunities,
.internship-section,
.internship-opportunities-section,
.internship-apply-section,
.application-process {
    padding: 100px 0;
}

/* Section Background Patterns */
.join-manilom {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
}

.explore-opportunities {
    background: white;
}

.internship-section {
    background: linear-gradient(135deg, #f1f3f4 0%, white 50%, #f8f9fa 100%);
    display: block;
}

.internship-opportunities-section {
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.internship-apply-section {
    background: white;
}

.application-process {
    background: var(--light-bg);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== CARD COMPONENTS ===== */
/* Base Card Styles */
.reason-card,
.benefit-card,
.process-step {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(27, 54, 93, 0.1);
    position: relative;
    overflow: hidden;
}

.reason-card::before,
.benefit-card::before,
.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reason-card:hover,
.benefit-card:hover,
.process-step:hover {
    box-shadow: var(--shadow-heavy);
}

.reason-card:hover::before,
.benefit-card:hover::before,
.process-step:hover::before {
    transform: scaleX(1);
}

/* ===== REASONS GRID (Why Choose Manilom) ===== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-card {
    padding: 40px 30px;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: var(--transition);
}

.reason-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
}

/* Icon backgrounds */
.innovation-icon::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.2 3-3.3 3-5.7 0-3.9-3.1-7-7-7z"/></svg>');
}

.ventures-icon::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
}

.collaboration-icon::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A1.5 1.5 0 0 0 18.54 7H16c-.8 0-1.54.37-2 1l-3 4v6h2v7h3v-7h4zM12.5 11.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5S11 9.17 11 10s.67 1.5 1.5 1.5zM5.5 6c1.11 0 2-.89 2-2s-.89-2-2-2-2 .89-2 2 .89 2 2 2zm1.5 1h-2C4.45 7 4 7.45 4 8v5.5c0 .28.22.5.5.5s.5-.22.5-.5V10l1.5 4v7h3v-7l1.5-4v3.5c0 .28.22.5.5.5s.5-.22.5-.5V8c0-.55-.45-1-1-1z"/></svg>');
}

.growth-icon::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z"/></svg>');
}

.impact-icon::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

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

.reason-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reason-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== INTERNSHIP BENEFITS GRID ===== */
.internship-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    padding: 35px 25px;
}

.benefit-card::before {
    height: 3px;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.benefit-icon i {
    font-size: 28px;
    color: white;
}

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

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== APPLICATION PROCESS GRID ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    padding: 40px 30px;
}

.process-step:hover {
    transform: translateY(-8px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* ===== CALL-TO-ACTION SECTIONS ===== */
/* Apply Section */
.apply-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.apply-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.apply-content {
    position: relative;
    z-index: 1;
}

.apply-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.apply-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Internship Information Sections */
.internship-opportunities,
.internship-apply {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.internship-opportunities:hover,
.internship-apply:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.internship-opportunities h3,
.internship-apply h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.internship-opportunities p,
.internship-apply p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

/* ===== INDEPENDENT INTERNSHIP SECTIONS ===== */
.internship-apply-section .apply-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.internship-apply-section .apply-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.internship-apply-section .apply-content {
    position: relative;
    z-index: 1;
}

.internship-apply-section .apply-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.internship-apply-section .apply-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
/* Base Button Styles */
.apply-button,
.internship-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apply-button::before,
.internship-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.apply-button:hover,
.internship-button:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.apply-button:hover::before,
.internship-button:hover::before {
    left: 100%;
}

/* Primary Button (Career Apply) */
.apply-button {
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.apply-button::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.apply-button:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
}

/* Secondary Button (Internship Apply) */
.internship-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 25px rgba(27, 54, 93, 0.2);
}

.internship-button:hover {
    box-shadow: 0 10px 25px rgba(27, 54, 93, 0.3);
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .reasons-grid,
    .internship-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* Section Padding */
    .join-manilom,
    .explore-opportunities,
    .internship-section,
    .internship-opportunities-section,
    .internship-apply-section,
    .application-process {
        padding: 60px 0;
    }
    
    /* Typography */
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Grid Layouts */
    .reasons-grid,
    .internship-benefits,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Card Padding */
    .reason-card,
    .benefit-card,
    .process-step {
        padding: 30px 20px;
    }
    
    /* CTA Sections */
    .apply-section,
    .internship-apply-section .apply-section {
        padding: 40px 20px;
        margin-top: 30px;
    }
    
    .apply-content h3,
    .internship-apply-section .apply-content h3 {
        font-size: 1.6rem;
    }
    
    .apply-content p,
    .internship-apply-section .apply-content p {
        font-size: 1rem;
    }
    
    .internship-opportunities,
    .internship-apply {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .internship-opportunities h3,
    .internship-apply h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    /* CTA Sections */
    .apply-section,
    .internship-apply-section .apply-section {
        border-radius: 15px;
        padding: 30px 15px;
    }
    
    /* Buttons */
    .apply-button,
    .internship-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Icons */
    .reason-icon {
        width: 70px;
        height: 70px;
    }
    
    .reason-icon::after {
        width: 35px;
        height: 35px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 24px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Typography */
    .benefit-card h3 {
        font-size: 1.2rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
} 