
html, body {
  margin: 0;
  padding: 0;
}
.gov-hero-pad{
  padding-top: 0 !important;   /* remove top gap */
  padding-bottom: 0 !important;/* remove bottom gap (optional) */
}
.gov-hero-no-gap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-nav .nav-link {
    padding: 14px 16px !important;
    line-height: 1.2;
}

:root{
  --gov-red: #6b0f1a;     /* dark red */
  --gov-blue:#0b1f3a;     /* dark blue */
  --gov-black:#0b0b0f;    /* near black */
  --gov-gold:#b8860b;     /* dark yellow/gold */
  --gov-soft:#f6f7f9;     /* light section */
}

.gov-body{ background:#fff; color:#111; }

.gov-topbar{
  background: var(--gov-black);
  color:#fff;
  border-bottom: 2px solid var(--gov-gold);
}
.gov-toplink{
  color:#fff; text-decoration:none; opacity:.9;
}
.gov-toplink:hover{ opacity:1; color: var(--gov-gold); }

.gov-mini-logo{
  height:18px; width:auto; object-fit:contain;
  filter: grayscale(0);
}

.gov-brandbar{
  background:#fff;
  border-bottom: 1px solid #e7e7e7;
}
.gov-logo{
  height:56px; width:auto; object-fit:contain;
}
.gov-title-main{
  font-weight:800;
  letter-spacing:.5px;
  color: var(--gov-red);
  text-transform: uppercase;
  font-size: 16px;
}
.gov-title-sub{
  font-size: 12px;
  color: var(--gov-blue);
  opacity:.9;
}

.gov-navbar{
  background: linear-gradient(90deg, var(--gov-blue), var(--gov-red));
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 2px solid var(--gov-gold);
}
.gov-navbar .nav-link{
  color:#fff !important;
  font-weight:600;
  padding: .85rem 1rem;
}
.gov-navbar .nav-link:hover{
  color: var(--gov-gold) !important;
}
.gov-cta-btn{
  background: var(--gov-gold);
  border: 0;
  color:#111;
  font-weight:800;
}
.gov-cta-btn:hover{ filter: brightness(.95); }

.gov-toggler{
  filter: invert(1);
}

.section-pad{ padding: 3rem 0; }
.bg-soft{ background: var(--gov-soft); }

/* HERO */
.gov-hero { position: relative; }
.gov-hero .carousel-item { position: relative; }

.gov-hero-media{
  position: relative;
  height: clamp(360px, 42vw, 560px);
  overflow: hidden;
  background: #0b1f3a;
}

.gov-hero-img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.03);
}

.gov-hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(11,31,58,.90), rgba(107,15,26,.55)),
    radial-gradient(circle at 20% 20%, rgba(184,134,11,.20), transparent 45%);
}

.gov-hero-content{
  position:absolute;
  inset: 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 1.5rem 0;
  max-width: 760px;
  color:#fff;
}

.gov-hero-kicker{
  display:inline-block;
  font-weight:800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.92);
  border-left: 4px solid var(--gov-gold);
  padding-left: .75rem;
  margin-bottom: .75rem;
}

.gov-hero-title{
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 .75rem 0;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.gov-hero-subtitle{
  font-size: 1.05rem;
  color: rgba(255,255,255,.92);
  max-width: 56ch;
  margin-bottom: .5rem;
}

.gov-hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}

.gov-badge{
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  padding:.45rem .7rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  font-weight:700;
  font-size:.9rem;
}
.gov-logo-who{
  height: 40px;          /* slightly smaller than Tarbiyat */
  opacity: 0.9;
}

/* mobile spacing */
@media (max-width: 576px){
  .gov-hero-title{ font-size: 1.45rem; }
  .gov-hero-subtitle{ font-size: 1rem; }
}

/* FORCE REMOVE WHITE GAPS (place at end of css) */
html, body { margin: 0 !important; padding: 0 !important; }
body { overflow-x: hidden; }
/* HERO video box (government-style rectangle) */
/* ===== GOV HERO (FULL-WIDTH VIDEO) ===== */
:root{
  --gov-black: #111;
  --gov-yellow: #b8860b; /* dark yellow (government-ish) */
}
/* ===== GOV HERO – FIXED HEIGHT ===== */
.gov-hero{
  position: relative;
  width: 100%;
  height: 65vh;        /* ✅ approx 65% screen */
  max-height: 560px;  /* ✅ cap on large screens */
  min-height: 420px;  /* ✅ safe minimum */
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

/* Background video */
.gov-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gov-hero-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}

.gov-hero-overlay{
  position: absolute;      /* ✅ overlay over video */
  inset: 0;
  z-index: 2;
  pointer-events: none;    /* allows video clicks if needed */
}

.gov-hero-card{
  position: absolute;      /* ✅ key fix */
  right: 6%;
  top: 50%;
  transform: translateY(-50%);

  width: min(520px, 92%);
  max-width: 520px;

  /* Glass effect */
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.28);

  /* Shadow ONLY on card */
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);

  pointer-events: auto;    /* clickable buttons */
}

.gov-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.15)
  );
}

@media (max-width: 576px){
  .gov-hero{
    height: 50vh;
    min-height: 360px;
  }

  .gov-hero-card{
    left: 50%;
    right: auto;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 94%;
  }
}

/* Center INSPIRE logo inside hero card */
.gov-hero-logo{
  display: flex;
  justify-content: center;  /* ✅ center horizontally */
  margin-bottom: 10px;
}

.gov-hero-logo img{
  max-width: 120px;
  height: auto;
  display: block;

  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  /* keeps logo readable on video */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
@media (max-width: 576px){
  .gov-hero-logo img{
    max-width: 96px;
  }
}
/* ===== GOVERNMENT STYLE CTA ===== */
.cta-gov-section{
  background: rgba(255,255,255,0.92);
  padding: 60px 0;
}

.cta-image-wrap{
  max-width: 100%;
}

.cta-image{
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.cta-image-caption{
  font-size: 11px;
  color: #444;
  line-height: 1.4;
  text-align: center;
}

.cta-content{
  padding-left: 10px;
}

.cta-title{
  font-weight: 800;
  color: #111;
}

.cta-text{
  font-size: 11px;
  color: #333;
  max-width: 620px;
}

.cta-actions .btn{
  font-weight: 700;
}

/* MOBILE */
@media (max-width: 576px){
  .cta-content{
    text-align: center;
    padding-left: 0;
  }

  .cta-actions{
    justify-content: center;
  }

  .cta-image-caption{
    font-size: 11px;
  }
}
