/* Career Page Enhancements */

/* Banner Video Background */
.banner-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
    filter: brightness(0.6);
    /* Performance optimizations */
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#hap-banner {
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

#hap-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%),
        rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

#hap-banner .container {
    position: relative;
    z-index: 1;
}

/* Mobile hero section adjustment */
@media (max-width: 768px) {
    #hap-banner {
        margin-top: -50px;
        padding-top: 100px;
    }
    .hap-banner-content {
        padding-top: 20px;
    }
}

/* Benefits Section Font Size Overrides - Using About Page Font Style */
.benefits-section .plan-price-title h4 {
    font-size: clamp(10px, 2vw, 14px) !important;
    margin-bottom: 3px !important;
    font-family: 'RecoletaAlt', serif !important;
    font-weight: 600 !important;
    line-height: 1.143 !important;
}

/* Benefits List Items Font Style */
.benefits-section .hap-pricing-list-area ul li {
    font-family: 'RecoletaAlt', serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    color: #333333 !important;
    padding-left: 25px !important;
    margin-left: 15px !important;
}

/* Remove bullet points/icons from benefits list */
.benefits-section .hap-pricing-list-area li:before {
    display: none !important;
}

/* Blog section white background */
.hap-blog-section {
    background-color: white !important;
    padding: 80px 0 !important;
}

/* Topic section white background */
.hap-topic-section {
    background-color: white !important;
    padding: 80px 0 !important;
}

/* About Section - White Background with Dark Text */
.hap-about-section {
    background-color: white !important;
}

/* Make text dark in about section */
.hap-about-section .hap-about-text-area p {
    color: #333333 !important;
}

.hap-about-section .hap-section-title p {
    color: #333333 !important;
}

/* Sponsor Section Positioning - Move section down with increased padding */
.hap-sponsor-section {
    background-color: white !important;
    padding-top: 5px !important;
    margin-top: 5px !important;
}

/* Additional spacing for better visual separation */
.hap-sponsor-content {
    margin-top: -100px !important;
}

/* Portfolio Section - White Background */
.hap-portfolio-section {
    background-color: white !important;
    padding: 80px 0 !important;
}

/* Counter Section - White Background */
.hap-counter-section {
    background-color: white !important;
    padding: 80px 0 !important;
}

/* Blog Section - White Background */
.hap-blog-section {
    background-color: white !important;
    padding: 80px 0 !important;
}

/* Benefits Section Font Size Overrides - Using About Page Font Style */
.benefits-section .plan-price-title h4 {
    font-size: clamp(10px, 2vw, 14px) !important;
    margin-bottom: 3px !important;
    font-family: 'RecoletaAlt', serif !important;
    font-weight: 600 !important;
    line-height: 1.143 !important;
}

/* Benefits List Items Font Style */
.benefits-section .hap-pricing-list-area ul li {
    font-family: 'RecoletaAlt', serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    color: #333333 !important;
}

.benefits-section .plan-price-title span {
    font-size: clamp(8px, 1.5vw, 10px) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.benefits-section .price-plan-title h3 {
    font-size: clamp(12px, 2.5vw, 16px) !important;
    margin-bottom: 5px !important;
    font-family: 'RecoletaAlt', serif !important;
    font-weight: 700 !important;
    line-height: 1.143 !important;
}

.benefits-section .price-plan-title span {
    font-size: clamp(9px, 1.8vw, 11px) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.579 !important;
}

.benefits-section .hap-pricing-list-area ul {
    font-size: clamp(9px, 1.5vw, 11px) !important;
    line-height: 1.579 !important;
    margin-bottom: 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
}

.benefits-section .hap-pricing-list-area ul li {
    margin-bottom: 6px !important;
    padding-left: 3px !important;
}

.benefits-section .hap-btn {
    font-size: clamp(8px, 1.2vw, 10px) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.benefits-section .hap-btn a {
    padding: 6px 14px !important;
    display: inline-block !important;
}

/* Job Cards Styling */
.job-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
}

.job-card h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.job-card .job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-card .job-meta span {
    background: rgba(32, 42, 181, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #202ab5;
    font-weight: 500;
}

.job-card .job-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.job-card .apply-btn {
    background: linear-gradient(135deg, #202ab5, #4f46e5);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.job-card .apply-btn:hover {
    background: linear-gradient(135deg, #1e40af, #3730a3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 42, 181, 0.4);
    color: white;
}

/* Benefits Cards */
.benefits-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.benefits-card .benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #202ab5, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.benefits-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefits-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Culture Section */
.culture-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #202ab5, #4f46e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.culture-card h4 {
    text-align: center;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.culture-card p {
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Application Process */
.process-step {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #202ab5, #4f46e5);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #202ab5, #4f46e5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
}

.process-step h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.process-step p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-card .job-meta {
        gap: 10px;
    }
    
    .job-card .job-meta span {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .culture-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .benefits-card .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .hap-sponsor-section {
        padding-top: 60px !important;
        margin-top: 40px !important;
    }
    
    .hap-sponsor-content {
        margin-top: -60px !important;
    }
}

@media (max-width: 576px) {
    .job-card, .benefits-card, .process-step {
        padding: 20px;
    }
    
    .culture-card {
        padding: 30px 20px;
    }
}
