:root {
    --primary: #ffd700;
    --primary-light: #ffeb99;
    --primary-dark: #e6c200;
    --secondary: #333945;
    --secondary-light: #4e576a;
    --text: #2c2c2c;
    --text-light: #6c757d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    font-size: 16px;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: block;
}

.logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.home-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.home-link:hover {
    color: var(--primary-dark);
    background-color: var(--light-bg);
}

.home-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.home-link:hover svg {
    transform: scale(1.1);
}

.header-cta {
    flex-shrink: 0;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile styles */
@media (max-width: 768px) {
    .header .container {
        padding: 10px 15px;
    }

    .logo {
        width: 120px;
    }

    .header-right {
        gap: 12px;
    }

    .home-link {
        padding: 8px;
    }

    .home-text {
        display: none;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        margin-left: 0;
    }
}

.hero {
    background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('img/hero-bg-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
}

/* Add this media query for mobile devices */
@media (max-width: 768px), (hover: none) {
    .hero {
        background-attachment: scroll;
        background-repeat: no-repeat;
        background-position: center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 span {
    display: block;
    color: var(--primary);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 1rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(51, 57, 69, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    box-shadow: 0 8px 25px rgba(51, 57, 69, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-gray {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    padding: 40px 30px;
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    color: var(--secondary);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary);
}

.statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    padding: 30px;
    text-align: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 25px;
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    padding: 40px 30px;
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--secondary);
}

input, textarea, select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

textarea {
    height: 150px;
    resize: vertical;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.cta-section {
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('img/section.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section h2::after {
    background-color: var(--primary);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.feature {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--secondary);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.footer {
    background-color: var(--secondary);
    color: #f0f0f0;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

/* Add decorative elements to footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 120%;
    background: linear-gradient(45deg, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    transform: rotate(-3deg) translateY(-50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    margin-bottom: 20px;
    width: 150px;
    height: auto;
    object-fit: contain;
}

.footer-about p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
}

.footer-heading {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    font-weight: 600;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.contact-info svg {
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #f0f0f0;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Projects Carousel */
.projects-carousel-container {
    width: 90%;
    max-width: 1600px;
    margin: 50px auto 0;
    position: relative;
}

.projects-carousel {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: block;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.featured-project {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-project:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.featured-project-image {
    flex: 0 0 60%;
    overflow: hidden;
    min-height: 300px;
    background-color: #f0f0f0;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.featured-project:hover .featured-project-image img {
    transform: scale(1.05);
}

.featured-project-info {
    flex: 0 0 40%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-project-info h3 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.8rem;
}

.featured-project-info p {
    color: var(--text-light);
    line-height: 1.7;
}

.project-previews {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 30px;
}

.preview-card {
    width: 250px;
    height: 180px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 0;
    max-width: 250px;
    background-color: #f0f0f0;
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.preview-card:hover img {
    transform: scale(1.1);
}

.preview-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 15px;
    font-weight: 500;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.preview-card:hover .preview-title {
    transform: translateY(0);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.carousel-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: var(--secondary);
}

.carousel-control:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.carousel-control:active {
    transform: translateY(-1px);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e1e1e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Responsive adjustments for projects carousel */
@media (max-width: 1200px) {
    .featured-project {
        flex-direction: column;
    }
    
    .featured-project-image, 
    .featured-project-info {
        flex: 0 0 100%;
    }
    
    .featured-project-image {
        height: 400px;
    }
    
    .featured-project-info {
        padding: 30px;
    }
    
    .preview-card {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .projects-carousel-container {
        width: 95%;
    }
    
    .project-previews {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .preview-card {
        width: calc(33.333% - 10px);
        max-width: none;
        height: 150px;
    }
    
    .featured-project-image {
        height: 300px;
    }
    
    .featured-project-info h3 {
        font-size: 1.5rem;
    }
    
    .carousel-slide {
        min-height: auto;
    }
    .logo, .footer-logo {
        max-height: 40px;
        width: auto;
    }
    .header .container {
        padding: 10px 15px;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .preview-card {
        width: calc(50% - 8px);
        height: 120px;
    }
    
    .featured-project-image {
        height: 250px;
    }
    
    .featured-project-info {
        padding: 20px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .header .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .form-container {
        padding: 30px;
    }
    
    .testimonials, .benefit-cards {
        grid-template-columns: 1fr;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
    
    .header .btn {
        display: none;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Calculator Styles */
.calculator-container {
    max-width: 800px;
    margin: 40px auto 0;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.calculator-step {
    padding: 40px;
}

.calculator-steps {
    position: relative;
}

.savings-highlights {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.highlight-card {
    flex: 1;
    min-width: 180px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 0 10px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.highlight-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.highlight-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.results-container {
    text-align: center;
}

.results-header {
    margin-bottom: 30px;
}

.results-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.region-display {
    font-size: 1.1rem;
    color: var(--text-light);
}

.savings-timeline {
    margin-bottom: 40px;
}

.savings-timeline h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.timeline-container {
    position: relative;
    padding: 30px 0;
    margin-bottom: 30px;
}

.timeline-track {
    height: 8px;
    background-color: #e1e1e1;
    border-radius: 4px;
    position: relative;
    margin: 0 30px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.timeline-markers {
    position: relative;
    height: 60px;
}

.timeline-marker {
    position: absolute;
    transform: translateX(-50%);
}

.marker-year {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--secondary);
}

.marker-value {
    font-size: 0.9rem;
    color: var(--text-light);
}

#roi-marker {
    left: 30%;
    transition: left 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.total-savings {
    background-color: var(--secondary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    display: inline-block;
    min-width: 300px;
}

.counter-label {
    font-size: 1rem;
    margin-bottom: 5px;
}

.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.cta-container {
    margin-top: 40px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Calculator Animations */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-count-up {
    animation: countUp 0.5s ease forwards;
}

.animate-pulse {
    animation: pulse 1.5s infinite;
}

/* Responsive Calculator Styles */
@media (max-width: 768px) {
    .calculator-step {
        padding: 30px 20px;
    }
    
    .savings-highlights {
        flex-direction: column;
    }
    
    .highlight-card {
        margin: 0 0 20px;
    }
    
    .total-savings {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .highlight-value {
        font-size: 1.5rem;
    }
    
    .counter-value {
        font-size: 2rem;
    }
}

/* Enhanced Floating Calculator Popup */
.floating-calculator-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 320px;
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(20px);
    display: block !important;
}

/* Close and minimize buttons */
.popup-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.popup-control-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--secondary);
}

.popup-control-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-light);
}

.popup-control-btn:active {
    transform: scale(0.95);
}

.popup-close-btn:before {
    content: "×";
    font-size: 20px;
    line-height: 0;
    font-weight: bold;
}

.popup-minimize-btn:before {
    content: "—";
    font-size: 14px;
    line-height: 0;
    font-weight: bold;
}

/* Minimized state */
.floating-calculator-popup.minimized {
    width: auto;
    padding: 0;
    border-radius: 50px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(0) scale(1) !important;
    animation: none !important;
}

.floating-calculator-popup.minimized .popup-content {
    display: none;
}

.floating-calculator-popup.minimized .popup-controls {
    position: relative;
    top: 0;
    right: 0;
    padding: 10px 15px;
}

.floating-calculator-popup.minimized .popup-minimize-btn:before {
    content: "+";
    font-size: 20px;
}

.floating-calculator-popup.minimized .popup-close-btn {
    display: none;
}

.floating-calculator-popup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 215, 0, 0.03) 30%,
        rgba(255, 215, 0, 0.1) 47%,
        rgba(255, 215, 0, 0.03) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: shine 6s infinite;
    pointer-events: none;
}

.floating-calculator-popup.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
    display: block !important;
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.popup-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    animation: iconPulse 2s infinite alternate;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.popup-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: glowPulse 2s infinite alternate;
}

.popup-text h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: var(--secondary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.popup-text h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.4s ease;
}

.floating-calculator-popup.visible .popup-text h3::after {
    width: 70%;
    animation: widthPulse 3s infinite alternate;
}

.popup-text p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: var(--text);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.floating-calculator-popup .btn {
    width: 100%;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    animation: buttonPulse 3s infinite alternate;
    padding: 16px 24px;
}

.floating-calculator-popup .btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.2) 47%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
    pointer-events: none;
}

.floating-calculator-popup .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.floating-calculator-popup:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.floating-calculator-popup:hover .popup-text p {
    transform: translateY(-3px);
}

.floating-calculator-popup:hover .popup-content {
    transform: scale(1.02);
}

/* Mobile-specific enhancements */
@media (max-width: 576px) {
    .floating-calculator-popup {
        width: calc(100% - 30px);
        left: 15px;
        right: 15px;
        bottom: 20px;
        padding: 18px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        display: block !important;
    }
    
    .floating-calculator-popup.visible {
        animation: popup-appear-mobile 0.5s ease forwards;
    }
    
    .popup-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .popup-text h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .popup-text p {
        font-size: 13px;
        margin-bottom: 12px;
        padding: 0 5px;
    }
    
    .floating-calculator-popup .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    @keyframes popup-appear-mobile {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }
        70% {
            opacity: 1;
            transform: translateY(-5px);
        }
        100% {
            transform: translateY(0);
        }
    }
    
    .floating-calculator-popup.visible::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 2px solid rgba(255, 215, 0, 0.6);
        border-radius: 12px;
        animation: mobile-attention 2s infinite;
        pointer-events: none;
    }
    
    @keyframes mobile-attention {
        0%, 100% {
            opacity: 0;
            transform: scale(1);
        }
        50% {
            opacity: 1;
            transform: scale(1.03);
        }
    }
    
    /* Make minimized state much more compact on mobile */
    .floating-calculator-popup.minimized {
        width: auto;
        left: auto;
        right: 20px;
        bottom: 20px;
        transform: none !important;
    }
    
    /* Add a small indicator when minimized on mobile */
    .floating-calculator-popup.minimized:after {
        content: 'Calculator';
        display: inline-block;
        font-size: 12px;
        margin-right: 5px;
        color: var(--secondary);
        font-weight: 600;
    }
    
    /* Make sure buttons are bigger on mobile for easier touch */
    .popup-control-btn {
        width: 32px;
        height: 32px;
    }
}

/* Ensure popup always shows on mobile devices in portrait orientation */
@media (max-height: 700px) {
    .floating-calculator-popup {
        bottom: 15px;
        transform: scale(0.95);
    }
    
    .floating-calculator-popup.visible {
        transform: scale(0.95);
    }
}

/* Add touch-friendly improvements for mobile */
@media (hover: none) {
    .floating-calculator-popup .btn:active {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    }
    
    .popup-icon {
        font-size: 34px;
    }
}

/* Animations */
@keyframes popup-appear {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
    }
    70% {
        transform: translateY(5px) scale(0.99);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        top: -100%;
        left: -100%;
    }
    100% {
        top: 100%;
        left: 100%;
    }
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    }
}

@keyframes widthPulse {
    0% {
        width: 40%;
    }
    100% {
        width: 70%;
    }
}

/* Quick Calculator CTA Section */
.calculator-cta-section {
    background-image: linear-gradient(135deg, var(--secondary) 0%, #1a1e24 100%);
    position: relative;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    margin-bottom: 60px;
}

/* Add decorative elements */
.calculator-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    z-index: 1;
}

.calculator-cta-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 120%;
    background: linear-gradient(45deg, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    transform: rotate(-3deg) translateY(-50%);
    pointer-events: none;
}

.calculator-cta-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.calculator-cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.calculator-cta-section h2::after {
    background-color: var(--primary);
}

.calculator-cta-section .subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quick-calculator-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Form layout for 3 distinct rows */
.calculator-form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-form-grid .form-group {
    width: 100%;
}

.calculator-cta-section label {
    color: #fff;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: left;
}

.calculator-cta-section input,
.calculator-cta-section select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.calculator-cta-section input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.calculator-cta-section input:focus,
.calculator-cta-section select:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    outline: none;
}

.calculator-cta-section .form-action {
    margin-top: 10px;
}

.calculator-cta-section .btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 1rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.calculator-cta-section .btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-cta-section {
        padding: 60px 0;
    }
    
    .quick-calculator-container {
        padding: 20px;
    }
}

.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
}

.success-message h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.error-message {
    color: #f44336;
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: rgba(244, 67, 54, 0.1);
    border-radius: 4px;
}

/* Contact Form Popup Styles */
.contact-form-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.contact-form-popup.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 2001;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.4s ease 0.1s forwards;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--secondary);
    color: var(--white);
}

.popup-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.close-popup {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition);
}

.close-popup:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.popup-content {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.popup-content .form-group {
    margin-bottom: 20px;
}

.popup-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.popup-content input,
.popup-content textarea,
.popup-content select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.popup-content textarea {
    height: 120px;
    resize: vertical;
}

.popup-content input:focus,
.popup-content textarea:focus,
.popup-content select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.popup-content .btn {
    width: 100%;
    margin-top: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for popup */
@media (max-width: 768px) {
    .popup-container {
        width: 95%;
    }
    
    .popup-header {
        padding: 15px 20px;
    }
    
    .popup-content {
        padding: 20px;
    }
}

/* Parallax Section */
.parallax-section {
    background-image: url('img/renewable-energy.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.parallax-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    padding: 100px 0;
}

.parallax-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.parallax-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.parallax-section h2::after {
    background-color: var(--primary);
    left: 50%;
    transform: translateX(-50%);
}

.parallax-section .subtitle {
    margin-bottom: 30px;
}

/* Media Queries */

/* Add these styles at the end of your CSS file */

/* Ensure carousel is visible even without JavaScript */
.projects-carousel {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

/* Make first slide visible by default */
.carousel-slide:first-child {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Ensure images have proper display properties */
.featured-project-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.preview-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback background for images */
.featured-project-image, 
.preview-card {
    background-color: #f0f0f0;
}

/* Ensure controls are visible */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.carousel-control {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control:hover {
    opacity: 1;
}

/* Ensure indicators are visible */
.carousel-indicators {
    display: flex;
    justify-content: center;
}

.indicator {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.indicator.active {
    opacity: 1;
}

/* Improve mobile display */
@media (max-width: 768px) {
    .projects-carousel {
        min-height: 300px;
    }
    
    .featured-project {
        flex-direction: column;
    }
    
    .featured-project-image,
    .featured-project-info {
        width: 100%;
    }
}

/* Prevent content jumping during load */
.section {
    min-height: 100px;
}

/* Ensure images don't break layout while loading */
img {
    min-height: 1px;
    min-width: 1px;
}

/* Example fix overriding .cta-section & .parallax-section for mobile */
@media (max-width: 768px), (hover: none) {
  .cta-section,
  .calculator-cta-section,
  .parallax-section {
    background-attachment: scroll;
    background-size: cover;        /* Ensure the image doesn't stretch incorrectly */
    background-repeat: no-repeat;  /* Avoid tiling */
    background-position: center;
  }
}

/* Fix for mobile tap highlight on contact info */
.footer a,
.contact-info a,
.contact-info li {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.contact-info li span {
    display: inline-block;
}

.contact-info li a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info li a:hover,
.contact-info li a:active {
    color: var(--primary);
}