/* Join Professionals Lobby Page Styles */

/* Hero Section */
.join-hero {
  background: linear-gradient(135deg, #007bff, #d9f5ff);
  padding-top: 200px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  height: auto;
}

.join-hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-cta .btn-primary{
  background: white;
  color: #007bff;
}
.join-hero .hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
}

.join-hero .hero-text h1 span {
  color: #004d81;
}

.join-hero .subtitle {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 30px;
  max-width: 600px;
}

.join-hero .hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.join-hero .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  color: white;
}

.join-hero .feature-item i {
  color: white;
}

.join-hero .hero-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.join-hero .hero-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.join-hero .hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Why Join Section */
.why-join {
  padding: 80px 0;
  background-color: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid #eee;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-card.highlighted {
  border: 2px solid #3498db;
}
.featured-badge{
  width: 100%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.benefit-icon {
  width: 60px;
  height: 60px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #3498db;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.benefit-card p {
  color: #7f8c8d;
  line-height: 1.6;
}

/* Opportunities Section */
.opportunities-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.opportunities-accordion {
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  background: #fff;
}

.accordion-header {
  width: 100%;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #f8f9fa;
}

.accordion-icon {
  width: 50px;
  height: 50px;
  background: #f1f8fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3498db;
  font-size: 1.2rem;
}

.accordion-title h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.accordion-title p {
  color: #7f8c8d;
  font-size: 0.9rem;
}
.accordion-arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
  color: #7f8c8d;
}

.accordion-header.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: 30px;
  max-height: 2000px;
}

.accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.accordion-details h4, .accordion-benefits h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.expertise-list, .benefits-list {
  list-style: none;
  padding: 0;
}

.expertise-list li, .benefits-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #7f8c8d;
}

.expertise-list i {
  color: #3498db;
  font-size: 0.8rem;
  margin-top: 3px;
}

.benefits-list i {
  color: #007bff;
}

.accordion-cta {
  margin-top: 30px;
  text-align: center;
}
.accordion-cta .btn-primary{
  background-color: #007bff;
}
/* Screening Process */
.screening-process {
  padding: 80px 0;
  background: #fff;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  display: flex;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #3498db;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.step-content p {
  color: #7f8c8d;
  line-height: 1.6;
}

.screening-note {
  margin-top: 50px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.screening-note i {
  font-size: 1.5rem;
  color: #3498db;
  flex-shrink: 0;
}

.screening-note p {
  margin: 0;
  color: #7f8c8d;
}

/* Apply Section */
.apply-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.application-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.application-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  padding-bottom: 50px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.application-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.application-card.highlighted {
  border: 2px solid #3498db;
}
.application-card .btn-primary{
  background-color: #007bff;
}
.app-icon {
  width: 70px;
  height: 70px;
  background: #f1f8fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #3498db;
  font-size: 1.5rem;
}

.application-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.application-card p {
  color: #7f8c8d;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.form-submit .btn-primary{
  background-color: #007bff;
}
.application-form {
  background: white;
  border-radius: 10px;
  padding: 40px;
  margin-top: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 2px solid #007bff;
}

.application-form h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #003875;
}

.form-description {
  color: #003875;
  margin-bottom: 30px;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-section {
  margin-bottom: 20px;
}

.form-section h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #003875;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #003875;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3498db;
  outline: none;
}

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

.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  padding: 10px;
}

.file-requirements {
  display: block;
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-top: 5px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.checkbox-group a {
  color: #3498db;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit button {
  padding: 15px 30px;
}

.form-note {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

/* FAQ Section */
.join-faq {
  padding: 80px 0;
  background: #fff;
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question span {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2c3e50;
}

.faq-question i {
  color: #7f8c8d;
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 0 25px 20px;
  max-height: 500px;
}

.faq-answer p {
  color: #7f8c8d;
  line-height: 1.6;
  margin-top: 10px;
}

.faq-cta {
  text-align: center;
  margin-top: 50px;
}
.faq-cta .btn-primary{
  background-color: #007bff;
  color: white;
}
.faq-cta p {
  color: #7f8c8d;
  margin-bottom: 20px;
}

.faq-cta a {
  color: #3498db;
  text-decoration: none;
}

.faq-cta a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .join-hero .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .join-hero .hero-features {
    justify-content: center;
  }
  
  .join-hero .hero-cta {
    justify-content: center;
  }
  
  .accordion-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .join-hero{
    padding-top: 100px;
  }
  .join-hero .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .process-step {
    max-width: 100%;
  }
  
  .application-options {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  
  .join-hero .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .join-hero .subtitle {
    font-size: 1rem;
  }
  
  .application-options {
    grid-template-columns: 1fr;
  }
  
  .application-form {
    padding: 25px;
  }
}

.form-alert {
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
}
.form-alert.success {
  background-color: #e0f6e9;
  color: #10793f;
  border: 1px solid #3fc282;
}
.form-alert.error {
  background-color: #fce8e6;
  color: #b21f1f;
  border: 1px solid #f5a1a1;
}

/* Tabs Styles */
.tabs {
  margin-top: 50px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  flex: 1;
  padding: 15px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #7f8c8d;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #3498db;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active {
  color: #2c3e50;
  background: #f8f9fa;
}

.tab-btn.active:after {
  transform: scaleX(1);
}

.tab-contents {
  padding: 0;
}

.tab-content {
  display: none;
  padding: 0;
}

.tab-content.active {
  display: block;
}

@media (max-width: 576px) {
  .tab-buttons {
    flex-direction: column;
  }
  
  .tab-btn {
    text-align: left;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
  }
  
  .tab-btn:after {
    height: 100%;
    width: 3px;
    transform: scaleY(0);
  }
  
  .tab-btn.active:after {
    transform: scaleY(1);
  }
}

/* Terms Modal Styles */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.terms-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    position: relative;
}

.terms-modal-content h2 {
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.terms-modal-content h3 {
    color: #3498db;
    margin-top: 25px;
}

.terms-modal-content h4 {
    color: #7f8c8d;
    margin-top: 20px;
}

.terms-modal-content p, .terms-modal-content li {
    line-height: 1.6;
    color: #34495e;
}

.terms-modal-content ul {
    padding-left: 20px;
}

.terms-modal-content .close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.terms-modal-content .close:hover {
    color: #333;
}

.terms-modal-content .effective-date {
    font-style: italic;
    color: #95a5a6;
    margin-bottom: 20px;
}

.terms-modal-content .section {
    margin-bottom: 25px;
}

.terms-modal-content .highlight {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #3498db;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .terms-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}

/* Privacy Policy Modal Styles */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.privacy-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    position: relative;
}

.privacy-modal-content h2 {
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.privacy-modal-content h3 {
    color: #3498db;
    margin-top: 25px;
}

.privacy-modal-content h4 {
    color: #7f8c8d;
    margin-top: 20px;
}

.privacy-modal-content p, .privacy-modal-content li {
    line-height: 1.6;
    color: #34495e;
}

.privacy-modal-content ul {
    padding-left: 20px;
}

.privacy-modal-content .close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.privacy-modal-content .close:hover {
    color: #333;
}

.privacy-modal-content .effective-date {
    font-style: italic;
    color: #95a5a6;
    margin-bottom: 20px;
}

.privacy-modal-content .section {
    margin-bottom: 25px;
}

.privacy-modal-content .highlight-box {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #2ecc71;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .privacy-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}