


  :root {
  --brand-red: #d01627;
  --brand-dark: #111827;
  --brand-light: #f9fafb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --radius-lg: 22px;
  --radius-md: 16px;
}

/* BASIC RESET */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: var(--text-main);
  scroll-behavior: smooth;
  margin: 0;
}

/* ======================= */
/* NAVBAR - DESKTOP BASE   */
/* ======================= */

.navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  padding: 0.7rem 0;
  z-index: 1000;
  position:fixed;
  top: 0;
  width: 100%;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #ffffff !important;
  display: flex;
  align-items: center;
}

.navbar img.logo {
  height: 56px;
  margin-right: 10px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Logo text */
.brand-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0px;
  color: #ffffff !important;
  white-space: nowrap;
  text-transform: uppercase;
}

/* NAV LINKS – DESKTOP */
.nav-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffffff !important;
  position: relative;
  padding-bottom: 0.2rem;
  margin: 0 0.4rem;
}

/* underline animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: #ffffff;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Primary button */
.btn-main {
  background: var(--brand-red);
  border-radius: 999px;
  border: none;
  color: #fff;
  padding: 0.5rem 1.3rem;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 12px 25px rgba(208, 22, 39, 0.35);
}

.btn-main:hover {
  background: #b01220;
  color: #fff;
}

/* NAVBAR ON SCROLL - DESKTOP */
.navbar.navbar-scrolled {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.navbar.navbar-scrolled .brand-text {
  color: #111827 !important;
}

.navbar.navbar-scrolled .nav-link {
  color: #111827 !important;
}

.navbar.navbar-scrolled .nav-link::after {
  background: var(--brand-red);
}

/* BURGER ICON BASE (DESKTOP) */
.navbar-toggler {
  border-color: rgba(248, 250, 252, 0.7);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 249, 250, 251, 0.9 %29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.navbar-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 31, 41, 55, 0.9 %29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ======================= */
/* GENERAL SECTIONS        */
/* ======================= */

section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
}

.section-subtitle {
  max-width: 640px;
  margin: 0.5rem auto 2.5rem auto;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Logo size helper */
.logo {
  height: 55px;
  width: auto;
}

/* ======================= */
/* HERO & CAROUSEL         */
/* ======================= */


@media (max-width: 768px) {
  .hero,
  .hero-carousel,
  .carousel-item {
   
      height: 80vh;
    min-height: 460px;
  }
}

.hero {
  padding-top: 0;
}

.hero-carousel .carousel-item {
  height: min(90vh, 700px);
  position: relative;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/*
.hero-bg img {
  width: 100%;
  height: 100%;
  transform: scale(1.03);
  transition: transform 6s ease-out;
  display:block;
}

*/




.hero-bg img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/ /* MUST ENABLE */
  transform: scale(1.03);
  transition: transform 6s ease-out;
  display: block;
}
.carousel-item.active .hero-bg img {
  transform: scale(1.09);
}
/*
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(17, 24, 39, 0.75) 0%,
    rgba(17, 24, 39, 0.45) 40%,
    rgba(209, 22, 39, 0.18) 100%
  );


}
*/



.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(17, 24, 39, 0.45) 0%,
    rgba(17, 24, 39, 0.25) 40%,
    rgba(209, 22, 39, 0.10) 100%
  );
}


.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 1.5rem;
  
}

.hero-text-block {
  max-width: 620px;
}

/* HERO BADGE */
.hero-badge {
  background: #d01627;
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(208, 22, 39, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
}

.hero-badge i {
  font-size: 1rem;
  color: #fff;
}

/* HERO TITLE + SUBTITLE */
.hero-title {
  font-size: clamp(2.1rem, 3.3vw + 1rem, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.7rem;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.hero-title span {
  color: #fef3f2;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  max-width: 520px;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

/* HERO STATS */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  background: transparent !important;
}

/* Each stat pill */
.hero-stat {
  background: rgba(208, 22, 39, 0.9);
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* dot (used in some stats) */
.hero-stat .hero-indicator {
  background: #fff;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* Phone clickable */
.phone-pill {
  text-decoration: none;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.phone-pill:hover {
  opacity: 0.9;
}

/* Carousel controls & indicators */
.carousel-indicators {
  bottom: 1.7rem;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.7);
}

.carousel-indicators .active {
  background-color: #ffffff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
}

/* ======================= */
/* OVERVIEW / INFO CARDS   */
/* ======================= */

.info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #92400e;
  margin-bottom: 0.7rem;
}

.info-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: justify;
}

/* FACT CARDS */
.fact-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.fact-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand-red);
}

.fact-label {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* SIDE PHOTO */
.side-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #fecaca;
  box-shadow: 0 18px 40px rgba(185, 28, 28, 0.18);
}

.side-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.side-photo:hover img {
  transform: scale(1.04);
}
/* SERVICES SECTION */



.services-overlay {
  background: linear-gradient(
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.85)
  );
  padding: 80px 0;
}

