﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1e90ff;
    --primary-dark: #1565c0;
    --secondary: #6c3483;
    --gold: #e67e22;
    --dark: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --border: #e0e0e0;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 10px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background: var(--bg-light); }
.mt-4 { margin-top: 1.5rem; }

.top-alert {
    background: var(--primary-dark);
    color: var(--white);
    padding: 5px 0;
    font-size: 14px;
}

header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desktop-nav { display: flex; gap: 20px; align-items: center; }
.desktop-nav a { font-weight: 500; position: relative; padding: 10px 5px; }
.desktop-nav a:hover { color: var(--primary); }

.has-dropdown { position: relative; }
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 20px;
    min-width: 600px;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    animation: slideDown 0.3s ease;
}
.has-dropdown:hover .mega-menu { display: grid; }
.mega-column h4 { margin-bottom: 15px; color: var(--primary); border-bottom: 1px solid var(--border); padding-bottom: 5px; }
.mega-column a { display: block; padding: 5px 0; color: var(--text-light); }
.mega-column a:hover { color: var(--primary); padding-left: 5px; transition: 0.2s; }

.badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--white);
    vertical-align: super;
}
.new-badge { background: #ff4757; }
.hot { background: #ff7f50; }

.header-actions { display: flex; gap: 10px; align-items: center; }

.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.btn-hr { background: var(--gold); color: var(--white); }
.btn-hr:hover { background: #d35400; }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-sm { padding: 5px 12px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--dark); transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.mobile-nav.open { left: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.close-btn { background: none; border: none; font-size: 28px; cursor: pointer; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 500; }
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}
.mobile-nav-overlay.open { display: block; }

.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 50px 0;
}
.hero-content { width: 100%; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 10px; }
.hero .subtitle { font-size: 18px; margin-bottom: 40px; opacity: 0.9; }

.hero-search-box { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; color: var(--text); }
.search-fields { display: flex; gap: 15px; }
.input-group { flex: 1; display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 15px; background: #fff; }
.input-group i { color: var(--text-light); margin-right: 10px; }
.input-group input, .input-group select { width: 100%; border: none; outline: none; padding: 12px 0; font-family: 'Inter', sans-serif; font-size: 16px; background: transparent; }
.search-btn { padding: 12px 30px; font-size: 16px; }

.popular-searches { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.pill { padding: 5px 12px; background: var(--bg-light); border-radius: 20px; color: var(--text-light); border: 1px solid var(--border); cursor: pointer; transition: 0.2s; }
.pill:hover, .pill.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.hero-stats { display: flex; justify-content: center; gap: 30px; margin-top: 40px; }
.stat { font-size: 18px; font-weight: 600; }
.hstat-num { font-size: 24px; font-weight: 800; }
.stat-divider { width: 2px; background: rgba(255,255,255,0.2); }

.hero-quick-cards { display: flex; justify-content: center; gap: 20px; margin-top: 50px; }
.quick-card { background: var(--white); color: var(--text); padding: 20px; border-radius: var(--radius); width: 300px; text-align: left; box-shadow: var(--shadow); transition: transform 0.3s; }
.quick-card:hover { transform: translateY(-5px); }
.quick-card h3 { margin-bottom: 15px; color: var(--primary-dark); }
.quick-card .links a { display: block; padding: 8px 0; color: var(--text-light); font-size: 15px; }
.quick-card .links a i { width: 20px; color: var(--primary); }
.quick-card .links a:hover { color: var(--primary); }

.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; color: var(--dark); margin-bottom: 10px; }
.section-header p { color: var(--text-light); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { background: var(--white); padding: 20px; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); transition: 0.3s; cursor: pointer; }
.category-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow); }
.category-card i { font-size: 30px; color: var(--primary); margin-bottom: 15px; }
.category-card h4 { font-size: 16px; margin-bottom: 5px; }
.category-card .count { font-size: 12px; color: var(--text-light); background: var(--bg-light); padding: 3px 8px; border-radius: 10px; }

.filter-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-tabs button { background: var(--white); }

.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card { background: var(--white); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column; }
.job-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.job-header { display: flex; gap: 15px; margin-bottom: 15px; }
.company-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); }
.job-title { font-size: 18px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 5px; }
.job-title:hover { color: var(--primary); }
.company-name { color: var(--text-light); font-size: 14px; }

