
:root {
    --primary-color: rgb(198, 4, 4);
    --secondary-color: #f9f9f9;
    --bodyColor: #f8f6f4;
    --boxColor: #eff0ef;
    --dark-brand-color: #202020;
}

/*Hero Section style start*/
.hero-section {
    background: linear-gradient(90deg, #f9f9f9 55%);
    padding: 120px 0 15px;
}
/* Hero section style4 end */

/* Service Cards css start*/
#services h5{
    color:#333333;
}
.service-card {
    border: none;
    transition: 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
}
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
}
.section-sub-title {
    color:#ababab;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.43;
    font-weight: bold;
}
/* Service css end */

/* css for counting start */

.counter-section {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 20px 20px;
}
.counter-box {
    text-align: center;
}
.counter-box p {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
}
.number {
    font-size: 50px;
    font-weight: 600;
    color: rgb(198, 4, 4);;
    display: block;
}
@media (max-width: 768px) {

    .counter-section {
        flex-direction: column;
        gap: 40px;
    }
}
/* css for counting end */

/* css for logo slider */
.logo-slider {
    position: relative;
}
.logo-slider-track {
    display: flex;
    animation: logo-scroll 40s linear infinite;
    width: max-content;
}
.logo-item {
    padding: 0 30px;
    filter: grayscale(100%);
    transition: 0.2s;
}
.logo-item:hover {
    filter: grayscale(0%);
}
@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.logo-slider:hover .logo-slider-track {
    animation-play-state: paused;
}
/* css for logo slider is end */

.bg-light {
    background: #f9f9f9 !important;
}

.service_video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  /* Updated Video Button */
  .video-button {
    position: relative;
    width: 64px;
    height: 64px;
    background: rgb(198, 4, 4);;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
  }
  
  /* Icon Styling */
  .video-button i {
    color: #fff;
    font-size: 1rem;
    z-index: 20;
    align-self: center;
    justify-self: center;
  }
  
  /* Pulsing Border Effect */
  .video-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid rgb(198, 4, 4);;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-border 2.5s ease-out infinite;
    z-index: 5;
  }
  
  /* Keyframes for the Pulse Animation */
  @keyframes pulse-border {
    0% {
      transform: translate(-50%, -50%) scale(0.6);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(1.8);
      opacity: 0;
    }
  }
  .highlight-section {
    background-color: rgba(204,204,204,.25);
    /* You can change background color if desired */
    position: relative;
    overflow: hidden; /* So large images don't overflow */
    height: 100vh;
    display: grid;
    align-items: center;
  }
  .section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 8px;
  }
  .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
  }
  .highlight-text {
    color:rgb(198, 4, 4);; /* Blue highlight for "38 years" */
  }
  .section-description {
    font-size: 16px;
    color: #555;
    margin: 1rem 0 2rem 0;
    line-height: 1.6;
  }
  /* ======== Right Column Images ======== */
  .image-stack {
    position: relative;
    width: 100%;
    height: auto;
    /* Adjust if needed */
  }

  /* Main highlighted image */
  .highlight-img {
    width: 100%;
    max-width: 600px; /* Limit size on large screens */
    border-radius: 8px;
    z-index: 3; /* on top of background images */
    position: relative;
  }

  /* Smaller background images */
  .floating-img {
    position: absolute;
    border-radius: 6px;
    animation: float 6s ease-in-out infinite;
    opacity: 0.9; /* Slightly transparent */
    z-index: 2;
  }

  /* Specific positions for background images */
  .bg1 {
    top: -16%;
    left: -22%;
    transform: translate(-20%, 10%);
    
  }

  .bg2 {
    bottom: -42%;
    right: -10%;
    transform: translate(20%, -10%);
  }
  .bg3 {
    bottom: 95%;
    right: 14%;
    transform: translate(10%, -20%);
  
  }

  .bg4 {
    bottom: -45%;
    left: -10%;
    transform: translate(20%, -10%);
  }

  /* Up-and-down floating animation */
  @keyframes float {
    0% {
      transform: translateY(0) scale(1);
    }
    50% {
      transform: translateY(-40px) scale(1.01);
    }
    100% {
      transform: translateY(0) scale(1);
    }
  }

  /* Responsive Tweaks */
  @media (max-width: 992px) {
    .section-title {
      font-size: 28px;
    }
    .highlight-img {
      max-height: fit-content;
      max-width: 100%;
    }
    .floating-img {
      display: none; /* Hide background images on smaller screens if desired */
    }
  }  

.learnMore{
  font-size: 0.9rem;
  
}