:root {
    --primary: #0056b3;
    /* Royal Blue */
    --primary-glow: rgba(0, 86, 179, 0.15);
    --secondary: #00A8E8;
    --bg-white: #FFFFFF;
    --bg-light: #B9CEEB; /* 20% More Blue - Richer Royal Light Blue */
    --bg-card: #FFFFFF;
    --bg-footer: #000000;
    --text-main: #000000;
    /* Pure Black for maximum clarity */
    --text-muted: #2D3748;
    /* Deep Dark Slate for secondary text */
    --glass-border: rgba(0, 86, 179, 0.1);
    /* Slightly blue border */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hindi-note {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Utilities */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    /* White glass */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Typography & Links */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary,
.btn-glow {
    background: var(--primary);
    color: var(--bg-deep);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 2rem 0;
    background: var(--bg-deep);
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--bg-white);
    background: var(--bg-card);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-banner:hover .hero-img {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to top, rgba(11, 13, 23, 0.9), transparent);
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 20;
}

/* Vacancy Cards */
.vacancies {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.vacancy-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.vacancy-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    color: var(--text-main);
    /* Black icons */
    width: 32px;
    height: 32px;
}

.card-header h3 {
    color: var(--text-main);
    /* Black title */
    font-size: 1.4rem;
}

.card-body p {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    /* Dark slate for body */
}

.card-body p strong {
    color: var(--text-main);
    /* Pitch black for labels */
}

.salary {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
    /* Dark black salary */
    margin-top: 1rem;
}

.btn-apply {
    margin-top: auto;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-apply:hover {
    background: var(--primary);
    color: var(--bg-deep);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    /* Enable scrolling for the modal itself */
    padding: 2rem 0;
}

.modal-content {
    background: var(--bg-deep);
    margin: 2rem auto;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.close {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-main);
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
}

.grid-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    padding: 4rem 2rem;
    background: var(--bg-footer);
    /* Total Black */
    color: #FFFFFF;
}

.glass-footer {
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 120px;
    width: auto;
    border-radius: 12px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    color: #CBD5E0;
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Page Styles */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #FFFFFF;
    /* Total White Background */
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 3.5rem;
    text-align: center;
    background: rgba(153, 201, 238, 0.533) !important;
    /* Subtle Blue for the form box */
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.1);
    border-radius: 24px;
    border: 1px solid rgba(0, 86, 179, 0.1);
}

.login-container h2 {
    margin-top: 1.5rem;
}

.login-container p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.login-footer {
    margin-top: 2rem;
}

.login-footer a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Admin Main Layout */
.admin-main {
    padding: 8rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.admin-panel {
    padding: 0;
    overflow: hidden;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--primary);
    font-weight: 600;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-delete:hover {
    border-color: #FF5252;
    color: #FF5252;
}

/* Responsive Login */
@media (max-width: 480px) {
    .login-container {
        padding: 2rem;
    }
}

/* Google-Style Login Enhancements */
.google-login-page {
    background-color: #f7f8f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.google-card {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    width: 450px;
    padding: 48px 40px 36px;
    text-align: center;
    transition: var(--transition);
}

.google-card:hover {
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.30), 0 1px 3px 1px rgba(60,64,67,.15);
}

.google-logo {
    height: 24px;
    margin-bottom: 12px;
}

.google-card h2 {
    font-size: 24px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 8px;
}

.google-card p {
    font-size: 16px;
    color: #202124;
    margin-bottom: 40px;
}

.google-input-group {
    position: relative;
    margin-bottom: 24px;
    text-align: left;
}

.google-input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.2s;
    outline: none;
}

.google-input:focus {
    border: 2px solid #1a73e8;
    padding: 12px 14px;
}

.google-link {
    color: #1a73e8;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    margin-top: 8px;
}

.google-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn-google-next {
    background-color: #1a73e8;
    color: white;
    padding: 8px 24px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-google-next:hover {
    background-color: #1765cc;
    box-shadow: 0 1px 3px 1px rgba(66,133,244,.15), 0 1px 2px 0 rgba(66,133,244,.30);
}

.google-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border: 1px solid #dadce0;
    background: white;
    border-radius: 4px;
    margin-top: 16px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: background 0.2s;
}

.google-auth-btn:hover {
    background-color: #f8faff;
    border-color: #d2e3fc;
}

.google-auth-btn img {
    width: 18px;
    height: 18px;
}

/* User Profile Dashboard Styles */
.profile-page {
    background: #f0f4f8;
    min-height: 100vh;
    padding-top: 100px; /* Space for fixed nav */
}

.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
}

/* Side Profile Card */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.user-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.05);
    border: 1px solid rgba(0, 86, 179, 0.05);
}

.profile-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.avatar-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
}

.user-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.user-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.profile-nav-menu {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.profile-nav-item:hover, .profile-nav-item.active {
    background: var(--primary-glow);
    color: var(--primary);
}

/* Profile Content Main Area */
.profile-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.section-header h4 {
    font-size: 1.25rem;
    color: var(--primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Application History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    transition: var(--transition);
}

.history-item:hover {
    border-color: var(--primary);
    background: #f8fbff;
}

.job-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.job-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending { background: #fff8e1; color: #f57c00; }
.status-review { background: #e3f2fd; color: #1976d2; }
.status-accepted { background: #e8f5e9; color: #2e7d32; }

.logout-btn {
    margin-top: 2rem;
    width: 100%;
    background: #fff;
    border: 1px solid #ffdada;
    color: #ff5252;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.logout-btn:hover {
    background: #fff5f5;
    border-color: #ff5252;
}