/*
Theme Name: Gibraltar Security Consultants 
Theme URI: https://gibraltarsc.com/
Author: Muhammad saeed
Author URI: https://beyondvision.net/
Description:  WordPress theme built from scratch for Gibraltar Security Consultants offers a variety of Security Consulting Services that is based on its extensive domestic and international FBI assignments, experience, and contacts.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: my-custom-theme
*/
/* Custom CSS Starts Here */
@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400..900;1,400..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
  --navy: #0a1f3f;
  --navy2: #0d2b57;
  --deep: #07142b;
  --red: #e02a33;
  --blue: #2e9bf0;
  --ink: #0a1f3f;
  --mut: #4a5a73;
  --bg: #f6f8fc;
  --card: #e9f0fa;
  --line: #d5deec;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px)
}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
    padding: 0px 20px;    
}
html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 120px);
  scroll-behavior: smooth
}
*, *:before, *:after {
  box-sizing: inherit
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6
}
img {
  max-width: 100%;
  display: block
}
a {
  color: inherit;
  text-decoration: none
}
svg.i {
  width: 1.4em;
  height: 1.4em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none
}
.w {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px
}
h1, h2, h3 {
  line-height: 1.15;
  margin: 0
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700
}
h3 {
  font-size: 1.05rem;
  font-weight: 600
}
.blue {
  color: var(--blue)
}
.eb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px
}
.eb:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red)
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font: 600 .85rem Poppins;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s
}
.btn.r {
  background: var(--red);
  color: #fff
}
.btn.r:hover {
  background: #c41e27
}
.btn.n {
  background: var(--navy);
  color: #fff
}
.btn.n:hover {
  background: var(--navy2)
}
.btn.o {
  border-color: #fff;
  color: #fff
}
.btn.o:hover {
  background: #fff;
  color: var(--navy)
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px
}
.ngg-imagebrowser.default-view img {
    max-height: 800px!important;border-radius: 15px;width: auto;
}
/* header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 1px 0 var(--navy);
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px
}
.logo img {
  height: 100px;
  width: auto
}
.logo b {
  font: 700 1.05rem/1.2 'Libre Baskerville', serif;
  display: block
}
.logo span {
  font: 700 .9rem 'Libre Baskerville', serif;
  color: var(--mut)
}
.tc {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .8rem;
  font-weight: 500
}
.tc a {
  display: flex;
  gap: 8px;
  align-items: center
}
nav {
  background: var(--navy)
}
nav .w {
  display: flex;
  gap: 6px;
  overflow-x: auto
}
nav a {
  color: #fff;
  font-size: .82rem;
  font-weight: 500;
  padding: 13px 16px;
  border-bottom: 3px solid transparent;
  white-space: nowrap
}
nav a:hover {
  background: var(--navy2)
}
nav a.on {
  border-color: var(--red);
  color: #ff6a70
}
/* Navigation container */
nav .w {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Parent container position */
.menu-item-has-children {
  position: relative;
  display: inline-block;
}
header,
nav,
nav .w {
  overflow: visible !important; /* Prevents containers from clipping the dropdown */
}
/* Hide dropdown by default */
.menu-item-has-children .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 1000;
  flex-direction: column;
}

/* Show dropdown on hover */
.menu-item-has-children:hover .sub-menu {
  display: flex;
}

/* Submenu items styling */
.sub-menu a {
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.sub-menu a:hover {
  background-color: #f5f5f5;
}
/* heroes */
.hero {
  position: relative;
  color: #fff;
  background: var(--deep) var(--bg) right center/cover no-repeat;
  overflow: hidden
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep) 30%, rgba(7, 20, 43, .55) 70%, rgba(7, 20, 43, .25))
}
.hero .w {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px
}
.hero p {
  max-width: 520px;
  font-size: 1.02rem;
  margin: 18px 0 28px;
  color: #dbe6f6
}
.hero .eb {
  color: #fff
}
.hero .eb:before {
  background: var(--red)
}
.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}
.strip {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .12)
}
.strip .w {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr))
}
.strip div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 10px;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .18)
}
.strip div:first-child {
  border: 0
}
section {
  padding: 72px 0
}
.sv {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start
}
.sv p {
  color: var(--mut)
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}
.card {
  background: var(--card);
  padding: 22px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px
}
.card p {
  margin: 0;
  font-size: .85rem
}

