

/* Hero Section */
.hero {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: linear-gradient(rgba(0, 89, 95, 0.3), rgba(0, 49, 58, 0.3)), url('reception2.jpg');
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  padding:  0 20px;
}

.hero__content {
  position: relative;
  width: 100%;
  height: 100%;
  width: 1200px;
  display: flex;
  align-items: flex-end;
}

.hero__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero__title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.801);
  margin-bottom: 20px;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
    min-height: 400px;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
    min-height: 300px;
  }
  
  .hero__title {
    font-size: 2rem;
  }
}

/* Apply Section */
.apply-section {
    padding: 80px 0;
    background: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-underline {
    height: 4px;
    background: #e63946;
    width: 150px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1rem;
    color: #666;
    max-width: 700px;
    margin: 0;
    line-height: 1.7;
}

.apply-form-container {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.apply-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    text-align: right;
}

.char-count.limit-warning {
    color: #e63946;
    font-weight: 600;
}

.error-message {
    font-size: 0.85rem;
    color: #e63946;
    margin-top: 5px;
    min-height: 18px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e63946;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    padding: 15px 40px;
    background: #e63946;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1rem;
}

/* Hidden field */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .apply-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .apply-form-container {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .apply-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .apply-form-container {
        padding: 25px 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .char-count {
        font-size: 0.8rem;
    }
}