/* === BASE STYLES (Mobile First) === */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #EEF2FF, #F8F9FF);
  color: #1E293B;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* === HEADER === */
.logo-header {
  background: linear-gradient(to right, #4F46E5, #8B5CF6);
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.top-header,
.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}

.logo {
  height: 50px;
  width: auto;
  border-radius: 12px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: #1E3A8A;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  background-color: #E0E7FF;
  color: #3730A3;
}


/* === TITLE === */
.title-header,
.main-header {
  text-align: center;
  padding: 20px;
  background: #EEF2FF;
  border-bottom: 1px solid #E2E8F0;
}

.main-title,
.main-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1E40AF;
  margin: 0;
}

.subtitle,
.main-header p {
  font-size: 1rem;
  color: #475569;
  margin-top: 8px;
}

.new-badge {
  background: red;
  color: white;
  font-size: 0.7em;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 4px;
}

/* === TELEGRAM BANNER === */
.telegram-banner {
  margin: 30px 0;
  text-align: center;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  background-color: #E0E7FF;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #3730A3;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.telegram-link:hover {
  background-color: #c7d2fe;
}

.telegram-icon {
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

/* === FILTERS === */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px 0 30px;
}

.filters input,
.filters select {
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  max-width: 300px;
}

.filters input:focus,
.filters select:focus {
  border-color: #4F46E5;
  outline: none;
}

/* === JOB GRID === */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.job-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.company-logo {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 12px;
  background-color: #F1F5F9;
  padding: 10px;
}

.job-category {
  background: #E0E7FF;
  color: #3730A3;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.job-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #1E40AF;
}

.job-card p {
  margin: 4px 0;
  color: #475569;
  font-size: 0.95rem;
}

.view-details {
  margin-top: auto;
  text-decoration: none;
  color: #4F46E5;
  font-weight: 600;
  margin-top: 12px;
  display: inline-block;
}

/* === PAGINATION === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.page-button {
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  background-color: #fff;
  color: #1e293b;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.page-button:hover {
  background-color: #e0e7ff;
  border-color: #a5b4fc;
  color: #3730a3;
}

.page-button.active {
  background-color: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
}

/* === ABOUT === */
.about-content {
  max-width: 800px;
  margin: 2rem auto;
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
}

.about-content a {
  color: #007bff;
  text-decoration: none;
}

.about-content a:hover {
  text-decoration: underline;
}

/* === FOOTER === */
footer {
  margin-top: 80px;
  padding: 40px 20px;
  background-color: #F1F5F9;
  text-align: center;
  color: #64748B;
  border-top: 1px solid #E2E8F0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background-color: #4F46E5;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #4F46E5;
}

.footer-links a:hover::after {
  width: 100%;
}

footer p {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #94A3B8;
}

.social-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icon {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  background-color: #E0E7FF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon i {
  font-size: 18px;
  color: #1E3A8A;
}

.social-icon:hover {
  background-color: #C7D2FE;
  transform: scale(1.1);
}


/* === RESPONSIVE BREAKPOINTS === */
@media (min-width: 640px) {
  .main-title,
  .main-header h1 {
    font-size: 2rem;
  }

  .filters input,
  .filters select {
    width: auto;
  }

  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .job-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-title,
  .main-header h1 {
    font-size: 2.5rem;
  }
}