/* CARD */
.service-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s ease;
}

.service-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* HOVER IMAGE ZOOM */
.service-photo-card:hover img {
  transform: scale(1.1);
}

/* CONTENT OVERLAY */
.service-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(208, 22, 39, 0.9),
    rgba(0, 0, 0, 0.3)
  );
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-content i {
  font-size: 32px;
  color: #fff;
  margin-bottom: 10px;
}

.service-content h5 {
  margin-bottom: 6px;
}

.service-content p {
  font-size: 14px;
  opacity: 0.95;
}

/* CARD FLOAT */
.service-photo-card:hover {
  transform: translateY(-6px);
}

/* MOBILE FIRST */
@media (max-width: 768px) {
  .services-overlay {
    padding: 60px 0;
  }
}




#services {
  margin: 0;
  padding: 0;
 
   background: url("../images/services.jpeg") center / cover no-repeat;
}



#services .section-title {
  margin-top: 0;
}

#services .section-subtitle {
  margin-bottom: 0;
}

#services .row:last-child {
  margin-bottom: 0;
}

/* =========================
   SERVICES SECTION
========================= */

/* =========================
   SERVICES SECTION FIX
========================= */
/* ================= SERVICES SECTION ================= */
/* ================= SERVICES SLIDER ================= */

.services-section {
  padding: 90px 0;
  background: #f8fafc;
}

.services-header {
  margin-bottom: 55px;
}


.service-body h5 {
  display: flex;
  align-items: center;
  justify-content: center; /* keep title centered */
  gap: 10px;               /* space between icon & text */
  font-weight: 700;
}

.service-body h5 i {
  color: #d01627;          /* JJ red */
  font-size: 1.1rem;
}





.services-slider {
  position: relative;
  overflow: hidden;
   padding: 0;
}

/* TRACK */
.services-track {
  display: flex;
  gap: 18px;                     /* desktop best */
  transition: transform 0.6s ease;
  will-change: transform;
}

@media (max-width: 768px) {
  .services-track {
    gap: 0;                      /* ⭐ mobile gap remove */
  }
}


/* CARD */
.service-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  overflow: hidden;
}

/* IMAGE */
.service-img-wrap {
  position: relative;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 220px;
 /* object-fit: cover;*/
 display: block;
  transition: transform 0.4s ease;
}

/* IMAGE HOVER ARROW */
.service-img-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-img-arrow {
  opacity: 1;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* BODY */
.service-body {
  padding: 22px;
  text-align: center;
}

/* BUTTON */
.service-btn {
  padding: 9px 24px;
  background: #d01627;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
}

/* MANUAL SLIDER ARROWS */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #d01627;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.slider-nav.prev { left: -12px; }
.slider-nav.next { right: -12px; }

/* SHOW ARROWS ON HOVER */
.services-slider:hover .slider-nav {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .service-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 576px) {
  .service-card {
    flex: 0 0 100%;
  }
  .slider-nav {
    display: none;
  }
}






/*
.services-section {
  background: url("images/services.jpeg") center / cover no-repeat;
  position: relative;
}
*/

@media (max-width: 768px) {
  .services-overlay {
    padding: 60px 0;
  }
}


.services-overlay {
  background: rgba(0, 0, 0, 0.75);
  padding: 80px 0;
}

/* SERVICE CARDS */
.service-card.modern {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 30px;
  height: 100%;
  transition: 0.3s;
  color: #ffffff;
}

.service-card.modern i {
  font-size: 34px;
  color: #d01627;
  margin-bottom: 15px;
}

.service-card.modern h5 {
  margin-bottom: 10px;
}

.service-card.modern p {
  color: #e5e7eb;
  font-size: 15px;
}

.service-card.modern:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
}

/* ======================= */
/* INDUSTRIES / CLIENTS    */
/* ======================= */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px dashed #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
  font-size: 0.82rem;
  margin: 0.25rem;
}

.client-logo {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ======================= */
/* WHY JJ SECTION          */
/* ======================= */

.why-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.why-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  color: #b91c1c;
  flex-shrink: 0;
}

/* ======================= */
/* TRAINING CARD           */
/* ======================= */

.training-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* ======================= */
/* CONTACT SECTION         */
/* ======================= */

/* ===== FOOTER ===== */
/*.jj-footer {
  background: url("images/footer-g.png") center/cover fixed no-repeat;
  color: #e5e7eb;
  position: relative;
  border-top: 4px solid #b91c1c;
}
*/

.jj-footer {
  position: relative;
  background: #0b0f19;
  overflow: hidden;
  color: #e5e7eb;
}

.jj-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/footer-g.png") no-repeat center bottom / contain;
 /* opacity: 0.25;*/
  z-index: 0;
  background-size: cover;
  background-position: 50% 15%;
}

.jj-footer * {
  position: relative;
  z-index: 1;
}


