* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




.nav-main {
    position: fixed;
    display:flex;
    justify-content: space-around;
    align-items:center;
    width: 100%;
    height: 10vh;
    background: rgb(44, 43, 43);
    transition: transform 0.3s ease;
    opacity:95%;
    z-index:10;
}
.head-text{
    color:white;
    text-align:center;
    font-size:3rem;
    }


#menu{
    display:none;
}
.nav-main ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    color: white;
    gap: 30px;
    height: 100%;
}

.background-container {
    width: 100%;
  
}

.over-div {
   width:100%;
    padding: 50px 0px 50px 0px;
    display:flex;
    justify-content:center;
    
}

.main {
    width: 100%;
  
}

.form-div {
    width:100%;
    padding: 20px;
    background: white;
    border-radius: 10px;
    display:grid;
  
    grid-template-columns:repeat(3,1fr);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    gap:20px;
    
}
.outer-form{
    max-width:80%;
    margin-top:15%;
}

.background-image{
    position:relative;
  
}
.overlay{
    position:absolute;
    top:0;
    left:0;

    height:100vh;
}
.logo{
    width:100px;
    height:100px;
}
.car-box{
    background:red;width:100px;height:40px;
    border-top-right-radius:10px;border-top-left-radius:10px;
}


@media (max-width: 1200px) {
    
    
    .nav-main{
        position: fixed;
        width: 100%;
        height: 10vh;
        background: rgb(44, 43, 43);
        transition: transform 0.3s ease;
        opacity:90%;
        z-index:10;
    }
    .outer-form{
        max-width:80%;
        margin-top:20%;
    }
    
.nav-main.show {
    transform:none;
}
.head-text{
    color:rgb(2, 2, 2);
    text-align:center;
    font-size:2.5rem;
    }

.nav-main ul {
    display: flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
    list-style: none;
    color: white;
    gap: 30px;
    height: 100%;
}
.toggle-button{
    display:none;
}
.form-div {
    width: 100%;
    padding: 20px;
    background: white;
    border-radius: 5px;
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    
}
}

.toggle-button {
    width: 60px;
    height: 60px;
    border-radius:50%;
    background: rgb(44, 43, 43);
    position: fixed;
    top:45%;
    left: 86%;
    cursor: pointer;
    display:flex;
    justify-content: end;
    align-items:center;
    opacity:90%;
    transition: left 0.3s ease;
}
  


/* Reset default styles for select */
select {
    /* appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none; */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
  }
  
  /* Style the dropdown arrow */
  select::-ms-expand {
    display: none;
  }
  
  /* Style the options */
  select option {
    padding: 10px;
  }
  
  /* Hover and focus styles */
  select:hover,
  select:focus {
    border-color: #007bff;
  }
  
  @media(max-width:800px){
    .toggle-button {
        width: 60px;
        height: 60px;
        border-radius:50%;
        background: rgb(44, 43, 43);
        position: fixed;
        top:45%;
        left: 96%;
        cursor: pointer;
        display:flex;
        justify-content: end;
        align-items:center;
        opacity:90%;
        transition: left 0.3s ease;
    }
    .toggle-button{
        display:none;
    }

    #menu{
        display:block;
    }
    .logo{
      width:100px;
      height:100px;
    }
    .head-text{
        color:rgb(2, 2, 2);
        text-align:center;
        font-size:2rem;
        }
  }

  /* ....... */

  .parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  .part-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .part-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .inner-section2{
    max-width:80%;
    margin:auto;
    margin-top: 1rem;
}



/* .............. */
.footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap:20px;
    font-size: 0.8rem;
    justify-content:center; /* Center contents horizontally */
    align-items: center; /* Center contents vertically */
}



@media(max-width:800px){
    .footer-inner {
    
        grid-template-columns:1fr;
    
    }
   .nav-main .nav-links{
        display:none;
    }
 

    .car-box{
        background:red;width:100px;height:40px;
        border-top-right-radius:10px;border-top-left-radius:10px;
    }
    
}

/* .......... */

.nav-links li,a{

    color:white;
    text-decoration:none;
    list-style: none;

}

.select2-container .select2-selection--single{
    height:34px !important;
}
.select2-container--default .select2-selection--single{
         border: 1px solid #ccc !important; 
     border-radius: 0px !important; 
}

/* mobile view  */
#menu {
    cursor: pointer;
  }

  .mobile-nav {
    /* display: none; */
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    background: #050404;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .mobile-nav.open {
    transform: translateX(0%);
  }

  .mobile-nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .mobile-nav ul li {
    padding: 10px;
  }

  .mobile-nav ul li a {
    color: white;
    text-decoration: none;
  }
/* ........... */
@media(min-width:800px){
    .mobile-nav{
        display:none;
    }

}


/* ................. */

.custom-modal {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 1000; /* Higher z-index to ensure it's above other content */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.custom-modal-content {
    background-color: #ffffff;
    max-width: 500px;
    margin: 10% auto; /* Center modal vertically */
    padding: 30px;
    border-radius: 7px;
    border:2px solid rgb(230, 183, 30);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-close {
    color: #aaaaaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
}

.custom-close:hover,
.custom-close:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

.custom-modal-content p {
    margin-bottom: 15px;
}

.custom-modal-content button {
    background-color: #d43429;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
}

.custom-modal-content button:hover {
    background-color: #b34800;
}

/* ............. list of companies */
.companies{
    width:80%;
}

.select option{
    font-size:0.8rem !important;
}

    .ticker-container {
            overflow: hidden;
            white-space: nowrap;
            position: relative;
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            padding: 10px;
            margin-top: 5px;
            margin-bottom: 20px;
        }
        .ticker-item {
            display: inline-block;
            padding-right: 50px;
        }
		
		 @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-30px);
        }
        60% {
            transform: translateY(-15px);
        }
    }

    .animated-image {
        animation: bounce 2s infinite;
    }

   @keyframes shake {
         0%, 5%, 100% { /* Start, end, and during the pause */
            transform: translateX(0);
        }
        10%, 30%, 50%, 70%, 90% {
            transform: translateX(-10px);
        }
        20%, 40%, 60%, 80% {
            transform: translateX(10px);
        }
    }

    .shake-animation {
        animation: shake 0.5s;
    }