:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}
.modal-section h5{
    font-size:15px;
}
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-x: hidden;
}


/* Hero Banner */
.hero-banner {
  position: relative;
  height: 400px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.ad-wrapper  img{
      width: 219px !important;
    height: 701px !important;
  
}

.jobs-sidebar .ad-badge{ 
    margin-left:0 !important;
}
.jobs-sidebar-left .ad-item .ad-wrapper img{
        margin: 0 auto;
}





.hero-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-search {
  display: flex;
  gap: 1rem;
  width: 90%;
  max-width: 560px;
  background: var(--bg-primary);
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  animation: slideUpHero 0.9s ease-out 0.9s forwards;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: 0.3s ease-in-out;
  justify-content: center;
}

@keyframes slideUpHero {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }

  to {
    opacity: 0.95;
    transform: translate(-50%, -50%);
  }
}

.job-search-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
}

.location-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: var(--text-primary);
  border-left: 1px solid var(--border-color);
}

.location-box i {
  color: var(--text-secondary);
}

.location-box select {
  border: none;
  outline: none;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}

/* Carousel */
.carousel-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -2;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.active {
  opacity: 1;
}


/* Main Content */
.main-content {
  padding-top: 0rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.jobs-section {
     padding: 3rem 0;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Cards container at full width 100%, adjusted layout with 290px ad width */
.jobs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  position: relative !important;
}

.jobs-main {
  min-width: 0;
  width: 100% !important; 
  margin: 0 auto;
  padding: 0 310px;
  box-sizing: border-box;
}

.jobs-sidebar,
.jobs-sidebar-left {
  display: flex;
  position: fixed;
  z-index: 100;
  flex-direction: column;
  gap: 1rem;
  overflow-x: hidden;
  width: 290px;
  max-width: 290px;
  box-sizing: border-box;
  align-self: flex-start;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  right: 0;
  top: 500px;
  scroll-behavior: smooth;

}

.jobs-sidebar-left {
  left: 1rem;
}

.jobs-sidebar {
  right: -1rem;
}

/* Filter Bar */
.filter-bar {
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.filter-bar form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.filter-group select {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.filter-group select:hover {
  border-color: #9ca3af;
}

.filter-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Job Cards */
.jobs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  width: 100%;
}

.job-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.job-card.premium {
  border: 2px solid #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 50%);
}

.job-card.premium:hover {
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.15);
  border-color: #f59e0b;
}
.ad-badge{
    margin-left:33px;
}
.premium-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.25);
}

