:root {
  --primary: #0A1F44;
  --secondary: #1A2E60;
  --accent: #5FA8D3;
  --light-accent: #AFCBFF;
  --dark: #06152F;
  --white: #FFFFFF;
  --success: #4BB543;
  --input-bg: #F5F7FA;
  --input-text: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header Styles */
header {
  background-color: var(--primary);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

nav a {
  text-decoration: none;
  color: var(--light-accent);
  font-weight: 600;
  transition: color 0.3s;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--white);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

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

.hero-section h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--light-accent);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
  margin: 0.5rem;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--accent);
}

.outline-button {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.outline-button:hover {
  background-color: var(--accent);
  color: var(--primary);
}

/* Partnership Section */
.partnership-section {
  background-color: var(--dark);
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent);
}

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

.partnership-card {
  background-color: var(--secondary);
  border-radius: 10px;
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partnership-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.partnership-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.partnership-card p {
  color: var(--light-accent);
  margin-bottom: 1.5rem;
}

/* Process Section */
.process-section {
  background-color: var(--secondary);
  padding: 4rem 2rem;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.process-step {
  flex: 1;
  min-width: 250px;
  position: relative;
  padding-bottom: 2rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.process-step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.process-step p {
  color: var(--light-accent);
}

/* Form Section - Enhanced Styles */
.form-section {
  background-color: var(--dark);
  padding: 4rem 2rem;
}

.form-container {
  max-width: 800px;
  width: 95%;
  margin: 0 auto;
  background-color: var(--secondary);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--light-accent);
}

.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--light-accent);
  z-index: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step-indicator {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--light-accent);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.progress-step.active .step-indicator {
  background-color: var(--accent);
  color: var(--white);
}

.progress-step.completed .step-indicator {
  background-color: var(--success);
  color: var(--white);
}

.step-label {
  font-size: 0.9rem;
  color: var(--light-accent);
  text-align: center;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--white);
  font-weight: 500;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

/* Enhanced Form Group Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  border: 1px solid var(--light-accent);
  background-color: var(--input-bg);
  color: var(--input-text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(95, 168, 211, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(51, 51, 51, 0.6);
}

/* Custom Select Styling */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

/* Form Row Layout */
.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.form-button {
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.button-next {
  background-color: var(--accent);
  color: var(--primary);
}

.button-prev {
  background-color: transparent;
  color: var(--light-accent);
  border: 1px solid var(--light-accent);
}

.button-submit {
  background-color: var(--success);
  color: var(--white);
  display: none;
}

.button-next:hover {
  background-color: #4d9ec9;
}

.button-prev:hover {
  background-color: rgba(175, 203, 255, 0.1);
}

.button-submit:hover {
  background-color: #3fa03a;
}

/* Confirmation Message */
.confirmation-message {
  text-align: center;
  padding: 2rem;
  display: none;
}

.confirmation-message i {
  font-size: 4rem;
  color: var(--success);
  margin-bottom: 1.5rem;
}

.confirmation-message h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.confirmation-message p {
  color: var(--light-accent);
  margin-bottom: 1.5rem;
}

/* File Upload Styles */
.file-upload {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.file-upload-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 5px;
  border: 1px dashed var(--light-accent);
}

.file-upload-item label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--white);
}

.file-upload-item input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--light-accent);
  border-radius: 5px;
  background-color: transparent;
  color: var(--white);
}

.file-upload-item .file-info {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--light-accent);
  display: none;
}

/* Knowledge & Qualifications Section */
.qualifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.language-proficiency {
  margin-top: 1.5rem;
}

.language-proficiency h4 {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 1rem;
}

.proficiency-levels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.proficiency-level {
  color: var(--light-accent);
}

/* Range Input Styling */
input[type="range"] {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: var(--light-accent);
  border-radius: 5px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

/* Checkbox Styling */
.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  accent-color: var(--accent);
}

/* Review Data Styling */
#review-data {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 5px;
  font-size: 0.9rem;
  line-height: 1.6;
}

#review-data div {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#review-data strong {
  color: var(--accent);
  display: inline-block;
  min-width: 150px;
}

/* Footer Styles */
footer {
  background-color: var(--dark);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--light-accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--light-accent);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
  .hero-section h1 {
    font-size: 2.4rem;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  .form-progress {
    gap: 0.5rem;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 3rem 1.5rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .form-container {
    padding: 1.2rem;
  }
  
  .form-progress {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .progress-step {
    flex: 1 0 20%;
    margin-bottom: 0.5rem;
  }
  
  .step-label {
    display: none;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-actions {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  
  .form-button {
    width: 100%;
  }
  
  .process-step {
    padding-bottom: 3rem;
  }
  
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: var(--light-accent);
  }
  
  .qualifications-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  nav {
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .form-container {
    padding: 1rem;
  }
  
  .form-header h2 {
    font-size: 1.5rem;
  }
  
  .form-progress {
    justify-content: center;
  }
  
  .progress-step {
    flex: 0 0 15%;
  }
  
  .step-indicator {
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .proficiency-levels {
    font-size: 0.7rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .partnership-card {
    padding: 1.5rem;
  }
}

.mobile-error {
    position: fixed;
    bottom: 20px;
    left: 10px;
    right: 10px;
    padding: 15px;
    background: #ff6b6b;
    color: white;
    border-radius: 5px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.success-message {
    text-align: center;
    padding: 2rem;
    background-color: #f8fff8;
    border: 1px solid #4CAF50;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.success-message svg {
    margin-bottom: 1rem;
}

.success-message h2 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    background-color: #fff8f8;
    border: 1px solid #f44336;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.error-message svg {
    margin-bottom: 1rem;
}

.error-message h2 {
    color: #f44336;
    margin-bottom: 1rem;
}