body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #0056b3; /* Darker Blue */
    --secondary-color: #ffc107; /* Yellow */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #004085;
    border-color: #004085;
}

.btn-outline-light {
    color: var(--text-light);
    border-color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.text-primary {
    color: var(--primary-color) !important;
}

.fixed-top {
    z-index: 1030;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-title {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.offcanvas-header {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.offcanvas-title {
    color: var(--text-light);
}

.offcanvas-body .nav-link {
    color: var(--text-dark);
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-color);
}

.hero-section {
    background: url('uploads/content/power_station_plant_or_solar_photovoltaic_a_power.jpg') no-repeat center center / cover;
    position: relative;
    min-height: 80vh;
    padding-top: 100px; /* Adjust for fixed header */
    padding-bottom: 50px;
    display: flex;
    align-items: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section .lead {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.hero-btn {
    min-width: 200px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-title.text-white::after {
    background-color: var(--text-light);
}

#why-solar .feature-box {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#why-solar .feature-box:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
}

.process-steps .process-card {
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-steps .process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.process-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 2.5rem;
}

.testimonial-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #e7f1ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button {
    font-weight: 600;
}

#final-cta {
    background: linear-gradient(45deg, var(--primary-color), #007bff);
}

.email-break-word {
    word-break: break-all;
}

.logo-img-footer {
    height: 35px;
    width: auto;
    filter: invert(100%); /* Make logo white for dark background */
}

.site-title-footer {
    font-size: 1.3rem;
    color: var(--text-light);
}

.text-muted-footer {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Responsive Typography */
.site-title {
    font-size: 2.2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
}

.section-title {
    font-size: 2rem;
}

@media (min-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 1024px) {
    .site-title {
        font-size: 2.5rem;
    }
    .hero-section h1 {
        font-size: 4.5rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

/* Mobile Adaptation */
@media (max-width: 1299px) {
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-collapse {
        overflow-x: auto;
    }
    .navbar-nav .nav-item {
        flex: 0 0 auto;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse:not(.show) {
        display: none;
    }
}

@media (max-width: 1100px) {
    .navbar-collapse {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
}

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
        padding-top: 150px;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-btn {
        width: 100%;
    }
    .hero-section .text-start {
        text-align: center !important;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .site-title {
        font-size: 1.25rem;
    }
    .navbar-brand .logo-img {
        height: 30px;
    }
    .feature-icon {
        font-size: 2.5rem;
    }
    .process-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    .testimonial-card .card-img-top {
        height: 180px;
    }
    .testimonial-card .avatar {
        width: 50px;
        height: 50px;
    }
    .display-4 {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Ensure buttons don't have underline */
.btn {
    text-decoration: none !important;
}
/* Styles for the main content wrapper */
.rightsFieldUnit {
    padding: 20px 25px; /* Top/bottom and left/right padding */
    margin-top: 30px; /* Top margin to separate from previous content */
    /* Add any other general styles for the container here, e.g., background, border, max-width */
}

/* Heading styles */
.rightsFieldUnit h1 {
    font-size: 1.8em; /* Moderately sized H1, not overly large */
    margin-top: 1.5em; /* Top margin for spacing above the heading */
    margin-bottom: 0.8em; /* Bottom margin for spacing below the heading */
    line-height: 1.2; /* Line height for readability */
    font-weight: bold; /* Ensure it's bold */
}

.rightsFieldUnit h2 {
    font-size: 1.5em; /* Heading 2 font size */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    line-height: 1.3;
    font-weight: bold;
}

.rightsFieldUnit h3 {
    font-size: 1.3em; /* Heading 3 font size */
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    line-height: 1.4;
    font-weight: bold;
}

.rightsFieldUnit h4 {
    font-size: 1.1em; /* Heading 4 font size */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.5;
    font-weight: bold;
}

.rightsFieldUnit h5 {
    font-size: 1.05em; /* Heading 5 font size (just slightly larger than body text) */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    line-height: 1.5;
    font-weight: bold;
}

/* Paragraph styles */
.rightsFieldUnit p {
    font-size: 1em; /* Standard body text size */
    line-height: 1.6; /* Optimal line height for readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.rightsFieldUnit ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 1em; /* Top margin for spacing */
    margin-bottom: 1em; /* Bottom margin for spacing */
    padding-left: 25px; /* Indentation for bullets */
}

/* List item styles */
.rightsFieldUnit li {
    font-size: 1em; /* Inherit or set explicitly for consistency */
    line-height: 1.6; /* Consistent line height with paragraphs */
    margin-bottom: 0.5em; /* Space between list items */
}
.navbar-nav {
    display: none !important;
}

.offcanvas .navbar-nav {
    display: block !important;
}

@media screen and (width < 576px){
    .navbar-brand .site-title {
    font-size: 1.1rem;
    }
    .navbar-toggler {
        padding: 5px;
    }
}