/* ========================================
   CAREERS PAGE - ORGANIZED BY VISUAL HIERARCHY
   ======================================== */

/* ========================================
   1. NAVIGATION (Top of page)
   ======================================== */

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transition: all 0.3s ease;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar .nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 80px !important;
    padding-top: 20px !important;
}

.navbar .nav-logo {
    order: 1 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.navbar .nav-menu {
    order: 2 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    position: fixed !important;
    width: 200px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    backdrop-filter: blur(12px) !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 0.5rem 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    z-index: 1000 !important;
    gap: 0 !important;
}

.navbar .nav-menu.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: all !important;
}

.navbar .nav-menu .nav-item {
    width: 100%;
    margin: 0;
}

.navbar .nav-menu .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #1E293B !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    width: 100%;
}

.navbar .nav-menu .nav-link:hover {
    background: rgba(50, 205, 50, 0.1);
    color: #32CD32 !important;
}

.navbar .nav-menu .nav-link.active {
    background: rgba(50, 205, 50, 0.15);
    color: #32CD32 !important;
}

.navbar .nav-menu .nav-link.active::after {
    display: none;
}

.navbar .nav-toggle {
    order: 3 !important;
    display: flex !important;
}

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

.nav-link {
    text-decoration: none;
    color: #64748B;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #32CD32;
}

.nav-link.active {
    color: #32CD32;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #32CD32;
    border-radius: 2px;
}

