* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}


.topnav{
    background-color: white;
    justify-content: center;
}
.toplist{
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #122C93;
}
.toplist li {
    list-style: none;
    margin: 12px 30px;
}
.toplist li a{
    color: #FFFFFF;
    text-decoration: none;
    gap: 6px;
    display: flex;
    align-items: center;
}
.toplist li p{
    color: #FFFFFF;
    font-size: 16px;
}
.nav-resp{
    
    min-width: 344px;
    /* max-width: 1230px; */
    margin: auto;
    align-items: center;
    justify-content: center;
}
.nav-wrapper {
    display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    width: 100%;
    height: 80px;
    padding: 0 60.5px;  
    z-index: 2;
    background: #FFFFFF;
  }
  
  .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo {
    width: 75%;
  }
  
  .nav-tabs {
    display: flex;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
  }
  .nav-tabs .nav-tab a{
    text-decoration: none;
    color: black;
    font-size: 15px;
  }
  .nav-tabs .nav-tab a:hover{
    color: black;
    transition: 0.3s;
  }
  .nav-tab:not(:last-child) {
    padding: 10px 11px;
    margin: 0;
  }
  
  .nav-tab:last-child {
    padding: 10px 0 0 11px;
  }
  
  .menu-btn {
    cursor: pointer;
    display: none;
  }
  
  .hidden {
    display: none;
  }
  .hyperlink-color-white {
    color: white;
    text-decoration: none;
}

   .steps-container {
      max-width: 1600px;
      margin: auto;
    }


.parh {
  text-align: center;        /* text ko center karta hai */
  margin: 16px 0;            /* upar-niche thoda space */
  line-height: 1.5;          /* readability ke liye */
}



    .steps-heading {
      text-align: center;
      font-size: 40px;
      margin-bottom: 30px;
      font-weight: 700;
    }
    .steps-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
    }



 
.hydra-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* LAST ROW CENTER */
  gap: 20px;
      margin-top: 10px;
}
 
/* Box design */
.hydra-box {
  background-color: #122C93;
  color: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
 
  flex: 0 1 calc(33.33% - 20px); /* 3 per row FIXED */
  max-width: calc(33.33% - 20px);
  min-width: 260px;
  text-align: center;
}
 
.hydra-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
 
/* Title */
.hydra-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: left;
}
 .hydra-title a {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  text-decoration: none;
  color: white;

}
/* Description */
.hydra-text {
  font-size: 14px;
  line-height: 1.5;
   text-align: left;
}
.middle-heading {
  text-align: center;
  margin: 40px 0; /* upar neeche ka gap */
  font-size: 22px;
  font-weight: 600;
  color: BLACK; /* ya jo color chahiye */
}
.middle-heading a{
    text-decoration: none;
    color: black;
}
@media (max-width: 767px) {
  .hydra-box {
    flex: 0 1 100%;
    max-width: 100%;
            text-align: left;
  }
  .middle-heading {
  text-align: center;
  margin: 40px 0; /* upar neeche ka gap */
  font-size: 18px;
  font-weight: 600;
  color: BLACK; /* ya jo color chahiye */
}
}
    @media (min-width: 768px) {
      .steps-grid {
        grid-template-columns: 1fr 1fr 1fr; /* 👈 3 columns on desktop */
      }
    }
    .step-card {
      background-color: #122C93;
      color: white;
      padding: 20px;
      border-radius: 14px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.1);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .step-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    }
    .step-number {
      font-size: 24px;
      font-weight: bold;
      background: rgba(255,255,255,0.2);
      padding: 10px 14px;
      border-radius: 10px;
      display: inline-block;
      margin-bottom: 10px;
    }
    .step-title {
      font-size: 18px;
      font-weight: 700;
      margin: 0 0 8px;
    }
    .step-desc {
      font-size: 14px;
      line-height: 1.5;
      margin: 0;
    }





  @media screen and (max-width: 800px) {
    .nav-wrapper{
        padding: 0px;
    }
    .nav-container {
      position: fixed;
      display: none;
      overflow-y: auto;
      text-align: center;
      z-index: -1;
      top: 0;
      right: 0;
      width: 90%;
      height: 100%;
      color: #000;
      background: #fff;
    }
  
    .nav-tabs {
      flex-direction: column;
      align-items: center;
      margin-top: 80px;
      width: 100%;
    }
    .nav-tab:not(:last-child) {
      padding: 20px 25px;
      margin: 0;
    }
  
    .nav-tab:last-child {
      padding: 15px 25px;
    }
  
    .menu-btn {
      position: relative;
      display: block;
      margin: 0;
      width: 100%;
      cursor: pointer;
      z-index: 2;
      padding: 10px;
    }
    #menuToggle:checked ~ .nav-container {
      z-index: 1;
      display: flex;
      animation: menu-slide-left 0.3s ease;
      text-align: center;
    }
    #menuToggle:checked ~ .menu-btn {
        top: -130px;
        right: 16px;
    }
    }
    @keyframes menu-slide-left {
      0% {
        transform: translateX(200px);
      }
      to {
        transform: translateX(0);
      }
    }
  
