/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E4EFE7;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures full viewport height */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9abf74;
    padding: 10px 20px;
}
/*  styling for logo */
header .logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 70px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

nav ul li {
    text-align: center;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin: 0 15px;
}

/* Profile Icon */
    .profile {
        display: flex;
        justify-content: center;
        align-items: center;
}

.profile img {
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
}

/* Login Button */
.login-btn {
    padding: 8px 15px;
    background-color: #E4EFE7;
    border: 1px solid black;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    position: relative; 
    z-index: 10; 
}
.login-btn:hover {
    background-color: #9abf74;
}
/* Flexbox container for both profile and login button */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 20px; /* Adds some space between profile and login button */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 50vh; /* Reduced video size */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-text {
    position: absolute;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    text-align: center;
}

/* Green Energy Section */
.green-energy {
    padding: 40px;
    text-align: center;
}

.green-energy h2 {
    font-size: 28px;
    color: #2e5f2e;
}
/*  styling for green energy products */
.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.product {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
}
/*  styling for green energy products images */
.product img {
    width: 50%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Carbon Footprint Section */
.carbon-footprint {
    background: white;
    padding: 40px;
    text-align: center;
}

.carbon-footprint h2 {
    color: #2e5f2e;
    font-size: 26px;
}

.carbon-footprint ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.carbon-footprint li {
    font-size: 18px;
    margin: 10px 0;
}

/* Form Container */
.auth-form-container {
    width: 450px;
    margin: 50px auto;
    background: #E4EFE7;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
}

.tab-btn.active {
    border-bottom: 2px solid #9abf74;
}

/* Form Styling */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.form-group {
    text-align: center;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background-color: #9abf74;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #86a863;
}


/* Footer */
footer {
    background-color: #9abf74;
    padding: 20px;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Ensures footer is pushed down */
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
/*  styling for footer links */
.quick-links, .contact-info, .social-media {
    width: 30%;
}

.quick-links ul, .social-media ul {
    list-style: none;
    padding: 0;
}

.quick-links li, .social-media li {
    margin-bottom: 10px;
}

.quick-links a, .social-media a {
    color: black;
    text-decoration: none;
    font-size: 16px;
}

.social-media img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.social-media a:hover {
    opacity: 0.7;
}
/*  styling for copyright information */
.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
}
/*  styling for footer links on smaller screens */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .quick-links, .contact-info, .social-media {
        width: 100%;
        margin-bottom: 20px;
    }
    .products {
        flex-direction: column;
    }
}

/* profile page Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E4EFE7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header (No changes) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9abf74;
    padding: 10px 20px;
}

/* Main Content Wrapper */
.main-content-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Keep items aligned to the top */
    padding: 20px;
    box-sizing: border-box;
}

/* Profile Section Styling */
.profile-section {
    width: 100%;
    max-width: 900px;  
    background-color: #9abf74;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;  
    justify-content: center;  
}

/* Footer  */
footer {
    background-color: #9abf74;
    padding: 20px;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

/* Profile Info Container */
.profile-info-container {
    margin-top: 20px;
}

.info-item {
    margin-bottom: 10px;
}

.info-item label {
    font-weight: bold;
}

/* Quick Links and Footer Styling */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-content h2 {
    margin-bottom: 10px;
}

.footer-content ul {
    list-style-type: none;
    padding: 0;
}

.footer-content ul li {
    margin: 5px 0;
}


/* contact page styling */
/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #9abf74;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header (No changes) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9abf74;
    padding: 10px 20px;
}

/* Contact Section */
.contact-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #E4EFE7;
}

/* Contact Content */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

/* Contact Form */
.contact-form {
    width: 100%;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    font-weight: bold;
}

.contact-form .submit-btn {
    padding: 10px 20px;
    background-color: #9abf74;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.contact-form .submit-btn:hover {
    background-color: #7e9f4d;
}

.contact-form .button-group {
    display: flex;
    justify-content: center;
}

/* Live Chat Section */
.live-chat {
    margin-top: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.live-chat-btn {
    padding: 10px 20px;
    background-color: #9abf74;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.live-chat-btn:hover {
    background-color: #7e9f4d;
}

/* Footer (No changes) */
footer {
    background-color: #9abf74;
    padding: 20px;
    text-align: center;
    width: 100%;
    margin-top: auto;
}
/* Style the message box */
textarea {
    width: 100%;
    height: 150px; /* Increase height */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

/* Style the character counter */
#char-counter {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* Style the subject dropdown */
select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-top: 5px;
}

/* Responsive adjustment for form elements */
@media screen and (max-width: 768px) {
    textarea {
        height: 120px; /* Adjust for smaller screens */
    }
    select {
        font-size: 14px; /* Adjust font size */
    }
}

/* services page styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E4EFE7;
    color: #333;
}

/* Services Banner */
.services-banner {
    text-align: center;
    padding: 30px 20px;
    background: #E4EFE7;
    color: #2e5f2e;
}

.services-banner h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Service Sections */
.service-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: white;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 1000px;
}