@media (max-width: 768px) {
  .jj-footer::before {
    background-position: center top;
  }

  .jj-footer {
    background-attachment: scroll;
  }
}


.footer-overlay {
 /* background: rgba(0, 0, 0, 0.78);*/
  padding: 70px 0 50px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 10px;
}

.footer-brand h5 {
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-title {
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #d01627;
  display: block;
  margin-top: 6px;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-list i,
.jj-footer p i {
  color: #d01627;
  min-width: 20px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #ffffff;
  border-radius: 50%;
  margin-right: 8px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #d01627;
}

/* Bottom bar */
.footer-bottom {
  background: #0f172a;              /* dark corporate */
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-copy strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-credit {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-link {
  color: #f43f5e;                   /* subtle brand highlight */
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fb7185;
  text-decoration: underline;
}


@media (max-width: 576px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy,
  .footer-credit {
    line-height: 1.5;
  }
}

/* ======================= */
/* WHATSAPP FLOAT BUTTON   */
/* ======================= */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.5);
  z-index: 9999;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1ebe5b;
  color: #fff;
}



/* ======================= */
/* BACK TO TOP BUTTON      */
/* ======================= */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #d01627;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(208, 22, 39, 0.45);
  transition: all 0.25s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: #b81322;
}

/* ======================= */
/* CAPSI ROW               */
/* ======================= */

.capsi-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.capsi-row-logo {
  width: 155px;
  height: auto;
}

.capsi-row-name {
  background: #d01627;
  color: #fff;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
}

/* ============================= */
/* RESPONSIVE - TABLET & MOBILE */
/* ============================= */

@media (max-width: 991px) {
  /* MOBILE NAVBAR – WHITE + RED */
  .navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.6rem 0 !important;
  }

  .navbar .brand-text {
    color: #d01627 !important;
    /*font-weight: 800;*/
  }

  .navbar img.logo {
    height: 48px;
  }

  .navbar-toggler {
    border-color: #d01627 !important;
  }

  .navbar-toggler-icon {
    filter: invert(23%) sepia(93%) saturate(4800%) hue-rotate(350deg)
      brightness(90%) contrast(120%) !important;
  }

  .navbar-collapse {
    background: #ffffff !important;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 10px;
  }

  .nav-link {
    color: #d01627 !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 6px 0;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #b01220 !important;
  }

  /* remove underline animation on mobile */
  .nav-link::after {
    display: none !important;
  }

  /* HERO ADJUSTMENTS MOBILE/TABLET */
  .hero-caption {
    padding-top: 4rem !important;
    text-align: left !important;
  }

  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }

  .hero-stats {
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* CONTACT WRAPPER */

  
}

/* SMALLER MOBILES */
@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }

  .hero-carousel .carousel-item {
   /* height: 65vh !important;*/
  }

  .hero-title {
    font-size: 1.4rem !important;
  }

  .hero-subtitle {
    font-size: 0.85rem !important;
  }

  /* CAPSI ROW */
  .capsi-row {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 6px !important;
    margin-top: 6px;
  }

  .capsi-row-logo {
    width: 80px !important;
  }

  .capsi-row-name {
    font-size: 0.75rem !important;
    padding: 5px 8px !important;
    white-space: normal !important;
    max-width: 240px !important;
    text-align: center;
  }

  /* back to top position */
  .back-to-top {
    bottom: 20px !important;
    right: 16px !important;
  }
}


