/* ====================================
   Careers Page Styles
   ==================================== */

:root {
    /* Core Brand Colors */
    --color-primary-blue: #0A355B;
    --color-primary-teal: #137374;
    --color-teal-light: #78C6C4;
    --color-accent-green: #98D29B;
    --color-accent-yellow: #FDBF49; 
    --color-yellow-light: #FED992; 
    --color-accent-coral: #E88773;
    --color-coral-light: #FAE7E3;
    
    /* Text Colors */
    --color-dark-text: #032137;
    --color-gray-text: #434343;
    --color-light-gray: #828282;
    --color-white: #ffffff;
    
    /* Backgrounds */
    --bg-teal-20: rgba(120, 198, 196, 0.2);
    --bg-green-20: rgba(152, 210, 155, 0.2);
    --bg-yellow-20: rgba(254, 217, 146, 0.2);
    --bg-coral-20: rgba(232, 135, 115, 0.2);
    
    /* Fonts */
    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

body {
    font-family: 'Nunito', sans-serif; /* Fallback */
    font-family: var(--font-body);
    background: var(--color-white);
    color: var(--color-dark-text);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    position: relative;
    z-index: 1; /* Above decorative elements */
}

/* ====================================
   Header (Standard)
   ==================================== */
.header-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.header-menu.hidden { transform: translateY(-100%); opacity: 0; }
.header-menu.visible { transform: translateY(0); opacity: 1; }

.logo {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 30px;
    color: var(--color-primary-blue);
    display: inline-flex;
    gap: 6px;
}

/* Logo Animation */
.logo-rn {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background-color: transparent;
    color: var(--color-primary-blue);
    transition: background-color 0.3s ease, color 0.3s ease;
    animation: rnHighlight 2s ease-in-out infinite;
}

.logo-analytics {
    display: inline-block;
    padding: 2px 0;
    color: var(--color-primary-blue);
    transition: opacity 0.3s ease;
    animation: analyticsHighlight 2s ease-in-out infinite;
}

@keyframes rnHighlight {
    0%, 100% {
        background-color: transparent;
        color: var(--color-primary-blue);
    }
    25%, 50% {
        background-color: var(--color-primary-blue);
        color: #fff;
    }
}

@keyframes analyticsHighlight {
    0%, 50% {
        opacity: 0.6;
    }
    75%, 100% {
        opacity: 1;
    }
}

.nav-links { display: flex; gap: 40px; }
.nav-links a {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-primary-blue);
    transition: color 0.3s;
}
.nav-links a.active, .nav-links a:hover { color: var(--color-primary-teal); }

/* ====================================
   Hero Section
   ==================================== */
.careers-hero {
    padding-top: 220px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 70px;
    line-height: 90px;
    color: var(--color-dark-text);
    max-width: 1016px;
    margin: 0 auto 30px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 30px;
    line-height: 45px;
    color: var(--color-gray-text);
    max-width: 881px;
    margin: 0 auto;
}

/* ====================================
   Current Opportunities
   ==================================== */
.section-opportunities {
    margin-bottom: 100px;
    position: relative;
}

.opp-container {
    border: 1px solid var(--color-yellow-light);
    border-radius: 40px;
    background: var(--color-white);
    padding: 60px;
    min-height: 418px; /* From Figma */
    /* text-align: center; - Keep text centered from headers */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 45px;
    line-height: 60px;
    color: var(--color-dark-text);
    text-align: center;
    margin-bottom: 40px;
}

.opportunities-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 30px;
    line-height: 45px;
    color: var(--color-gray-text);
    text-align: center;
    max-width: 875px;
    margin-bottom: 40px;
}

/* Placeholder for Rectangle 54/Image */
.opp-placeholder-image {
    width: 636px; /* Arbitrary width since placeholder */
    height: 387px;
    background-color: #f0f0f0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: var(--font-body);
    font-size: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.opp-placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ====================================
   Talent Pool Section
   ==================================== */
.section-talent-pool {
    margin-bottom: 150px;
}

/* Using same section title style */
.talent-header-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 45px;
    color: var(--color-dark-text);
    text-align: center;
    margin-bottom: 20px;
}

.talent-sub-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 30px;
    line-height: 45px;
    color: var(--color-gray-text);
    text-align: center;
    max-width: 875px;
    margin: 0 auto 60px;
}

.talent-form-container {
    background: var(--bg-teal-20);
    border: 1px solid var(--color-teal-light);
    border-radius: 40px;
    padding: 80px 60px;
}

.talent-form {
    max-width: 1113px; /* From Figma input width approx */
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 60px; /* Space between columns */
    margin-bottom: 60px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 60px;
}

.form-group label {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 18px;
    color: var(--color-primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    height: 77px;
    border: 1px solid var(--color-teal-light);
    border-radius: 25px;
    padding: 0 30px;
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-gray-text);
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--color-primary-teal);
    background: #fff;
}

