/* Hot Beans Web - Shared Stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1e6fd9;
  --blue-dark: #1857ad;
  --dark: #374151;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --border: #e5e7eb;
  /* legacy alias kept so older rules still work */
  --orange: var(--blue);
}

body {
  font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header / Navigation */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img { height: 48px; width: auto; display: block; }
.site-nav a {
  margin-left: 22px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  background: #0f2747 center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,39,71,0.75), rgba(30,111,217,0.55));
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: 48px; margin-bottom: 14px; font-weight: 700; letter-spacing: -0.02em; }
.hero p { font-size: 19px; opacity: 0.95; max-width: 640px; margin: 0 auto 24px; }
.hero .btn { background: #fff; color: var(--blue); }
.hero .btn:hover { background: #f0f6ff; }

/* Sections */
section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: center;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  border-radius: 8px;
}

/* Why Work Here */
.why { background: var(--soft); }
.why ul { max-width: 800px; margin: 0 auto; padding-left: 20px; }
.why li { margin-bottom: 10px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--blue-dark); }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: #1f2937; }

/* Footer */
.site-footer {
  background: #0f2747;
  color: #fff;
  padding: 40px;
  margin-top: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.footer-top div { font-size: 14px; }
.socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.socials a {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
}
.socials a:hover { background: var(--blue); border-color: var(--blue); }

/* Form */
.form-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}
.form-wrap h1 { text-align: center; margin-bottom: 30px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-actions { text-align: center; margin-top: 24px; }

/* Trainee Profiles */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.profile-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 6px;
  background: #fff;
}
.profile-card .avatar {
  width: 130px;
  height: 160px;
  background: #e5e7eb;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}
.profile-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.profile-card h3 { font-size: 16px; margin-bottom: 6px; }
.profile-card p { font-size: 13px; color: var(--muted); }

/* Courses */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.course-card {
  display: flex;
  gap: 16px;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 6px;
}
.course-card .thumb {
  width: 140px;
  height: 140px;
  background: #e5e7eb;
  flex-shrink: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}
.course-card h3 { font-size: 16px; margin-bottom: 8px; }
.course-card p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* Jobs */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.job-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  background: #fff;
}
.job-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 6px;
  color: var(--blue);
}
.job-meta {
  background: var(--soft);
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 14px;
}
.job-meta div { margin-bottom: 4px; }
.job-card h4 {
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 6px;
}
.job-card p, .job-card ul {
  font-size: 13px;
  color: var(--muted);
}
.job-card ul { padding-left: 20px; }
.job-card .btn { margin-top: 16px; display: block; text-align: center; }

@media (max-width: 768px) {
  .about-grid, .profiles-grid, .courses-grid { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; gap: 12px; }
  .site-nav a { margin: 0 10px; }
  .hero h1 { font-size: 30px; }
}
