*{
    padding: 0px;
    margin: 0px;
}

/* Center the navbar items */
.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}
.navbar{
    --bs-navbar-padding-x: 1;
}
.bgtop{
    background-color: rgb(188,32,47);
    padding-left: 4%;
    padding-right: 4%;
}
.home-section{
    background-color: #F0F0F0;
}
.nav-text{
    font-size: 20px;
    color: rgb(188,32,47);
}

.bottam-line {
    border-bottom: none;
}

.bottam-line.scroll {
    border-bottom: 2px solid rgb(188,32,47); 
}

.logo{
    width: 90px;
}

.mainpra{
    font-size: 20px;
}

.first-img{
    width: 100%;
    border-radius: 100%;
    border: 2px solid #ccc; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.home-section{
    background-color: #F0F0F0;
}

li{
   
    font-size: 20px;
    padding-left: 2%;
}
.nav-text:hover{
    border-bottom: 2px solid rgb(188,32,47); 
}

.txt{
    font-size: 18px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}
.hidden {
    display: none;
}
#mobile-icon {
    display: none; /* Hide by default */
}
.center-container {
    text-align: center; 
}
.inline-p {
    display: inline;
    margin-right: 10px;
}

.aa{
    padding-left: 8%;
    padding-right: 8%;
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    margin: 10px 0;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

.active,
.accordion:hover {
    background-color: white;
    border: 1px solid black;
}

.accordion:after {
    content: '\002B';
    color: rgb(188,32,47);
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}


.service-box{
    box-shadow: 1px 1px 8px gray;
    background-color: white;

}
.line{
    border: 1px solid rgb(188,32,47);
    width: 20%;    
}

.nav-number {
    display: none;
    color: rgb(188, 32, 47);
    font-size: 14px;
    margin-left: auto;
    align-items: center;
    margin-right: 5%;
    margin-left: 1%;
    display: flex; /* Ensure the div uses flexbox for alignment */
}

.nav-number i {
    margin-right: 8px; /* Adjust space between icon and text */
}


.cardtext{
    font-size: 18px;
    
}
.underline {
    border-bottom: 5px solid rgb(188,32,47);
    border-radius: 16px;
    width: 4rem;
    margin: 0 auto; /* Center horizontally */
}


@media screen and (max-width: 480px) {
    .bgtop {
        padding-left: 0%;
        padding-right: 0%;
    }

    .logo {
        width: 70px;
    }
    .nav-res{
        font-size: 12px;
    }
    
    .topnav {
        padding-top: 90px !important;
    }
   
    .inline-p {
        display: inline;
        margin-right: 0px;
    }

    .bottam-line.scroll .nav-number {
        display: flex; /* Show when scrolled on small screens */
    }
    #mobile-icon {
        display: none; /* Hide by default */
    }
    
    
    #mobile-icon.scroll{
        display: block; 
    }

}




@media (max-width: 768px){
   
  
  .inline-p {
      display: inline;
      margin-right: 0px;
  }
  
  .nav-res{
      font-size: 12px;
  }
  
  }