/* ---------------------------------------- */
/* MOBILE FIX PACK – FINAL                  */
/* ---------------------------------------- */
@media (max-width: 767px) {

  /* Fix navbar area */
  .navbar {
    background:#ffffff !important;
   /* padding: 10px 0 !important;*/
    border-bottom:1px solid #eee;
  }

  .navbar .brand-text {
    color:#d01627 !important;
   /* font-weight:700;*/
  }

  .navbar-toggler {
    border-color:#d01627 !important;
  }
  .navbar-toggler-icon {
    filter: invert(26%) sepia(96%) saturate(3000%)
            hue-rotate(350deg) brightness(90%) contrast(120%) !important;
  }


  /* Fix slider height so hero text fits */
  .hero-carousel .carousel-item {
   /* height: 82vh !important;    
    min-height: 480px !important;*/
  }

  /* Fix hero text alignment */
  .hero-caption {
    padding-top: 3.5rem !important;
    text-align:left !important;
    justify-content:flex-start !important;
  }

  .hero-title {
    font-size: 1.55rem !important;
    line-height:1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }

  /* Fix hero stats stacking */
  .hero-stats {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .hero-stat {
    width: fit-content;
  }


  /* WhatsApp button spacing */
  .whatsapp-float {
    bottom: 40px !important;
  }

}




/* ------------------------------------------- */
/* FINAL MOBILE FIX PACK – JJ SECURITY         */
/* ------------------------------------------- */

@media (max-width: 767px) {

  /* ----------------------------- */
  /* 1) FIX NAVBAR (always white)  */
  /* ----------------------------- */
  .navbar {
    background: #ffffff !important;
   /* padding: 10px 12px !important;*/
    border-bottom: 1px solid #eee !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  }

  /* Brand text color */
  .navbar .brand-text {
    color: #d01627 !important;
    font-weight: 700 !important;
  }

  /* Mobile menu colors */
  .navbar .nav-link {
    color: #111 !important;     /* black */
  }

  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    color: #d01627 !important;  /* red */
  }


  /* ----------------------------------- */
  /* 2) FIX HAMBURGER ICON DISPLAY ISSUE */
  /* ----------------------------------- */

 

  /* Keep hamburger icon RED always */
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(208, 22, 39, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  /* Remove bootstrap icon filter that hides it */
  .navbar-toggler-icon {
    filter: none !important;
  }


  /* -------------------------------------- */
  /* 3) HERO SLIDER HEIGHT + TEXT ALIGN FIX */
  /* -------------------------------------- */
  .hero-carousel .carousel-item {
   /* height: 82vh !important;
    min-height: 500px !important;*/
  }

  .hero-caption {
    padding-top: 70px !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }



  /* WhatsApp floating */
  .whatsapp-float {
    bottom: 50px !important;
  }


  /* -------------------------------------------- */
  /* 5) MENU COLOR FIX WHEN PAGE SCROLLS DOWN     */
  /* -------------------------------------------- */
  .navbar.navbar-scrolled {
    background: #ffffff !important;
  }

  .navbar.navbar-scrolled .nav-link {
    color: #111 !important;            /* black */
  }

  .navbar.navbar-scrolled .nav-link:hover {
    color: #d01627 !important;         /* red */
  }

  .navbar.navbar-scrolled .brand-text {
    color: #d01627 !important;         /* red */
  }

}

/* FORCE HAMBURGER ICON TO SHOW ON MOBILE */
@media (max-width: 992px) {

  .navbar {
    background: #ffffff !important;
  }

 

  /* RED COLOR HAMBURGER ICON ALWAYS */
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(208,22,39,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    background-size: 30px 30px !important;
    background-repeat: no-repeat !important;
  }

  /* REMOVE BOOTSTRAP DEFAULT FILTER */
  .navbar-toggler-icon {
    filter: none !important;
    opacity: 1 !important;
  }
}


/* FINAL FIX – FORCE MOBILE NAVBAR FOR < 576px */
@media (max-width: 575px) {

  /* Navbar always white and visible */
  .navbar {
    background: #ffffff !important;
   /* padding: opx 0px 0 0 !important;*/
    border-bottom: 1px solid #eee !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  }

  /* Logo text red */
  .navbar .brand-text {
    color: #d01627 !important;
   /* font-weight: 800 !important;*/
  }

  /* Toggler button always visible */
  .navbar-toggler {
   /* border: none !important;
    outline: none !important;
    box-shadow: none !important;*/
    display: block !important;
  }

  /* RED hamburger icon – always visible */
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(208,22,39,1)' stroke-linecap='round' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    filter: none !important;
  }

  /* Menu dropdown visible and clean */
  .navbar-collapse {
    background: #ffffff !important;
    padding: 15px !important;
    border-radius: 10px;
  }

  .nav-link {
    color: #d01627 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding:4px 0 !important;
  }

  .nav-link:hover {
    color: #b01220 !important;
  }

  /* Fix hero space pushing menu */
  .hero-caption {
    padding-top: 80px !important;
  }

  
}

/* FINAL FIX — HERO SHOULD NEVER COVER THE NAVBAR */
header.hero {
  position: relative;
  z-index: 1;
}
/*
.navbar {
  position: relative;
  z-index: 9999 !important;
}
*/
/* Ensure carousel images don’t overlap navbar on load */
/*.hero-bg img {
  position: relative;
  z-index: 0 !important;
}
  */
/* ============================= */
/* DESKTOP NAVBAR – ORIGINAL LOOK */
/* ============================= */
@media (min-width: 992px) {

  /* Navbar sits on slider (transparent) */
  .navbar {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
   /* padding: 18px 0 !important;*/
    position: fixed !important;
    width: 100%;
    z-index: 9999;
    transition: 0.3s ease-in-out;
  }

  /* Logo white */
  .navbar .brand-text {
    color: #ffffff !important;
  }

  /* Menu links white */
  .navbar .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 12px;
    position: relative;
  }

  /* Underline white */
  .navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0%;
    height: 2px;
    background: #ffffff !important;
    transition: width 0.25s ease;
  }

  .navbar .nav-link:hover::after,
  .navbar .nav-link.active::after {
    width: 100%;
  }

  /* ---------- AFTER SCROLL ---------- */
  .navbar.navbar-scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
    padding: 10px 0 !important;
  }

  .navbar.navbar-scrolled .brand-text {
    color: #d01627 !important;
  }

  .navbar.navbar-scrolled .nav-link {
    color: #111827 !important;
  }

  .navbar.navbar-scrolled .nav-link::after {
    background: #d01627 !important;
  }
}




