main {
    padding-top: 100px;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-top: -100px;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/images/train2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-section p {
    color: #ffa500;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
}

.training-header {
    margin-top: -100px;
    background: url('header-image.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}

.training-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.training-header h1 {
    position: relative;
    z-index: 1;
}

.training-content {
    display: flex;
    padding: 50px;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.training-image img {
    width: 400px;
    border-radius: 10px;
}

.training-text {
    flex: 1;
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.1);
}

.training-text h2 {
    color: #fbc02d;
    border-bottom: 3px solid #fbc02d;
    display: inline-block;
    padding-bottom: 5px;
}

.training-text ul {
    list-style: none;
    padding: 0;
}

.training-text ul li {
    padding: 5px 0;
    font-size: 1.1rem;
}

/* Careers Page Styles */
.careers-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin: 3rem 0;
    text-transform: uppercase;
    padding: 20px;
}

.careers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.job-position {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
}

.job-position:nth-child(even) {
    flex-direction: row-reverse;
}

.job-image {
    flex: 1 1 50%;
    display: flex;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.job-details {
    flex: 1 1 50%;
    padding: 30px;
    box-sizing: border-box;
}

.job-details h2 {
    color: #ffa500;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.job-details h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ffa500;
}

.job-details h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.job-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-details li {
    color: #fff;
    margin-bottom: 0.8rem;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
    text-align: left;
    word-wrap: break-word;
}

.job-details li::before {
    content: '•';
    color: #ffa500;
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .job-position {
        flex-direction: column;
    }

    .job-image,
    .job-details {
        flex: 1 1 100%;
        height: auto;
    }

    .job-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}


/* Apply Today Section */
.apply-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 8px;
}

.apply-section h2 {
    text-align: center;
    color: #ffa500;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.apply-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ffa500;
}

.apply-section p {
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
}

.apply-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.apply-form input,
.apply-form textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.apply-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: #ffa500;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 20px auto 0;
}

.submit-btn:hover {
    background-color: #ff8c00;
}

/* Trusted Partner Section */
.trusted-partner {
    text-align: center;
    padding: 4rem 0;
    background-color: #333;
    color: #fff;
}

.trusted-partner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.trusted-partner p {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.contact-btn {
    display: inline-block;
    background-color: #ffa500;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.contact-btn:hover {
    background-color: #ff8c00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-position {
        flex-direction: column !important;
        padding: 20px;
    }

    .job-image,
    .job-details {
        flex: 0 0 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .careers-title {
        font-size: 2rem;
    }

    .job-details h2 {
        font-size: 1.5rem;
    }

    .apply-section {
        padding: 20px;
    }
}



@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.5rem;
    }
}


