/* ===== NON-CRITICAL CSS (Full List) ===== */
/* ====== Customer Quote -[red left border] =======  */
     .quote-box {
      border-left: 4px solid red;
      padding: 20px;
      background-color: #f9f9f9;
      font-family: Arial, sans-serif;
      max-width: 900px;
      margin: 30px auto;
    }

    .quote-box h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-top: 0;
      margin-bottom: 15px;
      color: #333;
    }

    .quote-box p {
      font-size: 1.2rem;
      color: #333;
      margin: 0;
    }
/* ====== END- Customer Quote =======  */

/* Adjust font size for mobile */

@media (max-width: 768px) {
  .nav-link {
      font-size: 17px !important;
  }
  .navbar-collapse {
      font-size: 17px !important;
  }
}

/* CARD ENHANCEMENTS */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background-color: #f6ffff;
  }  
  .card:focus-within {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
  }  
  .card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }  
  .card-title {
    color: #8C0E10;
    text-align: center;
    font-size: 1.6em;
  }  
  .card2 {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 0.25rem;
  }  
  .card-body2 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 3px;
  }  
  .card-title2 {
    color: #8C0E10;
    text-align: center;
    font-size: 1.4em;
  }
  
  /* INTERACTIVE ELEMENTS */
  .navbar-nav .nav-link:hover {
    background-color: #dc3545;
    color: white !important;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  /* -- Back-to-Top btn(help user quickly go back, easy navigation, improve user experience UXP)------- */
  .back-to-top {
    background-color: black;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
    transition: transform ease-in-out 0.2s;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 100;
    width: 57px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 4px;
    }
    
    .back-to-top i {
    font-size: 40px;
    color: red; /* Make icon red */
    }
    
    .back-to-top span {
    font-size: 10px; /* Adjust text size */
    font-weight: bold;
    }
     .back-to-top:hover {
    transform: scale(1.2);
    background-color: #006bb3;
    color: white;
    }
    /* END - Back-to-Top btn  */
  
  /* TYPOGRAPHY ENHANCEMENTS */
  .Shadow {
    text-shadow: 4px 2px 6px black;
  }
  
  .text-with-shadow {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  }
  
  .lightning-red {
    color: red !important;
  }
  
  .fw-semibold {
    font-weight: 600;
  }
  
  .fs-6 { font-size: 1rem !important; }
  .fs-5 { font-size: 1.25rem !important; }
  .fs-4 { font-size: 1.5rem !important; }
  
  /* LAYOUT HELPERS */
  .content-section {
    padding: 50px 20px;
  }
  
  .h2-nopadding {
    margin: 0;
    padding: 0;
  }
  
  .w-80 { width: 85% !important; }
  .w-95 { width: 95% !important; }
  
   /*  Text-wrap-around-img */
  .clearfix::after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* IMAGE HANDLING */
  .image-text-content {
    overflow: hidden;
    margin: 30px 0;
  }
  
  .wrap-image {
    max-width: 35%;
    margin: 20px;
    float: left;
  }
  
  .wrap-image.right {
    float: right;
  }
  
  .custom-image {
    margin: 20px;
    max-width: 35%;
  }
  /* END - Text-wrap-around-img */
  
  /* LISTS & BULLETS */
  .black-dots li::before {
    content: '■';
    color: black;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
  }
  
  .bullet-point::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 100%;
    background-color: red;
    position: absolute;
    left: 0;
  }
  