.service-image img {
    width: 250px;
    border-radius: 10px;
}

.service-details {
    flex: 1;
}

.service-details h2 {
    color: #9abf74;
}

.service-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #2e5f2e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.service-cta:hover {
    background: #9abf74;
}
/* login Page Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E4EFE7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header (No changes) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9abf74;
    padding: 10px 20px;
}

/* Container for Login/Signup Forms */
.auth-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Tabs for Login & Signup */
.auth-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.auth-tabs button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

.auth-tabs button.active {
    color: #9abf74;
    border-bottom: 2px solid #9abf74;
}

/* Form Styling */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.auth-form button {
    width: 100%;
    padding: 10px;
    background: #9abf74;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease-in-out;
}

.auth-form button:hover {
    background: #86a863;
}

/* Password Warning Message */
#password-warning {
    color: red;
    display: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 500px) {
    .auth-container {
        padding: 1.5rem;
        max-width: 90%;
    }
}
html {
    scroll-behavior: smooth;
}

/* styling for solar.html page */
/* Ensure styles apply only to solar.html */
.solar-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e9f7ef;
    color: #333;
}

/* Service Banner */
.solar-page .service-banner {
    background: url('images/solar-banner.jpg') center/cover no-repeat;
    text-align: center;
    padding: 60px 20px;
    color: black;
}

.solar-page .service-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.solar-page .service-banner p {
    font-size: 1.2rem;
}

/* Service Details Section */
.solar-page .service-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 50px 10%;
    background-color: #fff;
}

.solar-page .service-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.solar-page .service-info {
    max-width: 500px;
}

.solar-page .service-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #007b3d;
}

.solar-page .service-info ul {
    list-style: none;
    padding: 0;
}

