/* PROFESSIONAL THEME */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg-body: #ffffff;
  --bg-surface: #f5f7fa;
  --text-main: #1e1e1e;
  --text-muted: #6c757d;
  --accent: #0d8bc5;
  --accent-hover: #0a6ea0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.04);
  --font-header: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --gap: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); font-weight: 600; line-height: 1.3; }

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* ---------- HEADER ---------- */
.site-header {
  background: var(--bg-body);
  border-bottom: 1px solid #e6e9ef;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 320px;
  margin-left: auto;
  margin-right: 24px;
}

.search-bar input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d0d7e4;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.search-bar button {
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
}
.search-bar button:hover { background: var(--accent-hover); }

/* ---------- NAV ---------- */
.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-main);
}
.main-nav a:hover { color: var(--accent); }

/* ---------- MOBILE MENU (Checkbox Hack) ---------- */
#menu-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-body);
    border-top: 1px solid #e6e9ef;
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 16px var(--gap);
  }
  .hamburger { display: flex; }
  #menu-toggle:checked ~ .main-nav { transform: translateX(0); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent-hover); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- HERO ---------- */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}
.hero p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ---------- SECTIONS ---------- */
section { padding: 48px 0; }
.bg-surface { background: var(--bg-surface); }

/* ---------- GRIDS ---------- */
.offers-grid,
.partners-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .offers-grid,
  .partners-grid { grid-template-columns: 1fr; }
}

/* ---------- CARDS ---------- */
.job-card,
.partner-link {
  background: var(--bg-surface);
  border: 1px solid #e6e9ef;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s;
}
.job-card:hover,
.partner-link:hover { border-color: var(--accent); }

.job-card h3 { font-size: 1.2rem; }
.job-card .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- PARTNERS SHOW MORE ---------- */
.partners-wrapper .partners-hidden { display: none; }
.partners-wrapper .show-more-checkbox { display: none; }
.partners-wrapper .show-more-checkbox:checked ~ .partners-hidden { display: grid; }
.partners-wrapper .show-more-checkbox:checked ~ .show-more-container { display: none; }

.show-more-container { text-align: center; margin-top: 24px; }

/* ---------- FAQ ACCORDION ---------- */
details {
  background: var(--bg-surface);
  border: 1px solid #e6e9ef;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
summary {
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
}
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 0 24px;
  font-size: 0.95rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.footer-section h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #fff;
}
.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-section a { color: #94a3b8; }
.footer-section a:hover { color: #fff; }

.footer-bottom {
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}