textarea.form-input {
    height: 194px;
    padding-top: 25px;
    resize: none;
}

/* File Upload Area */
.file-upload-area {
    width: 100%;
    height: 231px;
    background: #F8F8F8; /* Figma #f8f8f8 */
    border: 1px dashed var(--color-teal-light);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.file-upload-area:hover {
    background: #fff;
}

.upload-text-main {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 25px;
    color: var(--color-light-gray);
}

.upload-text-sub {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 18px;
    color: var(--color-light-gray);
}

/* Submit Button */
.submit-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn {
    width: 367px;
    height: 87px;
    background: var(--color-primary-teal);
    border-radius: 25px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 30px;
    color: var(--color-white);
}

.submit-arrow {
    width: auto;
    height: auto;
    font-size: 30px;
    color: #fff;
}


/* ====================================
   Decorative Elements
   ==================================== */
.decorative-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Yellow line */
.deco-line-yellow {
    position: absolute;
    left: 107px;
    top: 543px;
    width: 83px;
    height: 12px;
    background: var(--color-accent-yellow);
    border-radius: 6px;
}

/* Coral dots/line group top */
.deco-group-top {
    position: absolute;
    left: 518px;
    top: 114px;
    width: 59px;
    height: 59px;
    background-image: url('https://www.figma.com/api/mcp/asset/e6a1edc0-90b9-4b45-b007-e8204f8011ec'); /* Group 17 */
    background-size: contain;
    background-repeat: no-repeat;
}

/* Green star */
.deco-star-green {
    position: absolute;
    left: 1198px;
    top: 509px;
    width: 142px;
    height: 140px;
    background-image: url('https://www.figma.com/api/mcp/asset/7ca29b31-198e-44bc-aa33-3ece3efab088');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Group bottom */
.deco-group-bottom {
    position: absolute;
    left: 131px;
    top: 1173px;
    width: 59px;
    height: 59px;
    background-image: url('https://www.figma.com/api/mcp/asset/e6a1edc0-90b9-4b45-b007-e8204f8011ec'); /* Group 17 reuse */
    background-size: contain;
    background-repeat: no-repeat;
}

/* ====================================
   Footer (Standard)
   ==================================== */
.footer {
    background-color: var(--color-primary-blue);
    padding: 30px 50px 20px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.footer-logo-section { flex-shrink: 0; }
.footer-logo { width: 100px; height: auto; }

.footer-links-container {
    display: flex;
    gap: 25px;
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 90px;
}

.footer-header {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-white);
    transition: opacity 0.3s;
}
.footer-header:hover { opacity: 0.8; }

.footer-detail { display: flex; flex-direction: column; }
.contact-label { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--color-white); line-height: 1.4; margin: 0; }
.contact-value { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--color-white); line-height: 1.4; margin: 0; }

.linkedin-link { display: inline-block; }
.linkedin-link img { width: 20px; height: 20px; }

.copyright {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    color: var(--color-white);
    text-align: right;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 50px; }
    .hero-title { font-size: 50px; line-height: 1.2; }
    .form-row { flex-direction: column; gap: 30px; margin-bottom: 30px; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary-blue);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }


@media (max-width: 768px) {
    .header-menu {
        padding: 20px;
    }
    
    .mobile-menu-btn { display: block; }
    
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        box-shadow: none;
        padding-top: 60px;
        gap: 30px;
        z-index: 999;
    }
    .nav-links.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links a {
        font-size: 24px;
    }

    .hero-title { font-size: 26px; line-height: 1.3; }
    .container { padding: 0 20px; }
    .opp-container, .talent-form-container { padding: 40px 20px; }
    
    .decorative-container { opacity: 0.3; }
    
    /* Fix fixed-width elements */
    .opp-image-placeholder,
    .opp-text-content,
    .opp-divider,
    .input-wrapper,
    .form-group,
    .btn-submit {
        width: 100% !important;
        max-width: 100%;
    }
    
    .opp-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .why-title,
    .roles-title,
    .talent-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .opp-title,
    .role-title {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .opp-text,
    .role-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .hero-section {
        padding: 100px 20px 60px;
    }
    
    .footer {
        padding: 40px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 10px;
    }

    .footer-column {
        min-width: 0;
    }

    /* Left aligning columns */
    .footer-column:nth-child(1), 
    .footer-column:nth-child(4) {
        align-items: flex-start;
        text-align: left;
    }

    /* Center aligning columns */
    .footer-column:nth-child(2), 
    .footer-column:nth-child(5) {
        align-items: center;
        text-align: center;
    }

    /* Right aligning columns */
    .footer-column:nth-child(3) {
        align-items: flex-end;
        text-align: right;
    }
}
