body {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #00e2d9;
    --dark-bg: #121212e0;
    /*--secondary-bg: #1f1f1f;*/
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    /*background-color: #0c0a1a;*/
    background-color: var(--secondary-bg);
}

.navbar {
    background-color: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 20px 49px rgba(0, 226, 217, 0.8);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand .logo {
    height: 100px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler {
    width: 45px;
    height: 35px;
	padding: 0;
    text-align: center;
}

.navbar-toggler i {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.nav-link {
    color: #ffffff !important;
    margin: 0 1rem;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link i {
    margin-right: inherit;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #121212;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
	margin: 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
:not(.btn-check)+.btn-primary:active {
    background-color: #ffffff;
    color: #121212;
    border-color: #ffffff;
    transform: translateY(-2px);
	box-shadow: none;
}

.carousel.slide {
    /*width: 100vw;*/
}

.hero-section {
    padding-top: 200px; /* Adjust for fixed navbar */
	margin-bottom: 40px;
    /*height: 100vh;*/
    height: max-content;
    display: flex;
    align-items: center;
    /*background-color: var(--dark-bg);*/
	flex-wrap: wrap;
	justify-content: center;
}

.carousel-item {
    /*height: calc(100vh - 120px);*/
    height: auto;
}

.carousel-item .container {
    height: max-content;
    display: flex;
    align-items: center;
}

.carousel-item .container,
.carousel-item .col-lg-6 {
    padding-right: 0px;
}

.hero-section .row {
    width: 100%; /* Ensure row takes full width of the container */
}

.hero-section .text-content {
    color: #ffffff;
	margin-bottom: 50px;
}

.hero-section .tagline {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-section img {
    max-height: 80%;
    object-fit: contain;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
}

.carousel-indicators {
	/*margin-top: 2rem;
	padding-bottom: 2rem;*/
}

#services
.blog-pros {
    background-color: var(--secondary-bg);
}

#services .tagline
.blog-pros .tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

#services h2
.blog-pros h2 {
    color: #ffffff;
    font-weight: 700;
}

.service-card {
    background-color: var(--dark-bg);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-card.hover {
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

#start {
    height: 160px;
}

#about,
.blog-img-none,
.blog-full,
#table-of-content,
#pro-tips,
.blog-pros,
#summary,
#conclusion {
    background-color: var(--dark-bg);
}

#about .ps-lg-5,
#solar-benefits .ps-lg-5,
#blog-hero .ps-lg-5,
.blog-img-right .ps-lg-5,
.blog-img-left .ps-lg-5,
.blog-img-none .ps-lg-5,
.blog-full .ps-lg-5,
.blog-comparison .ps-lg-5,
.blog-pros .ps-lg-5 {
    margin-top: 40px;
}

#about .tagline,
#solar-benefits .tagline,
#blog-hero .tagline,
.blog-img-right .tagline,
.blog-img-left .tagline,
.blog-img-none .tagline,
.blog-full .tagline,
.blog-comparison .tagline,
.blog-pros .tagline,
#table-of-content .tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

#about h2,
#solar-benefits h2,
#blog-hero h2,
.blog-img-right h2,
.blog-img-left h2,
.blog-img-none h2,
.blog-full h2,
.blog-comparison h2,
.blog-pros h2,
#table-of-content h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#about p,
#solar-benefits p,
#blog-hero p,
.blog-img-right p,
.blog-img-left p,
.blog-img-none p,
.blog-full p,
.blog-comparison p,
.blog-pros p,
#table-of-content p {
    margin-bottom: 1.5rem;
}

#solar-benefits,
.blog-img-right,
.blog-img-left,
.blog-img-none,
.blog-full,
.blog-comparison,
.blog-pros {
    background-color: var(--secondary-bg);
}

#solar-benefits .tagline,
.blog-img-right .tagline,
.blog-img-left .tagline,
.blog-img-none .tagline,
.blog-full .tagline,
.blog-comparison .tagline,
.blog-pros .tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

#solar-benefits h2,
.blog-img-right h2,
.blog-img-left h2,
.blog-img-none h2,
.blog-full h2,
.blog-comparison h2,
.blog-pros h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#blog-hero ul i,
#solar-benefits ul i,
.blog-img-right ul i,
.blog-img-left ul i,
.blog-img-none ul i,
.blog-full ul i,
.blog-comparison ul i,
.blog-pros ul i {
    color: var(--primary-color) !important;
}

#pricing {
    background-color: var(--dark-bg);
}

#pricing .tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

#pricing h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.pricing-card.hover {
    border-color: var(--primary-color);
}

.pricing-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

#pricingCarousel .carousel-item {
	margin-top: 10px;
}

#pricing .carousel-control-prev,
#pricing .carousel-control-next {
    width: auto;
	background-color: var(--primary-color);
    color: #121212;
	opacity: 1;
}

#pricing .carousel-control-prev-icon,
#pricing .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
}

