﻿:root{
  --max: 980px;
  --radius: 14px;
}

/* base */
body{
  font-size: 18px;
  line-height: 1.75;
  background: #fbfbfb;
}

/* === hard override of the theme's left sidebar header === */
header{
  float: none !important;
  width: 100% !important;
  position: static !important;
  background: #192F5C !important;
}

/* your top bar */
header.site-header{
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  width: 100% !important;
  background: #192F5C !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

header.site-header,
header.site-header *,
header.site-header a,
header.site-header a:visited,
header.site-header a:hover{
  color: white !important;
}

/* layout container */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px;
}

/* top row */
.header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  font-weight: 800;
  text-decoration: none;
  color: white !important;
  font-size: 20px;
  white-space: nowrap;
}

/* nav in one line */
.nav{
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* hide scrollbar but keep scroll */
.nav::-webkit-scrollbar{ height: 6px; }
.nav::-webkit-scrollbar-thumb{ background: rgba(0,0,0,0.12); border-radius: 999px; }

.nav a{
  display: inline-block !important;
  white-space: nowrap !important;
  text-decoration: none;
  color: white !important;
  font-weight: 650;
  opacity: 0.88;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
}

.nav a:hover{ 
  opacity: 1;
  color: white !important;
}

/* kill any float effect on content */
main{
  float: none !important;
  width: auto !important;
}

/* cards and sections */
.hero{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 10px;
}

.hero h1{
  margin: 0 0 8px 0;
  font-size: 34px;
  line-height: 1.2;
}

.card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 14px 0;
  transition: transform 0.2s ease;
}

.card:hover{
  transform: scale(1.02);
}

.section{ margin-top: 26px; }

/* centered smaller videos */
.video{
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 14px auto 26px auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #000;
}

.video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer{
  opacity: 0.7;
  margin-top: 46px;
}

/* hero enhancements */
.tagline{
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.badge{
  display: inline-block;
  background: rgba(25, 47, 92, 0.08);
  color: #192F5C;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn{
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  background: #192F5C;
  color: white;
  border: 2px solid #192F5C;
}

.btn:hover{
  background: #0f1f3d;
  border-color: #0f1f3d;
  transform: translateY(-1px);
}

.btn.secondary{
  background: white;
  color: #192F5C;
  border: 2px solid #192F5C;
}

.btn.secondary:hover{
  background: #192F5C;
  color: white;
}

.btn.ghost{
  background: transparent;
  color: #192F5C;
  border: 2px solid rgba(25, 47, 92, 0.3);
}

.btn.ghost:hover{
  border-color: #192F5C;
  background: rgba(25, 47, 92, 0.05);
}

/* text utilities */
.muted{
  color: rgba(0,0,0,0.6);
  font-style: italic;
}

.sep{
  margin: 0 6px;
  opacity: 0.4;
}

.links{
  display: inline;
}

/* grids */
.mini-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.mini{
  background: #f8f9fa;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}

.mini h3{
  font-size: 16px;
  color: #192F5C;
  margin-bottom: 8px;
}

.skill-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.skill{
  padding: 14px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.05);
}

.skill h3{
  font-size: 15px;
  color: #192F5C;
  font-weight: 700;
  margin-bottom: 6px;
}

.skill p{
  font-size: 15px;
  line-height: 1.5;
}

/* clean list */
.clean-list{
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.clean-list li{
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.clean-list li:last-child{
  border-bottom: none;
}
