/* ==========================
   Global Theme & Variables
========================== */
:root {
  --primary: #33A13B;
  --primary-dark: #02730a;
  --primary-light: #ffddd2;
  --secondary: #06b6d4;
  --secondary-dark: #0891b2;
  --secondary-light: #cffafe;
  --accent: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --bg: #f9fafb;
  --surface: #ffffff;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --shadow-hover: 0 8px 20px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body {
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { 
  color: inherit; 
  text-decoration: none; 
}

.container {
  max-width: var(--max-width);
  margin: 40px auto;
  padding: 0 16px;
}



/* ==========================
   Buttons
========================== */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
  text-align: center;
  border: none;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-light {
  background: white;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================
   Hero Section
========================== */
/* .hero {
  background: linear-gradient(135deg, #ff6d00 0%, #06b6d4 100%);
  padding: 60px 16px;
  color: #fff;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: cover;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #f3f4f6;
}

.search-container {
  display: flex;
  flex-direction: row;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin: 0 auto 20px;
}

.search-container input {
  padding: 14px;
  border: none;
  font-size: 16px;
  background: #f9fafb;
}

.search-container button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-stats span {
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  backdrop-filter: blur(4px);
} */

/* ==========================
   Sections & Cards
========================== */
.section {
  /* padding: 40px 0; */
  margin-bottom: 24px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 32px;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background: var(--primary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 20px;
}

.steps-grid {
  grid-template-columns: 1fr;
}

.step {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 16px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  font-size: 20px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.highlight {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: 10px;
  font-weight: 500;
}

.highlight-secondary {
  color: var(--secondary);
}

/* ==========================
   Categories
========================== */
.categories-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.category-card {
  padding: 20px 12px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--primary);
  border-color: var(--primary);
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 18px;
}

/* ==========================
   Jobs
========================== */
.jobs-grid {
  grid-template-columns: 1fr;
}

.job-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: all var(--transition);
  border-left: 4px solid var(--primary);
}

.job-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.job-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.job-card .meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-card .desc {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.95rem;
}

.job-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.date {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================
   Benefits Section
========================== */
.benefits-grid {
  grid-template-columns: 1fr;
}

.benefit-card {
  text-align: center;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--secondary);
  font-size: 20px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ==========================
   Testimonials
========================== */
.testimonials {
  background: var(--bg);
  border-radius: var(--radius);
}

.testimonial-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 16px;
}

.stars {
  color: #fbbf24;
  margin-bottom: 10px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================
   CTA Section
========================== */
.cta {
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.9) 0%, rgba(58, 86, 212, 0.85) 100%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%234361ee"/><path d="M0 0L100 100" stroke="white" stroke-width="0.5"/><path d="M100 0L0 100" stroke="white" stroke-width="0.5"/></svg>');
  color: #fff;
  padding: 50px 16px;
  border-radius: var(--radius);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.cta-subtext {
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 24px !important;
}

.cta-footer {
  margin-top: 20px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.cta-footer a {
  color: white;
  text-decoration: underline;
}

/* ==========================
   Section Footer
========================== */
.section-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.section-footer a {
  color: var(--primary);
  font-weight: 500;
}

.section-footer a:hover {
  text-decoration: underline;
}

/* ==========================
   Minimal Footer
========================== */
.site-footer {
    /* position: fixed; */
    bottom: 0;
    background: white;
    color: #ccc;
    /* margin-top: 60px; */
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow);
    width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: black;
  max-width: 220px;
  line-height: 1.4;
}

/* Links */
.footer-links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: black;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00c6ff;
}

/* Social */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #00c6ff;
  color: #fff;
  transform: scale(1.1);
}

/* Bottom */
.footer-bottom {
  background-color: #8080800f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 15px 10px;
  font-size: 0.8rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}
/* Footer section headings */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}



/* ==========================
   Animations
========================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================
   Responsive Design
========================== */
@media (min-width: 480px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-stats span {
    flex-direction: row;
    font-size: 14px;
    padding: 8px 14px;
  }
}

@media (min-width: 640px) {
  .navbar {
    padding: 0 20px;
    height: 80px;
  }
  
  .navbar .nav-links a {
    margin-right: 20px;
    font-size: 16px;
  }
  
  .hero {
    padding: 70px 20px;
    min-height: 450px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .search-container {
    flex-direction: row;
  }
  
  .search-container input {
    border-radius: var(--radius) 0 0 var(--radius);
  }
  
  .search-container button {
    border-radius: 0 var(--radius) var(--radius) 0;
  }
  
  .steps-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .navbar .menu-toggle {
    display: none;
  }
  
  .navbar .nav-links {
    display: flex;
  }
  
  /* .section {
    padding: 50px 0;
  } */
  
  .section-title {
    font-size: 2rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .job-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-brand {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-links {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    text-align: center;
    justify-content: center;
    padding: 80px 40px;
  }
  
  .hero-content {
    margin-right: 40px;
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Mobile menu styles */
.navbar.open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 81px;
  left: 0;
  width: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 16px;
  z-index: 99;
}

.navbar .nav-links {
  display: none;
}

.navbar .menu-toggle {
  display: block;
}

@media (min-width: 768px) {
  .navbar .nav-links {
    display: flex;
  }
  
  .navbar .menu-toggle {
    display: none;
  }
}
/* ==========================
   Forms (login, register, post_job)
========================== */
.form-box {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 40px auto;
  padding: 30px;
}
form label {
  font-size: 14px;
  font-weight: 600;
  display:block;
  margin-bottom: 6px;
  text-align: left;
}
form input, form select, form textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  margin-bottom: 18px;
  font-size: 16px;
  background: #f9fafb;
  transition: border-color 0.2s;
}
form input:focus, form select:focus, form textarea:focus {
  border-color: var(--primary);
  outline: none;
}
form button {
  background: var(--primary);
  color:#fff;
  border:none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor:pointer;
  font-size:15px;
}
form button:hover { background: var(--primary-dark); }
.help-text { font-size:13px; color:var(--text-light); margin-top:-8px; margin-bottom:12px; }
/* ==========================
   Dashboard
========================== */
.dashboard {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
}
.alert.pending { background: #fff7ed; color:#92400e; border-left: 4px solid #f59e0b; }
.alert.success { background: #ecfdf5; color:#065f46; border-left: 4px solid #10b981; }
.alert.info { background: #eff6ff; color:#1e40af; border-left: 4px solid #3b82f6; }

/* ==========================
   Buttons
========================== */
.btn {
  display:inline-block;
  padding:10px 16px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
  transition: background var(--transition);
}
.btn:hover { background: var(--primary-dark); }
.btn.secondary { background: var(--secondary); }
.btn.small { padding:6px 10px; font-size:14px; }
.card {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-light); }

/* Two-column Hero layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-right {
  display: none;
  align-items: center;
  justify-content: center;
}

.hero-right img {
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25));
}

.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.15); }

/* Animation helpers (if not already present) */
.animate { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s forwards; }
.animate.delay-1 { animation-delay: 0.2s; }
.animate.delay-2 { animation-delay: 0.4s; }
.animate.delay-3 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; }
  .hero-right { display: flex; }
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
  .hero-right img { max-width: 520px; }
}