/* Remove global section margins for careers page sections */
.careers-page-wrapper section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: block !important;
    justify-content: unset !important;
}

/* === CAREERS PAGE CUSTOM STYLES === */

/* Hero Section */
.careers-hero {
    position: relative;
}

/* Culture Section */
.careers-culture {
    background: linear-gradient(to bottom, #fff 0%, #f9fafb 100%);
}

/* Job Listings Grid */
.job-listings-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 90%;
    margin: 0 auto;
}

/* Job Listing Card Hover Effect */
.job-listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.job-listing-card a:hover {
    background: #00d4c7 !important;
}


/* Testimonials Section */
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Responsive testimonials grid */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }

    .job-listings-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 1150px) {
    .team-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
    }
}

/* Team Section */
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.team-card a:hover {
    background: #005a8c !important;
}

/* Application Form Section */
.application-form-container {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .careers-hero h1 {
        font-size: 2.2rem !important;
    }

    .careers-hero p {
        font-size: 1.1rem !important;
    }

    .careers-culture h2,
    .careers-jobs h2,
    .careers-testimonials h2,
    .careers-application h2 {
        font-size: 1.8rem !important;
    }

    .application-form-container {
        padding: 24px !important;
    }
}
