/* Designed and developed by Aditya Panigrahi */

/* Careers Page Styles */

/* Main container for all sections */
main {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

/* Hero Section */
.careers-hero {
  background: radial-gradient(circle at center, 
        #f0f9ff 0%, 
        #dbeafe 50%, 
        #93c5fd 100%);
  /* background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 180, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(120, 200, 150, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(200, 150, 255, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px); */
  background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px, 30px 30px;
  min-height: 500px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 8px 32px rgba(0, 0, 0, 0.08);
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
}

.careers-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(100, 150, 255, 0.03) 0%, transparent 25%),
    radial-gradient(circle at 70% 70%, rgba(150, 200, 100, 0.03) 0%, transparent 25%);
  animation: gentleFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gentleFloat {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg); 
  }
  33% { 
    transform: translate(30px, -30px) rotate(1deg); 
  }
  66% { 
    transform: translate(-20px, 20px) rotate(-1deg); 
  }
}

.careers-hero-content h1 {
  color: var(--black);
  margin-bottom: 1.5rem;
}

.careers-hero-content .sub-heading {
  color: #666666;
  font-size: 18px;
  line-height: 1.6;
}

/* Invitation Badge */
.invitation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

.invitation-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%);
  border-radius: 25px;
  pointer-events: none;
}

.invitation-badge i {
  font-size: 1rem;
  color: var(--primary-blue);
  position: relative;
  z-index: 1;
}

.invitation-badge span {
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Invitation Highlights */
.invitation-highlights {
  margin: 1.5rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0;
  color: #555;
  font-size: 0.95rem;
}

.highlight-item i {
  color: var(--primary-blue);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Team Image Container with Floating Elements */
.team-image-container {
  position: relative;
  display: inline-block;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: float 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.floating-element::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.15) 100%);
  border-radius: 50%;
  pointer-events: none;
}

.floating-element i {
  position: relative;
  z-index: 1;
}

.floating-element.element-1 {
  top: 10%;
  right: -10px;
  animation-delay: 0s;
}

.floating-element.element-2 {
  bottom: 20%;
  right: -15px;
  animation-delay: 1s;
}

