/* ==========================
   Reset & Base Styles
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #fff; 
    background-color: #111;
}

/* ==========================
   Navbar
========================== */
.navbar {
    background-color: #b4190b;
    color: #fff;
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
}

.navbar .logo img {
    width: 120px;
    height: auto;
}

/* FIX: nav-links were missing, breaking layout */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
    align-items: center;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
    background-color: #fff;
    color: #111;
    border-radius: 5px;
}

/* ==========================
   Hero Video Banner (FIXED)
========================== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    background-color: #111;
    margin-bottom: 40px; /* Prevents overlap */
}

.hero-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-content h2 {
    font-size: 3rem;
}

/* ==========================
   Main Content
========================== */
main {
    padding: 50px 0;
    background-color: #111;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* About Section */
.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================
   Features Section
========================== */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.feature {
    background-color: #111;
    border: 2px solid #2cd3e1;
    padding: 20px;
    flex: 1 1 250px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,204,225,0.5);
}

.feature h3 {
    margin-bottom: 15px;
    color: #2cd3e1;
}

/* ==========================
   Join the Team Section (FIXED)
========================== */
.join-team {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 50px;
}

.join-team .feature {
    background-color: #111;
    border: 2px solid #2cd3e1;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    width: 300px;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding-bottom: 80px; /* space for Apply button */
}

.join-team .feature img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.join-team .feature h3 {
    font-size: 1.4rem;
    color: #2cd3e1;
    padding: 15px 10px;
    margin-bottom: 15px;
}

.join-team .btn-view {
    display: block;
    width: 80%;
    padding: 12px 20px;
    background-color: #b4190b;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #ff4c4c;

    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
}

.join-team .btn-view:hover {
    background-color: #ff4c4c;
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 10px #ff4c4c, 0 0 20px #ff4c4c;
}

.join-team .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,204,225,0.6);
}
/* ==========================
   Apply Button (Job Pages)
========================== */
.btn-apply {
    display: inline-block;
    padding: 12px 25px;
    background-color: #b4190b;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #ff4c4c;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #ff4c4c;
    border-color: #fff;
    box-shadow: 0 0 10px #ff4c4c, 0 0 20px #ff4c4c;
    color: #fff;
}

/* ==========================
   Call To Action
========================== */
.cta {
    background-color: #111;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    margin-top: 50px;
}

.cta .btn {
    background-color: #2cd3e1;
    color: #111;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.cta .btn:hover {
    background-color: #ff6b6b;
    color: #fff;
}

/* ==========================
   Footer
========================== */
footer {
    background-color: #111;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #2cd3e1;
}

footer a {
    color: #2cd3e1;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* ==========================
   Application Form Page
========================== */
.application-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #111;
    border: 2px solid #2cd3e1;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(44,211,225,0.4);
}

.application-form h2 {
    text-align: center;
    color: #2cd3e1;
    margin-bottom: 10px;
}

.application-form p {
    text-align: center;
    color: #ccc;
    margin-bottom: 25px;
}

.application-form label {
    display: block;
    font-weight: bold;
    color: #2cd3e1;
    margin: 15px 0 5px;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="date"],
.application-form textarea,
.application-form select {
    width: 100%;
    padding: 10px;
    background-color: #222;
    color: #fff;
    border: 1px solid #2cd3e1;
    border-radius: 5px;
}

.application-form textarea {
    resize: vertical;
    min-height: 80px;
}

.application-form h3 {
    color: #2cd3e1;
    margin-top: 25px;
    font-size: 1.4rem;
    border-bottom: 1px solid #2cd3e1;
    padding-bottom: 5px;
}

.application-form input[type="file"] {
    border: none;
    background-color: transparent;
    color: #ccc;
    margin-top: 5px;
}

.application-form .btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #b4190b;
    color: #fff;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 6px;
    border: 2px solid #ff4c4c;
    margin-top: 25px;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 768px) {

    .navbar ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .join-team {
        flex-direction: column;
        align-items: center;
    }

    .join-team .feature {
        width: 90%;
        max-width: 400px;
    }

    .join-team .btn-view {
        width: 85%;
    }

    .application-form {
        padding: 20px;
        width: 95%;
    }
}

.application-form label.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 6px;       /* space between box + text */
    margin: 3px 0;  /* reduces vertical spacing */
}