/* Base styles (your existing CSS) */
.navbar {
    background-color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);  
    overflow-x: hidden;
}


.navbar .nav-link {
    color: black !important;
    font-size: 16px;
    padding: 15px 20px;
}

.navbar .nav-link:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}

.navbar .navbar-toggler-icon {
    background-color: white;
}

.navbar-nav .nav-item {
    margin-right: 20px;
}

.navbar-brand img {
    width: 50px;
    height: auto;
}

.navbar-nav .nav-item i {
    margin-right: 8px;
}

.navbar-nav .nav-item .nav-link {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item a {
    text-decoration: none;
}

.service-image {
    background-image: url('img/service-img.png');
    background-size: cover;
    background-position: center;
    height: 700px;
    width: 100%; 
}

.service-image-description {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.amc {
    background-image: url('img/amc-img.png');
    background-size: cover;
    background-position: center;
    justify-content: center;
    display: flex; 
    align-items: center; 
    margin: 0 auto;
}

.amc-discount {
    padding: 10px;
    text-align: center;
    border: 1px solid green;
    border-radius: 10px;
    background-color: rgb(205, 250, 214);
}

.maintenance-section {
    width: 700px;
    margin: 0 auto;
}

.icon {
    width: 20px; 
    height: 20px;
    border-radius: 50%; 
    background-color: green;
    display: flex; 
    align-items: center;
    justify-content: center;
}

.icon i {
    font-size: 10px;
    color: white;
}

.maintenance {
    padding: 20px;
    border: 1px solid black;
    border-radius: 10px;
}
.nav-list li{
    list-style: none;
  }
  
  footer {
    background-color: #f8f9fa;
    color: #333;
    font-family: Arial, sans-serif;
    color: #555;
  }
  
  .footer-list li {
    display: none;
    margin-right: 20px;
  }
  .footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  .footer-section ul li a {
    text-decoration: none;
    color: black;
    transition: color 0.3s;
    font-weight: 500;
  } 
  
  .mobile-footer{
    max-width: 400px;
    margin: 0 auto;
  }
  

@media (min-width: 992px) {
    .mobile-footer{
      display: none ;
    }
  }
 
@media (max-width: 992px) {
    .navbar .nav-link {
        font-size: 14px;
        padding: 10px 15px;
    }

    .service-image {
        height: 500px;
        width: 100%; 
    }

    .service-image-description {
      position: relative;
      font-size: 20px;
      font-weight: bold;
     top: 60%;
    }
    .service-image-description img{
        width: 100%;
    }

    .maintenance-section {
        width: 100%;
        margin: 20px auto;
        padding: 0;
    }

    .maintenance {
        padding: 15px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .navbar .nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }

    .service-image {
        height: 400px;
        width: 100%; 
    }

    .service-image-description {
        font-size: 24px;
    }

    .amc-discount {
        font-size: 14px;
        padding: 8px;
    }

    .maintenance-section {
        width: 100%;
        margin: 20px auto;
    }

    .maintenance {
        padding: 15px;
    }

    .icon {
        width: 18px;
        height: 18px;
    }

    .maintenance h1 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {

    .navbar{
        overflow-x: hidden;
      }
      .footer-container{
        display: none;  
      }
    
      .mobile-footer{
        position: relative;
        top: 90px;
        display: block;
      }
    .navbar .navbar-brand img {
        width: 40px;
    }

    .service-image {
        height: 300px;
        width: 100%; /* Ensure full width */
    }

    .service-image-description {
        font-size: 20px;
    }

    .amc-discount {
        font-size: 12px;
        padding: 6px;
    }

    .maintenance-section {
        width: 100%;
        margin: 15px auto;
    }

    .maintenance {
        padding: 10px;
    }

    .maintenance h1 {
        font-size: 18px;
    }

    .icon {
        width: 16px;
        height: 16px;
    }
}
