/********** Global / Common CSS **********/
:root {
  --primary: #bb1518;
  --secondary: #3444d6;
  --light: #F8F2F0;
  --dark: #060315;
}

/* ✅ HARD RESET (gap fix) */
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }

.fw-medium { font-weight: 600 !important; }

/* ✅ remove tiny seams between stacked blocks */
section, header, footer, nav, div { border: 0; }
.container-fluid, .container { margin: 0 auto; }

/* Top bar fix */
.container-fluid.bg-dark {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

/* Navbar seam fix */
.navbar{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none; /* bootstrap shadow-sm already in html */
}

/* Social buttons spacing fix */
.btn-social { margin-right: 5px; }

/* Navbar brand fix on mobile */
@media (max-width: 576px) {
  .navbar-brand {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .navbar-brand h1 { font-size: 16px; }
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 85px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Buttons ***/
.btn { font-weight: 600; transition: .5s; }
.btn.btn-primary, .btn.btn-secondary { color: #FFFFFF; }

.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn-primary { background-color: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background-color: #a01215; border-color: #a01215; }

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  margin-right: 30px;
  padding: 25px 0;
  color: #FFFFFF;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--light);
  font-weight: bold;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link { margin-right: 0; padding: 10px 0; }
  .navbar-light .navbar-nav { border-top: 1px solid #EEEEEE; }
}

.navbar-light .navbar-brand,
.navbar-light a.btn { height: 95px; }

.navbar-light .navbar-nav .nav-link { color: var(--light); font-weight: 500; }

/* sticky behavior: DO NOT override bootstrap sticky-top */
.nav-fixed {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1030;
  background: #111;
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    top: -6px;
    left: 50%;
    background: #FFFFFF;
    transition: .5s;
  }
  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }
  .navbar-light .navbar-nav .nav-link.nav-contact::before { display: none; }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }
  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
}

/*** Header carousel common (if used) ***/
@media (max-width: 768px) {
  .header-carousel .owl-carousel-item { position: relative; min-height: 500px; }
  .header-carousel .owl-carousel-item img {
    position: absolute; width: 100%; height: 100%; object-fit: cover;
  }
  .header-carousel .owl-carousel-item h5,
  .header-carousel .owl-carousel-item p {
    font-size: 14px !important;
    font-weight: 400 !important;
  }
  .header-carousel .owl-carousel-item h1 { font-size: 30px; font-weight: 600; }
}

.header-carousel .owl-nav {
  position: absolute; top: 50%; right: 8%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  background: transparent;
  border: 1px solid #FFFFFF;
  border-radius: 45px;
  font-size: 22px;
  transition: .5s;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/*** Generic Page Header (used by contact/services old style) ***/
.page-header {
  background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/pexels-kelly-6572431.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before { color: var(--light); }

/*** Service/Team common cards ***/
.service-item,
.price-item,
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
  transition: all 0.3s ease;
}
.service-item:hover,
.price-item:hover,
.team-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.service-item img,
.team-item img { transition: .5s; }
.service-item:hover img,
.team-item:hover img { transform: scale(1.05); }

/*** Testimonial common ***/
.testimonial-carousel .owl-item .testimonial-item { position: relative; transition: .5s; }
.testimonial-carousel .owl-item.center .testimonial-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
  animation: pulse 1s ease-out .5s;
}
.testimonial-carousel .owl-dots { display: flex; align-items: center; justify-content: center; }
.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px; height: 15px;
  background: var(--primary);
  border: 5px solid var(--light);
  border-radius: 15px;
  transition: .5s;
}
.testimonial-carousel .owl-dot.active {
  background: var(--light);
  border-color: var(--primary);
}

/*** Footer ***/
.footer {
  background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
  background-size: cover;
}
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px; height: 35px;
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  border: 1px solid #FFFFFF;
  border-radius: 35px;
  transition: .3s;
}
.footer .btn.btn-social:hover { color: var(--primary); }

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}
.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}
.footer .btn.btn-link:hover { letter-spacing: 1px; box-shadow: none; }

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}
.footer .copyright a { color: var(--light); }

/*** WhatsApp floating ***/
.whatsapp-float {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  text-decoration: none;
}
.whatsapp-float svg { width: 100%; height: 100%; }
.whatsapp-float:hover { transform: scale(1.08); transition: transform .2s ease; }

/*** Small UI helpers (used across pages) ***/
.grayscale-hover {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  opacity: 0.8;
}
.grayscale-hover:hover { filter: grayscale(0); opacity: 1; }