.nav-careers:hover { color: #32CD32; }
.nav-careers.active::after { background: #32CD32; }

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
    position: relative;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #64748B;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   2. STICKY CTAs (Fixed position)
   ======================================== */

.sticky-ctas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-rider-btn {
    padding: 12px 24px;
    background: #32CD32;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(50, 205, 50, 0.3);
    white-space: nowrap;
    display: inline-block;
}

.cta-rider-btn:hover {
    background: #228B22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.4);
}

/* ========================================
   3. GO TO TOP BUTTON
   ======================================== */

.go-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(50, 205, 50, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(50, 205, 50, 0.3);
}

.go-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.go-to-top-btn:hover {
    background: #228B22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.4);
}

.go-to-top-btn i {
    color: white;
    font-size: 1.2rem;
}

/* ========================================
   4. HERO SECTION
   ======================================== */

.hero-section {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #64748B;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ========================================
   5. WHY JOIN US SECTION
   ======================================== */

.why-join-section {
    padding: 80px 20px;
    background: #ffffff;
}

.why-join-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-join-text h2 {
    font-size: 2.5rem;
    color: #1E293B;
    margin-bottom: 1.5rem;
}

.why-join-text p {
    font-size: 1.1rem;
    color: #64748B;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #32CD32;
    font-weight: bold;
    font-size: 1.2rem;
}

.why-join-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-join-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ========================================
   6. OPEN POSITIONS SECTION
   ======================================== */

.open-positions-section {
    padding: 80px 20px;
    background: #ffffff;
}

.open-positions-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.open-positions-text {
    text-align: center;
    margin-bottom: 3rem;
}

.open-positions-text h2 {
    font-size: 2.5rem;
    color: #1E293B;
    margin-bottom: 1rem;
}

.open-positions-text p {
    font-size: 1.1rem;
    color: #64748B;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.position-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.position-card:hover {
    border-color: #32CD32;
    box-shadow: 0 8px 20px rgba(50, 205, 50, 0.1);
    transform: translateY(-3px);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.position-header h3 {
    font-size: 1.5rem;
    color: #1E293B;
    margin: 0;
    flex: 1;
}

.position-type {
    background: #32CD32;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.position-details {
    margin-bottom: 1rem;
}

.position-details p {
    font-size: 0.95rem;
    color: #64748B;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.position-details i {
    color: #32CD32;
    width: 16px;
}

.position-description {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.position-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.95rem;
}

.position-card .btn-primary.btn-small {
    margin-top: auto;
}

/* ========================================
   7. CULTURE SECTION
   ======================================== */

.culture-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.culture-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.culture-text {
    text-align: center;
}

.culture-text h2 {
    font-size: 2.5rem;
    color: #1E293B;
    margin-bottom: 1rem;
}

.culture-text > p {
    font-size: 1.1rem;
    color: #64748B;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.culture-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.culture-value {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.culture-value:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.culture-value i {
    font-size: 2.5rem;
    color: #32CD32;
    margin-bottom: 1rem;
}

.culture-value h3 {
    font-size: 1.5rem;
    color: #1E293B;
    margin-bottom: 0.75rem;
}

.culture-value p {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   8. CTA SECTION
   ======================================== */

.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #32CD32 0%, #228B22 100%);
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: #32CD32;
}

.cta-section .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   10. FOOTER (Bottom of page)
   ======================================== */

/* Footer Container */
.footer {
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 25px 0 15px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 0px !important;
    margin-bottom: 15px;
    align-items: start;
}

/* Footer Sections - General */
.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #1E293B;
}

.footer-section p {
    color: #64748B;
    line-height: 1.4;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-section ul li a:hover {
    color: #32CD32;
}

/* Section 1: Company Info & Logo */
.footer-section:nth-child(1) {
    max-width: 250px;
    order: 1;
    align-self: flex-start;
    margin-top: -20px;
}

.footer-section:nth-child(1) p {
    margin-top: -15px;
}

/* Section 2: Quick Links */
.footer-section:nth-child(2) {
    display: flex;
    flex-direction: column;
    order: 2;
    align-self: flex-start;
}

/* Section 3: Contact Info & Social */
.footer-section:nth-child(3) {
    order: 3;
    justify-self: end;
    text-align: right;
}

.footer-section:nth-child(3) h4 {
    text-align: left;
}

.footer-section:nth-child(2) h4 {
    text-align: center;
    margin-bottom: 10px;
    width: 100%;
    align-self: center;
    margin-left: -100px;
}

.quick-links-container {
    display: flex !important;
    gap: 0px !important;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.quick-links-left,
.quick-links-right {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.quick-links-left a,
.quick-links-right a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
    margin-bottom: 2px;
    text-align: left;
}

.quick-links-left a:hover,
.quick-links-right a:hover {
    color: #32CD32;
}

/* Section 3: Contact Info & Social */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #64748B;
    font-size: 15px;
}

.contact-info i {
    color: #32CD32;
    width: 16px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.social-icons a:hover {
    background: #32CD32;
    color: white;
    border-color: #32CD32;
    transform: translateY(-2px);
}

.footer-logo {
    margin-bottom: -25px;
    margin-top: -10px;
}

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

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

.footer-bottom p {
    color: #64748B;
    margin: 0 0 5px 0;
    font-size: 14px;
}

.footer-bottom a {
    color: #32CD32;
    text-decoration: none;
    font-weight: 400;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .why-join-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .culture-values {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer-section:nth-child(1) {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .footer-section:nth-child(2) {
        text-align: center;
    }

    .footer-section:nth-child(3) {
        text-align: center;
        justify-self: center;
    }

    .footer-section:nth-child(2) h4 {
        margin-left: 0;
        text-align: center;
    }

    .footer-logo {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .footer-logo img {
        margin: 0 auto;
        display: block;
    }

    /* Center company info text in mobile */
    .footer-section:nth-child(1) p {
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-section h4 {
        text-align: center;
    }

    .footer-section p {
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }

    .footer-section ul li {
        text-align: center;
    }

    .footer-section ul li a {
        text-align: center;
    }

    .quick-links-container {
        text-align: center;
        justify-items: center;
        max-width: 150px;
    }

    .quick-links-left,
    .quick-links-right {
        text-align: center;
    }

    .quick-links-left ul,
    .quick-links-right ul {
        text-align: center;
    }

    .quick-links-left ul li,
    .quick-links-right ul li {
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        text-align: center;
    }

    .footer-section:nth-child(3) h4 {
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }

    .sticky-ctas {
        bottom: 15px;
        right: 15px;
    }

    .cta-rider-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .go-to-top-btn {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 15px 60px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .why-join-section,
    .open-positions-section,
    .culture-section,
    .cta-section {
        padding: 60px 15px;
    }

    .why-join-text h2,
    .open-positions-text h2,
    .culture-text h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .position-card {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

