*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.sticky {
    background-color: white;
    box-shadow: 0px 0px 10px 5px #0C98DA;
    

}

/* General styling for logo and text */
.logo-container {
    display: flex;
    align-items: center;
   
   
  }

  .sticky .logo-containers {
    display: flex;
    justify-content: space-between;
    
  }


  
  .logo {
    
    margin-right: 10px; /* Space between logo and text */
  }

  .sticky-a2 {
    display: none;
  }
  
  .logo-text {
    font-size: 17px;
    padding-top: 10px;
    font-weight: bold;
    
  }

  .logo-text a {
    color: black;
    text-decoration: none;
  }

  .logo-text a:hover {
    color: black;
  }
  
  /* For mobile screens */
  @media (max-width: 768px) {
    .logo-container {
      flex-direction: row;/* Stack logo and text vertically on mobile */
      justify-content: center;
    }
  
    .logo {
      margin-right: 0; /* Remove the space between logo and text */
      margin-bottom: 0px; /* Add some space between logo and text */
    }
  
    .logo-text {
      font-size: 20px; /* Slightly smaller text for mobile */
    }
  }



.navbar i {
    color: white;
    font-size: 25px;
    padding: 15px;
    padding-top: 30px;
    display: none;
}

.navbar i :hover {
    color: #EE4121;
}


nav {
    margin-top: 75px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler i {
    color: white;
    font-size: 35px;
    border: none;
}

.sticky-a {
    margin-top: 20px;
}

.sticky-a a{
    border: 1px solid #0C98DA;
    font-size: 15px;
    padding: 5px;
   padding-left: 30px;
   padding-right: 30px;
    text-align: center;
    border-radius: 5px; 
    letter-spacing: 2px;
    
   
}

.navbar-text {
    margin-top: 10px;
}


.navbar-text a{
    color: black;
    text-decoration: none;
}

.navbar-text:hover {
    color: black;
    text-decoration: none;
}

.navbar-text i {
    color: #0C98DA;
}

.nav-item a {
    color: white;
  
    
}



.nav-item a:hover {
    color: #EE4121;
}

.main {
    height: 100vh;
    width: 100%;
  }
  .wrapper,
  .slide {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .slide {
    overflow: hidden;
  }
  .slide::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10;
  }
  .slide .image {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .slide .image-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 100;
  }
  .image-data span.text {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
  }
  .image-data h2 {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
  }
  a.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    color: #333;
    background: #fff;
    text-decoration: none;
    margin-top: 25px;
    transition: all 0.3s ease;
  }
  a.button:hover {
    color: #fff;
    background-color: #0C98DA;
  }
  /* swiper button css */
  .nav-btn {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
  }
  .nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
  }
  .swiper-button-next {
    right: 50px;
  }
  .swiper-button-prev {
    left: 50px;
  }
  .nav-btn::before,
  .nav-btn::after {
    font-size: 25px;
    color: #fff;
  }
  .swiper-pagination-bullet {
    opacity: 1;
    height: 12px;
    width: 12px;
    background-color: #fff;
    visibility: hidden;
  }
  .swiper-pagination-bullet-active {
    border: 2px solid #fff;
    background-color: #c87e4f;
  }
  @media screen and (max-width: 768px) {
    .nav-btn {
      visibility: hidden;
    }
    .swiper-pagination-bullet {
      visibility: visible;
    }
  }
.main2 {
    margin-top: 50px;
}

.main2 h2 {
    font-size: 30px;
    color: black;
}

.main2 p {
    padding-top: 40px;
    font-size: 20px;
}

.main2 iframe {
    border-radius: 10px;
}

.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer {
    margin-top: 100px;
    background-color: #0C98DA;
    color: white;
    
   
}

.footer-icons {
    text-align: center;
    margin-top: 30px;
}

.footer h5 {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 400;

}

.footer h5:hover{
    color: #EE4121;

}

.footer a {
    text-decoration: none;
    font-size: 20px;

}

.footer a:hover {
    color: #EE4121;
}


.footer li a {
    color: white;
    text-decoration: none;
    line-height: 40px;


}

.footer a i {
    font-size: 30px;
    padding-right: 20px;
}

