/* ============================================================
   FreshersJobs.in - Main Stylesheet
   Author: FreshersJobs Team
   Version: 1.0
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #0A66C2;
  --primary-dark: #004182;
  --primary-light: #E8F0FE;
  --primary-gradient: linear-gradient(135deg, #0A66C2 0%, #0056a3 100%);
  --secondary: #00A0DC;
  --accent: #F5A623;
  --success: #057642;
  --danger: #CC1016;
  --warning: #F59E0B;
  --white: #FFFFFF;
  --black: #000000;
  --text-dark: #1A1A2E;
  --text-body: #3D4756;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --bg-light: #F8FAFD;
  --bg-section: #F0F4F8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-blue: 0 8px 32px rgba(10,102,194,0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font: 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --nav-height: 70px;
}

/* ---------- Dark Mode Variables ---------- */
[data-theme="dark"] {
  --white: #0F172A;
  --bg-light: #1E293B;
  --bg-section: #162032;
  --text-dark: #F1F5F9;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #2D3748;
  --border-light: #1E293B;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, textarea, select { font-family: var(--font); outline: none; }
h1,h2,h3,h4,h5,h6 { color: var(--text-dark); font-weight: 700; line-height: 1.3; }

/* ---------- Scroll Progress Bar ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--primary-gradient); z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- Loading Screen ---------- */
#loading-screen {
  position: fixed; inset: 0; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999; transition: opacity 0.5s ease;
}
#loading-screen.hidden { opacity: 0; pointer-events: none; }
.loader {
  width: 48px; height: 48px; border: 4px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Utility Classes ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: var(--bg-section); }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #D1FAE5; color: var(--success); }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-accent { background: #FEF9C3; color: #854D0E; }

