:root {
  --gold: #ffd700;
  --red: #dc0257;
}

/* body {
  background-color: #f8f9fa;
}

.navbar {
  background-color: var(--red);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: white !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--gold) !important;
  transform: translateY(-2px);
} */

.welcome-modal .modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.welcome-header {
  background: linear-gradient(45deg, var(--red), #ff1476);
  color: white;
  padding: 2rem;
  text-align: center;
}

.welcome-body {
  padding: 2rem;
}

.benefit-item {
  display: flex;
  align-items: start;
  margin-bottom: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  color: var(--red);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.main-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.main-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-header {
  background: linear-gradient(45deg, var(--gold), #ffe44d);
  color: black;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
}

.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.25rem rgba(220, 2, 87, 0.1);
}

.form-label {
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
}

.tags-input-wrapper {
  background: white;
  padding: 0.5rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  cursor: text;
  min-height: 100px;
}

.tags-input-wrapper:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 0.25rem rgba(220, 2, 87, 0.1);
}

.tag {
  background: var(--red);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 0.3s ease;
}

.tag .remove-tag {
  cursor: pointer;
  font-size: 0.8rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tag .remove-tag:hover {
  background: rgba(255, 255, 255, 0.5);
}

.tags-input {
  border: none;
  outline: none;
  flex: 1;
  padding: 0.3rem;
  min-width: 150px;
}

.tags-limit-message {
  color: var(--red);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.3s ease-in-out;
}

.btn-custom {
  background: linear-gradient(45deg, var(--red), #ff1476);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 2, 87, 0.3);
  color: white;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--gold);
  width: 0%;
  transition: width 0.3s ease;
  z-index: 1000;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slideIn 0.5s ease forwards;
}

/* Additional CSS to be added or merged with joinus.css */

/* Language Styles */
.fr-text {
  color: black;
}

.en-text {
  color: var(--red);
}

/* Bilingual Containers */
.bilingual-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.language-container {
  position: relative;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.language-container:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.fr-container {
  background-color: rgba(0, 35, 149, 0.03);
  border-left: 4px solid #002395;
}

.en-container {
  background-color: rgba(206, 17, 38, 0.03);
  border-left: 4px solid #ffd700;
}

.language-flag {
  position: absolute;
  top: -15px;
  left: 20px;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fr-flag {
  background-color: #002395;
}

.en-flag {
  background-color: var(--red);
}

.en-text-well {
  color: #ffd700;
}

/* Form Section Styling */
.form-section {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.form-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.section-title i {
  margin-right: 10px;
  background: linear-gradient(45deg, #ffd700, #dc0257);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.6rem;
}

.field-label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 500;
}

.field-label i {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .welcome-columns {
    flex-direction: column;
  }

  .field-label {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-label i {
    margin-bottom: 5px;
  }

  .fr-label,
  .en-label {
    display: block;
    width: 100%;
  }
}

/* Form Animations */
.form-control {
  transition: all 0.3s ease;
}

.form-control:focus {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Button Enhancements */
.btn-custom {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  z-index: 1;
}

.btn-custom:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
  z-index: -1;
}

.btn-custom:hover:before {
  left: 100%;
}

/* Bilingual Styling */
.bilingual-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.language-container {
  position: relative;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.fr-container {
  background-color: rgba(0, 35, 149, 0.03);
  border-left: 4px solid #002395;
}

.en-container {
  background-color: rgba(206, 17, 38, 0.03);
  border-left: 4px solid #ce1126;
}

.language-flag {
  position: absolute;
  top: -15px;
  left: 20px;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
}

.fr-flag {
  background-color: #002395;
}

.en-flag {
  background-color: #ce1126;
}

.welcome-modal .modal-dialog {
  max-width: 900px;
}

.welcome-body .row {
  margin-bottom: 0;
}

.welcome-columns {
  display: flex;
  gap: 20px;
}

.welcome-content {
  flex: 1;
}

@media (max-width: 992px) {
  .welcome-columns {
    flex-direction: column;
  }
}

/* Form enhancements */
.form-section {
  margin-bottom: 25px;
  padding: 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 8px;
}

.field-label {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.field-label .fr-label,
.field-label .en-label {
  font-size: 14px;
}

.field-label .fr-label {
  color: black;
}

.field-label .en-label {
  color: #dc0257;
}
