/* CSS Reset */
/*body, header,nav, main, footer, h1 {*/
/*    margin: 0;*/
/*    border: 0;*/
/*    padding:0;*/
/*}*/




body {
    background-color: white;
    margin: 0 !important;
    padding: 0 !important ;
}

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

/* Style rules for body and image */
/* Style rules for mobile viewport*/

/* Style rules to show mobile class and hide tab-desk class*/
.mobile {
    display: none;
}

.tab-desk {
    display: block;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}


h1 {
    color: Black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: x-large;
    margin: 0px;
    text-align: center;
}

.home-heading {
    padding-top: 30px;
}

.instruction {
    margin-top: 5px;
}



nav{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding-top:16px;
    padding-bottom:16px;
    border-bottom:1px solid #EFEFEF;
    position: relative;
    padding-left:64px;
}
nav a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 40px;
    text-decoration: none;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

nav ul {
    display: flex;
    justify-content: center;
    text-align: center;
    list-style: none;
    position: absolute;
    left:50%;
    transform:translateX(-50%);
}

nav a:hover{
    background-color: #EFEFEF;
}

/*.calculator{*/
/*    padding-left:64px;*/
/*    padding-right:64px;*/
/*}*/
p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: Large;
    font-weight: 500;
    margin-top: 48px;
    text-align:center;
}

p3{
    font-family: Arial, Helvetica, sans-serif;
    font-size: Large;
    font-weight: 500;
    margin-top: 16px;
    line-height: 24px;
    padding-left:64px;
    padding-right:64px;
    text-align:left;

}

#evForm {
  width: 300px;            
  margin: 0 auto;           
  text-align: left;  
  border: 2px solid;
  border-color:#EFEFEF;
  border-radius: 16px;
  padding:32px 32px 52px 32px; 
  justify-content:center;
  background-color: #8FB3BF;
}

#evForm input {
  display: block;
  margin-bottom: 16px;
  margin-top: 8px;
  padding:16px;
  background-color: white;
  border: 1px solid;
  border-color: #EFEFEF;
  border-radius:8px;
  width: 90%;
}


p2{
    font-family: Arial, Helvetica, sans-serif;
    font-size: Medium;
    font-weight: 500;
    margin-bottom:16px;
    color:white;
}

#evForm button{
    background-color:#E7F9FF;
    padding: 16px 24px;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: Medium;
    border: 1px solid;
    border-color: #EFEFEF;
    width:100%;
}

.result-box {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    background: #f2f2f2;
    border: 1px solid #ccc;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    background-color: white;
    border-top:1px solid #EFEFEF;
}

footer * {
    margin: 0 !important;
    padding: 0 !important;
}


.page-section {
    margin:0 auto;
    width: 600px;
}

.page-section p {
    padding-top: 5px;
}

#Background-image {
    
    padding-bottom: 40px;
    background-image:url("../images/Ev.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height:100vh;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/*Table Style*/

table {
    width: 80%;
    margin: 40px auto;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
}

table th, table td {
    border: 2px solid #000;
    padding: 12px 16px;
    text-align: center;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.gallery-container h1 {
    margin-bottom: 16px;
}

.gallery-container p {
    margin-bottom: 32px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    max-width: 400px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.caption {
    margin-top: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.battery-meter {
    width: 100%;
    height: auto;
    margin: 15px auto;
}

.contact-form {
    max-width: 500px;
    margin: 60px auto;
    padding:30px 20px;
    background: #f8f9fc;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid black;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-form input, .contact-form textarea {
    width: 90%;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.contact-form button {
    width: 98%;
    padding: 12px 0;
    background: #2b5cfe;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
}

.contact-form button:hover
{
    background: #1f45c2;
}