/* =========================
   OUR CLIENTS SECTION
========================= */

.clients-section {
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
}

/* CAROUSEL WRAPPER */
.clients-carousel {
  width: 100%;
  overflow: hidden;
}

/* TRACK */
.clients-track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: clientsScroll 28s linear infinite;
}

/* CLIENT LOGO */
.client-logo {
  position: relative;
  flex: 0 0 auto;
  text-align: center;
}

/* LOGO IMAGE */
.client-logo img {
  height: 60px;
  width: auto;
 /* filter: grayscale(100%);
  opacity: 0.85;*/
  transition: all 0.3s ease;
  display: block;
}

/* COMPANY NAME – HIDDEN BY DEFAULT */
.client-logo span {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* HOVER EFFECT */
.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.client-logo:hover span {
  opacity: 1;
}

/* PAUSE ON HOVER */
.clients-carousel:hover .clients-track {
  animation-play-state: paused;
}

/* AUTO SCROLL ANIMATION */
@keyframes clientsScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .clients-track {
    gap: 40px;
    animation-duration: 40s;
  }

  .client-logo img {
    height: 45px;
  }

  /* Disable hover text on mobile */
  .client-logo span {
    display: none;
  }
}





/*aos*/


.hero [data-aos] {
  transform: none !important;
}


.hero [data-aos] {
  opacity: 0 !important;
  transition: opacity 0.8s ease-out !important;
}

.hero .aos-animate {
  opacity: 1 !important;
}

section [data-aos],
footer [data-aos] {
  transform: translate3d(0, 40px, 0);
}




/*training gallery*/



/* SECTION */
/*.training-section {
  background: url("images/gallery/guardtrain.jpg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
*/


/* =========================
   FULL WIDTH GALLERY
========================= */

/* =========================
   GALLERY SECTION
========================= */

.gallery-section {
  width: 100%;
  background: url("../images/gallery/guardtrain.jpg") center/cover no-repeat !important;
}

.gallery-overlay {
  background: rgba(0,0,0,0.78);
  padding: 90px 0;
}

/* FULL WIDTH WRAPPER */
.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
}

/* SCROLLER */
.gallery-carousel {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 6vw;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 30px;
  width: max-content;
}

/* CARD */
.gallery-card {
  scroll-snap-align: center;
  width: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
  transition: transform 0.35s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: scale(1.05);
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ARROWS */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #d01627;
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.gallery-arrow.left { left: 20px; }
.gallery-arrow.right { right: 20px; }

.gallery-arrow:hover {
  background: #b01220;
}

/* MOBILE */
@media (max-width: 768px) {
  .gallery-card {
    width: 85vw;
  }

  .gallery-arrow {
    display: none; /* swipe only on mobile */
  }
}


/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.4s ease;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* ZOOM ANIMATION */
@keyframes zoomIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* CURSOR */
.zoom-img {
  cursor: zoom-in;
}




/* DOTS */
.training-dots {
  text-align: center;
  margin-top: 25px;
}

.training-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #9ca3af;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: 0.3s;
}

.training-dots span.active {
  background: #d01627;
  transform: scale(1.3);
}

/* FULLSCREEN LIGHTBOX */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}

.gallery-nav.prev { left: 20px; }
.gallery-nav.next { right: 20px; }



/* SECTION */
.industries-section {
  background: #f9fafb;
  padding: 80px 0;
}

/* CARD */
.industry-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 230px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.industry-card img {
  width: 100%;
  height: 260px;
  display: block;
    height: 260px;
  transition: transform 0.6s ease;
}

/* OVERLAY */
.industry-overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.25)
  );*/
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background 0.4s ease;
}

.industry-overlay i {
  font-size: 28px;
  color: #d01627;
  margin-bottom: 8px;
}

.industry-overlay h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

/* HOVER EFFECT */
.industry-card:hover img {
  transform: scale(1.12);
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(
    to top,
    rgba(208,22,39,0.85),
    rgba(0,0,0,0.25)
  );
}



/* SECTION */
.why-section {
  padding: 10px 0;
  background: #f9fafb;
  max-width: 100%;
  overflow: hidden;
}

.text-brand {
  color: #d01627;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* CARD */
.why-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
}

.why-card h6 {
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0;
}