.footer li {
    gap: 30px;
}


.our-services .card {
    border: #0C98DA 2px solid;
    transition: 0.5s ease;
   
  
}

.our-services .card:hover {
    box-shadow: 0px 0px 10px 5px #0C98DA;
}

.card h5 {
    color: grey;
    font-size: 26px;
    text-align: left;
}

.card p {
    font-size: 14px;
    text-align: left;
    line-height: 10px;
}


.catalog {
    margin-top: 50px;
}

.catalog .card {
    border: 2px solid #0C98DA;
    transition: 0.5s ease;
    height: 100%;
    padding: 25px;
   
    
}

.catalog .card:hover {
    box-shadow: 0px 0px 10px 5px #0C98DA;
}

.catalog .card img {
    width: 220px;

}

.catalog .card p {
    line-height: 20px;
    font-size: 16px;
}

.catalog .card-body {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.engir-text p {
    color: black;
    font-size: 16px;
}

.engir-text span {
    font-weight: 600;
    color: black;
}

.about-us {
    text-align: center;
    margin-top: 50px;
}

.about-text h5 {
    padding-bottom: 20px;
}


.contact {
    margin-top: 50px;
}

.contact h6 {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
}

.contact p {
    line-height: 10px;
    
}

.contact a {
    text-decoration: none; 
    color: black;
    line-height: 20px;
}

.contact a i {
    color: #0C98DA;
}

.plasts {
    margin-top: 50px;
}

.plasts .card {
    margin: 10px;
    transition: 0.5s ease;
    border: 1px solid #0C98DA;
    
}

.plasts .card:hover {
    box-shadow: 0px 0px 10px 5px #0C98DA;
}

.plasts .card p {
    line-height: 24px;
    text-align: center;
    font-size: 18px;
}

.our-benefits {
    margin-top: 100px;
}

.our-benefits .images{
    width: 70px;


}

 .map-text {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: space-between;
}


.map-text2 {
    line-height: 24px;
    text-align: left;

}


.map-text2 a {
    color: black;
    text-decoration: none;
    font-size: 18px;
}


.map-text2 a:hover {
    color: black;
    text-decoration: none;
}

.map-text2 span{
    font-weight: 700;
    font-size: 20px;
    color: black;
}



.contact .map-responsive {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio: 16:9 */
    overflow: hidden;
  }

  .contact .map-responsive iframe, .map-responsive div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
 
  }


  .our-services .col-8 {
    flex: 0 0 auto;
    width: 700px;
}
.our-services .card {
    padding: 15px 80px;
}

.our-services .card p {
    line-height: 20px;
}




  body {
    background-image: url('img/body2.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-position: bottom;
    
    background-attachment: fixed;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(254, 254, 254, 0.926); /* White overlay with 50% opacity */
    z-index: -1; /* Make sure the overlay is behind the content */
}





/* Initially hide the elements and set their positions */
#slideImage, #slideText {
    opacity: 0;
    transition: all 1s ease;
  }
  
  /* Slide in from left */
  #slideImage.slide-in-left {
    transform: translateX(0);
    opacity: 1;
  }
  
  /* Slide in from right */
  #slideText.slide-in-right {
    transform: translateX(0);
    opacity: 1;
  }
  
  /* Initial positions (out of view) */
  #slideImage {
    transform: translateX(-100%);
  }
  
  #slideText {
    transform: translateX(100%);
  }
  
  /* Initially hide the elements and make them invisible */
  .fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
  }
  
  /* When the element is in view, it will fade in */
  .fade-in.show {
    opacity: 1;
  }
  
  /* Initially hide the elements */
  .slide-in-left,
  .slide-in-right {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
  }
  
  /* Slide in from left */
  .slide-in-left {
    transform: translateX(-100%);
  }
  
  /* Slide in from right */
  .slide-in-right {
    transform: translateX(100%);
  }
  
  /* When the elements are visible, they will slide into place */
  .show {
    opacity: 1;
    transform: translateX(0);
  }

  .plasts h5 {
    color: #3B3A3A;
  }

  /* Initially hide the elements with opacity 0 */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in; /* Fade-in effect over 1 second */
  }
  
  /* When the element is in view, apply opacity 1 to make it visible */
  .fade-in.show {
    opacity: 1;
  }

  .fixed-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.toggle-button {
    background-color: #3498db;
    color: white;
    font-size: 26px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;

    transition: transform 0.3s ease;
    animation: pulse s infinite;
}

