/* ===============================
   GLOBAL STYLES
================================= */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(270deg, #ff0000, 	#b40000, #690000);
  background-size: 600% 600%;
  animation: bgAnimation 20s ease infinite;
  color: #fff;
}

@keyframes bgAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* SECTION STYLING */
section {
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}


/* ===============================
   FIRST SECTION: VIDEO INTRO
================================= */
.bs-intro {
  position: relative;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bs-bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bs-intro-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.bs-intro-text {
  background: rgba(0,0,0,0.55);
  padding: 30px;
  border-radius: 12px;
  max-width: 750px;
}

.bs-intro-text h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.bs-intro-logo img {
  width: 300px;
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}


/* ===============================
   SECOND SECTION: SERVICES
================================= */
.bs-services {
  background: rgba(0,0,0,0.05);
  text-align: center;
}

.bs-section-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.bs-section-desc {
  font-size: 1.1rem;
  margin-bottom: 24px;
}


/* ---------- Buttons ---------- */
.bs-service-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.bs-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.bs-btn:hover,
.bs-btn.active {
  background: #000;
  color: #ffd800;
  transform: scale(1.05);
}


/* ===============================
   TABS (UNIVERSAL VISIBILITY)
   ⚠ DO NOT override per-tab
================================= */
.bs-tab-content {
  display: none;
  margin-top: 30px;
}

.bs-tab-content.active {
  display: block;
}

/* =========================
   CONSULTATION LAYOUT
========================= */
#consultation {
  text-align: left;
}

.float-left {
  float: left;
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  margin: 0 20px 20px 0;
}

.float-right {
  float: right;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: stretch;
  margin: 0 0 20px 20px;
  animation: float 3s ease-in-out infinite;
}

.bs-tab-right p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* main heading */
.bs-tab-right h2 {
  color: yellow;
}

/* subheadings */
.bs-tab-right h3 {
  color: #6693f5;
  font-weight: 700;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===============================
   SERVICES & SUPPLIES GRID
   4 PER ROW CLEAN
================================= */
.bs-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.bs-service-item {
  background: rgba(0,0,0,0.25);
  border-radius: 14px;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* stack content top-down */
  align-items: center;           /* center horizontally */

  min-height: 260px;
  transition: transform 0.25s;
}

.bs-service-item img {
  width: 200px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: block;
}

/* Service titles */
.bs-service-item h3 {
  color: yellow;       /* bright yellow titles */
  font-weight: 700;    /* bold for emphasis */
  text-align: center;  /* centered under the image */
  margin-bottom: 8px;
}

/* Service descriptions */
.bs-service-item p {
  font-size: 0.9rem;   /* smaller text size */
  line-height: 1.4;    /* tighter line spacing */
  color: #ddd;         /* softer contrast for readability */
  text-align: center;  /* keep aligned with the title */
}

/* primary buttons */
.bs-primary-btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #000080;
  color: #fff;
  margin-top: auto;
  transition: 0.25s;
}

.bs-primary-btn:hover {
  transform: scale(1.05);
  background: #ffde21;
  color: #000;
}


/* ===============================
   CONTINUOUS IMAGE SLIDER (FIXED)
================================= */

.bs-image-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 60px;
}

.bs-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slide 36s linear infinite;
}

.bs-slider-track img {
  width: 200px;        /* wider than before */
  height: 100px;       /* fixed height for rectangular shape */
  object-fit: contain;   /* keeps proportions without stretching */
  flex-shrink: 0;
  border-radius: 8px;
}

/* move EXACTLY half the track (because duplicated) */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ===============================
   INITIATIVES
================================= */
.bs-initiatives {
  position: relative;       /* allows layering */
  text-align: center;
  background: rgba(255,255,255,0.05);
  overflow: hidden;         /* ensures video doesn’t spill out */
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fills section */
  z-index: -1;              /* pushes video behind content */
  opacity: 0.6;             /* optional: makes text more readable */
}

.bs-initiative-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  position: relative;       /* ensures content sits above video */
  z-index: 1;
}

.bs-initiative-item {
  flex: 1;
  max-width: 500px;
  background: rgba(0,0,0,0.5);
  border-radius: 12px;
  padding: 20px;
}

/* animated main images */
.bs-initiative-item .animated-img {
  width: 150px;
  margin-bottom: 12px;
  animation: bounce 4s ease-in-out infinite;
}

/* static extra images */
.bs-initiative-item .extra-img {
  width: 100px;          /* smaller size */
  margin: 0 12px;       /* spacing */
  animation: none;      /* no animation */
}

/* positioning */
.bs-initiative-item.left .right-side {
  float: right;         /* extra image on the right */
}

