
:root{
  --blue:#0b2b5a;
  --blue-700:#163b77;
  --text:#1f2937;
  --muted:#f5f7fb;
  --white:#ffffff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family: Calibri, Arial, sans-serif;color:var(--text);scroll-behavior:smooth}
a{text-decoration:none;color:inherit}

.container{max-width:1080px;margin:0 auto;padding:0 20px}
.header{position:sticky;top:0;left:0;width:100%;background:var(--white);border-bottom:1px solid #e5e7eb;z-index:20}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--blue)}
.logo { max-width: 154px; height: auto; }

.menu a{margin-left:20px;font-weight:600;color:#374151}
.menu a:hover{color:var(--blue)}

.hero{min-height:85vh;display:flex;align-items:center;background:linear-gradient(180deg,#ffffff, #f9fbff)}
.hero-inner{max-width:820px;text-align:center}
.hero h1{font-size:clamp(28px,4vw,44px);line-height:1.15;margin:0 0 16px;color:var(--blue)}
.hero p{font-size:clamp(16px,2.1vw,20px);color:#4b5563;margin:0 0 28px}
.btn{display:inline-block;background:var(--blue);color:#fff;padding:12px 18px;border-radius:10px;font-weight:600}
.btn:hover{background:var(--blue-700)}

.section{padding:72px 0}
.section-muted{background:var(--muted)}
.section-invert{background:var(--blue);color:#fff}
.section h2{font-size:28px;margin:0 0 24px;color:inherit}
.lead{font-size:18px;color:#4b5563;max-width:820px}

.grid{display:grid;grid-template-columns:1fr;gap:24px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;box-shadow:0 4px 12px rgba(0,0,0,.04)}
.avatar{width:auto;max-width:100%;height:auto;border-radius:12px;display:block}
.placeholder{background:linear-gradient(135deg,#e9eef7,#f5f7fb)}

@media (min-width: 820px){
  .grid{grid-template-columns:1fr 1fr}
}

.checklist{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px}
.checklist li{position:relative;padding-left:28px}
.checklist li:before{content:'✓';position:absolute;left:0;top:0;color:#10b981;font-weight:800}

.center{text-align:center}
.section-invert .email a{color:#fff;text-decoration:underline}
.mail{width:18px;height:18px;margin-right:6px;vertical-align:middle}
.email{display:flex;justify-content:center;align-items:center;gap:8px;font-weight:600}
.footer{background:var(--blue);color:#fff;padding:18px 0;font-size:14px}

.logo { max-width: 154px; height: auto; }
.linkedin svg { fill:#0a66c2; vertical-align:middle; transition:opacity .2s; }
.linkedin:hover svg { opacity:0.7; }


/* Hero background with overlay */
.hero.has-bg{
  position: relative;
  min-height: 78vh;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero.has-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 32%, rgba(255,255,255,0.6) 55%, rgba(255,255,255,0.25) 100%);
}

@media (max-width: 680px){
  .hero.has-bg{ min-height: 68vh; }
  
}



.linkedin-icon {
  width: 28px;
  height: 28px;
  margin-top: 10px;
  transition: opacity 0.2s;
}
.linkedin-icon:hover {
  opacity: 0.7;
}


/* Place hero text higher: center of upper half */
.hero.has-bg { position: relative; }

@media (max-width: 680px){
  
}


/* Force hero headline to sit higher: centered around ~22vh from top */
.hero.has-bg{ position: relative; min-height: 78vh; }
.hero.has-bg .hero-inner{
  position: absolute;
  top: 22vh;             /* adjust this to move higher/lower */
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 820px);
  text-align: center;
  display: block;        /* override previous flex if any */
  padding: 0;
  z-index: 1;
}
@media (max-width: 680px){
  .hero.has-bg .hero-inner{ top: 20vh; width: 92%; }
}


.card {
  text-align: center;
}
.avatar {
  height: 220px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: block;
}


/* Hero image as <img> with max width */
.hero.has-img{
  position: relative;
  background: #fff;
  min-height: 68vh;
}
I20px; /* limit width on wide screens */
  height: auto;
  margin: 0 auto;
  user-select: none;
  pointer-events: none;
}

}


/* Centered frame for hero image and overlayed text */
.hero.has-img{ position: relative; background:#fff; min-height: 68vh; }
.hero-frame{ position: relative; max-width: 1120px; margin: 0 auto; }
.hero-frame .hero-img{ display:block; width:100%; height:auto; }
.hero-frame .hero-inner{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 18%;               /* place in the upper portion of the image */
  width: min(92%, 900px);
  text-align: center;
  z-index: 1;
}
@media (max-width: 680px){
  .hero-frame{ max-width: 92vw; }
  .hero-frame .hero-inner{ top: 16%; width: 92%; }
}
