        :root {
            --primary: #0066ff;
            --primary-dark: #0044cc;
            --secondary: #00f2ff;
            --dark: #0f172a;
            --light: #f8fafc;
            --gray: #64748b;
            --accent: #8b5cf6;
            --tech-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
            --success: #10b981;
            --warning: #f59e0b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
            min-height: 100vh;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 20%);
            z-index: -1;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-padding {
            padding: 80px 0;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--tech-gradient);
            border-radius: 2px;
        }

        /* ===== Header Styles ===== */
        header {
            background: rgba(15, 23, 42, 0.85);
            backdrop-filter: blur(10px);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            border-bottom: 1px solid rgba(100, 116, 139, 0.2);
        }

        

        .logo {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--light);
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .logo span {
            color: var(--secondary);
        }

        .logo .tech {
            color: var(--secondary);
        }

        

        .cta-buttons {
           background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: var(--dark);
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .cta-buttons:hover {
             transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
        }
       
        .mobile-menu-btn {
            display: none;
            color: var(--light);
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Career Hero Section */
        .career-hero {
            padding: 130px 0 100px;
            position: relative;
            overflow: hidden;
        }

        .career-hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
            z-index: -1;
        }

        .career-hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .hero-text {
            padding-right: 20px;
        }

        .career-hero-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 3.8rem;
            margin-bottom: 20px;
            background: var(--tech-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
            text-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
        }

        

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 30px;
        }

        .hero-description {
            font-size: 1.1rem;
            color: #cbd5e1;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .hero-image {
            text-align: center;
        }

        .hero-image img {
            max-width: 100%;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(100, 116, 139, 0.2);
        }

        /* Search Section */
        .search-container {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 15px;
            padding: 30px;
            margin: 50px 0;
            border: 1px solid rgba(100, 116, 139, 0.2);
        }

        .search-filters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
        }

        .filter-label {
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--light);
        }

        .filter-select {
            padding: 12px 15px;
            border-radius: 5px;
            border: 1px solid rgba(100, 116, 139, 0.3);
            background: rgba(15, 23, 42, 0.5);
            color: var(--light);
            font-size: 1rem;
        }

        .search-box {
            display: flex;
            gap: 15px;
            align-items: center;
            width: 100%;
        }

        .search-input {
            flex: 1;
            padding: 12px 15px;
            border-radius: 5px;
            border: 1px solid rgba(100, 116, 139, 0.3);
            background: rgba(15, 23, 42, 0.5);
            color: var(--light);
            font-size: 1rem;
            height: 48px; /* Match dropdown height */
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }

        .search-input::placeholder {
            color: #94a3b8;
        }

        .search-btn {
            background: var(--tech-gradient);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 1rem;
            white-space: nowrap;
            min-height: 48px;
            height: 48px;
            width: 100%;
            max-width: 330px;
        }

        .search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
        }

        .search-btn i {
            font-size: 0.9rem;
        }

        /* Job Listings */
        .job-listings {
            margin: 0px 0;
        }

        .job-card {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            border: 1px solid rgba(100, 116, 139, 0.2);
            transition: all 0.4s ease;
            transform-style: preserve-3d;
            position: relative;
            overflow: hidden;
        }

        .job-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(37, 99, 235, 0.5);
        }

        .job-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--tech-gradient);
        }

        .job-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .job-title {
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--light);
        }

        .job-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 15px;
        }

        .job-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .job-description {
            color: #cbd5e1;
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .job-requirements {
            margin-bottom: 25px;
        }

        .job-requirements h4 {
            color: var(--light);
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .job-requirements ul {
            color: #cbd5e1;
            padding-left: 20px;
        }

        .job-requirements li {
            margin-bottom: 8px;
        }

        .job-apply-btn {
            background: var(--tech-gradient);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
        }

        .job-apply-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
        }

        /* Loading, error and no jobs states */
        .loading-state, .error-state, .no-jobs {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 15px;
            border: 1px solid rgba(100, 116, 139, 0.2);
            margin: 20px 0;
        }

        .loading-state i {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Job tags */
        .job-tags {
            margin-top: 15px;
        }

        .job-tag {
            display: inline-block;
            background: rgba(37, 99, 235, 0.2);
            color: var(--secondary);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            margin-right: 8px;
            margin-bottom: 4px;
        }

        /* Why Join Us Section */
        .why-join-us {
            margin: 80px 0;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .value-card {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 15px;
            padding: 30px;
            border: 1px solid rgba(100, 116, 139, 0.2);
            transition: all 0.4s ease;
            text-align: center;
        }

        .value-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(37, 99, 235, 0.5);
        }

        .value-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            background: var(--tech-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .value-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--light);
        }

        .value-description {
            color: #cbd5e1;
            line-height: 1.7;
        }

        /* Life at Zonixtec */
        .life-at-zonixtec {
            margin: 80px 0;
        }

        .life-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .life-card {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 15px;
            padding: 30px;
            border: 1px solid rgba(100, 116, 139, 0.2);
            transition: all 0.4s ease;
            text-align: center;
        }

        .life-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(37, 99, 235, 0.5);
        }

        .life-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }

        .life-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--light);
        }

        .life-description {
            color: #cbd5e1;
            line-height: 1.7;
        }

        /* Employee Benefits */
        .employee-benefits {
            margin: 80px 0;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .benefit-card {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 15px;
            padding: 30px;
            border: 1px solid rgba(100, 116, 139, 0.2);
            transition: all 0.4s ease;
            text-align: center;
        }

        .benefit-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(37, 99, 235, 0.5);
        }

        .benefit-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--primary);
        }

        .benefit-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--light);
        }

        .benefit-description {
            color: #cbd5e1;
            line-height: 1.7;
        }

        /* FAQ Section */
        .faq-section {
            margin: 80px 0;
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            margin-bottom: 20px;
            border: 1px solid rgba(100, 116, 139, 0.2);
            border-radius: 8px;
            overflow: hidden;
            background: rgba(15, 23, 42, 0.4);
        }

        .faq-question {
            padding: 20px;
            background: rgba(30, 41, 59, 0.7);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s;
        }

        .faq-question:hover {
            background: rgba(37, 99, 235, 0.1);
        }

        .faq-question h4 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--light);
        }

        .faq-icon {
            transition: transform 0.3s;
            color: var(--secondary);
        }

        .faq-answer {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            color: #cbd5e1;
        }

        .faq-item.active .faq-answer {
            padding: 20px;
            max-height: 300px;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        /* Stats Section */
        .stats-section {
            margin: 80px 0;
            text-align: center;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .stat-card {
            background: rgba(15, 23, 42, 0.6);
            border-radius: 15px;
            padding: 30px;
            border: 1px solid rgba(100, 116, 139, 0.2);
            transition: all 0.4s ease;
        }

        .stat-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(37, 99, 235, 0.5);
        }

        .stat-number {
            font-family: 'Orbitron', sans-serif;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
            background: var(--tech-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            color: #cbd5e1;
            font-size: 1.1rem;
        }

        /* Custom Application CTA */
        .custom-application {
            background: var(--tech-gradient);
            border-radius: 20px;
            padding: 60px 40px;
            text-align: center;
            margin: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .custom-application::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
            transform: rotate(30deg);
            z-index: 0;
        }

        .custom-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .custom-description {
            max-width: 700px;
            margin: 0 auto 30px;
            font-size: 1.1rem;
            line-height: 1.7;
            position: relative;
            z-index: 1;
        }

        .custom-btn {
            background: var(--dark);
            color: white;
            padding: 15px 40px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            display: inline-block;
            position: relative;
            z-index: 1;
            transform: translateZ(0);
            text-decoration: none;
        }

        .custom-btn:hover {
            transform: translateY(-3px) translateZ(10px);
            background: rgba(15, 23, 42, 0.9);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
            color: white;
        }

        /* ===== Dropdown Styles ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Dropdown styles handled by allDropdown.css */

  .dropdown-scroll {
    max-height: 300px; /* Slightly less than parent to account for padding */
    /* overflow-y: auto;  */
    /* padding: 8px 0;  */
 }

/* Custom scrollbar styling */
.dropdown-scroll::-webkit-scrollbar {
    width: 6px;
}

.dropdown-scroll::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 3px;
}

.dropdown-scroll::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 3px;
}

