/* GLOBAL STYLES */
:root {
    --primary-color: #004d99; /* Deep Professional Blue */
    --secondary-color: #ff9900; /* Warm Orange/Gold for Elite touch */
    --text-color: #333;
    --bg-light: #f4f7f6;
    --glow-new: #00cc66; /* Green */
    --glow-popular: #ff3333; /* Red */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-search, .btn-apply, .btn-track {
    background-color: var(--secondary-color);
    color: white;
}

.btn-search:hover, .btn-apply:hover, .btn-track:hover {
    background-color: #e68a00;
}

.btn-login, .btn-register {
    background-color: var(--primary-color);
    color: white;
}

/* HEADER STYLES */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

/* --- LANGUAGES & CURRENCY SELECTOR STYLES --- */
.lang-converter-group {
    display: flex;
    gap: 5px;
}

.lang-converter-group select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--bg-light); 
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none; 
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23004d99%22%20d%3D%22M287%2069.4L146.2%20205.9%205.4%2069.4h281.2z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 8px top 50%;
    background-size: 10px auto;
    padding-right: 25px; 
}


/* HERO SECTION (Search) */
.hero-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto 20px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.search-box input, .search-box select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    flex-grow: 1;
    font-size: 1rem;
}

.search-box input {
    flex-basis: 40%;
}

.search-box select {
    flex-basis: 30%;
}

.btn-search {
    flex-basis: 30%;
}

/* ------------------------------------------------------------------ */
/* --- TICKER TAPE (UPDATED FOR WHITE TEXT, SPEED & SIZE WITH FIX) --- */
/* ------------------------------------------------------------------ */

.ticker-tape {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 0; 
    margin-top: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%; 
    animation: ticker-move 45s linear infinite; /* Speed: 45 seconds */
}

.ticker-content span {
    font-size: 0.95rem; 
    padding: 0 15px; 
}

.ticker-item {
    display: inline-block;
    padding: 0 20px; 
    font-weight: 600;
    color: white !important; /* 🔥 आइकॉन को सफ़ेद रंग दिया गया */
}

.ticker-item a {
    color: white !important; /* लिंक टेक्स्ट को सफ़ेद रंग दिया गया (Force) */
    text-decoration: none;
}

.ticker-item a:hover {
    color: var(--secondary-color) !important; /* Hover पर ऑरेंज (Force) */
    text-decoration: underline;
}

.ticker-separator {
    color: white !important; /* सेपरेटर '|' को सफ़ेद रंग दिया गया (Force) */
    margin: 0 5px;
}

@keyframes ticker-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* JOB HIGHLIGHTS */
.job-highlights-section {
    padding: 50px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.country-flags-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap; 
}

.flag-item {
    padding: 8px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.flag-item:hover {
    background-color: #e0e0e0;
}

.job-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

.job-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    border-top: 5px solid var(--secondary-color);
}

.job-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.tag-new {
    background-color: var(--glow-new);
    box-shadow: 0 0 10px var(--glow-new);
}
.tag-popular {
    background-color: var(--glow-popular);
    box-shadow: 0 0 10px var(--glow-popular);
}
.tag-high-salary {
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}


/* TRACKING SECTION */
.tracking-section {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.tracking-box {
    display: flex;
    max-width: 600px;
    margin: 20px auto;
    gap: 10px;
}

.tracking-box input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* FOOTER */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 10px;
}


/* LOGIN/REGISTRATION SPECIFIC STYLES */
.login-body, .reg-body {
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
}
.logo-center {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-bottom: 25px;
}
.login-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.4rem;
}
.login-form {
    text-align: left;
}
.form-group { 
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}
.login-form input[type="text"], .login-form input[type="password"], .login-form input[type="email"], .login-form select, .login-form textarea {
    width: 100%; 
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.btn-full {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    background-color: var(--secondary-color);
    color: white;
}
.btn-full:hover {
    background-color: #e68a00;
}
.otp-instruction {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}
.register-link, .resend-link {
    margin-top: 20px;
    font-size: 0.95rem;
    text-align: center;
}
.register-link a, .resend-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
/* Alert Message Styles */
.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}
.alert.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }


/* Multi-step Registration Form Styles */
.registration-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 10px;
    border-bottom: 2px solid #ddd;
}
.step {
    flex-grow: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-weight: bold;
    color: #ccc;
    border-bottom: 4px solid #eee;
    transition: all 0.3s;
}
.step.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.form-step-content {
    display: none; 
    padding: 20px 0;
}
.form-step-content.active {
    display: block; 
}

.btn-action-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.btn-prev { background-color: #aaa; color: white; }
.btn-next, .btn-success { background-color: var(--secondary-color); color: white; }
.btn-next:hover, .btn-success:hover { background-color: #e68a00; }



/* 📱 MOBILE AND TABLET RESPONSIVENESS (Media Queries) */

/* Tablet View (768px से नीचे) */
@media (max-width: 768px) {
    .login-container {
        padding: 30px;
    }
    .nav-list {
        display: none;    
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        border-top: 1px solid #eee;
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-list .lang-converter-group {
        justify-content: center;
        flex-direction: row;
    }
    
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary-color);
    }
    
    .search-box {
        flex-direction: column;
    }

    .job-card-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

/* Mobile View (480px से नीचे) */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .job-card-container {
        grid-template-columns: 1fr;
    }

    .tracking-box {
        flex-direction: column;
    }
    
    .btn-search {
        width: 100%;
    }
    
    .lang-converter-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-steps {
        flex-direction: column;
        gap: 10px;
    }
    .step {
        border-bottom: none;
        border-left: 4px solid #eee;
        text-align: left;
    }
    .step.active {
        border-left-color: var(--primary-color);
    }
}