/* Careers Page Specific Styles */

/* Job Ads Section */
.job-ads {
    padding: 8rem 0 6rem 0;
    background: white;
    margin-top: 80px;
}

.job-ads .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.job-ads .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.job-ads .section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.job-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-ad-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 500px;
}

.job-ad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.job-ad-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.job-ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.job-ad-card:hover .job-ad-img {
    transform: scale(1.05);
}

.image-zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 174, 239, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.job-ad-card:hover .image-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.image-zoom-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.job-ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.job-ad-card:hover .job-ad-overlay {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.job-ad-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.job-ad-content .job-description {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.job-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-feature {
    background: linear-gradient(135deg, #00AEEF, #0099cc);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-ads-cta {
    text-align: center;
    margin-top: 3rem;
}

.job-ads-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin-bottom: 1rem;
}

.job-ads-note {
    color: #718096;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.close-modal:hover {
    color: #00AEEF;
}

.modal-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

.modal-title {
    color: white;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 600;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .job-ads-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0 !important;
    }
    
    .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    .nav-container {
        gap: 0.5rem;
    }
    
    .nav-logo {
        flex-shrink: 0;
    }
    
    .nav-logo .logo-img {
        width: 80px !important;
        height: auto !important;
    }
    
    .nav-toggle {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        background: transparent !important;
        flex-direction: row !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
        z-index: auto !important;
        display: flex !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        pointer-events: auto !important;
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
        color: #2d3748 !important;
        display: block !important;
        width: auto !important;
        text-align: center !important;
        text-decoration: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        transition: color 0.3s ease !important;
    }
    
    .nav-link:hover {
        color: #00AEEF !important;
        background: rgba(0, 174, 239, 0.1) !important;
    }
    
    .contact-btn {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.75rem;
        background: #00AEEF !important;
        color: white !important;
        border-radius: 20px !important;
        border: none !important;
    }
    
    .contact-btn:hover {
        background: #007fa3 !important;
    }
    
    /* Content responsive adjustments */
    .job-ads {
        padding: 4rem 0;
    }
    
    .job-ads .section-title {
        font-size: 2rem;
    }
    
    .job-ads-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-ad-card {
        height: 450px;
    }
    
    .job-ad-image {
        height: 300px;
    }
    
    .job-ad-overlay {
        padding: 1rem;
    }
    
    .job-ad-content h3 {
        font-size: 1.1rem;
    }
    
    .job-ad-content .job-description {
        font-size: 0.85rem;
    }
    
    .job-feature {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }
    
    .modal-image {
        max-height: 60vh;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 0.3rem 0 !important;
    }
    
    .navbar {
        padding: 0.3rem 0.8rem !important;
    }
    
    .nav-logo .logo-img {
        width: 70px !important;
        height: auto !important;
    }
    
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
    }
    
    .contact-btn {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.7rem;
        border-radius: 18px !important;
    }
    
    .job-ads {
        padding: 3rem 0;
        margin-top: 60px;
    }
    
    .job-ads .section-title {
        font-size: 1.8rem;
    }
    
    .job-ads-grid {
        gap: 1rem;
    }
    
    .job-ad-card {
        height: 420px;
    }
    
    .job-ad-image {
        height: 280px;
    }
    
    .job-ad-overlay {
        padding: 0.8rem;
    }
    
    .job-ad-content h3 {
        font-size: 1rem;
    }
    
    .job-ad-content .job-description {
        font-size: 0.8rem;
    }
    
    .job-feature {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.2rem 0 !important;
    }
    
    .navbar {
        padding: 0.2rem 0.5rem !important;
    }
    
    .nav-logo .logo-img {
        width: 60px !important;
        height: auto !important;
    }
    
    .nav-menu {
        gap: 0.15rem;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 0.2rem 0.3rem;
    }
    
    .contact-btn {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.65rem;
        border-radius: 15px !important;
    }
    
    .job-ads .section-title {
        font-size: 1.75rem;
    }
    
    .job-ad-card {
        height: 400px;
    }
    
    .job-ad-image {
        height: 250px;
    }
}

/* Hide hamburger menu for careers page */
.nav-toggle {
    display: none !important;
}
