
body {
    font-family: 'Raleway', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    color: #333;
}
span.logo {
    font-family: 'Red Hat Display', sans-serif;font-weight: 500;
}
header {
    background-color: #f0f0f0;
    display: flex;
    max-width: 1440px;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 25px 50px;
}

header h1 {
    margin: 0;
    color: #333;
    font-weight: 500;
    font-size: 24px;
    font-family: 'Red Hat Display', sans-serif;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-links a {
    color: #4b4b4b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.header-links a:hover {
    color: #000000;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #f0f0f0;
}

nav a {
    color: #4b4b4b;
    padding: 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

nav a:hover {
    color: #000000;
}

.hero, .hero2 {
    max-width: 1240px;
    margin: 10vh auto;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: rgb(42,0,195);
    background: -moz-radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    background: radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2a00c3",endColorstr="#3c0cff",GradientType=1);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 3em;
    margin: 0;
    font-weight: 700;
    max-width: 740px;
    position: relative;
    z-index: 1;
}

.about {
    background-color: #f9f9f9;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1240px;
    border-radius: 5px;
    margin: 10vh auto;
}

.about-text {
    max-width: 600px;
    padding: 5rem;
}

.about-text h2 {
    font-weight: 700;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 0;
    position: relative;
    padding: 3rem;
}

.stat {
    text-align: center;
    width: 50%;
    float: left;
    display: inline-block;
}

.stat-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.stat-value {
    font-weight: 700;
    font-size: 1.5em;
    color: #333;
}

.stat-label {
    color: #666;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #fff;
}

.service {
    background-color: #191919;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.service:hover {
    transform: scale(1.05);
}

.service h3 {
    color: #ffffff;
    font-weight: 700;
}

.service p {
    color: #ffffff;
    font-weight: 400;
}

.button {
    background-color: #d4d4d4;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

.button:hover {
    background-color: #0056b3;
    color: #fff;
}

.energy-efficiency {
    background-color: #f0f0f0;
    padding: 50px 20px;
    text-align: center;
}

.energy-efficiency h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.energy-efficiency p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #666;
}

.testimonials {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
}

.testimonial {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.testimonial p {
    font-style: italic;
    color: #333;
}

.testimonial .author {
    font-weight: 700;
    margin-top: 15px;
    color: #007BFF;
}

footer {
    background-color: #ffffff;
    color: #333;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.footer-section {
    max-width: 250px;
    margin: 20px;
}

.footer-section h4 {
    font-weight: 700;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #0056b3;
}

footer p {
    text-align: center;
    margin: 20px 0 0;
}

@media (max-width: 768px) {
    header {
        padding: 0;
        width: 100%;
    }
    a.about_btn, a#sup_btn,nav {
        display: none;
    }
    #admin .admin-container {
        padding: 40px 20px;
    }
    header h1 {
        font-size: 18px;
    }
    .header-links {
        gap: 5px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        max-width: unset;
        width: 100%;
        margin: 0;
    }
    .about-text {
        font-size: 8px;
    }
}
body {
    perspective: 1500px; /* Give an overall perspective to the container */
}
button {
    cursor: pointer;
}
table, thead, th, tr, tbody, td {
    border: none;
    text-align: left;
}
th, tr, td {
    border-top: solid 1px #d7d7d7;
}
.hero2 {
    width: 80%;
    height: 300px;
    margin: 50px auto;
    background: linear-gradient(135deg, #59ff98, #76ff6a);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    cursor: pointer; /* To make it interactive */
}

.hero2 h2 {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateZ(30px); /* Give the text some depth to make the effect pop */
}

/* Login Page */

body#login{
    font-family: 'Raleway', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

#login .login-container {
    background: rgb(42,0,195);
    background: -moz-radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    background: radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2a00c3",endColorstr="#3c0cff",GradientType=1);
    padding: 40px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

#login .login-container h2 {
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}
#login .message{
    color: lightslategray;
}
#login .login-container input[type="text"],
#login .login-container input[type="password"] {
    width: calc(100% - 30px);
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}
#login form {
    display: flex;
    flex-direction: column;
    position: relative;

}
#login .login-container button {
    background-color: #007BFF;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

#login .login-container button:hover {
    background-color: #0056b3;
}

#login .login-container a {
    display: block;
    margin-top: 20px;
    color: #ffffff;
    text-decoration: none;
}

#login .login-container a:hover {
    text-decoration: underline;
}
#login body {
    font-family: 'Raleway', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    color: #333;
}
#login span.logo {
    font-family: 'Red Hat Display', sans-serif;font-weight: 500;
}
#login a{
    text-decoration: none;
}
#login header {
    top: 0;
    width: 100%;
    position: absolute;
    max-width: 1440px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px

}

#login header h1 {
    margin: 0;
    color: #333;
    font-weight: 500;
    font-size: 24px;
    font-family: 'Red Hat Display', sans-serif;
}

#login .header-links {
    display: flex;
    gap: 20px;
}

#login .header-links a {
    color: #4b4b4b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

#login .header-links a:hover {
    color: #000000;
}

#login nav {
    display: flex;
    justify-content: center;
    background-color: #f0f0f0;
}

#login nav a {
    color: #4b4b4b;
    padding: 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

#login nav a:hover {
    color: #000000;
}
#login section.hero {
    max-width: 1240px;
    margin: 10vh auto;
    border-radius: 10px;
}
/* Admin Cabinet */
button.chng_btn {
    width: fit-content;
    position: absolute;
    top: 0;
    right: -11px;
}
#admin nav.header {
    background-color: unset;
    position: relative;
    margin: 2.5vh;
    justify-content: space-between;
}
#admin h1.head_text {
    color: white;
}
#admin menu a {
    color: white;
    cursor: pointer;
}
#admin button {
    background: #171717;
    border: none;
    padding: 10px 12px;
    color: white;
    border-radius: 23px;
    width: fit-content;
    margin: 0 0 0 auto;
}
#admin .admin-actions, .admin-actions form {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
    align-content: stretch;
    max-width: 600px;
}
#admin .admin-actions ul {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    list-style: none;
    margin: auto;
    padding-left: 0;
}
#admin .admin-actions {
     margin: auto;
 }
/* Reusing CSS from login.html */
body#admin {
    font-family: 'Raleway', sans-serif;
    background-color: #f0f0f0;

    color: #333;
    margin: 0;
    padding: 0;
    background: rgb(42,0,195);
    background: -moz-radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    background: radial-gradient(circle, rgba(42,0,195,1) 0%, rgba(12,66,255,1) 92%, rgba(60,12,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2a00c3", endColorstr="#3c0cff", GradientType=1);
}
input {
    outline-offset: -1px;
}
#admin .admin-container {
    padding: 40px 40px;
    /*max-width: 1240px;*/
    margin: 1vh auto 0;
    min-height: 60vh;
    background-color: rgb(240 240 240);
    border-radius: 10px 10px 0 0;
}

#admin .admin-container h2 {
    font-weight: 600;
}

#admin .admin-container .section {
    margin-bottom: 20px;
}
#admin a.btn {
    color: white;
    background: #2a2a2a;
    padding: 5px 15px;
    border-radius: 7px;
    font-size: 12px;
    text-decoration: none;
}
#admin a.btn:hover {
    background: black;
}
input[type="text"], input[type="password"], select {
    padding: 10px 0px 10px 15px;
    border-radius: 10px;
    border: none;
    width: 100%;
}
button.add_infr {
    width: 100% !important;
}