/* Remove float and use flexbox for menu alignment */
.main-menu > ul {
    float: none !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* FIX: Restore Bootstrap column behavior */
.header .row > * {
    width: auto;
    max-width: none;
}


.social-icons a {
    color: #fff; /* or your brand color */
    font-size: 18px;
    margin-left: 12px;
}

.social-icons a:hover {
    color: #f0c040; /* hover color */

}
.social-icons {
color: #fff; /* or your brand color */
 font-size: 18px;
 margin-left: 12px;
 }
 .social-icons ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px; /* space between icons */
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-icons ul li {
  display: inline-flex;
}

.social-icons ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Social icons horizontal alignment */
.social-icons ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-icons ul li {
  display: inline-flex;
}

.social-icons ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Align menu, icons, and search perfectly */
.header .d-flex {
  align-items: center;
}

.menu {
  margin-right: 20px;
}

.social-icons {
  margin-right: 20px;
}

.menu-icon .site-search {
  display: flex;
  align-items: center;
}
/* Make social icons visible on white header */
.social-icons ul li a i {
  color: #333333; /* match your menu text color */
  transition: color 0.3s ease;
}

.social-icons ul li a:hover i {
  color: #f7c600; /* your yellow hover color */
}
.header-logo img {
  max-width: 180px; /* adjust to your preferred size */
  height: auto;
}

.header-area .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-area .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.header-area .main-menu {
    text-align: center;
    margin: 0 auto;
}
.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.mnmenu-sec .row {
    align-items: center;
}

.logo {
    margin-right: 10px;
}

.slider-area img,
.rev_slider img,
.carousel-item img {
    max-height: 500px; /* adjust to 400, 450, 550 until perfect */
    width: 100%;
    object-fit: cover;
}

.menu-cta a {
    background: #f7d100; /* your yellow highlight */
    color: #000;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-left: 20px;
}

.menu-cta a:hover {
    background: #e5c200;
    color: #000;
}

.navbar-nav > li {
    display: flex;
    align-items: center;
}
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center; /* or flex-start / flex-end */
    flex-wrap: wrap;
}

.cta-buttons .btn {
    white-space: nowrap;
}

/* ===== Home hero slider: move the text block lower & to the left (desktop) ===== */
@media (min-width: 1200px) {
    .slider.index2 .slider-text {
        top: 68%;        /* push the text block lower on the slide */
        left: -120px;    /* shift the text block to the left, clear of the agent */
    }
}

/* ===== Client Review: readable translucent-white panel behind the description ===== */
.testimonial-text p {
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1d;
    padding: 22px 26px;
    border-radius: 8px;
    line-height: 1.75;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ===== "Our Work in Action" gallery: force uniform image size ===== */
/* The first image (davidmall.png) is 3:2 while the rest are ~4:3, so it rendered
   at a different height. Lock all six to the same ratio and crop to fill. */
.project-thumb {
    overflow: hidden;
}
.project-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* ============================================================
   Homepage "Our Security Services" section header
   (scoped to .service2-sec + !important so it wins over the
   template's responsive.css .sec-title margin/text-align rules)
   ============================================================ */
.service2-sec .gis-svc-head {
    max-width: 920px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 58px !important;
    text-align: center !important;
}
.service2-sec .gis-svc-head h1,
.service2-sec .gis-svc-head p,
.service2-sec .gis-svc-head .gis-svc-kicker {
    text-align: center !important;
}
.service2-sec .gis-svc-kicker {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fab909;
    margin-bottom: 18px;
}
.service2-sec .gis-svc-kicker i {
    margin-right: 8px;
}
.service2-sec .gis-svc-head h1 {
    margin: 0 0 22px;
    line-height: 1.25;
}
.service2-sec .gis-svc-divider {
    display: block;
    width: 64px;
    height: 3px;
    margin: 0 auto 30px;
    background: #fab909;
    border-radius: 3px;
    position: relative;
}
.service2-sec .gis-svc-divider::before,
.service2-sec .gis-svc-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 1px;
    background: rgba(250, 185, 9, 0.45);
}
.service2-sec .gis-svc-divider::before { right: 100%; margin-right: 10px; }
.service2-sec .gis-svc-divider::after  { left: 100%;  margin-left: 10px; }
.service2-sec .gis-svc-head p {
    margin: 0 auto;
    max-width: 880px;
    font-size: 18px;
    font-weight: 600;
    line-height: 2.1;
    letter-spacing: 0.2px;
    color: #d3dae6;
}
@media (max-width: 991px) {
    .service2-sec .gis-svc-head { margin-bottom: 42px !important; padding: 0 18px; }
    .service2-sec .gis-svc-head h1 { font-size: 30px; }
}
@media (max-width: 575px) {
    .service2-sec .gis-svc-head h1 { font-size: 24px; }
    .service2-sec .gis-svc-head p { font-size: 16px; line-height: 1.9; }
}

/* ============================================================
   Trust bar — credibility ribbon under the homepage hero
   ============================================================ */
.gis-trustbar {
    background: #f5f7fb;
    border-top: 3px solid #fab909;
    border-bottom: 1px solid #e6eaf2;
    padding: 24px 0;
}
.gis-trust-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}
.gis-trust-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 19%;
    min-width: 195px;
    padding: 8px 18px;
    color: #0a1730;
}
.gis-trust-list li + li { border-left: 1px solid #e2e7f0; }
.gis-trust-list i {
    font-size: 30px;
    color: #fab909;
    flex-shrink: 0;
    line-height: 1;
}
.gis-trust-list strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #0a1730;
}
.gis-trust-list span {
    display: block;
    font-size: 12.5px;
    color: #6b7588;
    margin-top: 3px;
    line-height: 1.4;
}
@media (max-width: 991px) {
    .gis-trust-list li { flex: 1 1 45%; min-width: 0; }
    .gis-trust-list li + li { border-left: none; }
}
@media (max-width: 575px) {
    .gis-trustbar { padding: 12px 0; }
    .gis-trust-list li {
        flex: 1 1 100%;
        justify-content: flex-start;
        padding: 12px 6px;
        border-bottom: 1px solid #e6eaf2;
    }
    .gis-trust-list li:last-child { border-bottom: none; }
}

/* Keep the About stat counters in one tidy row regardless of label length
   (long FR labels were widening one item and breaking the row). */
.about-countup {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 64px;
}
.about-countup .counting-inner {
    padding-right: 0;
}
.about-countup .counting-inner h4 {
    font-size: 18px;
    max-width: 200px;
}
@media (max-width: 575px) {
    .about-countup { gap: 18px 32px; }
    .about-countup .counting-inner h4 { font-size: 16px; }
}
