/* Hire Us Page Styles */

/* Hero Section */
.hire-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 140px 20px 80px;
  overflow: hidden;
}

.hire-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/bg4.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hire-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

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

.hire-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hire-hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
}

.hero-stats .stat-item {
  text-align: center;
}

.hero-stats .stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.hero-stats .stat-item p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

/* Main Hire Section */
.hire-main-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
}

/* Hire Selector Container */
.hire-selector-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.hire-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Custom Select Styles */
.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.custom-select-wrapper select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.custom-select-wrapper .select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
  font-size: 0.8rem;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Developer Info Display */
.developer-info {
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ebff 100%);
  border-radius: 15px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.info-placeholder {
  text-align: center;
}

.placeholder-img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.developer-info h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.developer-info p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* Developer Cards Grid */
.developers-grid-section {
  padding: 80px 20px;
  background: white;
}

.developers-grid-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.developer-card {
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.developer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.developer-card h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 12px;
}

.developer-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  text-align: left;
}

.skills-list li {
  padding: 8px 12px;
  background: #f5f7ff;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #555;
}

.card-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-btn:hover {
  background: linear-gradient(135deg, #5568d3, #6a3f91);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

/* Why Hire Section */
.why-hire-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ebff 100%);
}

.why-hire-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 60px;
}

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

.benefit-card {
  background: white;
  padding: 35px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 12px;
}

.benefit-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA Section */
.hire-cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.hire-cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hire-cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-primary {
  background: white;
  color: #667eea;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-secondary:hover {
  background: white;
  color: #667eea;
}

.phone-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hire-selector-container {
    grid-template-columns: 1fr;
  }

  .developer-info {
    min-height: 300px;
  }

  .developers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hire-hero h1 {
    font-size: 2.5rem;
  }

  .hire-hero p {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .developers-grid-section h2,
  .why-hire-section h2,
  .hire-cta-section h2 {
    font-size: 2rem;
  }

  .hire-selector-container {
    padding: 30px 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .developers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hire-hero {
    padding: 120px 15px 60px;
  }

  .hire-hero h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* Active State for Selected Card */
.developer-card.active {
  border-color: #667eea;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ebff 100%);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}
