/* Careers Page CSS */

:root{
  --bg:#000;
  --white:#fff;
  --brand:#295391;
  --brand-dark:#1e3f6b;
  --gray:#8a8a8a;
  --gray-dark:#6b6b6b;
  --muted:#7c8796;
  --card-border:#d9dee6;
  --radius:5px;
  --radius-lg:12px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --shadow-brand: 0 6px 12px rgba(41, 83, 145, 0.4);
  --shadow-dark: 0 6px 12px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #f5f5f5;
}

/* Header */
.careers-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.careers-header-content {
  max-width: 1200px;
  margin: 0 auto;
}

.careers-header .logo {
  height: 60px;
  margin-bottom: 20px;
}

.careers-header h1 {
  font-size: 48px;
  margin: 20px 0 10px;
  font-weight: 700;
}

.careers-header .header-subtitle {
  font-size: 18px;
  opacity: 0.95;
  margin: 0;
}

/* Topbar Floater */
.topbar-floater {
  position: sticky;
  top: 0;
  background: var(--brand);
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Container */
.careers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  margin: 60px 0;
}

.content-wrapper h2 {
  font-size: 36px;
  color: var(--brand);
  margin: 0 0 30px;
  text-align: center;
  font-weight: 700;
}

.content-wrapper p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 20px;
}

/* Sections */
.about-section {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
  margin-bottom: 40px;
}

.about-section p {
  color: #555;
}

/* Job Cards */
.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.job-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
  border-left: 4px solid var(--brand);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(41, 83, 145, 0.15);
}

.job-card h3 {
  font-size: 22px;
  color: var(--brand);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-card h3 i {
  font-size: 24px;
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--gray-dark);
}

.location,
.type {
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-description {
  color: #555;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.job-requirements {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 14px;
}

.job-requirements li {
  padding: 6px 0;
  padding-left: 20px;
  color: #666;
  position: relative;
}

.job-requirements li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.apply-btn {
  display: inline-block;
  background: var(--brand);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.benefit-item {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-dark);
}

.benefit-item i {
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 12px;
}

.benefit-item h4 {
  color: var(--brand-dark);
  margin: 12px 0 8px;
  font-size: 16px;
}

.benefit-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow: auto;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  color: var(--brand);
  margin-top: 0;
  font-size: 24px;
}

.close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: var(--gray);
  cursor: pointer;
  line-height: 20px;
}

.close:hover {
  color: var(--brand);
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(41, 83, 145, 0.1);
}

.submit-btn {
  background: var(--brand);
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--brand-dark);
}

/* Footer */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 40px 20px 20px;
  margin-top: 60px;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 16px;
  color: white;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-logo {
  height: 50px;
  margin-bottom: 16px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .careers-header h1 {
    font-size: 32px;
  }

  .content-wrapper h2 {
    font-size: 28px;
  }

  .job-cards {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal-content {
    width: 95%;
    padding: 20px;
  }
}