.vl{
    border-left: 1px solid black;
    height: 15px;
}

.head-label{
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.61)), url(img/how-to-find-a-hydraulic-parts-supplier-in-uae.jpg); */
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(img/how-to-find-a-hydraulic-parts-supplier-in-uae.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* height: 500px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 12px;
    padding-bottom: 18px;
}
.head-label-size{
    min-width: 344px;
    max-width: 1230px;
    margin: auto;
    padding: 5px 0px;
}
.head-label-text {
    color: white;
    text-align: center;
 }
 .head-label h1{
    color: white;
    font-size: 50px;
 }
 .head-label p{
     color: white;
     font-size: 16px;
     margin-top: 20px;
         line-height: 30px;
 }

     
        a.btn-a {
            color: white;
        }
        a.btn-a button.btn {
            color: #fff;
            border: none;
            background-color: #d1291d;
            font-size: 16px;
            margin-top: 25px;
            padding: 10px 30px;
            cursor: pointer;
        }
      

.first-sec {
    background-image: url(img/bg-home-store.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    text-align: center;
    margin: auto;
    padding: 50px 50px;
    margin-top: -30px;
}
.first-sec-size{
    min-width: 344px;
    max-width: 1230px;
    margin: auto;
    padding: 5px 0px;
}
.first-sec-text h2{
    color: #000;
    font-size: 40px;
    font-weight: 500;
    padding: 0px 110px;
}

.first-sec-text p{
    margin-top: 25px;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
}


.second-sec{
    width: 100%;
      /* background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),  url(img/common-steps-to-find-best-hydraulic-parts-in-uae.jpg);
    background-size: cover;  */
   background-image: linear-gradient(
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.85)
    ), url(img/common-steps-to-find-best-hydraulic-parts-in-uae.jpg);
    background-position: center;
    /* height: 450px; */
    justify-content: center;
    padding: 50px 0px;
    position: relative;
   
}
.second-sec-size{
    min-width: 344px;
    max-width: 1230px;
    margin: auto;
    align-items: center;
    justify-content: center;
}
.second-sec-text{
    color: white;
    text-align: center;
}
.second-sec-text a{
    color: white;
    text-decoration: none;
}
.second-sec-text h2{
    color: white;
    font-size: 40px;
    font-weight: 500;
}
.second-sec-text h2:hover{
    /* color: #d1291d; */
    transition: 0.5s;
}
.second-sec-text p{
    margin-top: 25px;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
}
.second-sec-part{
    min-width: 344px;
    max-width: 1230px;
    margin: auto;
    /* margin-top: -248px; */
    background-color: #fff;
    z-index: 1;
    position: relative;
    padding: 50px 50px;
    box-shadow: 0px 0px 40px 4px rgba(0, 0, 0, 0.568);
}
.second-sec-part .main-row{
    display: flex;
    align-items: center;
    justify-content: center;
}
.second-sec-part  .first-col{
    width: 50%;
    padding: 20px;
}
.second-sec-part  .first-col a{
    text-decoration: none;
    color: #000;
}

.second-sec-part .first-col h2{
    color: #000000;
    font-size: 45px;
    font-weight: 400;
}
.second-sec-part .first-col h2:hover{
    /* color: #d1291d; */
    transition: 0.5s;
}
.second-sec-part .first-col p{
    margin-top: 25px;
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
}
.second-sec-part .second-col{
    width: 50%;
}
.second-sec-part .second-col img{
    width: 100%;
}
.Child-row{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.Child-cols{
    background-color: #d1291d;
    color: white;
    border-radius: 10px;
    padding: 30px;
    margin: 50px 10px;
    width: 30%;
    text-align: center;
}
.Child-cols a{
text-decoration: none;
color: white;
}
.Child-cols  h3{
   font-size: 25px;
   font-weight: 500;
}
.Child-cols  h3:hover{
    color: #000;
    transition: 0.5s;
}
.Child-cols p{
   font-size: 16px;
   font-weight: 500;
   margin-top: 25px;
   line-height: 25px;
}


.fourth-sec{
    width: 100%;
   /* background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(img/conclusion.jpg); */
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.85)
    ), url(img/conclusion.jpg);
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    justify-content: center;
    padding: 50px 0px;
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
}
.fourth-sec-size{
    min-width: 344px;
    max-width: 1230px;
    margin: auto;
    align-items: center;
    justify-content: center;
}
.fourth-sec-text{
    text-align: center;
    justify-content: center;
}
.fourth-sec-size .fourth-sec-text h2{
    color: white;
    font-size: 40px;
    font-weight: 500;
}
.fourth-sec-size .fourth-sec-text p{
    color: white;
    margin-top: 25px;
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
    padding-left: 10px;
    padding-right: 10px;
}