.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; }
.shadow { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; }

.lead { font-size: 1.2rem; font-weight: 300; }
.bg-light { background-color: #f8f9fa !important; }
.rounded { border-radius: 0.5rem !important; }

/* ========================================================= */
/* ✅ GAP REMOVAL FOR DARK BACKGROUND SECTIONS (2nd screenshot) */
/* These sections had 1px seam where white background shows. */
.gss-services,
.gss-certs,
.gss-certwall{
  background-color: #020610;  /* white hide */
  margin-top: -1px;          /* hairline seam remove */
  margin-bottom: -1px;       /* hairline seam remove */
  padding-top: 80px;         /* keep your spacing */
  padding-bottom: 80px;
  position: relative;
}
@media (max-width: 991px){
  .gss-services,
  .gss-certs,
  .gss-certwall{
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ================= WHY CHOOSE US (REFERENCE UI) ================= */
/* ================= WHY CHOOSE US RESPONSIVE ================= */
.gss-why{
  position: relative;
  background-image: url('/gss/img/ab1.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 75%;
  overflow: hidden;
  padding: 80px 0;
}

/* Overlay */
.gss-why__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.85) 40%,
      rgba(255,255,255,0.50) 65%,
      rgba(255,255,255,0.10) 85%,
      rgba(255,255,255,0.00) 100%);
  z-index: 1;
}

.gss-why__wrap{
  position: relative;
  z-index: 2;
}

.gss-why__title{
  font-weight: 900;
  margin-bottom: 6px;
  font-size: clamp(28px, 3vw, 44px);
  color: #0b1220;
}

.gss-why__subtitle{
  margin: 0 auto;
  max-width: 820px;
  color: rgba(20,24,33,0.75);
  font-size: clamp(14px, 1.2vw, 18px);
}

/* CARDS */
.gss-why__card{
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  max-width: 520px;
}

.gss-why__icon{
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #d81324;
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 55px;
}

.gss-why__icon i{ font-size: 20px; }

.gss-why__text h5{
  font-weight: 800;
  margin-bottom: 5px;
}

.gss-why__text p{
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(20,24,33,0.75);
}

/* ================= RESPONSIVE BREAKPOINTS ================= */
/* Laptop */
@media (max-width: 1200px){
  .gss-why{ background-size: 85%; }
}

/* Tablet */
@media (max-width: 991px){
  .gss-why{
    background-size: 100%;
    background-position: center top;
    padding: 60px 0;
  }
  .gss-why__card{ max-width: 100%; }
}

/* Mobile */
@media (max-width: 576px){
  .gss-why{
    background-size: 120%;
    background-position: center top;
    padding: 50px 0;
  }

  .gss-why__title{ font-size: 24px; }
  .gss-why__card{ padding: 16px; }

  .gss-why__icon{
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
  }

  .gss-why__icon i{ font-size: 16px; }
}
/* ================= END ================= */

/* =========================================================
   GSS PREMIUM - MEMBERSHIPS & CERTIFICATIONS
   ========================================================= */

.gss-certs{
  position: relative;
  overflow: hidden;
  /* padding handled above to avoid seam */
}

/* Background */
.gss-certs__bg{
  position: absolute;
  inset: 0;
  background: url("../img/certi1.png") center/cover no-repeat;
  transform: scale(1.02);
  z-index: 0;
  opacity: .98;
}

/* Overlay */
.gss-certs__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 18% 25%, rgba(90,170,255,.24), transparent 62%),
    radial-gradient(900px 520px at 85% 55%, rgba(255,120,120,.18), transparent 60%),
    linear-gradient(180deg, rgba(3,10,22,.42), rgba(3,10,22,.84));
  z-index: 1;
}

/* Tiny stars */
.gss-certs::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 140px 140px, 220px 220px;
  background-position: 0 0, 55px 80px;
  opacity: .14;
  pointer-events:none;
  z-index: 2;
}

.gss-certs__wrap{ position: relative; z-index: 3; }

/* Glass Panel */
.gss-certs__panel{
  position: relative;
  border-radius: 22px;
  padding: 34px 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 70px rgba(0,0,0,.45);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Gradient border glow */
.gss-certs__panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(90deg,
    rgba(120,200,255,.55),
    rgba(255,255,255,.10),
    rgba(255,120,120,.45)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: .65;
}

/* Heading */
.gss-certs__head{ text-align: center; margin-bottom: 22px; }

.gss-certs__title{
  margin: 0;
  color: rgba(255,255,255,.95);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 42px);
  letter-spacing: .2px;
}

