/* Import main color variables */
:root {
    /* CyberTide brand colors */
    --primary-color: #F29061;    /* Orange */
    --accent-color: #676873;     /* Grey */
    --heading-color: #1A1A1A;
    --text-dark: #2C3E50;
    --primary-rgb: 242, 144, 97;  /* RGB values for #F29061 */
    --accent-rgb: 103, 104, 115;  /* RGB values for #676873 */
    --secondary-color: #6B7280;
    --dark-color: #1F2937;
}

/* Job Position Page Specific Styles */
.job-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 100px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.job-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.1;
}

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

.job-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--primary-rgb), 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.job-meta span:hover {
    transform: translateY(-2px);
    background: rgba(var(--primary-rgb), 0.2);
}

.job-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
    line-height: 1.2;
}

.job-intro {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Job Details Section */
.job-details-section {
    padding: 60px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.job-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-block {
    background: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-block h2 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Lists Styling */
.responsibility-list,
.requirements-list {
    list-style: none;
    padding: 0;
}

.responsibility-list li,
.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.6;
    padding-left: 8px;
}

.responsibility-list i,
.requirements-list i {
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: white;
    border-color: var(--primary-color);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.1);
}

.benefit-card h3 {
    margin-bottom: 8px;
    color: var(--heading-color);
    font-size: 1.1rem;
}

/* Sidebar Styling */
.job-sidebar {
    position: sticky;
    top: 100px;
}

.apply-card,
.company-card {
    background: white;
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.apply-card {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom right, white, rgba(var(--primary-rgb), 0.05));
}

.apply-card h3,
.company-card h3 {
    margin-bottom: 16px;
    color: var(--heading-color);
    font-size: 1.3rem;
}

.btn-block {
    width: 100%;
    margin: 16px 0;
    padding: 12px 24px;
    font-size: 1.1rem;
}

/* Share Links */
.share-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-share {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.share-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.share-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Company Highlights */
.company-highlights {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.company-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.company-highlights li:hover {
    background-color: #f8f9fa;
}

.company-highlights i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .job-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .job-sidebar {
        position: static;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .job-hero {
        padding: 80px 0 60px;
    }
    
    .job-hero h1 {
        font-size: 2rem;
    }
    
    .job-meta {
        gap: 12px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .content-block {
        padding: 24px;
    }
    
    .content-block h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .job-hero h1 {
        font-size: 1.75rem;
    }
    
    .job-meta span {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .job-intro {
        font-size: 1rem;
    }
    
    .content-block {
        padding: 20px;
    }
}

/* Benefits Section Styling */
.benefits-section {
    background: white;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.1);
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.benefit-content {
    flex-grow: 1;
}

.benefit-content h3 {
    color: var(--heading-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

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

/* About Section Styling */
.about-section {
    background: white;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    padding: 20px;
    background: rgba(var(--accent-rgb), 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.about-role {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.about-cta {
    margin-top: 24px;
    padding: 24px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 12px;
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-action .btn {
    padding: 12px 32px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.cta-action .btn i {
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .benefit-icon {
        width: 56px;
        height: 56px;
    }

    .benefit-content h3 {
        font-size: 1.1rem;
    }

    .about-description {
        font-size: 1rem;
        padding: 16px;
    }

    .cta-text {
        font-size: 1.1rem;
    }

    .cta-action .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .benefit-item {
        padding: 16px;
    }

    .about-cta {
        padding: 16px;
    }

    .cta-action .btn {
        font-size: 1rem;
        padding: 10px 24px;
    }
} 