/* Q&A */       
details {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
}
summary {
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  background: white;
  border-radius: 5px;
  list-style: none;
  display: flex;
  align-items: center;
}
summary::before {
  content: "▶"; /* Default closed arrow */
  color: #0044cc;
  font-size: 16px;
  margin-right: 10px;
}
details[open] summary::before {
  content: "▼"; /* Open arrow */
  color: #d9534f;
}
.details-content {
  background-color: #e6f2ff;
  padding: 10px;
  border-radius: 5px;
}
/* END - Q&A */   
  
  /* BANNERS & HIGHLIGHTS */
  .banner {
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    background-color: #333;
    color: white;
    font-size: large;
   
  }
  
  .highlight {
    background-color: black;
    color: white;
    padding: 0 5px;
  }
  
  /* MOBILE ENHANCEMENTS */
  @media (max-width: 768px) {
    .custom-image {
      margin-bottom: 25px;
    }
    
    .custom-text {
      margin: 10px 0;
    }
    
    .quote-container {
      margin: 20px;
    }
    
    .mobile-center {
      width: 95%;
      max-width: 95%;
      margin-left: auto;
      margin-right: auto;
    }
    .hide-mobile {
      display: none !important;
  }
  }
  
  /* DESKTOP ENHANCEMENTS */
  @media (min-width: 769px) {
    .atf-container {
      background-image: url('img/bg-ems-500x281.webp');
    }    
    .wrap-image.right {
      float: right;
    }
  }
  
  /* UTILITY CLASSES */
  .fw-heavier { font-weight: 900 !important; }
  .text-success { color: #28a745 !important; }
  .mt-3 { margin-top: 1rem !important; }
  .mb-3 { margin-bottom: 1rem !important; }
  .p-2 { padding: 0.5rem !important; }

  
/* BEGIN of CSS for text wraps around and below the image */   
.custom-image {
  Margin: 20px;
  max-width: 30%; /* Set maximum width to 30% for larger screens */                
  height: auto; /* Maintain the image's aspect ratio */
}      
.custom-text {
  Margin:30px;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
@media (max-width: 768px) {   /* Media query for mobile screens */
  .custom-image {            
  max-width: 100%; /* Make the image occupy 100% width on mobile screens */
  display: block;
  margin: 0 auto;
  margin-bottom: 25px;
  }
  .custom-text {
      margin: 10px 0; /* Remove left margin on mobile screens */
  }
}      
/* end of CSS for text wraps around and below the image */

/* styling paragraph */          
.sh { /*  Short Heading in line */
  font-weight: 600;
  font-size: 1.1em;
  color: #8C0E10;
  margin-right: 5px;
}
.black-dots li::before {
/* Why choice SPQ */

.black-dots {
list-style-type: disc;
}
.bullet-point {
margin-bottom: 1em;
}
}
.line-head-bold {
font-size: 1.25rem; /* Equivalent to Bootstrap's fs-5 */
font-weight: 600; /* Equivalent to Bootstrap's fw-semibold */
}
/* end- styling paragraph */

/* For success story */
.quote-container {
  display: flex;
  align-items: center;
  padding: 5px;
  border-left: 5px solid red; /* Vertical red line */
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  margin: 40px;
}
.quote-text {
  margin-left: 5px;
  font-size: 1.2em;
  color: #333;
}
/* end- For success story */

     
/* fill button */
.hover-fill-btn {
  position: relative;
  display: inline-block;
  padding: 5px 12px;
  color: #000;
  border: 2px solid #000;
  border-radius: 8px;
  background-color: transparent;
  overflow: hidden;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.4s ease;
  max-width: fit-content;
}
.hover-fill-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #00aaff;
  z-index: 0;
  transition: width 0.4s ease;
}
.hover-fill-btn-3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #d4a017;
  z-index: 0;
  transition: width 0.4s ease;
}
.hover-fill-btn:hover::before {
  width: 100%;
}
.hover-fill-btn span {
  position: relative;
  z-index: 1; /* ensures text stays above the background */
}
.hover-fill-btn:hover {
  color: white;
}
/* END - fill button */
 /* Navbar Footer */
.nav {
    list-style: none;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
  }  
  .nav li {
    display: inline;
    color: #fff;
  }  
  .nav a {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    color: #fff !important;
  }  
  .nav a:hover {
    background-color: red;
  }
  /* END - NAVAR  */
 