/* ICON */
.why-icon {
  width: 46px;
  height: 46px;
  background: #d01627;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ICON PULSE */
.pulse {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(208,22,39,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(208,22,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(208,22,39,0); }
}

/* STATS */
.why-stats {
  display: flex;
  gap: 20px;
}

.stat-box {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-box strong {
  font-size: 1.4rem;
  color: #d01627;
  display: block;
}

.stat-box span {
  font-size: 0.8rem;
  color: #6b7280;
}

/* IMAGE */
.why-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.why-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}


#training-gallery {
  padding: 0 !important;
}


/* =========================
   WEBSITE PRELOADER
========================= */

#preloader {
  position: fixed;
  inset: 0;
  background: #0f172a; /* dark corporate */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* WRAP */
.loader-wrap {
  text-align: center;
}

/* LOGO */
.loader-logo {
  width: 90px;
  margin-bottom: 20px;
}

/* SPINNER */
.loader-ring {
  width: 55px;
  height: 55px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: #ef4444; /* JJ red */
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 1s linear infinite;
}

/* TEXT */
.loader-text {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e5e7eb;
  opacity: 0.9;
}

/* ANIMATION */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* HIDE ANIMATION */
.preloader-hide {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .loader-logo {
    width: 70px;
  }
}



/*aboutus*/



/* ===== PAGE HEADER ===== */
/*.page-header {
  padding: 140px 0 70px;
  background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
              url("images/abouts.jpeg") center/cover no-repeat;
  color:#fff;


}
*/
/* ===============================
   RESPONSIVE PAGE BANNER FIX
================================ */
/* ===============================
   ABOUT PAGE BANNER – MOBILE FIX
================================ */

/* ===============================
   RESPONSIVE BANNER – FINAL FIX
================================ */

/* ===============================
   PROFESSIONAL ABOUT BANNER
================================ */

.hero-banners {
  position: relative;
  height: 486px;
  overflow: hidden;

    margin: 0;
  padding: 0;
}

.hero-imgs {
  width: 100%;
  height: 100%;     /* fills empty space */
}

.row {
  margin-left: 0;
  margin-right: 0;
}


.hero-overlays {
  position: absolute;
  inset: 0;
   background: rgba(0,0,0,0.25); /* reduce fade */
  z-index: 1;
}

.hero-contents {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: #fff;

  /* only navbar space */
  padding-top: 80px;
}



@media (max-width: 991px) {

  .hero-banners {
    height:200px;
        top: 76px;
  }

  .hero-contents {
 padding: 10px 0 0 0;
  }
}






.page-header h1 p{
  font-weight:800;
  color: white;
}

/* ===== ABOUT SECTION ===== */

#about{

  padding:30px 0 30px 0;
}


.aboutus-section {
  padding: 20px 0;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-image img {
  width:100%;
}

.about-badge {
  position:absolute;
  bottom:15px;
  left:15px;
  background:#d01627;
  color:#fff;
  padding:6px 14px;
  border-radius:6px;
  font-size:14px;
}

.aboutus-section h3 {
  font-weight:700;
  margin-top:20px;
}

.aboutus-section p {
  color:#555;
  line-height:1.7;
  text-align: justify;
}

.about-points {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:20px;
}

.about-points div {
  background:#f9fafb;
  padding:10px;
  border-radius:8px;
  font-weight:600;
}

.about-points i {
  color:#d01627;
  margin-right:8px;
}

/* ===== STATS ===== */
.stat-box {
  background:#f9fafb;
  padding:20px;
  border-radius:12px;
}

.stat-box h2 {
  color:#d01627;
  font-weight:800;
}



.about-director {
  background: #f9fafb;
}

.director-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.director-name {
  margin-top: 15px;
  font-weight: 700;
  color: #d01627;
}


.about-certifications {
  padding: 10px 0;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-top: 40px;
}

.cert-box {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 600;
  background: #fff;
}


.about-timeline {
  padding: 10px 0;
}

.timeline {
  max-width: 700px;
  margin: 40px auto 0;
  border-left: 3px solid #d01627;
  padding-left: 30px;
}

.timeline-item {
  margin-bottom: 30px;
}

.timeline-item span {
  font-weight: 800;
  color: #d01627;
}

.timeline-item p {
  margin: 5px 0 0;
  color: #555;
}
/*services pge*/


.services-advanced {
  padding: 80px 0 !important;
  background: #f9fafb;
}

.service-adv-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 30px;
  text-align: center;
  height: 100%;
  border: 1px solid #e5e7eb;
  transition: 0.35s ease;
}

.service-adv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0,0,0,0.15);
}

.service-adv-card h5 {
  margin: 18px 0 10px;
  font-weight: 700;
}

.service-adv-card p {
  color: #555;
  font-size: 0.95rem;
}

/* ICON WRAPPER */
.icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d01627;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.icon-wrap i {
  font-size: 30px;
  color: #d01627;
}

/* ICON ANIMATIONS */
.pulse {
  animation: pulse 2.2s infinite;
}

.rotate {
  animation: rotate 6s linear infinite;
}

.glow {
  box-shadow: 0 0 0 rgba(208,22,39,0.6);
  animation: glow 2.5s infinite;
}