.progress-bar-container {
    margin-bottom: 1.5rem;
}

.progress-bar-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress {
    height: 8px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

#cta {
    background-color: var(--secondary-bg);
    padding: 4rem 0;
}

#cta h2 {
    color: var(--primary-color);
    font-weight: 700;
}

footer {
    background-color: #000000;
    color: #a0a0a0;
	text-align: center;
}

footer h5 {
    color: var(--primary-color);
    font-weight: 600;
}

footer a,
footer .row {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

#contact.py-5 {
    padding-bottom: 0.5rem !important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-bg);
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #121212;
}

footer hr {
    border-color: #333;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #ffffff;
    color: #121212;
}

.dark-bg {
    background-color: var(--dark-bg);
}

.blog-comparison table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.blog-comparison th,
.blog-comparison td {
    padding: 1rem;
    border: 1px solid #333;
    text-align: left;
}

.blog-comparison th {
    background-color: var(--secondary-bg);
    color: var(--primary-color);
}

.blog-comparison td p {
    margin: 0;
}

#table-of-content .container,
#safety .container,
.safety .container {
    background-color: #1f1f1f;
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 226, 217, 0.1);
}

#table-of-content .text-center.mb-5 {
    margin-bottom: 0 !important;
}

#table-of-content .tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

#table-of-content .toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    text-align: left;
}

#table-of-content h5 {
    margin-bottom: 0;
}

#table-of-content h5 a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

#table-of-content h5 a:hover {
    background-color: var(--primary-color);
    color: #121212;
}

/* Professional Comparison Table */
.blog-comparison table {
    width: 100%;
    border-collapse: separate; /* Use separate for rounded corners */
    border-spacing: 0;
    margin-top: 2rem;
    overflow: hidden; /* Clips the corners */
    border-radius: 10px;
    border: 1px solid #333;
}

.blog-comparison th,
.blog-comparison td {
    padding: 1.25rem 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.blog-comparison thead th {
    background-color: #1f1f1f; /* Using a slightly lighter dark shade */
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.blog-comparison tbody tr:last-child td {
    border-bottom: none; /* Remove border for the last row */
}

.blog-comparison tbody td {
    background-color: var(--dark-bg);
}

.blog-comparison tbody tr:hover td {
    background-color: #1f1f1f;
}

.blog-comparison td p {
    margin: 0;
    font-size: 0.95rem;
}

#faqs .accordion-item {
    background-color: var(--dark-bg);
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden; /* Ensures the child elements adhere to the border radius */
}

#faqs .accordion-button {
    width: 100%;
    background-color: #1f1f1f;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#faqs .accordion-button:hover {
    background-color: #2a2a2a;
}

#faqs .accordion-button.active {
    background-color: var(--primary-color);
    color: #121212;
}

#faqs .accordion-button::after {
    content: '\f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

#faqs .accordion-button.active::after {
    transform: rotate(180deg);
}

#faqs .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1.5rem;
    background-color: var(--dark-bg);
}

#faqs .accordion-content p {
    padding: 1.5rem 0;
    margin: 0;
    color: #e0e0e0;
    border-top: 1px solid #333;
}

/* Sizing Card Styles */
.sizing-card {
    background-color: #1f1f1f;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    text-align: left;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sizing-card-header h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sizing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sizing-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.95rem;
}

.sizing-card li:last-child {
    border-bottom: none;
}

.sizing-card .device-name {
    display: flex;
    align-items: center;
    color: #e0e0e0;
}

.sizing-card .device-name i {
    color: var(--primary-color);
    margin-right: 12px;
    width: 20px; /* To align icons nicely */
    text-align: center;
}

.sizing-card .energy-value {
    font-weight: 600;
    color: #ffffff;
    background-color: #2a2a2a;
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

.sizing-card-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    text-align: center;
}

