/* Open Roles Page Styles */

/* Hero Section */
.open-roles-hero {
  position: relative;
  background: url('../assets/images/Career-Fair-10.jpg') center/cover;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.open-roles-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(156, 36, 255, 0.85) 0%, rgba(74, 14, 158, 0.85) 50%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Why Work With Us Section */
.why-work-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(156, 36, 255, 0.15);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.benefit-card p {
  color: #666;
  line-height: 1.6;
}

/* Positions Section */
.positions-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}

.positions-header {
  text-align: center;
  margin-bottom: 60px;
}

.positions-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Positions Layout */
.positions-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
  background: #ffffff;
  padding: 0;
  position: sticky;
  top: 80px;
  height: calc(100vh - 100px);
  border-right: 1px solid #e1e5e9;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 16px 0;
  border-bottom: 1px solid #f1f3f4;
  margin-bottom: 20px;
}

.filter-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.clear-filters {
  background: transparent;
  border: none;
  color: #9c24ff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.clear-filters:hover {
  background: rgba(156, 36, 255, 0.1);
}

.filter-search {
  margin-bottom: 24px;
}

.search-input {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  font-size: 0.875rem;
  color: #374151;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-bottom-color: #9c24ff;
}

.search-input::placeholder {
  color: #9ca3af;
}

.filter-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.filter-content::-webkit-scrollbar {
  width: 4px;
}

.filter-content::-webkit-scrollbar-track {
  background: transparent;
}

.filter-content::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

.filter-content::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.filter-section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f8f9fa;
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Filter Tabs (now vertical) */
.filter-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-tab {
  background: transparent;
  border: none;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b7280;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-tab:hover {
  color: #374151;
  background: #f9fafb;
}

.filter-tab.active {
  background: #f3e8ff;
  color: #9c24ff;
  font-weight: 500;
}

.filter-tab .count {
  font-size: 0.75rem;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
}

.filter-tab.active .count {
  background: #f3e8ff;
  color: #9c24ff;
}

/* Filter Options */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 0.2s ease;
  padding: 6px 0;
  position: relative;
}

.filter-option:hover {
  color: #374151;
}

.filter-option input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.filter-option input[type="checkbox"]:checked + .checkmark {
  background: #9c24ff;
  border-color: #9c24ff;
}

.filter-option input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10px;
  font-weight: bold;
}

.filter-option .label {
  flex: 1;
}

.filter-option .count {
  font-size: 0.75rem;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 12px;
  min-width: 18px;
  text-align: center;
}

/* Jobs Main Container */
.jobs-main {
  min-height: 600px;
}

/* Job Cards */
.jobs-container {
  display: grid;
  gap: 0;
  margin-bottom: 40px;
}

.job-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 32px 0;
  transition: all 0.3s ease;
  position: relative;
}

.job-card:last-child {
  border-bottom: none;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
  line-height: 1.3;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.job-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #9c24ff;
  transition: width 0.3s ease;
}

.job-title:hover::after {
  width: 100%;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}

.job-title-section {
  flex: 1;
}

.job-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.job-department {
  background: #f3f4f6;
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.job-location,
.job-type {
  background: #f3f4f6;
  color: #6b7280;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.job-salary {
  font-size: 1rem;
  font-weight: 700;
  color: #059669;
  white-space: nowrap;
}

.job-description {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.skill-tag {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
}

.job-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.apply-btn {
  background: #9c24ff;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  white-space: nowrap;
}

.apply-btn:hover {
  background: #7c1d99;
  transform: translateY(-1px);
}

.save-btn {
  background: transparent;
  border: none;
  color: #6b7280;
  padding: 8px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.save-btn svg {
  width: 16px;
  height: 16px;
}

.save-btn:hover {
  color: #9c24ff;
  background: rgba(156, 36, 255, 0.1);
}

/* Load More Section */
.load-more-section {
  text-align: center;
  margin-top: 32px;
}

.load-more-btn {
  background: transparent;
  border: 2px solid #9c24ff;
  color: #9c24ff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.load-more-btn:hover {
  background: #9c24ff;
  color: white;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.process-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  background: linear-gradient(135deg, #9c24ff, #6c1ce6);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.step-content p {
  color: #666;
  line-height: 1.6;
}

/* Culture Section */
.culture-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 50%, #f0f7ff 100%);
  overflow: hidden;
}

.culture-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.culture-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shape-1 {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, rgba(156, 36, 255, 0.1), rgba(108, 28, 230, 0.05));
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  position: absolute;
  top: 60%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, rgba(74, 14, 158, 0.1), rgba(156, 36, 255, 0.05));
  border-radius: 50%;
  filter: blur(50px);
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  position: absolute;
  bottom: 10%;
  left: 30%;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.08), rgba(156, 36, 255, 0.05));
  border-radius: 50%;
  filter: blur(40px);
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.culture-section .container {
  position: relative;
  z-index: 2;
}

