/* Career Hero Section */
.career-hero {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.career-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/bg4.jpg') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.career-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.career-hero-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.career-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.career-hero-content p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s both;
}

.cta-hero-btn {
  display: inline-block;
  padding: 15px 40px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Why Join Us Section */
.why-join-section {
  padding: 80px 20px;
  background: #f9fafb;
}

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

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #718096;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.benefit-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.5rem;
  color: #2d3748;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-card p {
  color: #718096;
  line-height: 1.6;
  font-size: 1rem;
}

/* Life at Company Section */
.life-at-company {
  padding: 80px 20px;
  background: white;
}

.life-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 80px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: #4a5568;
  font-weight: 500;
}

.culture-values {
  max-width: 1200px;
  margin: 0 auto;
}

.culture-values h3 {
  text-align: center;
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 50px;
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: #f7fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.value-item:hover h4,
.value-item:hover p {
  color: white;
}

.value-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 15px;
}

.value-item h4 {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 10px;
  font-weight: 600;
}

.value-item p {
  color: #718096;
  line-height: 1.6;
}

/* Open Positions Section */
.open-positions {
  padding: 80px 20px;
  background: #f9fafb;
}

.job-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.filter-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.job-card {
  background: white;
  padding: 35px;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

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

.job-header h3 {
  font-size: 1.5rem;
  color: #2d3748;
  font-weight: 600;
  flex: 1;
}

.job-type {
  background: #e6f7ff;
  color: #1890ff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: #718096;
  font-size: 0.95rem;
}

.job-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.skill-tag {
  background: #f7fafc;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.apply-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  color: white !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.apply-btn:focus,
.apply-btn:active,
.apply-btn:visited {
  color: white !important;
}

/* Application Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 3% auto;
  padding: 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  position: relative;
  animation: slideDown 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 2rem;
  font-weight: 300;
  color: #718096;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #667eea;
}

.modal-content h2 {
  font-size: 2rem;
  color: #2d3748;
  margin-bottom: 30px;
  font-weight: 600;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.95rem;
  color: #4a5568;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
  padding: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Freshers Section */
.freshers-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.freshers-section .section-title,
.freshers-section .section-subtitle {
  color: white;
}

.freshers-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.freshers-info {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.freshers-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.freshers-info p {
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.95;
}

.freshers-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.freshers-benefits li {
  padding: 10px 0;
  font-size: 1.05rem;
  opacity: 0.95;
}

.cta-btn {
  padding: 15px 35px;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Career CTA Section */
.career-cta {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.career-cta h2 {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 20px;
  font-weight: 600;
}

.career-cta p {
  font-size: 1.2rem;
  color: #718096;
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-secondary {
  padding: 15px 40px;
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

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

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .career-hero-content h1 {
    font-size: 2.5rem;
  }

  .career-hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .benefits-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .freshers-content {
    grid-template-columns: 1fr;
  }

  .life-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 30px 20px;
    margin: 10% auto;
  }

  .job-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .career-hero-content h1 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .life-stats {
    grid-template-columns: 1fr;
  }
}


/* Force button text to stay white - override any conflicting styles */
.job-card .apply-btn,
.job-card .apply-btn:hover,
.job-card .apply-btn:focus,
.job-card .apply-btn:active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
