/* career-support.css */

.career-support-hero {
  padding: 160px 5% 100px;
  background:
    radial-gradient(
      circle at top right,
      rgba(39, 217, 83, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(39, 217, 83, 0.05) 0%,
      transparent 50%
    );
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service Cards */
.support-services-section {
  padding: 80px 5%;
  background: var(--bg-dark);
}

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

.support-card {
  background: #0a110b;
  border: 1px solid rgba(39, 217, 83, 0.1);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(39, 217, 83, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.support-card:hover {
  transform: translateY(-10px);
  border-color: rgba(39, 217, 83, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

.support-icon {
  width: 80px;
  height: 80px;
  background: rgba(39, 217, 83, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--primary);
  font-size: 2rem;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.support-card:hover .support-icon {
  background: var(--primary);
  color: #000;
  transform: scale(1.1);
}

.support-card h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
}

.support-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.support-card:hover .support-btn {
  background: var(--primary);
  color: #0a110b;
}

.support-btn:hover {
  transform: scale(1.05);
}

/* Modal Enhancements */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(
    145deg,
    rgba(24, 36, 27, 0.95),
    rgba(14, 22, 16, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.4);
  transform: rotate(90deg);
}

.details-modal-content {
  max-width: 600px;
}

.modal-header {
  text-align: left;
  margin-bottom: 25px;
}

.modal-header h2 {
  color: white;
  margin-bottom: 10px;
}

.modal-header p {
  color: var(--text-muted);
}

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

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  transition: opacity 0.3s, visibility 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #000;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.btn-submit:hover {
  background: white;
  transform: translateY(-2px);
}