.solar-page .service-info ul li {
    font-size: 1.1rem;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.solar-page .service-info ul li::before {
    content: "✔";
    color: #007b3d;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

/* Booking Section */
.solar-page .booking {
    text-align: center;
    padding: 50px 10%;
    background-color: #e9f7ef;
}

.solar-page .booking h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #007b3d;
}

/* Booking Form */
.solar-page .booking form {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.solar-page .booking label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.solar-page .booking input,
.solar-page .booking select,
.solar-page .booking textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.solar-page .booking textarea {
    resize: vertical;
}

.solar-page .booking button {
    width: 100%;
    background-color: #9abf74;
    color: black;
    font-size: 1.2rem;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.solar-page .booking button:hover {
    background-color: #86a863;
}

/* styling for smart-home.html page */
/* Smart Home Dashboard Styling */
.dashboard-banner {
    color: black;
    text-align: center;
    padding: 20px 10px;
}

.dashboard-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.dashboard-banner p {
    font-size: 1.2rem;
}

/* Energy Monitoring Section */
.energy-monitoring {
    padding: 30px;
    text-align: center;
}

.monitoring-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.energy-info, .manual-input {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    min-width: 300px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.energy-info h3, .manual-input h3 {
    font-size: 1.2rem;
}

#manual-meter {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background: #9abf74;
    color: black;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #7e9f4d;
}
h2 {
    font-size: 2rem;
    color: black;
    margin-bottom: 20px;
    text-align: center;
}

/* Energy Graph */
.energy-graph {
    padding: 30px;
    text-align: center;
}

.energy-graph canvas {
    max-width: 600px; 
    max-height: 300px; 
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
}


/* IoT Device Control */
.iot-control {
    padding: 30px;
    text-align: center;
}

.device-list ul {
    list-style: none;
    padding: 0;
}

.device-list li {
    background: #f4f4f4;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.device-list li:hover {
    background: #ddd;
}

/* Energy Optimisation */
.energy-automation {
    padding: 30px;
    text-align: center;
}

#optimisation-tips {
    list-style: none;
    padding: 0;
}

#optimisation-tips li {
    background: #f4f4f4;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
}
.chart-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.energy-graph, .appliance-graph {
    width: 500px;
    max-width: 100%;
    text-align: center;
}

canvas {
    width: 100% !important; /* Ensure it scales properly */
    height: 300px !important;
    border: 1px solid #ddd;
    border-radius: 8px;
}
 h1{
    font-size: 2rem;
    color: black;
    margin-bottom: 20px;
    text-align: center;

 }
@media screen and (max-width: 480px) {
    /* For screens smaller than 480px (small phones) */
    
    .iot-control {
        padding: 20px; /* Reduced padding for small screens */
    }

    .device-list li {
        font-size: 0.9rem; /* Slightly smaller text on small screens */
    }

    .energy-info, .manual-input {
        width: 100%; /* Full width on very small screens */
    }

    /* Adjust the dashboard banner title and text for smaller screens */
    .dashboard-banner h1 {
        font-size: 2rem; /* Smaller title font on small screens */
    }

    .dashboard-banner p {
        font-size: 1rem; /* Smaller text on small screens */
    }
}

/* styling for ev-charging.html page */
body {
    font-family: Arial, sans-serif;
    background-color: #E4EFE7;
    margin: 0;
    padding: 0;
}

/* Basic page layout */
section.charging-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section Titles */
h2, h3 {
    text-align: center;
    color: black;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Individual Charging Sections */
.home-charging, .solar-charging, .public-charging, .smart-charging {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button {
    background: #9abf74;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background: #86a863;
    transform: scale(1.05);
}

/* Button Focus State */
button:focus {
    outline: 3px solid #005f2a;  /* Focus outline for accessibility */
    outline-offset: 2px;
}

button:active {
    background: #004d22; /* Slightly darker on click */
}
/* Styling for images in charging sections */
.solar-charging img, .public-charging img {
    width: 100%;        /* Make the images take up the full width of their container */
    height: auto;       /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: Adds rounded corners to the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow to the image */
    object-fit: cover;  /* Optional: ensures the image covers the container without distortion */
    margin-top: 15px;   /* Optional: Adds some spacing between the text and image */
}

@media (min-width: 768px) {
    .solar-charging img, .public-charging img {
        max-width: 600px;  /* Optional: limit the max width for larger screens */
        margin: 20px auto; /* Centers the image */
        display: block;    /* Ensures the image behaves as a block element */
    }
}

/* Map Section */
#map {
    width: 100%; /* Full width */
    height: 400px; /* Fixed height */
}

/* Contact Form Section */
.contact-us {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #9abf74;
    color: black;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #86a863;
    transform: scale(1.05);
}

button[type="submit"]:focus {
    outline: 3px solid #005f2a;  /* Focus outline for accessibility */
    outline-offset: 2px;
}

/* Mobile Responsiveness */

/* Small screens (phones) */
@media (max-width: 767px) {
    /* Adjusting the page layout for smaller screens */
    section.charging-info {
        padding: 15px;
    }

    h2 {
        font-size: 2rem;  /* Slightly smaller heading */
    }

    h3 {
        font-size: 1.5rem;  /* Smaller subheading */
    }

    .home-charging, .solar-charging, .public-charging, .smart-charging {
        padding: 15px;  /* Reduced padding for smaller screens */
    }

    /* Map Section */
    #map {
        height: 300px; /* Reduced map height for mobile */
    }

    /* Contact Form Inputs */
    input, textarea {
        padding: 8px; /* Smaller padding for inputs */
    }

    button[type="submit"] {
        font-size: 1rem;  /* Smaller button text on mobile */
    }
}

/* Extra small screens (portrait phones) */
@media (max-width: 480px) {
    /* Adjust text size and layout for even smaller screens */
    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Reduced button size and spacing */
    button, button[type="submit"] {
        padding: 8px 15px;
        font-size: 1rem;
    }
}

/* styling for carbon footprint calculator page */

.carbon-container {
    max-width: 90%;
    width: 600px;
    margin: 4rem auto 2rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carbon-container h1 {
    text-align: center;
    color: #1d3557;
    font-size: clamp(1.5rem, 2.5vw, 2rem); /* scales better */
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #9abf74;
    color: white;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%; /* full width button looks cleaner */
}

button[type="submit"]:hover {
    background-color: #7e9f4d;
}

.results {
    display: block;
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 5px solid #9abf74;
    background-color: #f4fef9;
    border-radius: 10px;
}

.results h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.results p {
    font-size: 1.1rem;
}
/* Chart container */
.chart-wrapper {
    margin-top: 2rem;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 12px;
    height: 350px; /* gives your chart proper breathing room */
    display: flex;
    justify-content: center;
    align-items: center;
}

#carbonChart {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive tweaks */
@media screen and (max-width: 480px) {
    .carbon-container {
        padding: 1.5rem 1rem;
    }

    button[type="submit"] {
        font-size: 0.95rem;
    }

    .input-group input {
        font-size: 0.95rem;
    }
}
