:root{
  --bg: #eef7ff;
  --bg2:#e7f2ff;
  --card:#ffffff;
  --text:#0b0f17;
  --muted:#526071;

  --blue:#2e86ff;
  --blue2:#1f6fe0;
  --border: rgba(15, 23, 42, 0.10);

  --shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  --shadow2: 0 12px 30px rgba(15, 23, 42, 0.08);

  --radius: 20px;
  --radius2: 14px;
}

*{ box-sizing:border-box; margin:0; padding:0; }

body{
  font-family:'Poppins', sans-serif;
  background: radial-gradient(1200px 600px at 30% 10%, #ffffff 0%, var(--bg) 55%, var(--bg2) 100%);
  color:var(--text);
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}

/* TOPBAR */
.topbar{
  position: sticky;
  top:0;
  background: rgba(238,247,255,0.8);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:34px;
  height:34px;
  border-radius:10px;
  background:linear-gradient(135deg,#9bd7ff,#2e86ff);
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-mark img{
  width:28px;
}

.brand-name{
  font-weight:700;
  text-decoration:none;
  color:var(--text);
}

.nav{
  display:flex;
  gap:18px;
}

.nav-link{
  text-decoration:none;
  color:#111827;
  font-weight:500;
  padding:6px 8px;
  border-radius:8px;
}

.nav-link:hover{
  background: rgba(46,134,255,0.1);
}

.nav-cta{
  display:flex;
}

/* HERO */
.hero{
  text-align:center;
  padding:80px 20px 40px;
}

.hero h1{
  font-size: clamp(2.2rem,4vw,3rem);
}

.hero p{
  color:var(--muted);
  margin-top:10px;
}

/* BUTTON */
.btn-primary{
  padding:12px 20px;
  border-radius:14px;
  background:var(--blue);
  color:#fff;
  border:none;
  cursor:pointer;
  font-weight:600;
  box-shadow:0 14px 30px rgba(46,134,255,0.22);
  transition:0.2s ease;
}

.btn-primary:hover{
  background:var(--blue2);
  transform:translateY(-2px);
}

/* JOBS */
.jobs{
  padding:40px 0;
  text-align:center;
}

.job-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:20px;
}

.job{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow2);
  cursor:pointer;
  transition:0.2s ease;
}

.job:hover{
  transform:translateY(-4px);
  border-color: rgba(46,134,255,0.35);
}

.job p{
  color:var(--muted);
}

/* APPLY */
.apply{
  text-align:center;
  padding: 80px 20px; /* bigger spacing */
}

/* MODAL */
.modal{
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.4);
  align-items:center;
  justify-content:center;
}

.modal-content{
  background:white;
  padding:30px;
  border-radius:20px;
  max-width:500px;
  box-shadow:var(--shadow);
}

.modal-content pre{
  white-space: pre-wrap;
  font-family: 'Poppins', sans-serif;
  color: var(--muted);
  margin-top: 10px;
}

.close{
  cursor:pointer;
  float:right;
  font-size:22px;
}

.job-icon{
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(46,134,255,0.1);
  border: 1px solid rgba(46,134,255,0.2);
}

.nav-link.active{
  color: var(--blue);
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .job-grid{
    grid-template-columns:1fr;
  }

  .nav{
    display:none;
  }
}