.gss-certs__sub{
  margin: 10px auto 0;
  max-width: 900px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* Grid spacing */
.gss-certs__grid{ margin-top: 6px; }

/* Logo Card */
.gss-certs__item{
  height: 165px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gss-certs__item img{
  max-width: 88%;
  max-height: 115px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .90;
  transform: scale(1);
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.gss-certs__item:hover{
  transform: translateY(-4px);
  border-color: rgba(187,21,24,.55);
  box-shadow: 0 24px 55px rgba(0,0,0,.38);
}

.gss-certs__item:hover img{
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 991px){
  .gss-certs__panel{ padding: 26px 18px; }
  .gss-certs__item{ height: 145px; }
  .gss-certs__item img{ max-height: 98px; }
}

@media (max-width: 576px){
  .gss-certs__title{ font-size: 22px; }
  .gss-certs__item{ height: 125px; border-radius: 16px; }
  .gss-certs__item img{ max-height: 84px; }
}

/* =========================================================
   GSS CERTIFICATIONS WALL (COSMIC GLOW UI) - 4 + 4
   ========================================================= */

.gss-certwall{
  position: relative;
  overflow: hidden;
  /* padding handled above to avoid seam */
}

/* Background (Space) */
.gss-certwall__bg{
  position: absolute;
  inset: 0;
  background: url("../img/certi1.png") center/cover no-repeat;
  transform: scale(1.04);
  z-index: 0;
  opacity: .98;
}

/* Dark overlay for contrast */
.gss-certwall__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 650px at 50% 10%, rgba(255,170,80,.22), transparent 60%),
    radial-gradient(900px 520px at 20% 60%, rgba(90,170,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(2,6,16,.25), rgba(2,6,16,.86));
  z-index: 1;
}

.gss-certwall__wrap{ position: relative; z-index: 2; }

/* Main glowing frame */
.gss-certwall__frame{
  position: relative;
  border-radius: 26px;
  padding: 40px 28px 30px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 85px rgba(0,0,0,.55);
  overflow: hidden;
}

.gss-certwall__frame::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(90deg,
    rgba(255,180,90,.95),
    rgba(255,255,255,.08),
    rgba(255,140,60,.95)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: .85;
}

.gss-certwall__frame::after{
  content:"";
  position:absolute;
  left: 50%;
  bottom: -80px;
  width: 900px;
  height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,160,70,.55), transparent 70%);
  filter: blur(2px);
  opacity: .75;
  pointer-events:none;
}

/* Heading */
.gss-certwall__head{ margin-bottom: 22px; }

.gss-certwall__title{
  margin: 0;
  font-weight: 900;
  font-size: clamp(26px, 3vw, 54px);
  letter-spacing: .3px;
  color: #ffcf8a;
  text-shadow:
    0 0 10px rgba(255,160,70,.35),
    0 0 24px rgba(255,160,70,.25);
}

.gss-certwall__sub{
  margin: 10px auto 0;
  max-width: 900px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.gss-certwall__grid{ margin-top: 18px; }

/* Card */
.gss-certwall__card{
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 18px 55px rgba(0,0,0,.35),
    0 0 0 rgba(255,160,70,0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: zoom-in;
  position: relative;
}

.gss-certwall__card::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(255,170,90,.25);
  opacity: .65;
}

.gss-certwall__card img{
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .35s ease, filter .35s ease;
  filter: contrast(1.02) saturate(1.02);
}

.gss-certwall__card:hover{
  transform: translateY(-8px);
  border-color: rgba(255,170,90,.55);
  box-shadow:
    0 28px 75px rgba(0,0,0,.45),
    0 0 30px rgba(255,160,70,.18);
}

.gss-certwall__card:hover img{ transform: scale(1.06); }

/* Lightbox */
.gss-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  padding: 18px;
}
.gss-lightbox.is-open{ display:flex; }

.gss-lightbox__img{
  max-width: min(980px, 96vw);
  max-height: 92vh;
  border-radius: 14px;
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
  background: #fff;
}

.gss-lightbox__close{
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gss-lightbox__close:hover{ background: rgba(255,255,255,.18); }

@media (max-width: 991px){
  .gss-certwall__frame{ padding: 28px 18px 20px; }
}

@media (max-width: 576px){
  .gss-certwall__title{ font-size: 26px; }
  .gss-lightbox__close{ top: 10px; right: 10px; }
}