.tags { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 500; }
.tag-mnc { background: #e3f2fd; color: #1565c0; }
.tag-fresh { background: #e8f5e9; color: #2e7d32; }
.tag-ft { background: #ede7f6; color: #4527a0; }
.tag-pt { background: #f3e5f5; color: #6a1b9a; }
.tag-remote { background: #e0f7fa; color: #006064; }
.tag-govt { background: #fff3e0; color: #ef6c00; }

.details-row { display: flex; gap: 15px; font-size: 13px; color: var(--text-light); margin-bottom: 15px; flex-wrap: wrap; }
.details-row span { display: flex; align-items: center; gap: 5px; }
.job-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border); }
.job-footer .date { font-size: 12px; color: var(--text-light); }
.job-actions { display: flex; gap: 10px; align-items: center; }
.btn-icon { background: none; border: none; font-size: 18px; color: var(--text-light); cursor: pointer; transition: 0.2s; }
.btn-icon:hover, .btn-icon.saved { color: var(--gold); }

.resume-cta-wrapper { display: flex; background: linear-gradient(135deg, #fdfbfb, #ebedee); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.resume-cta-text { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.resume-cta-text h2 { margin-bottom: 20px; color: var(--dark); }
.resume-cta-text ul { list-style: none; }
.resume-cta-text li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.resume-cta-text li i { color: #2e7d32; }
.resume-cta-upload { flex: 1; padding: 40px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.upload-box { border: 2px dashed var(--border); border-radius: var(--radius); padding: 40px; text-align: center; width: 100%; transition: 0.3s; }
.upload-box.dragover { border-color: var(--primary); background: #e3f2fd; }
.upload-box i { font-size: 40px; color: var(--primary); margin-bottom: 15px; }
.upload-box p { margin-bottom: 10px; color: var(--text-light); }
.upload-box .small { font-size: 12px; margin-top: 10px; }

.companies-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.company-card { background: var(--white); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: 0.3s; cursor: pointer; }
.company-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary); }
.company-card img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 10px; }
.company-card h4 { font-size: 16px; margin-bottom: 5px; }
.company-card p { font-size: 12px; color: var(--primary); }

.job-type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jtype-card { background: var(--white); padding: 20px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 15px; font-size: 18px; font-weight: 600; border: 1px solid var(--border); transition: 0.3s; }
.jtype-card:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }
.jtype-card i { font-size: 24px; color: var(--primary); }

.split-layout { display: flex; gap: 40px; align-items: center; }
.split-left, .split-right { flex: 1; }
.fresher-section { background: #e8f4f8; }
.features-list { list-style: inside; margin-top: 20px; line-height: 2; }
.fresher-summary-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.role-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.role-badge { background: var(--bg-light); padding: 8px 15px; border-radius: 20px; font-size: 14px; border: 1px solid var(--border); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background: var(--bg-light); padding: 30px; border-radius: var(--radius); text-align: center; }
.testimonial-card .stars { margin-bottom: 15px; font-size: 14px; }
.testimonial-card p { font-style: italic; margin-bottom: 15px; color: var(--text-light); }

.alert-section { background: linear-gradient(135deg, #1a1a2e, #16213e); padding: 60px 0; color: var(--white); }
.alert-flex { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.alert-form { display: flex; gap: 10px; flex: 1; justify-content: flex-end; }
.alert-form input { padding: 12px 15px; border-radius: var(--radius); border: none; outline: none; flex: 1; max-width: 250px; font-family: 'Inter', sans-serif; }

footer { background: var(--dark); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 30px; margin-bottom: 40px; }
.footer-logo { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 35px; height: 35px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); }
.footer-col h4 { margin-bottom: 20px; font-size: 16px; }
.footer-col a { display: block; color: #aaa; margin-bottom: 10px; transition: 0.3s; font-size: 14px; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #aaa; font-size: 14px; }

.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; animation: pulse 2s infinite; }
.back-to-top { position: fixed; bottom: 90px; right: 20px; background: var(--primary); color: white; width: 40px; height: 40px; border-radius: 50%; display: none; justify-content: center; align-items: center; font-size: 20px; border: none; cursor: pointer; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; }

.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(26,26,46,0.95); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; z-index: 2000; flex-wrap: wrap; gap: 15px; }
.cookie-banner p a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }

.toast { position: fixed; top: 80px; right: 20px; background: var(--dark); color: white; padding: 15px 25px; border-radius: var(--radius); z-index: 3000; animation: slideDown 0.3s ease; box-shadow: var(--shadow); }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Form styles for login/signup */
.auth-page { min-height: calc(100vh - 70px); background: var(--bg-light); display: flex; align-items: center; padding: 40px 0; }
.auth-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; display: flex; overflow: hidden; width: 100%; }
.auth-left { flex: 1; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 40px; color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.auth-right { flex: 1; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 14px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 14px; outline: none; }
.form-control:focus { border-color: var(--primary); }

/* Jobs Page Styles */
.jobs-page-layout { display: flex; gap: 30px; margin: 40px 0; }
.filters-sidebar { width: 280px; flex-shrink: 0; background: var(--white); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); height: fit-content; position: sticky; top: 90px; }
.filter-group { margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { margin-bottom: 15px; font-size: 16px; }
.checkbox-list label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; cursor: pointer; color: var(--text-light); }
.jobs-list-area { flex: 1; }
.job-list-card { display: flex; gap: 20px; padding: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; transition: 0.3s; }
.job-list-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }

/* Responsive */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .jobs-grid { grid-template-columns: repeat(2, 1fr); }
    .job-type-cards { grid-template-columns: repeat(2, 1fr); }
    .alert-flex { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .jobs-page-layout { flex-direction: column; }
    .filters-sidebar { width: 100%; position: static; }
}

@media (max-width: 768px) {
    .desktop-nav, .header-actions .btn { display: none; }
    .hamburger { display: flex; }
    .hero-search-box .search-fields { flex-direction: column; }
    .split-layout { flex-direction: column; }
    .resume-cta-wrapper { flex-direction: column; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .hero-quick-cards { flex-direction: column; align-items: center; }
    .auth-card { flex-direction: column; }
}

@media (max-width: 480px) {
    .category-grid, .jobs-grid, .job-type-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .job-list-card { flex-direction: column; }
}