.sizing-card-footer .total-label {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.sizing-card-footer .total-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.sizing-card-footer .recommendation p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.sizing-card-footer .recommendation p strong {
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section img {
        margin-top: 2rem;
    }
	
	#about .ps-lg-5,
	#solar-benefits .ps-lg-5,
	#blog-hero .ps-lg-5,
	.blog-img-right .ps-lg-5,
	.blog-img-left .ps-lg-5,
	.blog-img-none .ps-lg-5,
	.blog-full .ps-lg-5,
	.blog-comparison .ps-lg-5 {
		margin-top: 0px;
	}
	
	#about .row,
	#solar-benefits .row,
	#blog-hero .row,
	.blog-img-right .row,
	.blog-img-left .row,
	.blog-img-none .row,
	.blog-full .row,
	.blog-comparison .row {
		/*flex-direction: column-reverse;*/
	}
	
	#about .row .col-lg-6,
	#solar-benefits .row .col-lg-6,
	#blog-hero .row .col-lg-6,
	.blog-img-right .row .col-lg-6,
	.blog-img-left .row .col-lg-6,
	.blog-img-none .row .col-lg-6,
	.blog-full .row .col-lg-6,
	.blog-comparison .row .col-lg-6 {
		margin-top: 40px;
	}
	
	.blog-img-left .row {
		flex-direction: column;
	}
}

@media (max-width: 767.98px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    /* Responsive Table Styles */
    .blog-comparison table {
        border: 0;
        border-radius: 0;
    }

    .blog-comparison table thead {
        display: none; /* Hide desktop headers */
    }

    .blog-comparison table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid #333;
        border-radius: 10px;
        overflow: hidden; /* Clip corners for the row block */
    }
    
    .blog-comparison table tr:last-child {
        margin-bottom: 0;
    }

    .blog-comparison table td {
        display: block;
        text-align: right; /* Align content to the right */
        padding-left: 50%; /* Create space for the label */
        position: relative;
        border-bottom: 1px solid #333;
    }

    .blog-comparison table td:last-child {
        border-bottom: 0;
    }

    .blog-comparison table td::before {
        content: attr(data-label); /* Use data-label for the header */
        position: absolute;
        left: 1rem;
        width: calc(50% - 2rem); /* Calculate width for the label */
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--primary-color);
    }
    
    /* The first cell in each row now acts as the header for the "card" */
    .blog-comparison table td:first-child {
        background-color: #1f1f1f;
        font-weight: bold;
        font-size: 1.1rem;
        text-align: center;
        padding-left: 1rem; /* Reset padding */
        color: #fff;
    }

    .blog-comparison table td:first-child::before {
        display: none; /* Hide the pseudo-element for the card header */
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* Interactive Checklist Styles */
.interactive-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-item {
    background-color: var(--dark-bg);
    border-radius: 8px;
    border: 1px solid #333;
    /*border: 1px solid transparent;
    border-color: var(--primary-color);*/
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.check-item.checked {
    /*background-color: #1f1f1f;
    border-color: var(--primary-color);*/
    background-color: var(--primary-color);
}

.check-item label {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0;
}

.check-item input[type="checkbox"] {
    display: none; /* Hide the default checkbox */
}

.check-item .checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #555;
    border-radius: 5px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.check-item .checkmark i {
    color: #121212;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.check-item input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    /*border-color: var(--primary-color);*/
    border-color: #121212;
}

.check-item input[type="checkbox"]:checked + .checkmark i {
    opacity: 1;
    transform: scale(1);
}

.check-item .check-text {
    color: #e0e0e0;
    flex: 1;
    transition: color 0.3s ease;
}

.check-item.checked .check-text,
.check-item.checked .check-text ul i {
    /*color: #ffffff;*/
	color: #121212 !important;
}

/* Blog Carousel Styles */
#learn-more {
    background-color: var(--dark-bg);
}

#learn-more .tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

#learn-more h2 {
    font-weight: 700;
}

.blog-card {
    background-color: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 226, 217, 0.1);
}

.blog-card-img {
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-body h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card-body p {
    color: #e0e0e0;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

#blogCarousel .carousel-control-prev,
#blogCarousel .carousel-control-next {
    width: auto;
    background-color: var(--primary-color);
    color: #121212;
    opacity: 1;
}

#blogCarousel .carousel-control-prev-icon,
#blogCarousel .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
}
