/* Careers Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend Deca', sans-serif;
    background: #FFFEFF;
    width: 1440px;
    margin: 0 auto;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Header (Same as landing page) */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 37px;
    background: white;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.25);
    height: 96px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    gap: 142px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav a {
    color: #3C3C4B;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
}

.nav a:hover {
    color: #00B7FF;
}

/* Login Dropdown */
.login-dropdown {
    position: relative;
}

.btn-login {
    background: #00B7FF;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 8px 19px;
    font-size: 24px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    cursor: pointer;
    width: 214px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login:hover {
    background: #0099dd;
}

.login-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background-color: white;
    min-width: 214px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
}

.login-dropdown-content a {
    color: #3C3C4B;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 18px;
}

.login-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.login-dropdown-content a:first-child {
    border-radius: 8px 8px 0 0;
}

.login-dropdown-content a:last-child {
    border-radius: 0 0 8px 8px;
}

.login-dropdown.active .login-dropdown-content {
    display: block;
}

.login-dropdown:hover .login-dropdown-content {
    display: block;
}

/* Careers Hero Section */
.careers-hero {
    background: #3C3C4B;
    padding: 100px 71px;
    text-align: center;
    color: white;
}

.careers-hero h1 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 300;
    line-height: 40px;
}

/* Careers Content */
.careers-content {
    padding: 100px 71px;
    background: white;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.careers-intro {
    margin-bottom: 80px;
}

.careers-intro h2 {
    font-size: 45px;
    font-weight: 900;
    color: #3C3C4B;
    margin-bottom: 30px;
}

.careers-intro p {
    font-size: 20px;
    font-weight: 300;
    line-height: 32px;
    color: #3C3C4B;
    margin-bottom: 20px;
}

.why-join {
    margin-bottom: 80px;
}

.why-join h2 {
    font-size: 45px;
    font-weight: 900;
    color: #3C3C4B;
    margin-bottom: 40px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit {
    background: #F7F7F7;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.benefit h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.benefit p {
    font-size: 18px;
    font-weight: 300;
    color: #3C3C4B;
    line-height: 28px;
}

.open-positions {
    text-align: center;
    background: #3C3C4B;
    padding: 60px 40px;
    border-radius: 16px;
}

.open-positions h2 {
    font-size: 45px;
    font-weight: 900;
    color: #F7F7F7;
    margin-bottom: 30px;
}

.positions-text {
    font-size: 20px;
    font-weight: 300;
    color: #F7F7F7;
    line-height: 32px;
    margin-bottom: 20px;
}

.btn-careers-contact {
    background: #00B7FF;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 40px;
    font-size: 24px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    cursor: pointer;
    margin-top: 20px;
}

.btn-careers-contact:hover {
    background: #0099dd;
}

/* Footer (Same as landing page) */
.footer {
    background: #3C3C4B;
    padding: 94px 71px 0 71px;
    min-height: 332px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 36px;
    padding: 0;
}

.footer-column:first-child {
    max-width: 211px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.footer-column:nth-child(2),
.footer-column:nth-child(3),
.footer-column:nth-child(4) {
    text-align: right;
    flex-shrink: 0;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin: 0 0 10px 0;
    display: block;
}

.footer-column > p {
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    color: #818E99;
    margin: 0;
}

.footer-column h4 {
    font-size: 24px;
    font-weight: 900;
    color: #818E99;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0;
}

.footer-column a {
    color: #F7F7F7;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    cursor: pointer;
}

.footer-column a:hover {
    color: #00B7FF;
}

.footer-bottom {
    border-top: 1px solid rgba(129, 142, 153, 0.2);
    padding-top: 18px;
    padding-bottom: 20px;
}

.footer-bottom p {
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    color: #818E99;
    margin: 0;
}

.footer-bottom a {
    color: #818E99;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #00B7FF;
    text-decoration: underline;
}

/* Contact Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 16px;
    width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    font-size: 36px;
    font-weight: 900;
    color: #3C3C4B;
    margin-bottom: 30px;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 16px;
}

.btn-modal {
    background: #00B7FF;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 40px;
    font-size: 20px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 400;
    cursor: pointer;
    width: 100%;
}

.btn-modal:hover {
    background: #0099dd;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media screen and (max-width: 1440px) {
    body {
        width: 100%;
        max-width: 1440px;
    }
}

@media screen and (max-width: 768px) {
    body {
        width: 100%;
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    section {
        width: 100%;
        overflow-x: hidden;
    }

    /* Header */
    .header {
        flex-wrap: wrap;
        height: auto;
        padding: 20px;
        gap: 15px;
    }

    .logo-img {
        height: 40px;
    }

    .nav {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 30px;
        margin-top: 15px;
    }

    .nav a {
        font-size: 18px;
    }

    .login-dropdown {
        order: 2;
    }

    .btn-login {
        width: 160px;
        font-size: 18px;
        height: 36px;
    }

    /* Hero */
    .careers-hero {
        padding: 60px 20px;
    }

    .careers-hero h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 30px;
    }

    /* Content */
    .careers-content {
        padding: 60px 20px;
    }

    .careers-intro h2,
    .why-join h2,
    .open-positions h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .careers-intro p,
    .positions-text {
        font-size: 16px;
        line-height: 26px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit {
        padding: 30px 20px;
    }

    .benefit h3 {
        font-size: 24px;
    }

    .benefit p {
        font-size: 16px;
        line-height: 24px;
    }

    .open-positions {
        padding: 40px 20px;
    }

    .btn-careers-contact {
        font-size: 20px;
        padding: 10px 30px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px;
        height: auto;
        width: 100%;
        overflow-x: hidden;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .footer-column:first-child {
        max-width: 100%;
    }

    .footer-column:nth-child(2),
    .footer-column:nth-child(3),
    .footer-column:nth-child(4) {
        text-align: left;
    }

    .footer-logo-img {
        height: 50px;
    }

    .footer-column h4 {
        font-size: 20px;
    }

    .footer-column a {
        font-size: 16px;
    }

    .footer-bottom p {
        font-size: 14px;
    }

    /* Modal */
    .modal-content {
        width: 90%;
        max-width: 90%;
        margin: 20% auto;
        padding: 30px 20px;
    }

    .modal-content h2 {
        font-size: 28px;
    }

    /* Disable hover dropdown on mobile */
    .login-dropdown:hover .login-dropdown-content {
        display: none;
    }

    .login-dropdown.active .login-dropdown-content {
        display: block;
    }
}
