*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* --- HEADER CSS --- */
    .top_nav {
      background-color: white;
      color: black;
      border-bottom: 1px solid #ddd;
    }

    .top_nav_wrapper {
      max-width: 1200px;
      margin: 0 auto;
      padding: 10px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .logo img {
      height: 80px;
    }

    .mobile_menu_toggle {
      display: none;
      background-color: #333;
      color: white;
      border: none;
      font-size: 24px;
      padding: 10px;
      cursor: pointer;
    }

    .main_menu_nav {
      list-style: none;
      display: flex;
      padding: 0;
      margin: 0;
      flex-wrap: wrap;
    }

    .main_menu_nav > li {
      margin-right: 20px;
      position: relative;
    }

    .main_menu_nav a {
      color: black;
      text-decoration: none;
      padding: 10px 15px;
      display: block;
    }

    .menu-item-has-children {
      position: relative;
    }

    .sub-menu {
      display: none;
      position: absolute;
      background-color: white;
      top: 100%;
      left: 0;
      list-style: none;
      padding: 0;
      margin: 0;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 999;
    }

    .menu-item-has-children:hover > .sub-menu,
    .menu-item-has-children:focus-within > .sub-menu {
      display: block;
    }

    .sub-menu li a {
      white-space: nowrap;
      background-color: white;
      color: black;
      padding: 10px 20px !important;
      border-bottom: 1px solid #eee;
      display: block;
      transition: all 0.3s ease;
    }

    .sub-menu li a:hover,
    .sub-menu li a:focus,
    .sub-menu li a.active {
      background-color: green;
      color: white;
      border-bottom: 2px solid black;
    }

    @media (max-width: 768px) {
      .top_nav_wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      .mobile_menu_toggle {
        display: block;
        margin-left: auto;
      }

      .main_menu_nav {
        flex-direction: column;
        display: none;
        width: 100%;
      }

      .main_menu_nav.active {
        display: flex;
      }
    }

    /* --- SLIDER CSS --- */
    .slider-container {
      position: relative;
      width: 100%;
      height: 500px;
      overflow: hidden;
      margin-top: 20px;
    }

    .slider-images {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.5s ease;
    }

    .tp-bgimg {
      min-width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      flex-shrink: 0;
      background-color: #ccc;
    }

    .slider-text {
      position: absolute;
      font-size: 30px;
      color: white;
      font-weight: bold;
      padding: 20px;
      text-align: left;
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.5s ease, transform 0.5s ease;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 10px;
    }

    .slider-text:nth-child(1) { background-color: rgba(255, 0, 0, 0.7); top: 20%; left: 5%; }
    .slider-text:nth-child(2) { background-color: rgba(0, 255, 0, 0.7); top: 10%; right: 5%; }
    .slider-text:nth-child(3) { background-color: rgba(0, 0, 255, 0.7); top: 30%; left: 20%; }
    .slider-text:nth-child(4) { background-color: rgba(255, 255, 0, 0.7); top: 20%; left: 5%; }
    .slider-text:nth-child(5) { background-color: rgba(255, 165, 0, 0.7); top: 10%; right: 5%; }
    .slider-text:nth-child(6) { background-color: rgba(255, 105, 180, 0.7); top: 30%; left: 20%; }
    .slider-text:nth-child(7) { background-color: rgba(0, 255, 255, 0.7); top: 20%; left: 5%; }
    .slider-text:nth-child(8) { background-color: rgba(255, 99, 71, 0.7); top: 10%; right: 5%; }
    .slider-text:nth-child(9) { background-color: rgba(139, 69, 19, 0.7); top: 30%; left: 20%; }

    .slider-bullets {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      list-style: none;
      padding: 0;
      margin: 0;
      z-index: 10;
    }

    .slider-bullets li {
      width: 10px;
      height: 10px;
      margin: 0 5px;
      background-color: gray;
      border-radius: 50%;
      cursor: pointer;
    }

    .slider-bullets li.active {
      background-color: green;
    }

    /* --- Carousel CSS --- */
    .carousel-container {
      background-color: green;
      padding: 15px 0;
    }

    .owl-carousel .item {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 10px;
    }

    .owl-carousel img {
      width: 150px;
      height: auto;
      border-radius: 5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
/* Destop heaing */

.container {
      width: 90%; /* Set the container's width */
      max-width: 1200px; /* Optional, limit max width */
      margin: 0 auto; /* Center align the container */
    }
    .desktop-heading {
      display: flex;
      justify-content: space-between;
      margin-bottom: 30px;
    }

    .desktop-heading h2 {
      font-size: 24px;
      font-weight: bold;
      width: 48%;
    }

    .mobile-heading {
      display: none;
      font-size: 20px;
      font-weight: bold;
      margin: 20px 0 10px;
      text-align: center;
    }

    .grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }

    .card {
      width: 23%;
      background: #fff;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      position: relative;
    }

    .card img {
      width: 100%;
      display: block;
      transition: transform 0.4s ease;
    }

    .overlay {
      position: absolute;
      top: 100%;
      left: 0; right: 0; bottom: 0;
      background: green;
      color: white;
      opacity: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: top 0.6s ease, opacity 0.6s ease;
      padding: 20px;
      text-align: center;
      z-index: 1;
    }

    .overlay div {
      max-width: 90%;
    }

    .overlay h4 {
      margin-bottom: 10px;
      font-size: 18px;
    }

    .overlay p {
      font-size: 14px;
      margin: 5px 0;
    }

    .overlay a {
      display: inline-block;
      margin-top: 10px;
      padding: 8px 16px;
      background-color: white;
      color: green;
      text-decoration: none;
      border-radius: 4px;
      font-weight: bold;
      font-size: 14px;
    }
    .overlay a:hover{
        background-color: black;
        color: white;
    }
      h4{
        background-color: transparent !important;
       
      }
      

    .card:hover .overlay {
      top: 0;
      opacity: 1;
    }

    .card:hover img {
      transform: scale(1.05);
    }

    .text-default {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(255, 255, 255, 0.7);
      padding: 10px;
      font-weight: bold;
      text-align: center;
      width: 100%;
    }


    .wpb_wrapper {
        background-color: #fff;
        padding: 30px;
        border-radius: 10px;
        max-width: 1000px;
        margin: auto;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        position: relative;
        background-image: url('https://www.atsgroup.com/assets/images/facebook-share.png');
        background-size: cover;
        background-position: center;
        color: white;
      }
      
      .wpb_wrapper::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.6); /* Semi-transparent overlay */
        z-index: 0;
      }
      
      
      
      /* Section titles styling */
      .section-title {
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 10px;
        z-index: 1; /* Ensure the section title is above the overlay */
      }
      
      .quality-policy-title {
        color: #41ad31;
      }
      
      .vision-title,
      .mission-title {
        color: #33ad21;
      }
      
      /* Paragraph text styling */
      p {
        font-size: 16px;
        color: #333;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        z-index: 1; /* Ensure paragraphs are above the overlay */
      }
      
      /* Ensuring content is above the overlay */
      .wpb_wrapper > div {
        position: relative;
        z-index: 1; /* Ensures all content inside wpb_wrapper is above the overlay */
      }
      
     /* Responsive Layout */
     @media screen and (max-width: 600px) {
      .desktop-heading {
        display: none;
      }

      .mobile-heading {
        display: block;
        text-align: center;
      }

      .grid {
        flex-direction: column;
      }

      .card {
        width: 100%;
      }
    }

     /* Our Products  */

     .container1 {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }

    h2 {
      margin-bottom: 10px;
      font-size: 28px;
      color: #333;
      text-align: left;
    }

    /* Styling for the small green line beneath the heading */
    hr {
      border: none;
      width: 50px;
      margin-bottom: 10px;
      height: 2px; 
      background-color: #41AD31; 
      
    }

    .scroll-wrapper {
      overflow: hidden;
      width: 100%;
      position: relative;
    }

    .scroll-track {
      display: flex;
      position: relative;
      left: 0;
      transition: left 1s ease;
    }

    .card1 {
      flex: 0 0 auto;
      width: 300px;
      margin-right: 20px;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
      height: 320px;
      display: flex;
      flex-direction: column;
    }

    .card1 img {
      width: 100%;
      height: 150px;
      object-fit: cover;
    }

    .card1 .content1 {
      flex: 1;
      position: relative;
      padding: 15px;
    }

    .text-scroll {
      height: 100%;
      overflow: hidden;
      position: relative;
    }

    .text-scroll-inner {
      display: flex;
      flex-direction: column;
      transition: transform 1s ease;
      height: 100%;
      z-index: 1;
    }

    .card1:hover .text-scroll-inner {
      transform: translateY(-30%);
    }

    .text-scroll p {
      font-size: 15px;
      color: #333;
      margin-bottom: 20px;
      line-height: 1.4;
      background-color: white;
      padding: 12px;
      border-radius: 5px;
      transition: background-color 0.3s ease-in-out;
    }

    .show-more {
      text-align: center;
      margin-top: 10px;
      opacity: 0;
      transition: opacity 0.5s ease, transform 0.5s ease;
      font-weight: bold;
      color: white;
      background-color: #41AD31;
      padding: 8px 16px;
      border-radius: 4px;
      cursor: pointer;
      transform: translateY(20px);
    }

    .card1:hover .show-more {
      opacity: 1;
      transform: translateY(0);
    }

    .card1:hover .text-scroll {
      overflow: visible;
    }
 
    
    /* Quick Map bar */
    .quick-map-section {
        width: 100%;
        background-color: green;
        text-align: center;
        padding: 15px 0;
      }
  
      .quick-map-link {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        font-weight: bold;
      }
  
      .quick-map-link i {
        margin-right: 8px;
      }
  
      /* Footer Base */
      .footer {
        background-color: #222;
        color: #ccc;
        padding: 50px 0 0;
      }
  
      .footer h4 {
        color: #fff;
        margin-bottom: 15px;
        font-size: 18px;
      }
  
      .footer .widget_text {
        font-size: 14px;
        line-height: 1.6;
      }
  
      .footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }
  
      .footer ul li {
        display: flex;
        margin-bottom: 10px;
        align-items: flex-start;
      }
  
      .footer ul li .icon {
        width: 25px;
        margin-right: 10px;
      }
  
      .footer ul li .text {
        flex: 1;
        color: #ccc;
      }
  
      .footer a {
        color: #ccc;
        text-decoration: none;
      }
  
      .footer a:hover {
        text-decoration: underline;
      }
  
      .footer input[type="text"],
      .footer input[type="tel"],
      .footer textarea {
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
        border: none;
        border-radius: 4px;
        font-size: 14px;
      }
  
      .footer input[type="submit"] {
        background-color: #2ecc71;
        color: white;
        padding: 10px 15px;
        border: none;
        font-size: 14px;
        border-radius: 4px;
        cursor: pointer;
      }
  
      .footer input[type="submit"]:hover {
        background-color: #27ae60;
      }
  
      /* Footer Bottom Section */
      .footer-bottom {
        border-top: 1px solid #444;
        margin-top: 30px;
        padding: 20px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
      }
  
      .footer-bottom .left {
        font-size: 14px;
      }
  
      .footer-bottom .right {
        display: flex;
        gap: 15px;
      }
  
      /* Social Icons Styling */
      .footer-bottom .right a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background-color: #fff;
        border-radius: 50%;
        color: #222;
        font-size: 16px;
        transition: 0.3s ease;
      }
  
      .footer-bottom .right a:hover {
        background-color: #007bff;
        color: #fff;
      }
  
      .container3 {
        max-width: 1200px;
        margin: auto;
        padding: 0 15px;
      }
  
      .row3 {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
      }
  
      .col-lg-4 {
        flex: 1 1 30%;
        min-width: 250px;
      }
  
      @media (max-width: 768px) {
        .quick-map-link {
          font-size: 16px;
        }
  
        .row3 {
          flex-direction: column;
        }
  
        .footer-bottom {
          flex-direction: column;
          align-items: center;
          text-align: center;
          gap: 10px;
        }
  
        .footer h4 {
          text-align: center;
        }
  
        .footer .widget_text {
          text-align: center;
        }
  
        /* Address section - icon and text centered in mobile */
        .footer ul {
          padding: 0;
          margin: 0;
          display: flex;
          flex-direction: column; /* Stacked in small screens */
          align-items: center;    /* Center icon and text */
        }
  
        .footer ul li {
          display: flex;
          justify-content: center;   /* Center icon and text together */
          align-items: center;       /* Align icon and text properly */
          margin-bottom: 10px;
          text-align: left;  /* Keep text left-aligned */
        }
  
        .footer ul li .icon {
          margin-right: 10px; /* Space between icon and text */
        }
  
        .footer ul li .text {
          color: #ccc;
        }
      }
  
    

    @media (max-width: 600px) {
      .card1 {
        width: 80vw;
      }
    }

    @media (max-width: 400px) {
      .card1 {
        width: 90vw;
      }
    }