* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}

/* HERO SECTION */
.hero{
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(images/careers/qatar-airways-stewardese-3-2.jpg);
    background-size: cover;
    background-position: center;

    position: relative;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    padding-left: 10%;
    padding-right: 10%;
    margin-bottom: 100px;
}
#logo_image{
    width: 200px;
}
nav ul li{
    list-style-type: none;
    display: inline-block;
    padding: 10px 20px;
}
nav ul li a{
    color: rgb(193, 193, 193);
    text-decoration: none;
    font-size: 20px;
}
nav ul li a:hover{
    color: rgb(142, 142, 142);
    transition: .2s;
}
/*
@media (max-width: 768px) {
    .bg-video {
        display: none;
    }

    .hero {
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                    url(images/mobile-careers.jpg);
        background-size: cover;
        background-position: center;
    }
} */
.appForm {
  background: #ffffff;
    width: 95%;
    max-width: 650px;
    margin: 0 auto;
    margin-top: 40px; /* creates space below navigation */
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    position: relative;
}
.job-families {
    padding: 80px 10%;
    text-align: center;
    background: #fff;
}

.job-families h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #4b002e;
    display: flex;
    justify-content: center;
}

.job-families .subtitle {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    display: flex;
    justify-content: center;
}

/* GRID */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* CARD */
.job-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.job-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

/* TITLE OVERLAY */
.job-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

/* HOVER EFFECT */
.job-card:hover {
    transform: scale(1.03);
}
.success-section {
    background: #5c153b;
    color: white;
    text-align: center;
    padding: 80px 10%;
}

.success-section h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 50px;
}

/* GRID */
.success-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 40px;
}

/* STAT ITEM */
.success-item .number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.success-item .label {
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 500px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
}
.autoShow {
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 20% cover 40vh;
}
@keyframes text-appear {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.talent-section {
    padding: 80px 10%;
    text-align: center;
    background: #fff;
}

.talent-section h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #4b002e;
    display: flex;
    justify-content: center;
}

.talent-section .subtitle {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    display: flex;
    justify-content: center;
}