.toggle-button:hover {
  color: white;
  background-color: #EE4121;
  
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all 0.3s ease;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    transition: transform 0.5s ease;
    border: 1px solid white;
    
}

.icon:hover {
  transform: scale(1.1);
  color: white;
}

/* Checkbox Hack to Control Animation */
#toggle:checked + .toggle-button {
    transform: rotate(135deg);
}

#toggle:checked ~ .social-icons {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#toggle:checked ~ .social-icons .icon {
    transform: scale(1.2);
}

.social-icons .icon:nth-child(1) {
    transition-delay: 0.1s;
}

.social-icons .icon:nth-child(2) {
    transition-delay: 0.2s;
}

.social-icons .icon:nth-child(3) {
    transition-delay: 0.3s;
}

.social-icons .icon:nth-child(4) {
    transition-delay: 0.4s;
}

/* Hide the checkbox */
#toggle {
    display: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #EE4121;
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

  
  /* ------------------------------
     Responsive Adjustments 
     ------------------------------ */
  
  /* For small screens, reduce the sliding distance */
  @media (max-width: 1068px) {
    #slideImage {
      transform: translateX(-50%); /* Reduce the distance for smaller screens */
    }
    
    #slideText {
      transform: translateX(50%);
    }
  
    .slide-in-left {
      transform: translateX(-50%);
    }
  
    .slide-in-right {
      transform: translateX(50%);
    }
  }
  
  /* For very small screens (like phones), remove sliding altogether for simplicity */
  @media (max-width: 1076px) {
    #slideImage, #slideText {
      transform: translateX(0); /* No sliding for very small screens */
    }
    
    .slide-in-left,
    .slide-in-right {
      transform: translateX(0);
    }

    nav {
        margin-top: 60px;
    }

    .navbar-text {
        color: black;
        text-decoration: none;
        font-size: 14px;
    }

    .sticky .logo-containers {
        display: flex;
        justify-content: space-between;
        
      }

      .footer-icons {
        text-align: left;
        margin-top: 0px;
    }

    .footer {
        text-align: left;
    }
    
    
  }