/* KEYFRAMES */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glow {
  0% { box-shadow: 0 0 0 0 rgba(208,22,39,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(208,22,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(208,22,39,0); }
}



/* =========================
   OPERATIONS SECTION
========================= */

.operations-section {
  padding: 80px 0;
  background: #f9fafb;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.operation-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: 0.3s ease;
}

.operation-item:hover {
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.operation-item i {
  font-size: 22px;
  color: #d01627; /* JJ red */
  margin-top: 3px;
}

.operation-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}
/*contact page*/


/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  padding: 80px 0;
  background: #f9fafb;
}

/* CONTACT INFO */
.contact-info-box {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 22px;
  color: #d01627;
  margin-top: 4px;
}

.contact-item p {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

/* CONTACT FORM */
.contact-form-box {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.contact-form-box .form-control {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
}

.contact-form-box .form-control:focus {
  border-color: #d01627;
  box-shadow: none;
}

/* BUTTON */
.btn-main {
  background: #d01627;
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
}

.btn-main:hover {
  background: #b01220;
}

/* MAP */
.map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-info-box,
  .contact-form-box {
    padding: 25px;
  }
}


/*photos*/


.gallery-section {
  padding: 80px 0;
  background: #f9fafb;
}

/* FILTERS */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
}

.gallery-filters button {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #d01627;
  background: transparent;
  color: #d01627;
  font-weight: 600;
  cursor: pointer;
}

.gallery-filters button.active,
.gallery-filters button:hover {
  background: #d01627;
  color: #fff;
}

@media (max-width: 576px) {
  .gallery-filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-filters button {
    width: 100%;
  }
}


/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* LIGHTBOX */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-lightbox img {
  max-width: 85%;
  max-height: 80%;
}

.gallery-lightbox .close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox .nav {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
}

.gallery-lightbox .prev { left: 30px; }
.gallery-lightbox .next { right: 30px; }

.gallery-lightbox .counter {
  position: absolute;
  bottom: 30px;
  color: #fff;
  font-size: 14px;
}



.gallery-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.gallery-pagination button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d01627;
  background: transparent;
  color: #d01627;
  font-weight: 600;
  cursor: pointer;
}

.gallery-pagination button.active,
.gallery-pagination button:hover {
  background: #d01627;
  color: #fff;
}


.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.gallery-pagination button {
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d01627;
  background: transparent;
  color: #d01627;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-pagination button:hover:not(:disabled),
.gallery-pagination button.active {
  background: #d01627;
  color: #fff;
}

.gallery-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-pagination .page-arrow {
  font-size: 18px;
}
/*video*/

/* VIDEO GRID */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 24px;
}

/* RESPONSIVE IFRAME RATIO */
.video-grid .gallery-item {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.video-grid .gallery-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* TABLET */
@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 576px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}



.about-readmore {
  margin-top: 20px;
}

.readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #d01627;           /* JJ red */
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(208,22,39,0.35);
}

.readmore-btn i {
  transition: transform 0.35s ease;
}

/* Hover effect */
.readmore-btn:hover {
  background: #b01221;
  box-shadow: 0 14px 35px rgba(208,22,39,0.45);
}

.readmore-btn:hover i {
  transform: translateX(6px);
}

@media (max-width: 576px) {
  .about-readmore {
    text-align: center;
  }
}





/* ===============================
   EXTRA BIG LOGO – PROFESSIONAL
================================ */

.navbar {
  position: fixed;
  min-height: 90px; /* allow big logo */
}

/* Brand wrapper */
.navbar-brand {
  position: relative;
  padding-left: 105px; /* space for big logo */
}

/* LOGO */
.navbar img.logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 88px;          /* 🔥 BIG CLEAR */
  width: auto;
  max-height: none;
  image-rendering: auto;
}

/* Text */
.brand-text {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}


@media (max-width: 768px) {
  .navbar {
    min-height: 80px;
  }

  .navbar-brand {
    padding-left: 90px;
  }

  .navbar img.logo {
    height: 72px;   /* BIG on mobile also */
  }

  .brand-text {
    font-size: 17px;
  }
}




/* ===============================
   MOBILE: LOGO ONLY (NO TEXT)
================================ */
@media (max-width: 768px) {

  /* Hide JJ SECURITY SERVICES text */
  .navbar .brand-text {
    display: none !important;
  }

}

/* ===============================
   MOBILE NAVBAR – SAFE HEIGHT
================================ */
@media (max-width: 768px) {

  .navbar {
    height: 96px;                 /* 🔥 enough for big logo */
    padding: 0 !important;
    display: flex;
    align-items: center;
  }

}