.card a {
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy2);
  margin-top: auto
}
.lnk {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy2)
}
.about {
  background: #eef3fb;
  padding: 0
}
.about .w {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none
}
.about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px
}
.about .t {
  padding: 64px 6vw;
  max-width: 680px
}
.nums {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  margin-top: 26px
}
.nums div {
  padding: 0 18px;
  border-left: 1px solid var(--line);
  font-size: .75rem;
  color: var(--mut)
}
.nums div:first-child {
  padding-left: 0;
  border: 0
}
.nums b {
  display: block;
  color: var(--red);
  font-size: 1.9rem;
  line-height: 1.2
}
.mis {
  position: relative;
  color: #fff;
  background: var(--deep) center/cover
}
.mis:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep) 25%, rgba(7, 20, 43, .5))
}
.mis .w {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap
}
.mis p {
  max-width: 480px;
  color: #dbe6f6
}
.mis .eb {
  color: #fff
}
.pills {
  display: flex;
  gap: 0;
  flex-wrap: wrap
}
.pills div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 26px;
  border-left: 1px solid rgba(255, 255, 255, .25);
  font-size: .72rem;
  font-weight: 600;
  text-align: center
}
.pills div:first-child {
  border: 0
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 48px;
  align-items: center
}
.gal {
  columns: 1 200px;
  column-gap: 12px
}
.gal img {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 6px;
  break-inside: avoid;
  background: var(--card)
}
.mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}
.mini img {
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  height: 100%;
  width: 100%
}
.mini img:nth-child(1), .mini img:nth-child(6) {
  grid-column: span 2;
  grid-row: span 1;
  aspect-ratio: auto
}
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}
.team figure {
  margin: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(10, 31, 63, .08)
}
.team img {
  max-width: 100%;
  height: auto;
}
.team figcaption {
  padding: 12px 16px;
  font-weight: 600;
  font-size: .9rem
}
.team small {
  display: block;
  color: var(--mut);
  font-weight: 400;
  font-size: .75rem
}
.ind {
  background: var(--navy);
  color: #fff
}
.ind ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
  font-size: .88rem;
  font-weight: 500
}
.ind li {
  display: flex;
  gap: 10px;
  align-items: center
}
.ind li svg {
  color: var(--blue)
}
.ind p {
  color: #c3d3ea
}
/* training */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--card);
  padding: 4px;
  border-radius: 6px;
  flex-wrap: wrap
}
.tabs button {
  border: 0;
  background: none;
  padding: 8px 18px;
  font: 500 .8rem Poppins;
  color: var(--mut);
  border-radius: 4px;
  cursor: pointer
}
.tabs button.on {
  background: var(--navy);
  color: #fff
}
.ghead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px
}
.band {
  background: var(--navy);
  color: #fff
}
.band .w {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap
}
.feat {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: .82rem
}
.feat span {
  display: flex;
  gap: 10px;
  align-items: center
}
.invest {
  background: #fff
}
.invest .w {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap
}
.invest .pills div {
  color: var(--navy);
  border-color: var(--line)
}
/* contact */
.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium, .wp-core-ui div.wpforms-container input.wpforms-field-medium, .wp-core-ui div.wpforms-container select.wpforms-field-medium, .wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium {
    max-width: 100%!important;
}
div.wpforms-container-full .wpforms-field-label, .wp-core-ui div.wpforms-container-full .wpforms-field-label {
 
    color: #fff!important;
    font-weight: 300!important;
}
.cg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start
}
.ci div {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  align-items: flex-start
}
.ci svg {
  color: var(--navy);
  margin-top: 3px
}
.vals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  font-size: .8rem
}
.vals div {
  padding: 0 12px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px
}
.vals div:first-child {
  border: 0;
  padding-left: 0
}
.form {
  background: var(--navy);
  color: #fff;
  padding: 34px;
  border-radius: 6px
}
.form .eb {
  color: #ff6a70
}
.form p {
  margin: 6px 0 22px;
  font-size: .85rem;
  color: #cdd9ec
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}
.form label {
  display: block;
  margin-bottom: 14px;
  font-size: .78rem;
  color: #cdd9ec
}
.form input, .form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  background: #0b2a55;
  border: 1px solid #2a4a78;
  border-radius: 5px;
  color: #fff;
  font: 400 .9rem Poppins
}
.form textarea {
  min-height: 130px;
  resize: vertical
}
.ok {
  display: none;
  margin-top: 14px;
  color: #9fe3b3;
  font-size: .85rem
}
/* footer */
footer {
  background: var(--deep);
  color: #d6e0f1;
  font-size: .82rem
}
.fg {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 44px 24px
}
footer h4 {
  margin: 0 0 14px;
  color: #ff6a70;
  font-size: .8rem;
  letter-spacing: .06em
}
footer a {
  display: block;
  margin-bottom: 8px
}
footer a:hover {
  color: #fff
}
.fb {
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .74rem
}
.fb .w {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap
}