.job-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.company-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.job-card:hover .company-logo {
  transform: scale(1.05);
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.company-logo i {
  font-size: 18px;
  color: var(--primary-color);
}

.job-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.company-name {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  background: var(--bg-secondary);
  padding: 4px 8px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.meta-item:hover {
  background: #f3f4f6;
}

.meta-item i {
  color: var(--primary-color);
  font-size: 11px;
}

.job-description {
  color: #4b5563;
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.salary {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.salary i {
  font-size: 14px;
}

.views {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 2px dashed var(--border-color);
  font-size: 14px;
  font-weight: 500;
}

/* Ads Container - 290px width, 500px height */
.ad-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 290px;
  height: 850px;
  box-sizing: border-box;
}

.ad-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.ad-content {
  padding: 0.5rem;
  display: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100000000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(4px);
  overflow: auto;
  animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: #fff;
  margin: 4% auto;
  padding: 0;
  max-height: 900px;
  overflow: auto;
  border-radius: 16px;
  max-width: 1000px;
  position: relative;
  animation: slideUpModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
}
#detailsModal{
  scrollbar-width: none;
}
@keyframes slideUpModal {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  background: var(--bg-secondary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: var(--danger-color);
  color: #fff;
  transform: rotate(90deg);
}

.modal-details {
  padding: 28px;
}

/* Modal-details içindeki • işaretlerini mavi yap */
.modal-details p span[style*="color: #3b82f6"] {
  color: #3b82f6 !important;
  font-size: 16px;
}

.modal-details .section-content span[style*="color: #3b82f6"] {
  color: #3b82f6 !important;
}

.modal-details h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-details h2 i {
  color: var(--primary-color);
}

.modal-company-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-company-logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.modal-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.modal-company-logo i {
  font-size: 20px;
  color: var(--primary-color);
}

.modal-company {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 500;
}

.premium-badge-modal {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
  padding: 18px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-size: 14px;
}

.modal-info-grid strong {
  color: var(--text-primary);
  font-weight: 600;
}

.modal-section {
  margin: 20px 0;
}

.modal-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.modal-section p {
  
  line-height: 2;
  font-size: 14px;
}

.modal-views {
  padding: 14px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bfdbfe 100%);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  margin: 20px 0;
  font-weight: 600;
  color: #1e40af;
  font-size: 14px;
}

/* Role-based messages */
.login-message,
.biznes-message {
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-message {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #3b82f6;
  color: #1e40af;
}

.login-message a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

.login-message a:hover {
  color: var(--primary-dark);
}

.biznes-message {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #ef4444;
  color: #991b1b;
}

.biznes-message i {
  font-size: 16px;
}

/* Application Form Styles - No disabled fields, custom user input allowed */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.form-group label i {
  color: var(--primary-color);
  font-size: 13px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.file-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-label:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.file-name {
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
}

.form-hint {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-hint i {
  color: var(--primary-color);
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.btn-cancel,
.btn-submit {
  flex: 1;
  padding: 11px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "Inter", sans-serif;
}

.btn-cancel {
  background: #f3f4f6;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-cancel:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-apply,
.btn-applied,
.btn-login {
  width: 100%;
  padding: 13px 22px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "Inter", sans-serif;
}

.btn-apply {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-applied {
  background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
  color: #fff;
  cursor: not-allowed;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-login {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: #fff;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(75, 85, 99, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
  .jobs-main {
    padding: 0 1rem !important;
  }
  
  .jobs-sidebar,
  .jobs-sidebar-left {
    width: 250px;
    right: 0.5rem;
  }
}

@media (max-width: 1024px) {
  .jobs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .jobs-sidebar,
  .jobs-sidebar-left {
    display: none;
  }

  .jobs-main {
    width: 100% !important;
    margin: 0;
    padding: 0 1rem !important;
  }

  .hero-search {
    flex-direction: column;
    gap: 0;
    width: 95%;
  }

  .location-box {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .hero-banner {
    height: 350px;
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 300px;
    min-height: 300px;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-search {
    width: 95%;
    max-width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.4rem;
  }
  
  .search-box,
  .location-box {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding: 0.6rem;
  }
  
  .location-box {
    border-top: 1px solid var(--border-color);
  }
  
  .jobs-section {
    padding: 2rem 0;
  }
  
  .jobs-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .filter-bar {
    padding: 12px;
    margin-bottom: 15px;
  }
  
  .filter-bar form {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .filter-group select {
    font-size: 12px;
    padding: 7px 10px;
  }

  .modal-content {
    margin: 10px;
    max-width: calc(100% - 20px);
    max-height: 95vh;
  }

  .modal-details {
    padding: 18px;
  }

  .modal-details h2 {
    font-size: 18px;
  }

  .modal-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .job-card {
    padding: 12px;
  }
  
  .job-header {
    gap: 10px;
  }
  
  .company-logo {
    width: 38px;
    height: 38px;
  }
  
  .job-info h3 {
    font-size: 13px;
  }
  
  .company-name {
    font-size: 11px;
  }
  
  .job-meta {
    gap: 5px;
  }
  
  .meta-item {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .job-description {
    font-size: 11px;
  }
  
  .salary {
    font-size: 12px;
  }
  
  .views {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-banner {
    height: 280px;
    min-height: 280px;
  }

  .hero-content {
    padding: 0 0.75rem;
  }
  
  .hero-search {
    width: 100%;
    padding: 0.35rem;
  }
  
  .search-box input,
  .location-box select {
    font-size: 14px;
  }

  .jobs-section {
    padding: 1.5rem 0;
  }
  
  .filter-bar {
    padding: 10px;
  }
  
  .filter-group label {
    font-size: 11px;
  }
  
  .filter-group select {
    font-size: 11px;
    padding: 6px 8px;
  }

  .job-meta {
    gap: 5px;
    flex-wrap: wrap;
  }

  .meta-item {
    font-size: 9px;
    padding: 3px 6px;
  }

  .job-info h3 {
    font-size: 12px;
  }
  
  .company-logo {
    width: 35px;
    height: 35px;
  }
  
  .company-logo i {
    font-size: 16px;
  }

  .salary {
    font-size: 11px;
  }

  .views {
    font-size: 9px;
  }
  
  .job-description {
    font-size: 10px;
  }
  
  .modal-content {
    margin: 5px;
    max-width: calc(100% - 10px);
    border-radius: 12px;
  }
  
  .modal-details {
    padding: 15px;
  }
  
  .modal-details h2 {
    font-size: 16px;
  }
  
  .modal-company-header {
    gap: 10px;
  }
  
  .modal-company-logo {
    width: 45px;
    height: 45px;
  }
  
  .modal-company {
    font-size: 13px;
  }
  
  .modal-info-grid {
    padding: 12px;
    gap: 8px;
  }
  
  .modal-section h4 {
    font-size: 14px;
  }
  
  .modal-section p {
    font-size: 12px;
  }
  
  .close-modal {
    width: 32px;
    height: 32px;
    font-size: 20px;
    right: 15px;
    top: 15px;
  }
}

@media (max-width: 360px) {
  .hero-banner {
    height: 250px;
    min-height: 250px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-search {
    padding: 0.3rem;
  }
  
  .search-box input,
  .location-box select {
    font-size: 13px;
    padding: 0.5rem;
  }
  
  .job-card {
    padding: 10px;
  }
  
  .company-logo {
    width: 32px;
    height: 32px;
  }
  
  .job-info h3 {
    font-size: 12px;
  }
  
  .company-name {
    font-size: 10px;
  }
  
  .modal-content {
    margin: 5px;
    max-width: calc(100% - 10px);
  }
  
  .modal-details {
    padding: 12px;
  }
  
  .modal-details h2 {
    font-size: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
}

.site-footer {
  background: #1e293b;
  color: white;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 3rem 0;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--primary-color);
}

.footer-section p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: .75rem;
}

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: .95rem;
}

.footer-section ul li a:hover {
  color: white;
  padding-left: .25rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  color: #cbd5e1;
  font-size: .95rem;
}

.contact-info i {
  color: var(--primary-color);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding: 1.5rem 0;
  text-align: center;
  color: #94a3b8;
  font-size: .9rem;
}
.modal-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1000px;
    scrollbar-width: none;
    margin: 0 auto;
    padding: 20px;
}

.modal-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.modal-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 28px 0 12px 0;
    padding-left: 4px;
}

.modal-section p {
    margin:-12px 0 12px 0;
    color: #444;
    font-size: 17px !important;
}

.modal-section ul {
    margin: 12px 0;
    padding-left: 24px;
    list-style: none;
}

.modal-section ul li {
    margin-bottom: 8px;
    position: relative;
    color: #444;
    font-size: 15px;
    padding-left: 20px;
}

.modal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #3b82f6;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
}

/* Optional: Add a subtle background and shadow to the whole section */
.modal-section {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

/* Make it responsive */
@media (max-width: 768px) {
    .modal-section {
        padding: 10px;
        border-radius: 8px;
    }
    
    .modal-section h3 {
        font-size: 17px;
    }
    
    .modal-section p,
    .modal-section ul li {
        font-size: 14.5px !important;
    }
    .modal-section ul{
        padding:0;
    }
}

/* Remove empty paragraph styling */
.modal-section p:empty {
    display: none;
}

.modal-section p[style="color: #575050"] {
    color: #575050 !important;
}

.section-content ul {
    list-style: none;
    margin: 12px 0;
    padding-left: 24px;
}

.section-content ul li {
    margin-bottom: 8px;
    position: relative;
    color: #444;
    font-size: 15px;
    padding-left: 20px;
}

.section-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #3b82f6;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
}