/* ===============================
   MOBILE: CENTER LOGO (NO TRANSFORM)
================================ */
@media (max-width: 768px) {

  /* Hide brand text */
  .navbar .brand-text {
    display: none !important;
  }

  /* Navbar height */
  .navbar {
    height: 96px;
    display: flex;
    align-items: center;
  }

  /* Center logo container */
  .navbar-brand {
    width: 100%;
    margin: 0 auto;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* LOGO FIX */
  .navbar img.logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;   /* ❌ remove translateY */
    height: 78px;                 /* BIG & CLEAR */
    width: auto;
  }

  /* Menu icon right */
  .navbar-toggler {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* HERO SHOULD START AFTER NAVBAR */
@media (max-width: 768px) {
  header.hero {
    margin-top: 96px; 
  }
}



@media (max-width: 768px) {
  .navbar-toggler {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
}
@media (max-width: 768px) {
  .navbar img.logo {
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
  }
}





@media (max-width: 768px) {

  .navbar-collapse {
    position: absolute;
    top: 86px;          /* below navbar */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px;
    border-radius: 0 0 14px 14px;
  }

}



/* ==================================================
   CERTIFICATE / LOGO SLIDER – BIG & PREMIUM
================================================== */

.cert-slider-wrapper {
  overflow: hidden;
  padding: 35px 0;
}

.cert-slider {
  width: 100%;
  overflow: hidden;
}

/* TRACK */
.cert-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  margin: 0 auto;
  animation: certScroll 28s linear infinite;


 
  flex-wrap: nowrap;          /* 👈 MUST */
}

/* LOGO CARD */
/*.cert-item {
  flex: 0 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 36px;
  min-width: 220px;          
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
*/
/* LOGO IMAGE */
.cert-item img {
  height: 90px;              /* 🔥 VERY BIG LOGO */
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* HOVER (DESKTOP ONLY) */
.cert-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(0,0,0,0.16);
}

/* CENTER AUTO SLIDE */
@keyframes certScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* PAUSE ON HOVER / TOUCH */
.cert-slider-wrapper:hover .cert-track {
  animation-play-state: paused;
}

/* ==================================================
   MOBILE RESPONSIVE – CLEAN & BIG
================================================== */




/* ==================================================
   CERTIFICATE / LOGO SLIDER – BIG & PREMIUM
================================================== */

.cert-slider-wrapper {
  overflow: hidden;
  padding: 35px 0;
}

.cert-slider {
  width: 100%;
  overflow: hidden;
}

/* TRACK */
.cert-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  margin: 0 auto;
  animation: certScroll 28s linear infinite;
}

/* LOGO CARD */
.cert-item {
  flex: 0 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 6px 6px;
 min-width: 220px;          
 /* min-height: 120px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* LOGO IMAGE */
.cert-item img {
  /*height: 62px;*/            /* 🔥 VERY BIG LOGO */
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* HOVER (DESKTOP ONLY) */
.cert-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(0,0,0,0.16);
}

/* CENTER AUTO SLIDE */
@keyframes certScroll {
  from {
    transform: translateX(35%);
  }
  to {
    transform: translateX(-35%);
  }
}

/* PAUSE ON HOVER / TOUCH */
.cert-slider-wrapper:hover .cert-track {
  animation-play-state: paused;
}

/* ==================================================
   MOBILE RESPONSIVE – CLEAN & BIG
================================================== */
@media (max-width: 768px) {

  .cert-slider-wrapper {
    padding: 25px 0;
  }

  .cert-track {
    gap: 20px;
    animation-duration: 34s;
  }

  .cert-item {
    min-width: 140px;
    min-height: 105px;
    padding: 20px 26px;
  }

  .cert-item img {
    height: 72px;            /* BIG & CLEAR ON MOBILE */
    max-width: 150px;
  }
}


@media (max-width: 768px) {

  .cert-item {
    padding: 12px 14px;        /* tight box */
  }

  .cert-item img {
    height: 80px;              /* BIG on mobile */
    max-width: 160px;
  }
}


/* ===============================
   CERT SLIDER – MOBILE FAST SPEED
================================ */
@media (max-width: 768px) {

  .cert-track {
    animation-duration: 14s !important; /* 🔥 FAST */
  }

}




/* ===============================
   CERT SLIDER – DESKTOP FAST SPEED
================================ */
@media (min-width: 769px) {

  .cert-track {
    animation-duration: 14s !important; /* 🔥 FAST DESKTOP */
  }

}



/* ========================= */
/* CERTIFICATE LOGO SLIDER */
/* ========================= */

.cert-slider {
  width: 100%;
  overflow: hidden;
}

.cert-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;                 /* 🔥 VERY IMPORTANT */
  animation: certScroll 30s linear infinite;
}

.cert-item {
  flex: 0 0 auto;                     /* 🔥 MUST */
  width: 160px;
  text-align: center;
}

.cert-item img {
  width: auto;
  object-fit: contain;
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {
  .cert-track {
    gap: 25px;
    animation-duration: 35s;          /* mobile smooth */
  }

  .cert-item {
    width: 140px;
  }

  .cert-item img {
    height: 45px;
  }
}

/* ANIMATION */
@keyframes certScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