.map {
    width: 100%;
    margin-bottom: -5px;
}
.footer-bar{
    width: 100%;
    background-color: #122C93;
    color: white;
    justify-content: center;
}
.footer-bar-sizing{
    min-width: 344px;
    max-width: 1230px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-bar-sizing p{
    font-size: 16px;
    font-weight: 500;
    font-size: medium;
    padding: 10px 5px;
}
.footer-bar-sizing p a{
    color: white;
    text-decoration: none;
}

@media (max-width: 1280px) {
    .first-sec {
        margin: auto;
        padding: 50px 30px;
        margin-top: -30px;
    }
}

@media (max-width:950px) {
    .navigation{
        top: 40%;
    }
    .slider-container{
        height: 30vh;
    }
    .topnave{
        text-align: center;
    }
    .toplist{
        flex-direction: column;
    }
    .logo{
        width: 70%;
    }
    .logo img{
        width: 100%;
    }
    .nav-item {
        gap: 60px;
    }
    .card-row{
        flex-direction: column;
    }
    .first-sec-text h2 {
        color: #000;
        font-size: 30px;
        font-weight: 500;
        padding: 0px;
    }    
    .first-sec {
        margin: auto;
        padding: 50px 10px;
        margin-top: -30px;
    }
    .first-sec-text h2 {
        color: #000;
        font-size: 30px;
        font-weight: 500;
        padding: 0px;
    }
    .second-sec-part{
    min-width: 344px;
    max-width: 1230px;
    margin: auto;
    /* margin-top: -150px; */
    background-color: #fff;
    z-index: 1;
    position: relative;
    padding: 50px 10px;
    box-shadow: none;
}
.second-sec-text {
    color: white;
    text-align: center;
    padding: 0px 10px;
}
.second-sec-part .main-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
.second-sec-part .first-col {
        width: 100%;
        padding: 25px 0px;
    }
.second-sec-part .first-col h2 {
    color: #000000;
    font-size: 30px;
    font-weight: 400;
}
.second-sec-part .second-col {
    width: 100%;
}
    .second-sec-text h2 {
    color: white;
    font-size: 30px;
    font-weight: 500;
}
.Child-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
}
.Child-cols {
    background-color: #d1291d;
    color: white;
    border-radius: 10px;
    padding: 30px;
    margin: 0px 0px;
    width: 100%;
    text-align: center;
}
div.rn {
    margin-top: 20px;
}
.fourth-sec {
    margin-top: 0px;
}
.fourth-sec-size {
    min-width: 100%;
    max-width: 100%;
    margin: auto;
    align-items: center;
    justify-content: center;
}
.fourth-sec {
        margin-top: 30px;
        padding: 50px 10px;
    }
    .fourth-sec-size .fourth-sec-text h2 {
    color: white;
    font-size: 30px;
    font-weight: 500;
}
   .slide-text {
    color: white;
    text-align: left;
    margin-left: 0%;
    padding: 70px;
   }
   .slide-text h1 {
    font-size: 35px;
}
.footer-bar-sizing {

    text-align: center;
}
}


@media (max-width: 1025px) {
.navbar{
    flex-direction: column;
}
.toggle-btn{
    display: flex;
    cursor: pointer;
}
.navlist {
    background-color: white;
    flex-direction: column;
    position: absolute;
    top:  -100%;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: 0.4s;
}

.navlist.active {
    top: 0%;
}
.vl{
    display: none;
}
.first-sec-size{
    min-width: 100%;
    max-width: 100%;
    padding: 2px 0px;
}
}
@media (max-width: 765px) {
    .head-label h1 {
    color: white;
     font-size: 20px;
}
.head-label p {
    color: white;
    font-size: 16px;
    margin-top: 20px;
    line-height: 25px;
}
}

 @media (max-width: 375px) {
    .toplist{
        flex-direction: column;
    }
    .navbar{
        flex-direction: column;
    }
    .toggle-btn{
        display: flex;
        cursor: pointer;
    }
    .navlist {
        background-color: white;
        flex-direction: column;
        position: fixed !important;
        top:  -100%;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: 0.4s;
    }
    
    .navlist.active {
        top: 0%;
    }
    .vl{
        display: none;
    }
    .first-sec-size{
        min-width: 100%;
        max-width: 100%;
        padding: 0px 0px;
    }

    }