.floating-element.element-3 {
  top: 50%;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.careers-stats {
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666666;
  font-weight: 500;
  margin: 0;
}

/* Careers Email Section */
.careers-email-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.email-info {
  padding: 1rem;
}

.email-icon {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.email-title {
  color: var(--black);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.email-subtitle {
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  border: 2px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.email-link:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  text-decoration: none;
}

.email-link i {
  font-size: 1rem;
}

.careers-hero-image img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.careers-hero-image img:hover {
  transform: translateY(-5px);
}

/* Career Form Section */
.career-form-section {
  background: linear-gradient(135deg, #e6f3ff 0%, #e8f5e8 100%);
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
  border-radius: 30px;
  margin: 10px 0;
  overflow: hidden;
}

.career-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(248, 249, 255, 0.7) 0%, rgba(240, 244, 255, 0.5) 50%, rgba(248, 249, 250, 0.3) 100%);
  z-index: 1;
}

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

.career-form-container {
  background: rgba(240, 247, 247, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.career-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  border-radius: 25px;
  pointer-events: none;
}

.career-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.career-form-header .form-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: block;
}

.career-form-header .form-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.career-form-header .form-subtitle {
  color: #666666;
  font-size: 1rem;
  margin: 0;
}

.career-form .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.career-form .form-label.required::after {
  content: "*";
  color: #dc3545;
  margin-left: 2px;
}

.career-form .form-control {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #333333;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: auto;
  min-height: 48px;
  box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.career-form .form-control:focus {
  border-color: rgba(63, 106, 217, 0.6);
  box-shadow: 
    0 0 0 3px rgba(63, 106, 217, 0.15),
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  color: #333333;
  transform: translateY(-1px);
}

.career-form .form-control::placeholder {
  color: #999999;
  font-size: 0.9rem;
}

.career-form textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.career-form .send-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 15px;
  background: rgba(63, 106, 217, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(63, 106, 217, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.career-form .send-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(63, 106, 217, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: rgba(63, 106, 217, 1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Open Positions Section */
.open-positions-section {
  background: linear-gradient(30deg, #f8fcff 0%, #f5f0f8 50%, #f0f8f0 100%);
  border-radius: 20px;
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}

.section-header .heading {
  color: var(--black);
  margin-bottom: 1rem;
}

.section-header .sub-heading {
  color: #666666;
  font-size: 18px;
  margin: 0;
}

.position-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.position-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border-radius: 25px;
  pointer-events: none;
}

.position-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.position-header {
  margin-bottom: 1.5rem;
}

.position-badge {
  display: inline-block;
  /* background: linear-gradient(15deg, var(--primary-green) 0%, var(--primary-blue) 100%); */
  background: #4f78e0;
background: linear-gradient(0deg, rgba(79, 120, 224, 1) 0%, rgb(153, 176, 143) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.position-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.position-location {
  color: #666666;
  font-size: 0.9rem;
  margin: 0;
}

.position-location i {
  color: var(--primary-blue);
  margin-right: 0.5rem;
}

.position-details {
  flex-grow: 1;
}

.position-description {
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.position-tags {
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  background-color: var(--light-green);
  color: var(--primary-green);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.position-requirements h6 {
  color: var(--black);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.position-requirements ul {
  color: #1a1a1a;
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 1.2rem;
  margin: 0;
}

.position-requirements li {
  margin-bottom: 0.5rem;
}

.position-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.apply-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(63, 106, 217, 0.3);
}

/* Why Join Us Section */
.why-join-section {
  background: linear-gradient(180deg, #B8EDFF 0%, #8FF2B8 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.why-join-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 2.5rem 2rem;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.25) 100%
  );
  border-radius: 25px;
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: #4f78e0;
background: linear-gradient(0deg, rgba(79, 120, 224, 1) 0%, rgb(153, 176, 143) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.benefit-icon i {
  font-size: 2rem;
  color: white;
}

.benefit-card h4 {
  color: var(--black);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.benefit-card p {
  color: #666666;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  animation: slideInRight 0.3s ease;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: white;
}

.notification-content i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.notification-content span {
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Notification Types */
.notification.success .notification-content {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notification.error .notification-content {
  background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

.notification.info .notification-content {
  background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
}

.notification.warning .notification-content {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
  color: #212529;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Enhanced Responsive Design */
/* Large Desktop */
@media (min-width: 1400px) {
  .careers-hero {
    min-height: 600px;
  }
  
  .careers-hero-content h1 {
    font-size: 3.5rem;
  }
  
  .career-form-container {
    padding: 2.5rem;
  }
  
  .position-card {
    padding: 2.5rem;
  }
  
  .benefit-card {
    padding: 2.5rem 2rem;
  }
}

/* Desktop */
@media (max-width: 1199px) {
  .careers-hero {
    min-height: 450px;
  }
  
  .careers-hero-content h1 {
    font-size: 2.8rem;
  }
  
  .career-form-container {
    padding: 2rem;
  }
  
  .position-card {
    padding: 1.8rem;
  }
}

/* Tablet Landscape */
@media (max-width: 991px) {
  .careers-hero {
    min-height: 400px;
    text-align: center;
  }
  
  .careers-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .careers-hero-content .sub-heading {
    font-size: 16px;
  }
  
  .careers-stats {
    margin-top: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .career-form-container {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .career-form-header .form-title {
    font-size: 2rem;
  }
  
  .career-form-header .form-icon {
    font-size: 2.5rem;
  }
  
  .position-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .position-title {
    font-size: 1.3rem;
  }
  
  .benefit-card {
    padding: 1.8rem 1.2rem;
    margin-bottom: 1rem;
  }
  
  .benefit-icon {
    width: 70px;
    height: 70px;
  }
  
  .benefit-icon i {
    font-size: 1.8rem;
  }
}

/* Tablet Portrait */
@media (max-width: 767px) {
  main {
    gap: 8px;
    padding: 8px;
  }
  
  .careers-hero {
    padding: 2rem 0;
    min-height: 350px;
    border-radius: 15px;
  }
  
  .invitation-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .highlight-item {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .floating-element {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  
  .careers-hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  
  .careers-hero-content .sub-heading {
    font-size: 15px;
    margin-bottom: 1rem;
  }
  
  .careers-stats {
    margin-top: 1rem;
  }
  
  .stat-item {
    padding: 0.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .career-form-section {
    padding: 2rem 0;
    border-radius: 25px;
    margin: 10px 0;
  }
  
  .career-form-container {
    padding: 1.5rem;
    margin: 0 0.5rem;
    border-radius: 15px;
  }
  
  .career-form-header .form-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .career-form-header .form-subtitle {
    font-size: 1rem;
  }
  
  .career-form-header .form-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .career-form .form-control {
    padding: 0.6rem 0.8rem;
    min-height: 44px;
    font-size: 0.9rem;
  }
  
  .career-form textarea.form-control {
    min-height: 100px;
  }
  
  .career-form .send-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }
  
  .open-positions-section {
    padding: 2rem 0;
    border-radius: 15px;
    margin: 10px 0;
  }
  
  .section-header .heading {
    font-size: 2rem;
  }
  
  .section-header .sub-heading {
    font-size: 16px;
  }
  
  .position-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 20px;
  }
  
  .position-title {
    font-size: 1.2rem;
  }
  
  .position-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .position-tags {
    margin-bottom: 1rem;
  }
  
  .tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
  }
  
  .position-requirements h6 {
    font-size: 0.9rem;
  }
  
  .position-requirements ul {
    font-size: 0.8rem;
  }
  
  .why-join-section {
    padding: 2rem 0;
    border-radius: 15px;
  }
  
  .benefit-card {
    padding: 1.8rem 1.2rem;
    margin-bottom: 1rem;
    border-radius: 20px;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .benefit-icon i {
    font-size: 1.5rem;
  }
  
  .benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .benefit-card p {
    font-size: 0.9rem;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .notification-content {
    padding: 0.8rem 1rem;
  }
  
  .notification-content span {
    font-size: 0.9rem;
  }
}

/* Mobile Large */
@media (max-width: 575px) {
  main {
    gap: 6px;
    padding: 6px;
  }
  
  .careers-hero {
    padding: 1.5rem 0;
    min-height: 300px;
    border-radius: 12px;
  }
  
  .invitation-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  
  .highlight-item {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
  
  .floating-element {
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .careers-hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  }
  
  .careers-hero-content .sub-heading {
    font-size: 14px;
    margin-bottom: 0.8rem;
  }
  
  .careers-stats .row {
    margin: 0;
  }
  
  .stat-item {
    padding: 0.3rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .career-form-section {
    padding: 1.5rem 0;
    border-radius: 12px;
  }
  
  .career-form-container {
    padding: 1.2rem;
    margin: 0 0.3rem;
    border-radius: 12px;
  }
  
  .career-form-header .form-title {
    font-size: 1.6rem;
  }
  
  .career-form-header .form-subtitle {
    font-size: 0.9rem;
  }
  
  .career-form-header .form-icon {
    font-size: 1.8rem;
  }
  
  .career-form .form-label {
    font-size: 0.9rem;
  }
  
  .career-form .form-control {
    padding: 0.5rem 0.7rem;
    min-height: 42px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  
  .career-form textarea.form-control {
    min-height: 80px;
  }
  
  .career-form .send-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 8px;
  }
  
  .open-positions-section {
    padding: 1.5rem 0;
    border-radius: 12px;
  }
  
  .section-header .heading {
    font-size: 1.8rem;
  }
  
  .section-header .sub-heading {
    font-size: 14px;
  }
  
  .position-card {
    padding: 1rem;
    border-radius: 15px;
  }
  
  .position-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 15px;
  }
  
  .position-title {
    font-size: 1.1rem;
  }
  
  .position-location {
    font-size: 0.8rem;
  }
  
  .position-description {
    font-size: 0.85rem;
  }
  
  .tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
  }
  
  .position-requirements h6 {
    font-size: 0.85rem;
  }
  
  .position-requirements ul {
    font-size: 0.75rem;
    padding-left: 1rem;
  }
  
  .apply-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }
  
  .why-join-section {
    padding: 1.5rem 0;
    border-radius: 12px;
  }
  
  .benefit-card {
    padding: 1.2rem 0.8rem;
    border-radius: 15px;
  }
  
  .benefit-icon {
    width: 50px;
    height: 50px;
  }
  
  .benefit-icon i {
    font-size: 1.3rem;
  }
  
  .benefit-card h4 {
    font-size: 1rem;
  }
  
  .benefit-card p {
    font-size: 0.85rem;
  }
  
  .notification-content {
    padding: 0.6rem 0.8rem;
  }
  
  .notification-content span {
    font-size: 0.85rem;
  }
  
  .notification-close {
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .careers-hero-content h1 {
    font-size: 1.6rem;
  }
  
  .career-form-container {
    padding: 1rem;
  }
  
  .career-form-header .form-title {
    font-size: 1.4rem;
  }
  
  .position-card {
    padding: 0.8rem;
  }
  
  .position-title {
    font-size: 1rem;
  }
  
  .benefit-card {
    padding: 1rem 0.6rem;
  }
  
  .benefit-icon {
    width: 45px;
    height: 45px;
  }
  
  .benefit-icon i {
    font-size: 1.2rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .position-card:hover {
    transform: none;
  }
  
  .benefit-card:hover {
    transform: none;
  }
  
  .careers-hero-image img:hover {
    transform: none;
  }
  
  .apply-btn:hover {
    transform: none;
  }
  
  .send-btn:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .apply-btn,
  .send-btn {
    min-height: 44px;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  .notification-close {
    min-width: 44px;
    min-height: 44px;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .position-card,
  .benefit-card,
  .career-form-container {
    border: 2px solid var(--black);
  }
  
  .tag {
    border: 1px solid var(--primary-green);
  }
  
  .form-control {
    border: 2px solid var(--black);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .position-card,
  .benefit-card,
  .careers-hero-image img,
  .apply-btn,
  .send-btn {
    transition: none;
  }
  
  .position-card:hover,
  .benefit-card:hover,
  .careers-hero-image img:hover,
  .apply-btn:hover,
  .send-btn:hover {
    transform: none;
  }
  
  .notification {
    animation: none;
  }
  
  .careers-hero::after {
    animation: none;
  }
  
  .invitation-badge {
    animation: none;
  }
  
  .floating-element {
    animation: none;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .careers-hero {
    min-height: 250px;
    padding: 1rem 0;
  }
  
  .careers-hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .careers-hero-content .sub-heading {
    font-size: 13px;
    margin-bottom: 0.5rem;
  }
  
  .career-form-container {
    padding: 1rem;
  }
  
  .career-form-header .form-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  
  .career-form-header .form-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .careers-hero-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .careers-hero {
    background: white !important;
    min-height: auto;
  }
  
  .career-form-container,
  .position-card,
  .benefit-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .apply-btn {
    display: none;
  }
  
  .notification {
    display: none;
  }
}

/* Card Transformation Styles */
.position-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.position-card.transformed {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.application-form-container {
  animation: slideInForm 0.4s ease-out;
}

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

.form-header {
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.form-header .form-title {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-header .form-subtitle {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.back-to-card {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.back-to-card:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateX(-3px);
}

.inline-application-form {
  padding: 0.5rem 0;
}

.inline-application-form .form-label {
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.inline-application-form .form-label.required::after {
  content: " *";
  color: #dc3545;
}

.inline-application-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.inline-application-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  background-color: #ffffff;
}

.inline-application-form .form-control::placeholder {
  color: #adb5bd;
  font-size: 0.9rem;
}

.inline-application-form select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

.inline-application-form textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.submit-application {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  border: none;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.submit-application:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.submit-application:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* File input styling */
.inline-application-form input[type="file"] {
  padding: 0.5rem;
}

.inline-application-form input[type="file"]::-webkit-file-upload-button {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-right: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.inline-application-form input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--primary-green);
}

/* Responsive adjustments for transformed cards */
@media (max-width: 768px) {
  .position-card.transformed {
    transform: none;
    margin: 1rem 0;
  }
  
  .inline-application-form .row {
    margin: 0;
  }
  
  .inline-application-form .col-md-6 {
    padding: 0 0.5rem;
  }
  
  .submit-application {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Smooth transitions for all interactive elements */
.position-card *,
.application-form-container * {
  transition: all 0.3s ease;
}

/* Focus states for accessibility */
.inline-application-form .form-control:focus,
.back-to-card:focus,
.submit-application:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}