.culture-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(156, 36, 255, 0.1), rgba(108, 28, 230, 0.1));
  color: #9c24ff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(156, 36, 255, 0.2);
  backdrop-filter: blur(10px);
}

.culture-header h2 {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a0e9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  line-height: 1.2;
}

.culture-header p {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.7;
  font-weight: 400;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.culture-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.culture-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(156, 36, 255, 0.8), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.culture-card:hover::before {
  transform: translateX(100%);
}

.culture-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(156, 36, 255, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #9c24ff, #6c1ce6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.culture-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(156, 36, 255, 0.3);
}

.culture-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.culture-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

.card-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #9c24ff, #6c1ce6, #4a0e9e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.culture-card:hover .card-highlight {
  transform: scaleX(1);
}

.culture-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 320px;
  display: flex;
  flex-direction: column;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(156, 36, 255, 0.1), rgba(108, 28, 230, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #9c24ff, #6c1ce6, #4a0e9e, #9c24ff);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::after {
  opacity: 1;
}

/* Pulse animation for stat numbers */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.stat-card:hover .stat-number {
  animation: pulse 2s ease-in-out infinite;
}

/* Add shimmer effect to images */
.stat-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  z-index: 2;
}

.stat-card:hover .stat-image::before {
  left: 100%;
}

.stat-image {
  position: relative;
  height: 60%;
  overflow: hidden;
}

.stat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stat-card:hover .stat-image img {
  transform: scale(1.1);
}

.stat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(156, 36, 255, 0.7) 0%,
    rgba(108, 28, 230, 0.5) 50%,
    rgba(74, 14, 158, 0.8) 100%
  );
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.stat-card:hover .stat-overlay {
  opacity: 0.8;
}

.stat-content {
  height: 40%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #9c24ff, #6c1ce6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-description {
  font-size: 0.8rem;
  color: #666;
  font-weight: 400;
  opacity: 0.8;
}

.stat-label {
  font-size: 0.95rem;
  color: #a0a0a0;
  font-weight: 500;
}

.culture-cta {
  text-align: center;
}

.culture-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #9c24ff, #6c1ce6);
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(156, 36, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.culture-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.culture-btn:hover::before {
  left: 100%;
}

.culture-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(156, 36, 255, 0.4);
}

.culture-btn svg {
  transition: transform 0.3s ease;
}

