/* Career Page Styles */
:root {
    --career-gradient: linear-gradient(135deg, var(--primary-color), #990000);
    --card-hover-transform: translateY(-8px);
    --section-spacing: clamp(4rem, 8vw, 8rem);
    --card-border-radius: 15px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --card-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --header-height: 80px; /* Default header height */
}

/* Fix for header and section positioning */
html {
    scroll-padding-top: var(--header-height);
}

/* body {
    padding-top: var(--header-height);
} */

/* Ensure sections are visible when scrolling */
section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Hero Section */
.career-hero {
    background: var(--career-gradient);
    padding: calc(var(--section-spacing) * 1.2) 0;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin-top: -1px; /* Prevent gap between header and hero */
}

.career-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.15;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.career-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.career-hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--card-transition);
    min-width: 180px;
}

/* Why Join Us Section */
.why-join-section {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--card-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--career-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.15);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.benefit-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Open Positions Section */
.positions-section {
    padding: var(--section-spacing) 0;
    background-color: var(--surface-light);
    position: relative;
}

.positions-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.position-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--card-transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.position-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.position-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.position-type {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.position-details {
    margin-bottom: 1.5rem;
}

.position-details p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.position-details p i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.position-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.position-card .btn-link {
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    display: inline-block;
}

.position-card .btn {
    align-self: flex-start;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    transition: var(--card-transition);
    text-decoration: none;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    z-index: 10;
    position: relative;
    pointer-events: auto;
}

.position-card .btn:hover {
    background-color: #990000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.position-card .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

/* Application Process Section */
.process-section {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

/* Timeline connector line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25px; /* Adjust to match center of circles */
    width: 2px;
    background-color: var(--primary-color);
    z-index: 1;
}

.process-step {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--career-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.step-content {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.step-content h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .positions-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .career-hero {
        min-height: 50vh;
        padding: calc(var(--section-spacing) * 0.8) 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-step {
        padding-left: 60px;
    }
}

@media (max-width: 576px) {
    .career-hero h1 {
        font-size: 2.2rem;
    }
    
    .career-hero p {
        font-size: 1rem;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-timeline {
        padding: 2rem 1rem 2rem 0;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 1.5rem;
    }
    
    .step-content {
        padding: 1.2rem 1.5rem;
    }
    
    .step-content::before {
        top: 1rem;
    }
} 