.dropdown-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
} */

/* @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */
       
        .footer {
            /* background: rgba(2, 6, 23, 0.9); */
            padding: 60px 0 20px;
            border-top: 1px solid rgba(100, 116, 139, 0.2);
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col {
            padding: 0;
        }

        .footer-col h3 {
            color: var(--secondary);
            margin-bottom: 20px;
            font-size: 1.3rem;
            font-family: 'Orbitron', sans-serif;
        }

        .footer-col p {
            color: var(--gray);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .footer-links a:hover {
            color: var(--secondary);
        }

        .footer-links a i {
            font-size: 0.8rem;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(37, 99, 235, 0.2);
            border-radius: 50%;
            color: var(--light);
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--tech-gradient);
            transform: translateY(-5px);
        }

        .form-group {
            display: flex;
            flex-direction: column;
            margin-top: 15px;
        }

        .form-control {
            padding: 12px 15px;
            border-radius: 5px;
            border: 1px solid rgba(100, 116, 139, 0.3);
            background: rgba(15, 23, 42, 0.5);
            color: var(--light);
            font-size: 1rem;
            margin-bottom: 10px;
        }

        .form-control::placeholder {
            color: #94a3b8;
        }

        .submit-btn {
            background: var(--tech-gradient);
            color: #f8fafc;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--gray);
            font-size: 0.9rem;
        }

        .footer-bottom i {
            color: #ef4444;
            margin: 0 5px;
        }

        /* ===== Mobile Responsive Styles ===== */
        /* Desktop/Laptop (above 1366px) - Default styles apply */
       
        /* iPad Pro (1024px to 1366px) - Larger Tablet */
        @media (min-width: 1024px) and (max-width: 1366px) {
            .career-hero {
                padding: 180px 0 80px;
            }

            .career-hero-title {
                font-size: 3.4rem;
            }

            .career-hero-content {
                padding-top: 50px;
                grid-template-columns: 1fr 1fr;
                gap: 45px;
            }

            .hero-text {
                padding-right: 20px;
            }

            .hero-subtitle {
                font-size: 1.5rem;
            }

            .hero-description {
                font-size: 1.1rem;
            }

            .section-padding {
                padding: 70px 0;
            }

            .section-title {
                font-size: 2.3rem;
            }

            .search-container {
                padding: 30px;
                margin: 0px 0;
            }

            .search-filters {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .search-box {
                margin-top: 20px;
            }

            .search-input {
                height: 48px;
            }

            .search-btn {
                height: 48px;
                min-height: 48px;
            }

            .job-listings {
                margin: 0px 0;
            }

            .job-card {
                padding: 25px;
            }

            .values-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }

            .life-grid,
            .benefits-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }

            .stats-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 25px;
            }

            .why-join-us,
            .life-at-zonixtec,
            .employee-benefits,
            .faq-section,
            .stats-section {
                margin: 70px 0;
            }
        }

        /* iPad Mini & iPad Air (768px to 1023px) - Smaller Tablets */
        @media (min-width: 768px) and (max-width: 1023px) {
            .career-hero {
                padding: 160px 0 60px;
            }

            .career-hero-title {
                font-size: 2.8rem;
            }

            .career-hero-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .hero-text {
                padding-top: 75px;
                padding-right: 0;
                text-align: center;
            }

            .hero-subtitle {
                font-size: 1.3rem;
            }

            .hero-description {
                font-size: 1rem;
            }

            .hero-image img {
                max-width: 90%;
            }

            .section-padding {
                padding: 50px 0;
            }

            .section-title {
                font-size: 2rem;
            }

            .search-container {
                padding: 20px;
                margin: 40px 0;
            }

            .search-filters {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .search-box {
                margin-top: 15px;
                flex-direction: column;
            }

            .search-input {
                width: 100%;
                height: 48px;
            }

            .search-btn {
                width: 100%;
                justify-content: center;
                min-height: 48px;
                height: 48px;
            }

            .job-listings {
                margin: 0px 0;
            }

            .job-card {
                padding: 20px;
                margin-bottom: 20px;
            }

            .job-title {
                font-size: 1.4rem;
            }

            .values-grid,
            .life-grid,
            .benefits-grid {
                grid-template-columns: 1fr;
                gap: 20px;
                margin-top: 30px;
            }

            .value-card,
            .life-card,
            .benefit-card {
                padding: 25px;
            }

            .why-join-us,
            .life-at-zonixtec,
            .employee-benefits,
            .faq-section,
            .stats-section {
                margin: 60px 0;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .custom-application {
                padding: 40px 30px;
                margin: 60px 0;
            }

            .custom-title {
                font-size: 2rem;
            }
        }

        /* Mobile View (below 768px) */
        @media (max-width: 767px) {
            .logo {
                font-size: 1.5rem;
            }

            .mobile-menu-btn {
                display: flex;
                z-index: 1000;
            }

            /* Hero section */
            .career-hero {
                padding: 140px 0 50px;
            }

            .career-hero-content {
                grid-template-columns: 1fr;
                gap: 30px;
                display: flex;
                flex-direction: column;
            }

            .hero-text {
                order: 1;
                padding-right: 0;
                text-align: center;
            }

            .career-hero-title {
                font-size: 2.8rem;
                margin-bottom: 20px;
            }

            .hero-subtitle {
                font-size: 1.3rem;
            }

            .hero-description {
                font-size: 1rem;
            }

            .hero-image {
                order: 2;
                margin-top: 20px;
            }

            /* Search section responsive */
            .search-box {
                flex-direction: column;
                gap: 15px;
            }

            .search-btn {
                width: 100%;
                justify-content: center;
                padding: 14px 20px;
                font-size: 1rem;
            }

            .search-input {
                padding: 14px 15px;
                font-size: 1rem;
                width: 100%;
                height: auto;
            }

            .search-filters {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .search-container {
                margin: 30px 0;
                padding: 20px;
            }

            /* Job cards */
            .job-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .job-meta {
                gap: 10px;
            }

            /* Footer responsive */
            .footer-container {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 576px) {

        

            /* Hero section */
            .career-hero {
                padding: 130px 0 40px;
            }

            .career-hero-title {
                font-size: 2.2rem;
                line-height: 1.3;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .hero-description {
                font-size: 1rem;
            }

            /* Section titles */
            .section-title {
                font-size: 2rem;
                margin-bottom: 40px;
            }

            /* Search filters */
            .search-filters {
                grid-template-columns: 1fr;
            }

            /* Search container responsive */
            .search-container {
                margin: 20px 0;
                padding: 15px;
            }

            .search-btn {
                padding: 12px 16px;
                font-size: 0.95rem;
            }

            .search-input {
                padding: 12px 15px;
            }

            /* Job cards */
            .job-card {
                padding: 20px;
            }
        }

        @media (max-width: 400px) {
            .career-hero-title {
                font-size: 1.9rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .custom-title {
                font-size: 2rem;
            }
        }
 
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            color: #f8fafc;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Modal Overlay */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Modal Content */
        .modal-content {
            background: linear-gradient(135deg, #1e293b, #0f172a);
            width: 100%;
            max-width: 700px;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(100, 116, 139, 0.2);
            transform: translateY(20px);
            transition: transform 0.3s ease;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(100, 116, 139, 0.2);
        }

        .modal-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.8rem;
            color: #f8fafc;
        }


        .close-modal {
            background: red;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;

            border: none;
            font-size: 2.5rem;
            cursor: pointer;
            transition: color 0.3s ease;
        }


        .close-modal:hover {
            color: #06b6d4;
        }

        /* Form Styles */
        .application-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-label {
            margin-bottom: 8px;
            font-weight: 500;
            color: #f8fafc;
            display: flex;
            align-items: center;
        }

        .required-star {
            color: #ef4444;
            font-weight: bold;
            margin-left: 4px;
        }

        .optional-text {
            color: #94a3b8;
            font-size: 0.85rem;
            font-weight: normal;
            margin-left: 8px;
        }

        .form-control {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid rgba(100, 116, 139, 0.3);
            background: rgba(15, 23, 42, 0.5);
            color: #f8fafc;
            font-size: 1rem;
            transition: all 0.3s ease;
            width: 100%;
        }

        .form-control:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }

        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }

        .form-error {
            color: #ef4444;
            font-size: 0.8rem;
            margin-top: 5px;
            min-height: 15px;
            display: none;
        }

        .form-control.error {
            border-color: #ef4444;
            box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
        }

        /* File Upload Styles */
        .file-upload-container {
            margin-bottom: 10px;
        }

        .file-upload {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px;
            border-radius: 8px;
            border: 2px dashed rgba(100, 116, 139, 0.5);
            background: rgba(15, 23, 42, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .file-upload:hover {
            border-color: #2563eb;
            background: rgba(15, 23, 42, 0.5);
            transform: translateY(-2px);
        }

        .file-upload.has-file {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }

        .file-upload i {
            font-size: 2rem;
            color: #06b6d4;
            flex-shrink: 0;
        }

        .file-upload-text {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .file-main-text {
            font-weight: 600;
            color: #f8fafc;
            margin-bottom: 5px;
        }

        .file-sub-text {
            font-size: 0.85rem;
            color: #94a3b8;
        }

        .file-name {
            color: #10b981;
            font-weight: 500;
            font-size: 0.9rem;
            max-width: 200px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .file-input {
            display: none;
        }

        /* Character Counter */
        .char-counter {
            text-align: right;
            font-size: 0.8rem;
            color: #94a3b8;
            margin-top: 5px;
        }

        .char-counter.near-limit {
            color: #f59e0b;
        }

        .char-counter.over-limit {
            color: #ef4444;
        }

        /* Other Source Input */
        .other-source-container {
            margin-top: 10px;
            display: none;
        }

        .other-source-container.active {
            display: block;
        }

        /* Form Actions */
        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 20px;
        }

        .submit-btn {
            background: linear-gradient(135deg, #2563eb, #06b6d4);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .cancel-btn {
            background: rgba(100, 116, 139, 0.3);
            color: #f8fafc;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cancel-btn:hover {
            background: rgba(100, 116, 139, 0.5);
        }

        .btn-loading {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Form Footer */
        .form-footer {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid rgba(100, 116, 139, 0.2);
        }

        .required-note {
            text-align: center;
            color: #94a3b8;
            font-size: 0.85rem;
            margin: 0;
        }

        /* Success Message */
        .success-message {
            display: none;
            text-align: center;
            padding: 40px 20px;
        }

        .success-message.active {
            display: block;
        }

        .success-icon {
            font-size: 4rem;
            color: #10b981;
            margin-bottom: 20px;
        }

        .success-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 2rem;
            margin-bottom: 15px;
            color: #f8fafc;
        }

        .success-text {
            color: #cbd5e1;
            margin-bottom: 30px;
            line-height: 1.7;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {

                           .dropdown-scroll {
        max-height: 250px; 
    }

            .modal-content {
                padding: 20px;
            }

            .modal-title {
                font-size: 1.5rem;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .file-upload {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .file-name {
                max-width: 100%;
            }

            .form-actions {
                flex-direction: column;
            }
        }

        @media (max-width: 576px) {
            .modal-overlay {
                padding: 10px;
            }

            .file-upload {
                padding: 15px;
            }
        }
 