.culture-btn:hover svg {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .culture-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .stat-card {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .culture-section {
    padding: 80px 0;
  }
  
  .culture-header h2 {
    font-size: 2.5rem;
  }
  
  .culture-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .culture-card {
    padding: 30px 20px;
  }
  
  .culture-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-card {
    height: 280px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-content {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .culture-stats {
    gap: 15px;
  }
  
  .stat-card {
    height: 260px;
  }
  
  .stat-number {
    font-size: 1.6rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .stat-description {
    font-size: 0.75rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: 120px 0;
  background: #ffffff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-title h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0;
  position: sticky;
  top: 100px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.faq-item:first-child {
  border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
  border-radius: 0 0 12px 12px;
}

.faq-item:only-child {
  border-radius: 12px;
}

.faq-question {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-item.active .faq-question {
  background: #f0f0f0;
  border-bottom: 1px solid #e8e8e8;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  flex-grow: 1;
  padding-right: 20px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #9c24ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-content {
  padding: 24px 28px ;
}

.faq-content p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.faq-content a {
  color: #9c24ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-content a:hover {
  color: #6c1ce6;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Filter Animation */
.job-card.hide {
  display: none;
}

.job-card.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Filter functionality CSS classes */
.job-card.hide {
  display: none !important;
}

.job-card.show {
  display: block !important;
}

/* Smooth transition for filtering */
.job-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.job-card.hide {
  opacity: 0;
  transform: translateY(-10px);
  display: none !important;
}

.job-card.show {
  opacity: 1;
  transform: translateY(0);
  display: block !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .positions-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .filter-sidebar {
    height: auto;
    max-height: 400px;
    border-right: none;
    border-bottom: 1px solid #e1e5e9;
    padding-right: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
    position: static;
  }
  
  .filter-header {
    padding: 16px 0 12px 0;
    margin-bottom: 16px;
  }
  
  .filter-search {
    margin-bottom: 20px;
  }
  
  .filter-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  
  .filter-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .filter-tab {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 8px 12px;
  }
  
  .filter-options {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .filter-option {
    min-width: 120px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .culture-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .culture-image {
    order: -1;
  }
}

/* FAQ Responsive Design */
@media (max-width: 1024px) {
  .faq-layout {
    gap: 60px;
  }
  
  .faq-title h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 0;
  }
  
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .faq-title {
    text-align: center;
  }
  
  .faq-title h2 {
    font-size: 2.5rem;
    position: static;
  }
  
  .faq-question {
    padding: 20px 24px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-content {
    padding: 0 24px 20px;
  }
}

@media (max-width: 768px) {
  .open-roles-hero {
    min-height: 70vh;
    padding: 0 15px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .positions-header h2,
  .process-section h2,
  .culture-text h2,
  .faq-section h2 {
    font-size: 2.2rem;
  }
  
  .filter-sidebar {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  
  .filter-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
  }
  
  .filter-options {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .job-card {
    padding: 24px 0;
  }
  
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .job-actions {
    flex-direction: row;
    width: auto;
    align-self: flex-end;
    gap: 8px;
  }
  
  .apply-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .save-btn {
    width: 32px;
    height: 32px;
  }
  
  .save-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-card {
    padding: 30px 25px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .filter-sidebar {
    padding: 16px;
  }
  
  .filter-tabs {
    flex-direction: column;
    gap: 6px;
  }
  
  .filter-tab {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .filter-options {
    flex-direction: column;
    gap: 10px;
  }
  
  .job-card {
    padding: 16px;
  }
  
  .job-title {
    font-size: 1.1rem;
  }
  
  .job-meta {
    gap: 6px;
  }
  
  .job-department,
  .job-location,
  .job-type {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
  
  .job-salary {
    font-size: 0.9rem;
  }
  
  .job-description {
    font-size: 0.9rem;
  }
  
  .skill-tag {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
  
  .apply-btn,
  .save-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .benefit-card {
    padding: 25px 20px;
  }
  
  .positions-header h2,
  .process-section h2,
  .culture-text h2,
  .faq-section h2 {
    font-size: 1.8rem;
  }
}

/* Print Styles */
@media print {
  .open-roles-hero {
    background: none;
    color: black;
    min-height: auto;
    padding: 20px 0;
  }
  
  .job-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .apply-btn,
  .save-btn,
  .load-more-btn,
  .culture-btn {
    display: none;
  }
}

/* Filter functionality CSS classes */
.job-card.hide {
  display: none !important;
}

.job-card.show {
  display: block !important;
}

/* Smooth transition for filtering */
.job-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.job-card.hide {
  opacity: 0;
  transform: translateY(-10px);
  display: none !important;
}

.job-card.show {
  opacity: 1;
  transform: translateY(0);
  display: block !important;
}