@media (max-width: 820px) and (min-width:790px) {
   

    .map-text {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .navbar-nav img {
        display: none;
    }

    .footer {
        margin-top: 100px;
        background-color: #0C98DA;
        color: white;
        text-align: center;
    }

    .sticky {
        text-align: center;
        justify-content: center;
    }



.our-services .card {
    padding: 15px 20px;
}

.our-services .card p {
    line-height: 15px;
    font-size: 12px;
}

.engire {
    text-align: center;
}

nav {
    margin-top: 142px;
}

.nav-item a {
    line-height: 10px;
}

.plasts .card p {
    line-height: 17px;
    text-align: center;
    font-size: 11px;
}

.navbar i {
    display: inline;
    font-size: 30px;
}

.main2 p {
    padding-top: 0px;
    font-size: 12px;
}

nav {
    margin-top:80px;
}

.sticky .logo-containers {
    display: flex;
    justify-content: space-between;
    
  }

  .footer-icons {
    text-align: left;
    margin-top: 0px;
}

.footer {
    text-align: left;
}



}
  

@media (max-width: 790px) and (min-width:492px) {
    .map-text {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .navbar-nav img {
        display: none;
    }

    .footer {
        margin-top: 100px;
        background-color: #0C98DA;
        color: white;
        text-align: center;
    }

    .sticky {
        text-align: center;
        justify-content: center;
    }



.our-services .card {
    padding: 15px 20px;
}

.our-services .card p {
    line-height: 15px;
    font-size: 12px;
}

.engire {
    text-align: center;
}

nav {
    margin-top: 142px;
}

.nav-item a {
    line-height: 10px;
}

.plasts .card p {
    line-height: 17px;
    text-align: center;
    font-size: 11px;
}

.navbar i {
    display: inline;
    font-size: 30px;
}

.main2 p {
    padding-top: 0px;
    font-size: 12px;
}

nav {
    margin-top:88px;
}

.navbar-text {
    color: black;
    text-decoration: none;
    font-size: 10px;
}

.sticky .logo-containers {
    display: flex;
    justify-content: space-between;
    
  }

  .footer-icons {
    text-align: left;
    margin-top: 0px;
}

.footer {
    text-align: left;
}








    
}



@media (max-width: 590px) and (min-width:376px) {

    nav {
        margin-top: 75px;
    }
    
    .navbar-text {
        color: black;
        text-decoration: none;
        font-size: 15px;
    }

    .map-text {
        display: block;
        align-items: center;
        gap: 25px;
    }

    .navbar-nav img {
        display: none;
    }

    .footer {
        margin-top: 100px;
        background-color: #0C98DA;
        color: white;
        text-align: left;
    }

    .sticky {
        justify-content: start;
        text-align: center;
        
    }



.our-services .card {
    padding: 15px 20px;
}

.our-services .card p {
    line-height: 15px;
    font-size: 12px;
}

.engire {
    text-align: center;
}


.nav-item a {
    line-height: 10px;
}

.plasts .card p {
    line-height: 17px;
    text-align: center;
    font-size: 11px;
}

.navbar i {
    display: inline;
    font-size: 30px;
}

.main2 p {
    padding-top: 0px;
    font-size: 12px;
}

.sticky-a {
    margin-top: 1px;
   
}

.logo {
    width: 55px;
    
    /* Space between logo and text */
  }

  .logo-text {
    font-size: 18px;
    padding-top: 20px;
    font-weight: bold;
    line-height: 18px;

  }

  .sticky-a {
    margin-top: 10px;
}

.sticky-a a{
    border: 1px solid #0C98DA;
    font-size: 12px;
    padding: 5px;
   padding-left: 10px;
   padding-right: 10px;
    text-align: right;
    border-radius: 5px; 
    letter-spacing: 2px;
    
   
}

.navbar-text {
    margin-top: -10px;
    text-align: right;
    
}

.sticky .logo-containers {
    display: flex;
    align-items: end;
    justify-content: end;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    margin-left: 20px;
    
  }

  .main {
    height: 600px;
  }

  .footer-icons {
    text-align: left;
    margin-top: 0px;
}
    
}

@media (max-width: 375px) and (min-width:290px) {

    nav {
        margin-top: 72px;
    }
    
    .navbar-text {
        color: black;
        text-decoration: none;
        font-size: 15px;
    }

    .map-text {
        display: block;
        align-items: center;
        gap: 25px;
    }

    .navbar-nav img {
        display: none;
    }

    .footer {
        margin-top: 100px;
        background-color: #0C98DA;
        color: white;
        text-align: left;
    }

    .sticky {
        justify-content: start;
        text-align: center;
        
    }



.our-services .card {
    padding: 15px 20px;
}

.our-services .card p {
    line-height: 15px;
    font-size: 12px;
}

.engire {
    text-align: center;
}


.nav-item a {
    line-height: 10px;
}

.plasts .card p {
    line-height: 17px;
    text-align: center;
    font-size: 11px;
}

.navbar i {
    display: inline;
    font-size: 30px;
}

.main2 p {
    padding-top: 0px;
    font-size: 12px;
}

.sticky-a {
    margin-top: 1px;
   
}

.logo {
    width: 40px;
    
    /* Space between logo and text */
  }

  .logo-text {
    font-size: 11px;
    padding-top: 20px;
    font-weight: bold;
  }

  .sticky-a {
    margin-top: 10px;
}

.sticky-a a{
    border: 1px solid #0C98DA;
    font-size: 10px;
    padding: 5px;
   padding-left: 10px;
   padding-right: 10px;
    text-align: center;
    border-radius: 5px; 
    letter-spacing: 2px;
    
   
}

.navbar-text {
    margin-top: -10px;
    text-align: right;
   
}

.sticky .logo-containers {
    display: flex;
    align-items: end;
    justify-content: end;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    margin-left: 10px;
    
  }

  .main {
    height: 600px;
   
  }

  .footer-icons {
    text-align: left;
    margin-top: 0px;
}
    


}





