/* Reset y Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
  --success-color: #27ae60;
  --warning-color: #f39c12;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Updated nav-logo to only contain the image */
.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  text-align: center;
}

.hero-image i {
  font-size: 15rem;
  opacity: 0.3;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat h4 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat p {
  color: #666;
  font-size: 0.9rem;
}

.about-image {
  text-align: center;
}

.about-image i {
  font-size: 10rem;
  color: var(--secondary-color);
  opacity: 0.3;
}

/* Services Section */
.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Job Offers Section */
.job-offers {
  padding: 80px 0;
  background: var(--light-gray);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.job-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.job-header h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.job-type {
  background: var(--secondary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

.job-details {
  margin-bottom: 1.5rem;
}

.job-details p {
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-details i {
  color: var(--secondary-color);
  width: 16px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: var(--light-gray);
  color: var(--text-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-details h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #666;
}

.contact-form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: background 0.3s;
}

.social-links a:hover {
  background: #2980b9;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Job Detail Styles */
.job-detail {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.job-header {
  margin-bottom: 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-color);
  text-decoration: none;
  margin-bottom: 1rem;
  font-weight: 500;
}

.back-link:hover {
  color: var(--primary-color);
}

.job-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  color: #666;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.job-section {
  margin-bottom: 2.5rem;
}

.job-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.job-section h3 {
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
}

.job-section ul {
  padding-left: 1.5rem;
}

.job-section li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-tag {
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.apply-card,
.job-info-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.apply-card h3,
.job-info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: #999;
}

.close:hover {
  color: var(--primary-color);
}

.modal h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  padding-right: 2rem;
}

.selection-questions {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.selection-questions h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.radio-group label:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Application Page Styles */
.application-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--light-gray);
}

.application-container {
  max-width: 75%; /* Use 75% of page width */
  margin: 0 auto;
  padding: 0 20px;
}

.application-header {
  text-align: center;
  margin-bottom: 3rem;
}

.application-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.application-header p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.application-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin: 0 auto;
}

.selection-questions {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.selection-questions h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.3rem;
  text-align: center;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem; /* Increased spacing between options */
  margin-top: 1rem;
  max-width: 100%;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 1rem; /* Increased gap between radio and text */
  cursor: pointer;
  padding: 1rem 1.5rem; /* Increased padding */
  border-radius: 8px;
  transition: all 0.3s;
  border: 2px solid transparent;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.radio-group label:hover {
  background-color: rgba(52, 152, 219, 0.05);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
}

.radio-group input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
}

.radio-group label span {
  font-size: 1rem;
  line-height: 1.4;
}

/* Success and Error Messages */
.success-message,
.error-message {
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 2rem;
  text-align: center;
}

.success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-image i {
    font-size: 8rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .stats {
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .job-content {
    grid-template-columns: 1fr;
  }

  .job-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .nav-logo img {
    height: 40px;
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .job-header h1 {
    font-size: 2rem;
  }

  .services-grid,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo img {
    height: 35px;
    max-width: 120px;
  }
}

/* Contact Page Styles */
.contact-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--light-gray);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.contact-item:hover {
  background-color: var(--light-gray);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.2rem;
  color: white;
}

.contact-details h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: #666;
  margin-bottom: 0.3rem;
}

.contact-details small {
  color: #999;
  font-size: 0.9rem;
}

.contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.business-hours {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.business-hours h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.business-hours ul {
  list-style: none;
  padding: 0;
}

.business-hours li {
  padding: 0.3rem 0;
  color: #666;
}

.contact-form-section h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

/* Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group small {
  display: block;
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 3px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Responsive updates */
@media (max-width: 768px) {
  .application-container {
    max-width: 95%;
    padding: 0 15px;
  }

  .application-form {
    padding: 2rem;
  }

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

  .radio-group label {
    padding: 0.8rem 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .application-container {
    max-width: 98%;
    padding: 0 10px;
  }

  .application-form {
    padding: 1.5rem;
  }

  .selection-questions {
    padding: 1.5rem;
  }

  .radio-group {
    gap: 1rem;
  }

  .radio-group label {
    padding: 0.8rem;
    gap: 0.8rem;
  }

  .contact-content {
    padding: 1.5rem;
  }
}