.bs-initiative-item.right .left-side {
  float: left;          /* extra image on the left */
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.bs-initiative-item h3,
.bs-initiative-item p {
  text-shadow: 
    0 0 6px rgba(0,0,0,0.9),   /* strong dark halo */
    0 0 12px rgba(0,0,0,0.7);  /* softer outer glow */
}
.bs-initiative-item h3 {
  color: yellow;
}

.bs-initiative-item.left { text-align: left; }
.bs-initiative-item.right { text-align: right; }

/* ================================
   BUSINESS ALERT MODAL
================================ */

.bs-alert-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.75);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;

  opacity:0;
  visibility:hidden;
  transition:0.35s ease;
}

.bs-alert-overlay.active{
  opacity:1;
  visibility:visible;
}

.bs-alert{
  width:min(92%,480px);
  padding:40px 28px;
  border-radius:24px;
  text-align:center;
  position:relative;
  overflow:hidden;

  background:rgba(10,12,18,0.95);
  border:1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 25px rgba(255,0,0,0.15),
    0 0 35px rgba(0,170,255,0.12);
  
  animation:bsPop 0.4s ease;
}

/* animated top glow */
.bs-alert::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;

  background:linear-gradient(
    90deg,
    #ff004c,
    #ffcc00,
    #00aaff
  );

  animation:bsGlowMove 3s linear infinite;
}

@keyframes bsGlowMove{
  0%{transform:translateX(-40%);}
  100%{transform:translateX(40%);}
}

@keyframes bsPop{
  from{transform:scale(0.7); opacity:0;}
  to{transform:scale(1); opacity:1;}
}

.bs-alert h3{
  font-size:1.4rem;
  margin-bottom:15px;
  color:#ffcc00;
  font-family:'Orbitron', sans-serif;
}

.bs-alert p{
  color:#d9e6ff;
  line-height:1.7;
  font-size:0.95rem;
}

.bs-alert .bs-phone{
  margin-top:18px;
  font-weight:700;
  color:#00aaff;
}

.bs-alert button{
  margin-top:25px;
  padding:12px 22px;
  border:none;
  border-radius:12px;

  background:linear-gradient(90deg,#ff004c,#ffcc00,#00aaff);
  color:#000;
  font-weight:800;
  cursor:pointer;
  transition:0.3s ease;
}

.bs-alert button:hover{
  transform:translateY(-2px);
  box-shadow:0 0 18px rgba(255,200,0,0.35);
}

/* ===============================
   MOBILE RESPONSIVE (PREMIUM)
   — DOES NOT AFFECT DESKTOP
================================ */
@media (max-width: 768px) {

  /* =========================
     GLOBAL MOBILE SPACING
  ========================= */
  section {
    padding: 50px 16px;
  }

  /* =========================
     HERO / INTRO
  ========================= */
  .bs-intro {
    height: 100vh;
    text-align: center;
  }

  .bs-intro-content {
    flex-direction: column;
    gap: 20px;
  }

  .bs-intro-text {
    max-width: 100%;
    padding: 20px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
  }

  .bs-intro-text h1 {
    font-size: 1.8rem;
  }

  /* hide large logo on mobile */
  .bs-intro-logo {
    display: none;
  }

  /* =========================
     BUTTON ROW (SCROLLABLE)
  ========================= */
  .bs-service-buttons {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 10px;
  }

  .bs-btn {
    flex-shrink: 0;
    font-size: 13px;
    padding: 8px 14px;
  }

  .bs-service-buttons::-webkit-scrollbar {
    display: none;
  }

  /* =========================
     CONSULTATION (REMOVE FLOATS)
  ========================= */
  .float-left,
  .float-right {
    float: none;
    display: block;
    margin: 0 auto 20px;
  }

  .float-left {
    width: 180px;
    height: 180px;
  }

  .float-right {
    width: 80px;
    height: 80px;
  }

  .bs-tab-right {
    text-align: center;
  }

  /* =========================
     SERVICES GRID → STACK
  ========================= */
  .bs-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bs-service-item img {
    width: 140px;
  }

  /* =========================
     IMAGE SLIDER (TIGHTER)
  ========================= */
  .bs-slider-track img {
    width: 140px;
    height: 80px;
  }

  /* =========================
     INITIATIVES STACK
  ========================= */
  .bs-initiative-row {
    flex-direction: column;
    gap: 20px;
  }

  .bs-initiative-item {
    max-width: 100%;
    text-align: center !important;
  }

  /* remove float positioning tricks */
  .bs-initiative-item .right-side,
  .bs-initiative-item .left-side {
    float: none;
    display: block;
    margin: 10px auto;
  }

  .bs-initiative-item .animated-img {
    width: 120px;
  }

  .bs-initiative-item .extra-img {
    width: 80px;
  }

}

