/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #1E88E5;
    --accent-color: #FFC107;
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #757575;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color) !important;
}

.btn-primary:hover {
    background-color: #1976D2;
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: #43A047;
    color: var(--light-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list li a {
    color: var(--dark-color);
    font-weight: 500;
}

.nav-list li a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
}

.hero-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.hero-wave {
    position: absolute;
    bottom: -115px;
    left: 0;
    width: 100%;
}

/* Benefits Section */
.benefits {
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
    border-radius: 100%;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-color);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-gray);
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    padding: 20px;
}

.testimonial-content {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-quote {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--dark-gray);
}

.testimonial-quote p::before {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.testimonial-quote p::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-testimonial,
.next-testimonial {
    background-color: var(--light-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* FAQ Section */
.faq {
    background-color: var(--light-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--light-color);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 44px;
    height: 44px;
    border-radius: 100%;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--light-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* B2B Page Specific Styles */
.b2b-page .hero {
    background-color: #f0f7ff;
}

.b2b-hero h1 {
    color: #0d47a1;
}

.clients {
    padding: 40px 0;
    background-color: var(--light-color);
}

.client-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logo {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    text-align: center;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.solution-image {
    height: 100%;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    padding: 30px;
}

.solution-features {
    margin: 20px 0;
}

.solution-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.solution-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* How It Works Process Content */
.how-it-works .process-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.how-it-works .process-steps {
    flex: 1;
}

.how-it-works .process-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.how-it-works .process-image img {
    width: 100%;
    height: 660px;
    position: absolute;
    max-width: 540px;
    border-radius: 25px;
    object-fit: cover;
    bottom: -210px;
    object-position: 1px -129px;
    box-shadow: rgb(17 12 46 / 28%) 0px 48px 100px 0px;
}

/* One Euro Offer Section */
.one-euro-offer .offer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 45px;
    gap: 30px;
}

.one-euro-offer .offer-text {
    flex: 1;
}

.one-euro-offer .offer-image {
    flex: 1;
}

.one-euro-offer .offer-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    object-position: top;
}

.one-euro-offer .highlight {
    font-size: 4.5em;
    color: #78ba81;
}

.one-euro-offer .offer-text-content {
    font-size: 35px;
    color: #333;
}

/* Materials Section */
.materials {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.materials-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.materials-text {
    flex: 1;
}

.materials-image {
    flex: 1;
}

.materials-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Energy Aids Section */
.energy-aids {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.energy-aids .aids-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.energy-aids .aids-text {
    flex: 1;
    text-align: left;
}

.energy-aids .aids-image {
    flex: 1;
}

.energy-aids .map-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content,
    .materials-content,
    .one-euro-offer .offer-content,
    .energy-aids .aids-content {
        flex-direction: column;
    }
    
    .hero-text,
    .hero-image,
    .materials-text,
    .materials-image,
    .one-euro-offer .offer-text,
    .one-euro-offer .offer-image,
    .energy-aids .aids-text,
    .energy-aids .aids-image {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-list li a {
        display: block;
        padding: 5px 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .how-it-works .process-content {
        flex-direction: column;
    }
    
    .how-it-works .process-image {
        max-width: 100%;
        text-align: center;
        margin: auto;
    }
    
    .how-it-works .process-image img {
        position: inherit;
        height: 450px;
        max-width: 100%;
        object-position: center;
    }
    
    .one-euro-offer .offer-text-content {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
    
    .one-euro-offer .offer-text-content {
        font-size: 24px;
    }
}

/* Materials Section Styles */
.materials {
    padding: 80px 0;
    background-color: #fff;
}

.materials-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.materials-text {
    flex: 1;
}

.materials-text h2 {
    margin-bottom: 20px;
    color: #333;
}

.materials-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.materials-list {
    list-style: none;
    padding: 0;
}

.materials-list li {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.materials-list li:before {
    content: "•";
    color: #4CAF50;
    font-size: 1.5em;
    position: absolute;
    left: 0;
}

.materials-list strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.materials-certification {
    font-style: italic;
    color: #666;
    margin-top: 30px;
}

.materials-image {
    flex: 1;
}

.materials-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .materials-content {
        flex-direction: column;
    }
    
    .materials-image {
        order: -1;
        margin-bottom: 30px;
    }
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        overflow: hidden;
    }
    .offer-content {
        flex-direction: column;
    }
    .materials-text {
        flex: 1;
        text-align: start;
    }
}