@media(max-width:860px) {
  .tc {
    display: none
  }
  .sv, .split, .cg, .about .w {
    grid-template-columns: 1fr
  }
  .cards {
    grid-template-columns: 1fr 1fr
  }
  .fg {
    grid-template-columns: 1fr 1fr
  }
  .nums, .vals {
    grid-template-columns: 1fr 1fr;
    gap: 18px
  }
  .nums div:nth-child(3), .vals div:nth-child(3) {
    border: 0;
    padding-left: 0
  }
  .team {
    grid-template-columns: 1fr
  }
  .ind ul, .row {
    grid-template-columns: 1fr
  }
  .hero:before {
    background: rgba(7, 20, 43, .78)
  }
}
@media(max-width:520px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .fg {
    grid-template-columns: 1fr;
  }
  .logo b {
    font-size: .9rem;
  }
  .logo img {
    height: 80px;
  }
  .top .btn {
    display: none;
  }
	.tl-2 {
   
    grid-template-columns: repeat(1, 1fr)!important;
    
}
.w.sv {
    grid-template-columns: auto!important;
}
.ph, .edu {
    grid-template-columns: 1fr!important;
}	
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}.ph {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center
}
.ph h1 {
    margin-bottom: 6px
}
.ph .role {
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 18px
}
.ph .bar {
    width: 44px;
    height: 3px;
    background: var(--red);
    margin-bottom: 16px
}
.ph img {
    width: 280px;
    /* aspect-ratio: 1;
    object-fit: cover; */
    border-radius: 0%;
    border: 4px solid rgb(255 255 255 / .85);
    margin: 0 auto;
    height: auto;
}
.tl-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px
}
.tl-2 div {
    padding: 20px 22px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    font-size: .8rem;
    position: relative
}

.tl-2 time {
    display: block;
    color: var(--red);
    font-size: .75rem;
    margin-bottom: 4px
}
.tl-2 small {
    color: var(--mut);
    display: block;
    font-size: .76rem
}
.tl-2 b {
    display: block;
    font-size: .82rem;
    line-height: 1.4
}
.tl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px
}
.tl div {
    padding: 20px 22px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    font-size: .8rem;
    position: relative
}
.tl div:nth-child(3n+1) {
    border-left: 0
}
.tl div:nth-child(-n+3) {
    border-top: 0
}
.tl time {
    display: block;
    color: var(--red);
    font-size: .75rem;
    margin-bottom: 4px
}
.tl small {
    color: var(--mut);
    display: block;
    font-size: .76rem
}
.tl b {
    display: block;
    font-size: .82rem;
    line-height: 1.4
}
.edu {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0
}
.edu>div {
    padding: 10px 26px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px
}
.edu>div:first-child {
    border: 0;
    padding-left: 0
}
.edu .d {
    color: var(--red);
    font-size: .88rem
}
.edu b {
    font-weight: 500;
    font-size: 1.02rem;
    line-height: 1.4
}
.al {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2 340px;
    column-gap: 44px;
    font-size: .88rem
}
.al li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    break-inside: avoid;
    color: var(--navy2)
}
.al li svg {
    color: var(--red);
    margin-top: 2px
}
.ex .al li {
    color: #fff
}
.ex .al li svg {
    color: #ff6a70
}
.ex {
    background: var(--deep);
    color: #fff
}
.quote {
    border-left: 3px solid var(--line);
    padding: 4px 0 4px 24px;
    font-size: .82rem;
    color: var(--mut);
    max-width: 1000px;
    margin: 0 auto
}

@media(max-width:860px) {
.ph, .edu {
    grid-template-columns: 1fr
}
.edu>div {
    border: 0;
    padding: 12px 0
}
.tl {
    grid-template-columns: 1fr
}
.tl div {
    border-left: 0!important;
    border-top: 1px solid var(--line)!important
}
}
.team a {
    display: block
}
.team a:hover figcaption {
    color: var(--red)
}
.

@media(max-width:860px) {
.tc {
    display: none
}
.sv, .split, .cg, .about .w {
    grid-template-columns: 1fr
}
}