/* Header Sticky Styles */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
  transform: translateY(0);
  z-index: 1030;
}

/* Hide header on index page initially */
body.index-page #main-header {
  transform: translateY(-100%);
  opacity: 0;
}

/* Show header when sticky class is added */
body.index-page #main-header.sticky {
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* For all other pages, header is always visible and sticky */
body:not(.index-page) #main-header {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Add padding to body to compensate for fixed header */
body:not(.index-page) {
  padding-top: 80px;
}

/* banner Section styles  */

.img-box {
  position: relative;
  height: 100vh;
  width: 100%;
}
.img-box .banner-btn-1 {
  position: absolute;
  left: 26%;
  bottom: 10%;
}
.img-box .banner-btn-2 {
  position: absolute;
  left: 47%;
  bottom: 8%;
}
.img-box .banner-btn-3 {
  position: absolute;
  left: 20%;
  bottom: 20%;
}
.img-box img,
.img-box video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: center center;
}

/* universal button styles */
.btn-warning {
  background-color: #ffcb31;
  color: #525252 !important;
  font-weight: 600;
}
.btn-primary {
  background-color: #5c87c3 !important;
  border: none;
}
.btn {
    padding: 8px 15px !important;
}
.content-banner-2 {
    position: absolute;
    left: 42%;
    top: 22%;
}
.content-banner-2 h2 {
    color: #FFFFFF;
}
.banner-3-container {
    position: absolute;
    top: 20%;
    left: 42%;
}
.banner-3-container h2 {
    color: #5C87C3;
    font-size: 7.5rem;
    font-weight: 400;
    margin-bottom: 0;
}
.banner-3-container p {
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Mobile Responsive Styles for Banner Section */
@media (max-width: 768px) {
  /* Change banner to show full image content on mobile */
  .img-box {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .img-box img,
  .img-box video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
  
  /* Center all banner buttons for mobile - positioned relative to image */
  .img-box .banner-btn-1,
  .img-box .banner-btn-2,
  .img-box .banner-btn-3 {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    z-index: 10;
  }
  .img-box .banner-btn-1 {
    left: 40% !important;
    bottom: 5% !important;
    font-size: 10px;
    padding: 5px 8px !important;
  }
  
  /* Center banner 2 content - positioned relative to image */
  .content-banner-2 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 10;
  }
  
  .content-banner-2 h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  /* Center banner 3 content - positioned relative to image */
  .banner-3-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center !important;
    width: 90%;
    z-index: 10;
  }
  
  .banner-3-container h2 {
    color: #5C87C3;
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: center !important;
  }
  
  .banner-3-container p {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center !important;
    margin-bottom: 20px;
  }
  
  .banner-3-container button {
    margin-top: 10px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  
  .content-banner-2 h2 {
    font-size: 2rem;
  }
  
  .banner-3-container h2 {
    font-size: 3rem;
  }
  
  .banner-3-container p {
    font-size: 1.2rem;
  }
}
.section-title {
    font-size: 3rem;
    color: #797979;
}
.section-subline {
    font-size: 1.8rem;
    color: #000000;
    font-weight: 600;
}
.card-offer {
    border-radius: 10px;
    position: relative;
    width: 100%;
    height: 100%;
}
.offer-content {
     position: absolute;
     bottom: 0;
}
.offer-content p {
    line-height: 100%;
    color: #525252;
    font-size: 1rem;
}
.offer-content h3 {
    line-height: 100%;
    color: #525252;
    font-size: 2rem;
    font-weight: 700;
}
.features-section-bg{
    background: url(/assets/img/sss-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.three-s-holder {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
.blue-s-content {
  position: absolute;
  top: 15%;
  left: 20%;
}
.grey-s-content {
  position: absolute;
  bottom: 0;
  left: 20%;
}
.yellow-s {
    position: absolute;
    top: 140px;
    left: 170px;
}
.grey-s {
    margin-top: 6rem;
    position: relative;
}
.yellow-s-content span {
      color: #FECD27;
      font-size: 30px;
}
.grey-s-content span {
  color: #898989;
  font-size: 30px;
}
.blue-s-content span {
  color: #668BC5;
  font-size: 30px;
}
.ul-three-s {
  color: #000000;
  list-style: disc;
}
.yellow-s-content {
  position: absolute;
  bottom: 17%;
  left: 6%;
}
/* Mobile 
Responsive Styles for 3S Section */
@media (max-width: 768px) {
  .features-section-bg {
    background-size: cover;
    background-position: center;
  }
  
  /* Stack columns vertically on mobile */
  .features-section-bg .row {
    flex-direction: column;
  }
  
  /* Reset positioning for mobile */
  .features-section-bg .col-12.col-md-4 {
    margin-bottom: 2rem;
    position: relative;
  }
  
  /* Reset absolute positioning for mobile content */
  .blue-s-content,
  .grey-s-content,
  .yellow-s-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
  }
  
  /* Adjust font sizes for mobile */
  .blue-s-content span,
  .grey-s-content span,
  .yellow-s-content span {
    font-size: 1.5rem !important;
    display: block;
    margin-bottom: 1rem;
  }
  
  /* Style lists for mobile */
  .ul-three-s {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
  
  .ul-three-s li {
    margin-bottom: 0.5rem;
  }
  
  /* Center column with S images */
  .three-s-holder {
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem;
    margin: 2rem 0;
    height: auto !important;
  }
  
  /* Reset S image positioning */
  .blue-s,
  .yellow-s,
  .grey-s {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
  }
  
  /* Scale down S images for mobile */
  .blue-s img,
  .yellow-s img,
  .grey-s img {
    width: 60px;
    height: auto;
  }
  
  /* Ensure proper spacing between sections */
  .features-section-bg .position-relative {
    height: auto !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .blue-s-content span,
  .grey-s-content span,
  .yellow-s-content span {
    font-size: 1.2rem !important;
  }
  
  .ul-three-s {
    font-size: 0.8rem;
  }
  
  .blue-s img,
  .yellow-s img,
  .grey-s img {
    width: 50px;
  }
  
  .section-title {
    font-size: 2rem !important;
  }
  
  .section-subline {
    font-size: 1.2rem !important;
  }
}/* Mo
bile Responsive Styles for 3S Section */
@media (max-width: 768px) {
  /* Hide the center column with S images on mobile */
  .features-section-bg .col-12.col-md-4.d-flex {
    display: none !important;
  }
  
  /* Style content cards with images at top */
  .blue-s-content,
  .grey-s-content,
  .yellow-s-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin-bottom: 2rem;
    padding: 2rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    text-align: center;
  }
  
  /* Add Blue S image at top of Safe content */
  .blue-s-content::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-image: url('/assets/img/blue-s.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  /* Add Yellow S image at top of Scientific content */
  .yellow-s-content::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-image: url('/assets/img/yellow-s.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  /* Add Grey S image at top of Sustainable content */
  .grey-s-content::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-image: url('/assets/img/grey-s.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  /* Adjust font sizes for mobile */
  .blue-s-content span,
  .grey-s-content span,
  .yellow-s-content span {
    font-size: 1.5rem !important;
    display: block;
    margin-bottom: 1rem;
  }
  
  /* Style lists for mobile */
  .ul-three-s {
    text-align: left;
    margin-left: 1rem;
    font-size: 0.9rem;
  }
  
  .ul-three-s li {
    margin-bottom: 0.5rem;
  }
  
  /* Reset positioning */
  .features-section-bg .position-relative {
    height: auto !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .blue-s-content::before,
  .yellow-s-content::before,
  .grey-s-content::before {
    width: 150px;
    height: 150px;
  }
  
  .blue-s-content span,
  .grey-s-content span,
  .yellow-s-content span {
    font-size: 1.2rem !important;
  }
  
  .ul-three-s {
    font-size: 0.8rem;
  }
}