﻿:root{
  --navy:#0b1f3b;
  --gray:#6c757d;
  --light:#f5f7fb;
  --border:#e5e7eb;
}
html { scroll-behavior: smooth; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#111827;
}
.bg-navy{ background: var(--navy) !important; }
.text-navy{ color: var(--navy) !important; }
.btn-navy{
  background: var(--navy);
  border-color: var(--navy);
  color:#fff;
}
/* Navy primary button with subtle off-white border */
.btn-navy {
  background-color: #0b2e4f;   /* your navy */
  border: 2px solid rgba(255,255,255,0.85);  /* off-white border */
  color: #ffffff;
}

/* Hover effect */
.btn-navy:hover {
  background-color: #09263f;   /* slightly darker navy */
  border-color: #ffffff;
  color: #ffffff;
}

.hero .lead{ color: rgba(255,255,255,0.88); }
.kicker{
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--gray);
}
.page-header{
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.media-thumb{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: .75rem;
  border: 1px solid var(--border);
}
.video-frame{
  width: 100%;
  border-radius: .75rem;
  border: 1px solid var(--border);
  background: #000;
}
.badge-soft{
  background: rgba(11,31,59,0.08);
  color: var(--navy);
  border: 1px solid rgba(11,31,59,0.16);
}
.footer{
  background: #0a1730;
  color: rgba(255,255,255,0.82);
  padding: 2.5rem 0;
}
.footer a{ color: rgba(255,255,255,0.82); text-decoration: none; }
.footer a:hover{ text-decoration: underline; }
.small-muted{ color: rgba(17,24,39,0.65); }
.form-control, .form-select{
  border-radius: .75rem;
  border: 1px solid var(--border);
  padding: .8rem 1rem;
}
.btn{ border-radius: .75rem; padding: .75rem 1rem; }
.hr-soft{ border-top: 1px solid var(--border); }
@media (max-width: 576px){
  .hero{ padding: 4.5rem 0; }
  .section, .section-alt{ padding: 3rem 0; }
}
/* ===== Media-forward homepage ===== */
.hero-media {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-media .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,59,0.82), rgba(11,31,59,0.55));
  z-index: 1;
}

.hero-media .content {
  position: relative;
  z-index: 2;
}

.hero-media video,
.hero-media .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .hero-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(229,231,235,0.9);
  border-radius: 1rem;
}

.service-tile {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 220px;
  background: #111;
  color: #fff;
}

.service-tile .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.25) contrast(1.08) brightness(0.95)

}

.service-tile .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.10), rgba(2,6,23,0.78));
}

.service-tile .inner {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.service-tile:hover .bg {
  transform: scale(1.06);
  transition: transform 250ms ease;
}

.service-tile .btn {
  border-color: rgba(255,255,255,0.55);
}

@media (max-width: 576px){
  .hero-media { min-height: 70vh; }
}




/* In case something is overlaying the button */
form button.btn-navy {
  position: relative;
  z-index: 5;
}
/* Navbar logo visibility fix */
/* Navbar logo refined sizing */
.logo-img {
  height: 56px;              /* Bigger logo */
  width: auto;
  display: block;

  background: #ffffff;
  padding: 4px 8px;          /* Smaller padding */
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);

  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
padding: 3px;


}


/* Reduce left padding of navbar container */
.navbar .container {
  padding-left: 12px;   /* default is ~24px */
  padding-right: 12px;
}
/* Make hero buttons equal size */
.hero-media .btn {
  padding: 12px 22px;
  font-weight: 500;
  min-width: 180px;   /* forces equal width */
  text-align: center;
}
/* Equal hero buttons */
.hero-btn {
  padding: 12px 26px;
  min-width: 200px;
  font-weight: 500;
  text-align: center;
}

/* Make outline button visually equal weight */
.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #0b2e4f; /* navy */
}
/* HERO buttons: centered + full-width on mobile */
@media (max-width: 576px){
  .hero-media .content .d-flex{
    justify-content: center;
  }
  .hero-btn{
    width: 100%;
    max-width: 320px;   /* keeps it looking like a button, not a paragraph */
  }
}
/* Core Services card: less "floating pill" on mobile */
@media (max-width: 576px){
  .hero-media .hero-card{
    border-radius: 14px;          /* reduce odd curved ends */
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  }
}
/* Subtle structured hero text card */
.hero-text-card {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(6px);
}

/* Keep text clean and readable */
.hero-text-card .lead {
  color: #ffffff;
}
/* =========================
   Navbar: compact on desktop
========================= */

/* Desktop: no big panel, no wrapping */
/* =========================
   Navbar: compact on desktop
========================= */

/* Desktop: no big panel, no wrapping */
@media (min-width: 992px){
  .navbar-nav{
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
  }

  .navbar-dark .navbar-nav .nav-link{
    color: rgba(255,255,255,0.96);
    font-weight: 500;
    padding: 8px 12px;      /* tighter */
    border-radius: 6px;
    white-space: nowrap;    /* prevent each link from breaking */
  }

  .navbar-dark .navbar-nav .nav-link:hover{
    background: rgba(255,255,255,0.10);
    color: #fff;
  }

  .navbar-dark .navbar-nav .nav-link.active{
    background: rgba(255,255,255,0.16);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
    color: #fff;
  }
}

/* Mobile: panel look (where it helps) */
@media (max-width: 991.98px){
  .navbar .navbar-collapse{
    margin-top: .75rem;
    padding: .75rem;
    border-radius: 1rem;
    background: rgba(11,31,59,0.98);
    border: 1px solid rgba(255,255,255,0.12);
  }

  .navbar-nav{
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
  }

  .navbar-dark .navbar-nav .nav-link{
    padding: 10px 12px;
    border-radius: 10px;
  }
}
