/* Modern Careers Section Styles */

/* Section Container */
.modern-careers-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.modern-careers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(3, 50, 112, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.modern-careers-section .container {
  position: relative;
  z-index: 1;
}

/* Image Wrapper */
.modern-careers-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  height: 100%;
  min-height: 500px;
}

.modern-careers-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(3, 50, 112, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.modern-careers-image-wrapper:hover::before {
  opacity: 1;
}

.modern-careers-image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
}

.modern-careers-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.modern-careers-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Content Area */
.modern-careers-content {
  padding-left: 30px;
}

.modern-careers-header {
  margin-bottom: 35px;
}

.modern-careers-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2196f3;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-careers-label i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.modern-careers-label:hover i {
  transform: translateX(5px);
}

.modern-careers-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #033270;
  margin-bottom: 20px;
  line-height: 1.3;
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.modern-careers-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Form Card */
.modern-careers-form-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modern-careers-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #033270 0%, #2196f3 50%, #033270 100%);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 2;
}

.modern-careers-form-card:hover::before {
  transform: scaleX(1);
  animation: borderFlow 2s ease infinite;
}

@keyframes borderFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.modern-careers-form-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.modern-careers-form-card:hover::after {
  width: 150%;
  height: 150%;
}

.modern-careers-form-card:hover {
  transform: translateY(-8px);
  border-color: #2196f3;
  box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
}

.modern-careers-form-card .card-body {
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Form Labels */
.modern-careers-form-card .form-label {
  font-weight: 600;
  color: #033270;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  display: block;
}

.modern-careers-form-card .required-field::after {
  content: "*";
  color: #dc3545;
  margin-left: 4px;
  font-weight: 700;
}

/* Form Controls */
.modern-careers-form-card .form-control {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  background: #ffffff;
  width: 100%;
}

.modern-careers-form-card .form-control:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
  outline: none;
  background: #ffffff;
}

.modern-careers-form-card .form-control::placeholder {
  color: #adb5bd;
}

.modern-careers-form-card .form-control:valid {
  border-color: #10b981;
}

.modern-careers-form-card .form-control:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

/* File Input */
.modern-careers-form-card input[type="file"] {
  padding: 0.75rem;
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  transition: all 0.3s ease;
  cursor: pointer;
}

.modern-careers-form-card input[type="file"]:hover {
  border-color: #2196f3;
  background: rgba(33, 150, 243, 0.05);
}

.modern-careers-form-card input[type="file"]:focus {
  border-color: #2196f3;
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
  outline: none;
}

/* Textarea */
.modern-careers-form-card textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* Submit Button */
.modern-careers-submit-btn {
  background: linear-gradient(135deg, #033270 0%, #2196f3 100%);
  border: none;
  border-radius: 12px;
  padding: 0.875rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(3, 50, 112, 0.3);
  width: 100%;
}

.modern-careers-submit-btn::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.5s ease;
}

.modern-careers-submit-btn:hover::before {
  left: 100%;
}

.modern-careers-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, #2196f3 0%, #033270 100%);
}

.modern-careers-submit-btn:active {
  transform: translateY(-1px);
}

/* Invalid Feedback */
.modern-careers-form-card .invalid-feedback {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .modern-careers-section {
    padding: 80px 0;
  }
  
  .modern-careers-content {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .modern-careers-image-wrapper {
    min-height: 400px;
  }
  
  .modern-careers-form-card .card-body {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .modern-careers-section {
    padding: 60px 0;
  }
  
  .modern-careers-image-wrapper {
    min-height: 300px;
    border-radius: 15px;
  }
  
  .modern-careers-form-card {
    border-radius: 20px;
  }
  
  .modern-careers-form-card .card-body {
    padding: 1.75rem;
  }
  
  .modern-careers-title {
    font-size: 2rem;
  }
  
  .modern-careers-description {
    font-size: 1rem;
  }
}

