body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

:root {
    --primary-color: #28a745; /* Green for solar/growth */
    --secondary-color: #ffc107; /* Yellow for highlights */
    --dark-overlay: rgba(0, 0, 0, 0.7);
    --light-gray: #f2f4f6;
    --light-blue: #e6f2ff;
    --text-dark: #333;
    --text-light: #fff;
}

.navbar {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

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

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

.offcanvas-body .nav-link.btn {
    color: var(--text-light) !important;
}

.offcanvas-body .nav-link.btn:hover {
    color: var(--text-light) !important;
    background-color: #218838;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: var(--text-dark);
}

.hero-section {
    background: url('photos/pics/australian-solar-roof-bg_2.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--text-light);
    padding: 10rem 0;
    min-height: 700px;
    display: flex;
    align-items: center;
    margin-top: 76px; /* Adjust for fixed navbar height */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-section p.lead {
    font-size: 1.25rem;
}

.hero-image {
    max-height: 450px;
    object-fit: contain;
}

/* General Section Styling */
section {
    padding: 5rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

/* About Section */
.about-section .milestone-item {
    position: relative;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.about-section .milestone-item:nth-child(even) .milestone-content {
    text-align: right;
}

.about-section .milestone-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 1rem;
}

.about-section h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.about-section img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
}

/* Why Solar Section (Problem-Solution) */
.why-solar-section {
    background-color: var(--light-blue);
}

.problem-solution-row {
    background-color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.problem-block, .solution-block {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-block {
    background-color: #ffe0e0; /* Light red */
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-block {
    background-color: #e0ffe0; /* Light green */
}

.problem-icon {
    color: #dc3545; /* Red */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.solution-icon {
    color: var(--primary-color); /* Green */
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-solution-row h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Services Section */
.service-card {
    background-color: var(--text-light);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Features Section */
.features-section {
    background-color: var(--light-gray);
}

.feature-card {
    background-color: var(--text-light);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    margin-bottom: 1rem;
}

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

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Stats Section */
.stats-section {
    background: url('photos/pics/solar-field-sunset_2.jpg') no-repeat center center/cover;
    position: relative;
    color: var(--text-light);
    padding: 6rem 0;
}

.stats-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
}

.stat-item {
    position: relative;
    padding: 1.5rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 2px;
    background-color: var(--secondary-color);
}

.stat-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stats-section p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Team Section */
.team-member-card {
    background-color: var(--text-light);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-member-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.team-member-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.team-member-card p {
    font-size: 0.95rem;
    color: #6c757d; /* text-muted equivalent, but custom */
}

/* FAQ Section */
.accordion-item {
    border: 1px solid #cee8f2; /* Subtle blue/cyan border */
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f7fcff; /* Very light blue */
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    border-radius: 8px !important;
    position: relative;
}


.accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-body {
    padding: 1.25rem;
    background-color: var(--text-light);
    border-top: 1px solid #e9ecef;
}

/* Contact Section (Calculator) */
.contact-section {
    background: url('photos/pics/solar-roof-sunset_2.webp') no-repeat center center/cover;
    position: relative;
    padding: 6rem 0;
    color: var(--text-light);
}

.contact-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
}

.contact-section h2 {
    color: var(--text-light);
}

.solar-assessment-form {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solar-assessment-form .form-control, .solar-assessment-form .form-select {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 0.75rem 1rem;
}

.solar-assessment-form .form-control::placeholder, .solar-assessment-form .form-select {
    color: rgba(255, 255, 255, 0.7);
}

.solar-assessment-form .form-control:focus, .solar-assessment-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
    color: var(--text-light);
}

.solar-assessment-form .form-select option {
    color: var(--text-dark);
    background-color: #f8f9fa;
}

/* Contact Info Section */
.contact-info-card {
    background-color: var(--text-light);
    border: 1px solid #e9ecef;
    text-align: center;
}

.contact-info-card .contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-info-card a {
    color: var(--primary-color);
    font-weight: 500;
}

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

/* Footer */
.footer-section {
    background-color: #f8f9fa;
    color: #6c757d;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-dark);
    font-weight: 600;
}

.newsletter-form .newsletter-input {
    max-width: 350px;
    border-radius: 0.25rem;
}

.newsletter-form .newsletter-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-nav, .footer-legal-links {
    padding-left: 0;
}

.footer-nav li, .footer-legal-links li {
    margin-bottom: 0.5rem;
}

.footer-nav a, .footer-legal-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover, .footer-legal-links a:hover {
    color: var(--primary-color);
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .site-title {
        font-size: 2rem;
    }
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-title {
        font-size: 1.8rem;
    }
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .navbar-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .navbar-logo {
        height: 35px;
    }
    .site-title {
        font-size: 1.25rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    .hero-section {
        padding: 8rem 0;
        min-height: 550px;
        margin-top: 66px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .hero-image {
        max-height: 300px;
    }
    .milestone-item .col-md-6.order-md-2, .milestone-item .col-md-6.order-md-1 {
        order: initial !important;
    }
    .problem-block, .solution-block {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .problem-solution-row .col-md-6.order-md-2 {
        order: initial;
    }
    .problem-solution-row .col-md-6.order-md-1 {
        order: initial;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 1rem;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
    .offcanvas-body {
        padding-top: 1rem;
    }
    .offcanvas-body .nav-link {
        padding: 0.75rem 1rem;
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    .offcanvas-body .nav-link:last-child {
        border-bottom: none;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form .newsletter-input {
        margin-right: 0 !important;
        margin-bottom: 1rem;
        width: 100%;
    }
    .newsletter-form .newsletter-btn {
        width: 100%;
        border-radius: 0.25rem !important;
    }
    .footer-nav, .footer-legal-links {
        margin-top: 1.5rem;
    }
}

@media (min-width: 1100px) {
    .navbar-nav {
        flex-wrap: nowrap;
        overflow-x: visible;
    }
}

/* Offcanvas specific styling */
.offcanvas {
    background-color: var(--text-light);
}

.offcanvas-header {
    border-bottom: 1px solid #eee;
}

.offcanvas-title {
    color: var(--text-dark);
    font-weight: 600;
}
/* Container block styles */
.legalDomeBlock {
    margin-top: 40px;   /* Top margin for the entire block */
    padding: 20px 25px; /* Padding on top/bottom and left/right for content inside */
}

/* Heading styles */
.legalDomeBlock h1 {
    font-size: 2.2rem;    /* Moderate font size for main heading */
    margin-bottom: 0.8em; /* Space below heading */
    font-weight: 600;     /* Slightly bolder */
    line-height: 1.2;     /* Improved readability */
}

.legalDomeBlock h2 {
    font-size: 1.8rem;    /* Sub-heading font size */
    margin-bottom: 0.7em;
    font-weight: 600;
    line-height: 1.3;
}

.legalDomeBlock h3 {
    font-size: 1.5rem;    /* Section heading font size */
    margin-bottom: 0.6em;
    font-weight: 500;
    line-height: 1.4;
}

.legalDomeBlock h4 {
    font-size: 1.2rem;    /* Sub-section heading font size */
    margin-bottom: 0.5em;
    font-weight: 500;
    line-height: 1.5;
}

.legalDomeBlock h5 {
    font-size: 1.1rem;    /* Minor heading font size */
    margin-bottom: 0.4em;
    font-weight: 500;
    line-height: 1.6;
}

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

/* List styles */
.legalDomeBlock ul {
    list-style-type: disc; /* Default bullet style */
    margin-top: 0;         /* Remove default top margin */
    margin-bottom: 1em;    /* Space below the list */
    padding-left: 25px;    /* Indent for bullet points */
}

.legalDomeBlock li {
    margin-bottom: 0.5em;  /* Space between list items */
    line-height: 1.5;      /* Line height for list item text */
}



#why-solar{

    .problem-solution-row  {
        gap: 20px; /* расстояние между картами */
        background-color: transparent;
        box-shadow: none;
    }
}

@media (min-width: 768px) {
    #why-solar{

        .col-md-6 {
            flex: 0 0 auto;
            width: calc(50% - 10px);
        }
  }
}

.offcanvas{
    bottom: auto !important;
      width: 100%;
  height: 100vh;
  text-align: center;
}

section{
    overflow: hidden;
}

.wr{
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.main{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}