/* appply section */
.container-apply {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section styling */
.how-to-apply {
    background-color: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Paragraph styling */
.how-to-apply p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .how-to-apply {
        padding: 30px 15px;
    }

    .how-to-apply h2 {
        font-size: 1.8rem;
    }

    .how-to-apply p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .how-to-apply {
        padding: 20px 10px;
    }

    .how-to-apply h2 {
        font-size: 1.5rem;
    }

    .how-to-apply p {
        font-size: 0.9rem;
    }
}

/* career carousel section  */

.career-opportunities {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.opportunity-card {
    min-width: 38%; /* 4 cards visible at a time */
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 10px;
    box-sizing: border-box;
    
}

.opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 40px;
    color: #007BFF;
    margin-bottom: 15px;
}

.opportunity-card h3 {
    font-size: 1.5em;
    color: #ed3237;
    margin-bottom: 10px;
}

.opportunity-card p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 1.5em;
    border-radius: 50%;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 1068px) {
    .opportunity-card {
        min-width: 45%; /* 2 cards visible at a time */
    }
}

@media (max-width: 480px) {
    .opportunity-card {
        min-width: 93%; /* 1 card visible at a time */
    }
}