/* ---------- Section Headings ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; padding: 6px 16px; border-radius: var(--radius-full);
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: clamp(24px, 4vw, 38px); font-weight: 800; color: var(--text-dark); margin-bottom: 12px; }
.section-title span { color: var(--primary); }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full); font-size: 15px;
  font-weight: 600; transition: var(--transition); position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.15); opacity: 0; transition: var(--transition-fast);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--primary-gradient); color: var(--white);
  box-shadow: 0 4px 15px rgba(10,102,194,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--text-body); padding: 10px 20px; }
.btn-ghost:hover { background: var(--bg-light); color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-md); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
[data-theme="dark"] .navbar { background: rgba(15,23,42,0.95); }
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo .logo-icon {
  width: 38px; height: 38px; background: var(--primary-gradient);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; font-weight: 900;
}
.nav-logo .logo-text { font-size: 20px; font-weight: 800; color: var(--text-dark); }
.nav-logo .logo-text span { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 500; color: var(--text-body); transition: var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }

/* Mega Menu */
.nav-item { position: relative; }
.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  border: 1px solid var(--border); padding: 24px; min-width: 600px;
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 100;
  pointer-events: none;
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0); }
.mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); transition: var(--transition-fast); color: var(--text-body); font-size: 14px;
}
.mega-link:hover { background: var(--primary-light); color: var(--primary); }
.mega-link .mega-icon { font-size: 18px; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border-radius: var(--radius-sm);
}
.hamburger span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg); z-index: 999; max-height: calc(100vh - var(--nav-height));
  overflow-y: auto; padding: 16px;
}
.mobile-menu.active { display: block; }
[data-theme="dark"] .mobile-menu { background: #1E293B; }
.mobile-nav-link {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 500;
  color: var(--text-body); transition: var(--transition-fast);
}
.mobile-nav-link:hover { background: var(--primary-light); color: var(--primary); }
.mobile-menu-actions { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); margin-top: 8px; }

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(135deg, #EBF4FF 0%, #F0F7FF 40%, #E8F5E9 100%);
  padding: 80px 0 60px; position: relative; overflow: hidden;
}
[data-theme="dark"] .hero { background: linear-gradient(135deg, #1a2a3a 0%, #162032 100%); }
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(10,102,194,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,160,220,0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-full); padding: 8px 20px;
  font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 24px;
  box-shadow: var(--shadow-sm); animation: fadeInDown 0.6s ease;
}
.hero-badge .dot { width: 8px; height: 8px; background: #22C55E; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.3);opacity:0.7} }
.hero-title {
  font-size: clamp(32px, 6vw, 64px); font-weight: 900; color: var(--text-dark);
  margin-bottom: 20px; animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-title .highlight {
  color: var(--primary); position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 18px); color: var(--text-muted); max-width: 680px;
  margin: 0 auto 40px; animation: fadeInUp 0.7s ease 0.2s both;
}

/* ---------- Search Box ---------- */
.search-box {
  background: var(--white); border-radius: var(--radius-xl); padding: 16px;
  box-shadow: var(--shadow-xl); max-width: 860px; margin: 0 auto;
  animation: fadeInUp 0.7s ease 0.3s both; border: 1px solid var(--border-light);
}
.search-row { display: flex; gap: 12px; align-items: center; }
.search-field {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--bg-light); border-radius: var(--radius-md); padding: 12px 16px;
  border: 1.5px solid transparent; transition: var(--transition-fast);
}
.search-field:focus-within { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(10,102,194,0.08); }
.search-field .sf-icon { color: var(--text-muted); font-size: 18px; flex-shrink: 0; }
.search-field input, .search-field select {
  border: none; background: transparent; width: 100%; font-size: 14px;
  font-weight: 500; color: var(--text-dark); font-family: var(--font);
}
.search-field input::placeholder { color: var(--text-light); }
.search-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
.search-btn-wrap { flex-shrink: 0; }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.search-tag-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.search-tag {
  padding: 4px 14px; background: var(--bg-light); border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500; color: var(--text-body); cursor: pointer;
  border: 1px solid var(--border); transition: var(--transition-fast);
}
.search-tag:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.hero-stats {
  display: flex; gap: 40px; justify-content: center; margin-top: 48px;
  animation: fadeInUp 0.7s ease 0.4s both; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .stat-number { font-size: 28px; font-weight: 800; color: var(--primary); }
.hero-stat .stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ---------- Job Card ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.job-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border: 1.5px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative; overflow: hidden;
}
.job-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary-gradient); transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.job-card:hover::before { transform: scaleX(1); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.job-company { display: flex; align-items: center; gap: 12px; }
.company-logo {
  width: 50px; height: 50px; border-radius: var(--radius-md); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: var(--bg-light); flex-shrink: 0; overflow: hidden;
}
.company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.company-info .company-name { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.company-info .job-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.job-save-btn {
  width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--bg-light);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; transition: var(--transition-fast); flex-shrink: 0;
}
.job-save-btn:hover, .job-save-btn.saved { background: #FEF3C7; border-color: var(--warning); color: var(--warning); }
.job-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.job-meta-item {
  display: flex; align-items: center; gap: 5px; font-size: 13px;
  color: var(--text-muted); background: var(--bg-light); padding: 4px 10px;
  border-radius: var(--radius-full); font-weight: 500;
}
.job-meta-item .icon { font-size: 14px; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.job-card-footer { display: flex; justify-content: space-between; align-items: center; }
.job-posted { font-size: 12px; color: var(--text-light); }

/* ---------- Company Card / Logo Slider ---------- */
.companies-slider-wrap { overflow: hidden; position: relative; }
.companies-slider-wrap::before, .companies-slider-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.companies-slider-wrap::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.companies-slider-wrap::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.companies-slider { display: flex; gap: 20px; animation: slide 30s linear infinite; width: max-content; }
.companies-slider:hover { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.company-logo-card {
  width: 140px; height: 70px; background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  padding: 12px 16px; box-shadow: var(--shadow-sm); transition: var(--transition); flex-shrink: 0;
}
.company-logo-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: scale(1.05); }
.company-logo-card span { font-size: 14px; font-weight: 700; color: var(--text-muted); }

/* ---------- Company Grid Card ---------- */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.company-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
  border: 1.5px solid var(--border-light); box-shadow: var(--shadow-sm);
  text-align: center; transition: var(--transition); cursor: pointer;
}
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.company-card .logo-wrap {
  width: 72px; height: 72px; border-radius: var(--radius-md); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 28px; background: var(--bg-light);
}
.company-card .co-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.company-card .co-jobs { font-size: 13px; color: var(--primary); font-weight: 600; }
.company-card .co-type { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

/* ---------- Category Card ---------- */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.category-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px 20px;
  border: 1.5px solid var(--border-light); box-shadow: var(--shadow-sm);
  text-align: center; transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card:hover .cat-icon { transform: scale(1.1) rotate(-5deg); }
.cat-icon {
  font-size: 36px; margin-bottom: 12px; display: block;
  transition: var(--transition);
}
.cat-name { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.cat-count { font-size: 13px; color: var(--text-muted); }
.category-card.blue { border-top: 3px solid #0A66C2; }
.category-card.green { border-top: 3px solid #10B981; }
.category-card.purple { border-top: 3px solid #8B5CF6; }
.category-card.orange { border-top: 3px solid #F59E0B; }
.category-card.red { border-top: 3px solid #EF4444; }
.category-card.teal { border-top: 3px solid #14B8A6; }
.category-card.pink { border-top: 3px solid #EC4899; }
.category-card.indigo { border-top: 3px solid #6366F1; }

/* ---------- City Cards ---------- */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.city-card {
  background: var(--white); border-radius: var(--radius-md); padding: 18px 16px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  text-align: center; transition: var(--transition); cursor: pointer;
}
.city-card:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.city-card:hover .city-name, .city-card:hover .city-jobs { color: var(--white); }
.city-card .city-emoji { font-size: 28px; margin-bottom: 8px; }
.city-card .city-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.city-card .city-jobs { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-card .quote { font-size: 40px; color: var(--primary); line-height: 1; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: var(--text-body); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary-gradient);
  display: flex; align-items: center; justify-content: center; color: white;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.author-name { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.author-role { font-size: 13px; color: var(--text-muted); }
.stars { color: var(--warning); font-size: 14px; margin-bottom: 4px; }

/* ---------- Article Cards ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.article-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-image {
  height: 180px; background: var(--primary-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; position: relative; overflow: hidden;
}
.article-image.green { background: linear-gradient(135deg, #10B981, #059669); }
.article-image.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.article-image.orange { background: linear-gradient(135deg, #F59E0B, #D97706); }
.article-image.red { background: linear-gradient(135deg, #EF4444, #DC2626); }
.article-image.teal { background: linear-gradient(135deg, #14B8A6, #0D9488); }
.article-image.indigo { background: linear-gradient(135deg, #6366F1, #4F46E5); }
.article-body { padding: 20px; }
.article-category { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.article-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.article-title:hover { color: var(--primary); }
.article-excerpt { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.article-meta { display: flex; justify-content: space-between; align-items: center; }
.article-date { font-size: 12px; color: var(--text-light); }
.article-read { font-size: 13px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; }

/* ---------- Newsletter Section ---------- */
.newsletter-section {
  background: var(--primary-gradient); padding: 60px 0; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.newsletter-content { text-align: center; position: relative; z-index: 1; }
.newsletter-title { font-size: clamp(22px, 4vw, 36px); font-weight: 800; color: white; margin-bottom: 12px; }
.newsletter-desc { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 14px 20px; border-radius: var(--radius-full); border: none;
  font-size: 15px; font-family: var(--font); background: rgba(255,255,255,0.95);
  color: var(--text-dark);
}
.newsletter-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }

/* ---------- Footer ---------- */
.footer { background: #0F172A; color: #94A3B8; padding: 60px 0 0; }
[data-theme="dark"] .footer { background: #020617; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo-icon { width: 36px; height: 36px; background: var(--primary-gradient); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-size: 16px; }
.footer-brand .logo-text { font-size: 18px; font-weight: 800; color: #F1F5F9; }
.footer-brand .logo-text span { color: var(--secondary); }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #94A3B8; transition: var(--transition-fast);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #F1F5F9; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link { font-size: 14px; color: #94A3B8; transition: var(--transition-fast); padding: 2px 0; }
.footer-link:hover { color: var(--secondary); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-text { font-size: 13px; color: #64748B; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 13px; color: #64748B; transition: var(--transition-fast); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ---------- Back to Top ---------- */
#back-to-top {
  position: fixed; bottom: 80px; right: 24px; width: 44px; height: 44px;
  background: var(--primary); color: white; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: var(--shadow-md); cursor: pointer; transition: var(--transition);
  opacity: 0; transform: translateY(20px); pointer-events: none; z-index: 500; border: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-blue); }

/* ---------- WhatsApp Float Button ---------- */
#whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px;
  background: #25D366; color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); cursor: pointer;
  transition: var(--transition); z-index: 500; border: none; text-decoration: none;
}
#whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ---------- Dark Mode Toggle ---------- */
#dark-toggle {
  width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--bg-light);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: var(--transition-fast);
}
#dark-toggle:hover { background: var(--primary-light); border-color: var(--primary); }

/* ---------- Toast Notification ---------- */
#toast-container { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 99999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 24px; border-radius: var(--radius-md); background: var(--text-dark);
  color: white; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; min-width: 280px; max-width: 420px;
  animation: toastIn 0.3s ease; white-space: nowrap;
}
.toast.success { background: #057642; }
.toast.error { background: var(--danger); }
.toast.info { background: var(--primary); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(20px); } }

/* ---------- AdSense Placeholder Styles ---------- */
.ad-slot {
  background: var(--bg-light); border: 1px dashed var(--border); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--text-light); font-size: 12px; font-weight: 500; min-height: 90px;
  overflow: hidden; position: relative;
}
.ad-slot::before { content: 'Advertisement'; position: absolute; top: 8px; right: 12px; font-size: 11px; color: var(--text-light); }
.ad-slot-banner { width: 100%; min-height: 90px; margin: 16px 0; }
.ad-slot-rectangle { width: 100%; min-height: 250px; }
.ad-slot-sidebar { width: 100%; min-height: 600px; }

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: var(--primary-gradient); padding: 60px 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -5%; width: 400px; height: 400px;
  background: rgba(255,255,255,0.06); border-radius: 50%;
}
.page-hero-content { text-align: center; position: relative; z-index: 1; }
.page-hero-title { font-size: clamp(28px, 5vw, 48px); font-weight: 800; color: white; margin-bottom: 12px; }
.page-hero-desc { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 20px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.85); } .breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ---------- Filter Sidebar (Search Page) ---------- */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.filter-sidebar {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--nav-height) + 16px);
}
.filter-group { margin-bottom: 24px; }
.filter-title {
  font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border-light);
}
.filter-option { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.filter-option input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.filter-option label { font-size: 14px; color: var(--text-body); cursor: pointer; flex: 1; }
.filter-count { font-size: 12px; color: var(--text-muted); background: var(--bg-light); padding: 2px 8px; border-radius: var(--radius-full); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--white); color: var(--text-body); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition-fast);
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Form Styles ---------- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-label span { color: var(--danger); }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); background: var(--bg-light); font-size: 15px;
  font-family: var(--font); color: var(--text-dark); transition: var(--transition-fast);
}
.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(10,102,194,0.08); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ---------- Auth Pages ---------- */
.auth-wrapper {
  min-height: 100vh; background: linear-gradient(135deg, #EBF4FF 0%, #F0F7FF 100%);
  display: flex; align-items: center; justify-content: center; padding: 40px 16px;
}
[data-theme="dark"] .auth-wrapper { background: linear-gradient(135deg, #1a2a3a 0%, #162032 100%); }
.auth-card {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-radius: var(--radius-xl);
  padding: 40px; max-width: 500px; width: 100%;
  border: 1px solid rgba(255,255,255,0.6); box-shadow: var(--shadow-xl);
}
[data-theme="dark"] .auth-card { background: rgba(30,41,59,0.85); border-color: rgba(255,255,255,0.1); }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-title { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.social-auth { display: flex; gap: 12px; margin-bottom: 24px; }
.social-auth-btn {
  flex: 1; padding: 12px 16px; border-radius: var(--radius-md); border: 1.5px solid var(--border);
  background: var(--white); font-size: 14px; font-weight: 600; color: var(--text-dark);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition-fast); font-family: var(--font);
}
.social-auth-btn:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.password-wrap { position: relative; }
.password-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: var(--text-muted); font-size: 18px; transition: var(--transition-fast);
}
.password-toggle:hover { color: var(--primary); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* ---------- About Page Styles ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.stat-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.stat-number { font-size: 36px; font-weight: 900; color: var(--primary); display: block; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-top: 8px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px 20px;
  text-align: center; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--primary-gradient); display: flex; align-items: center;
  justify-content: center; font-size: 28px; color: white; font-weight: 800;
}
.team-name { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.team-role { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Contact Page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: var(--primary-gradient); border-radius: var(--radius-xl); padding: 40px;
  color: white; position: relative; overflow: hidden;
}
.contact-info-card::before { content: ''; position: absolute; bottom: -20%; right: -10%; width: 200px; height: 200px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.contact-item-text { font-size: 15px; font-weight: 500; color: white; }
.map-placeholder {
  height: 200px; background: var(--bg-light); border-radius: var(--radius-md);
  border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted); margin-top: 20px; overflow: hidden;
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-light); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 18px 20px; background: var(--white);
  font-size: 15px; font-weight: 600; color: var(--text-dark); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font); border: none; transition: var(--transition-fast);
}
.faq-question:hover { background: var(--primary-light); color: var(--primary); }
.faq-question.active { background: var(--primary); color: white; }
.faq-icon { font-size: 20px; font-weight: 300; transition: var(--transition-fast); flex-shrink: 0; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  background: var(--bg-light); padding: 0 20px; max-height: 0; overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); font-size: 15px; color: var(--text-body); line-height: 1.8;
}
.faq-answer.open { padding: 16px 20px; max-height: 400px; }

/* ---------- Job Details Page ---------- */
.job-details-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.job-details-main { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; }
.job-details-banner { background: var(--primary-gradient); padding: 32px; position: relative; overflow: hidden; }
.job-details-banner::before { content: ''; position: absolute; top: -30%; right: -5%; width: 200px; height: 200px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.job-details-content { padding: 28px; }
.job-details-section { margin-bottom: 28px; }
.job-details-section h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border-light); }
.job-details-section ul { padding-left: 4px; }
.job-details-section ul li { font-size: 15px; color: var(--text-body); padding: 5px 0; display: flex; align-items: flex-start; gap: 10px; }
.job-details-section ul li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag { padding: 6px 14px; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-full); font-size: 13px; font-weight: 600; }
.job-sidebar-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-light); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.job-info-list { display: flex; flex-direction: column; gap: 14px; }
.job-info-item { display: flex; align-items: center; gap: 12px; }
.job-info-icon { width: 38px; height: 38px; background: var(--primary-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.job-info-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.job-info-value { font-size: 14px; font-weight: 700; color: var(--text-dark); }

/* ---------- Skeleton Loader ---------- */
.skeleton { background: linear-gradient(90deg, var(--bg-light) 25%, var(--border-light) 50%, var(--bg-light) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ---------- Policy Pages ---------- */
.policy-content { max-width: 860px; margin: 0 auto; }
.policy-content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; color: var(--text-dark); }
.policy-content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; color: var(--text-dark); }
.policy-content p { font-size: 15px; color: var(--text-body); line-height: 1.9; margin-bottom: 16px; }
.policy-content ul, .policy-content ol { padding-left: 24px; margin-bottom: 16px; }
.policy-content ul li, .policy-content ol li { font-size: 15px; color: var(--text-body); line-height: 1.9; margin-bottom: 6px; }
.policy-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.policy-content th { background: var(--primary-light); color: var(--primary); padding: 12px 16px; text-align: left; font-weight: 700; }
.policy-content td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-body); }
.policy-content tr:hover td { background: var(--bg-light); }

/* ---------- 404 Page ---------- */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.page-404-icon { font-size: 100px; margin-bottom: 24px; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }
.page-404-title { font-size: clamp(36px,8vw,80px); font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.page-404-subtitle { font-size: clamp(20px,4vw,32px); font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.page-404-desc { font-size: 16px; color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; }

/* ---------- Animations ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.4,0,0.2,1); }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ---------- Cookie Banner ---------- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: #1E293B;
  color: #CBD5E1; padding: 16px 24px; z-index: 9998;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3); transform: translateY(100%); transition: var(--transition);
  flex-wrap: wrap;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 14px; flex: 1; min-width: 200px; }
.cookie-text a { color: var(--secondary); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Newsletter Popup ---------- */
#newsletter-popup {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 99998;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
#newsletter-popup.show { opacity: 1; pointer-events: all; }
.popup-card {
  background: var(--white); border-radius: var(--radius-xl); padding: 40px;
  max-width: 480px; width: 100%; position: relative; box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.4s ease; text-align: center;
}
.popup-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--bg-light); border: none; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.popup-close:hover { background: var(--danger); color: white; }
