* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
color: #333;
background: #ffffff;
}

/* Header */

header {
background: white;
padding: 5px 5%;
border-bottom: 1px solid #ddd;
}

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

.logo {
width: 180px;
}

nav a {
text-decoration: none;
color: #356b45;
margin-left: 25px;
font-weight: bold;
}

nav a:hover {
color: #7bbf6a;
}

/* Hero section */

.hero {
min-height: 550px;


background:
    linear-gradient(
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.35)
    ),
    url("images/house.webp");

background-size: cover;
background-position: center;

display: flex;
align-items: center;
justify-content: center;

text-align: center;
color: white;


}

.hero-content {
max-width: 700px;
padding: 30px;
}

.hero h1 {
font-size: 45px;
margin-bottom: 20px;
}

.hero p {
font-size: 20px;
margin-bottom: 30px;
}

/* Buttons */

.button {
display: inline-block;
background: #5fae55;
color: white;


padding: 12px 30px;

border-radius: 30px;

text-decoration: none;
font-weight: bold;


}

.button:hover {
background: #356b45;
}

/* Introduction section */

.intro {
padding: 60px 10%;
text-align: center;
}

.intro h2,
.green-section h2,
.final-message h2 {
color: #356b45;
margin-bottom: 20px;
}

.intro p {
margin: 15px auto;
max-width: 900px;
}

/* Heat pump section */

.green-section {
background: #edf7ea;


padding: 60px 10%;

display: flex;
gap: 40px;

align-items: center;


}

.content-image,
.content-text {
flex: 1;
}

.content-image img {
width: 100%;
border-radius: 15px;
}

/* Final message section */

.final-message {
padding: 60px 10%;
text-align: center;
}

.final-message p {
max-width: 800px;
margin: 0 auto 30px;
}

/* Footer */

footer {
background: #356b45;
color: white;


text-align: center;

padding: 25px;


}

/* Mobile layout */

@media (max-width: 768px) {


.header-container {
    flex-direction: column;
}

nav {
    margin-top: 20px;
}

nav a {
    margin: 10px;
}

.hero h1 {
    font-size: 32px;
}

.green-section {
    flex-direction: column;
}


}


/*******************************************************/


/* Services Page */

.page-banner {


background: #edf7ea;

padding: 60px 10%;

text-align: center;


}

.page-banner h1 {


color: #356b45;

font-size: 42px;

margin-bottom: 15px;


}

.page-banner p {


font-size: 20px;


}

.services-container {


padding: 50px 10%;


}

/* Service layout */

.service-box {


background: white;

margin-bottom: 35px;

padding: 35px;

border-radius: 15px;

box-shadow: 0 5px 15px rgba(0,0,0,0.08);


}

.service-box h2 {


color: #356b45;

margin-bottom: 20px;


}

.service-box p {


margin-bottom: 15px;


}

.service-contact {


background: #edf7ea;

text-align: center;

padding: 60px 10%;


}

.service-contact h2 {


color: #356b45;

margin-bottom: 20px;


}

.service-contact p {


margin-bottom: 30px;


}
/* Service layout */

.service-box {

    display: flex;

    gap: 40px;

    align-items: center;

    background: white;

    margin-bottom: 40px;

    padding: 35px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

}


.service-image {

    width: 60%;

    max-width: 350px;

    height: 350px;

    object-fit: cover;

    border-radius: 15px;

}


.service-content {

    flex: 1;

}


.service-content h2 {

    color: #356b45;

    margin-bottom: 20px;

}


.service-content p {

    margin-bottom: 15px;

}


/* Alternate image position */

.service-box:nth-child(even) {

    flex-direction: row-reverse;

}


/* Mobile layout */

@media (max-width: 768px) {

    .service-box {

        flex-direction: column;

    }


    .service-box:nth-child(even) {

        flex-direction: column;

    }


    .service-image {

        width: 100%;

        max-width: none;

        height: auto;

    }

}

/******************************************************/

/* News Page */

.news-container {


padding: 60px 10%;


}

.news-card {


background: white;

padding: 35px;

margin-bottom: 35px;

border-radius: 15px;

box-shadow: 0 5px 15px rgba(0,0,0,0.08);


}

.news-card h2 {


color: #356b45;

margin-bottom: 10px;


}

.news-date {


color: #5fae55;

font-weight: bold;

margin-bottom: 20px;


}

.news-card h3 {


margin-top: 25px;

margin-bottom: 10px;

color: #356b45;


}

.news-card ul {


margin-left: 25px;

margin-bottom: 20px;


}

.news-card li {


margin-bottom: 10px;


}

.news-card a {


color: #356b45;

font-weight: bold;

text-decoration: none;


}

.news-card a:hover {


color: #5fae55;

text-decoration: underline;


}

/*****************************************************/

/* Contact Page */

.contact-container {


display: flex;

gap: 50px;

padding: 60px 10%;


}

.contact-info,
.contact-form {


flex: 1;


}

.contact-info h2,
.contact-form h2 {


color: #356b45;

margin-bottom: 25px;


}

.contact-info p {


margin-bottom: 25px;


}

.contact-form label {


display: block;

margin-top: 20px;

margin-bottom: 8px;

font-weight: bold;


}

.contact-form input,
.contact-form textarea {


width: 100%;

padding: 12px;

border: 1px solid #ccc;

border-radius: 8px;

font-size: 16px;


}

.contact-form textarea {


resize: vertical;


}

.contact-form button {


margin-top: 25px;

border: none;

cursor: pointer;


}

#formMessage {


margin-top: 20px;

font-weight: bold;

color: #356b45;


}

@media (max-width:768px){

.contact-container{


flex-direction:column;


}

}

/* Contact Image */

.contact-image {

    padding: 20px 10% 60px;

}


.contact-image img {

    width: 100%;

    max-height: 400px;

    object-fit: cover;

    border-radius: 15px;

}

/****************************************************/

/* About Page */

.about-container {

padding: 60px 10%;

}

.about-card {

background: white;

padding: 35px;

border-radius: 15px;

box-shadow: 0 5px 15px rgba(0,0,0,0.08);

margin-bottom: 40px;

}

.about-section {

display: flex;

align-items: center;

gap: 40px;

margin-bottom: 50px;

}

.reverse {

flex-direction: row-reverse;

}

.about-image {

width: 40%;

max-width: 350px;

border-radius: 15px;

}

.about-text {

flex: 1;

}

.about-card h2,
.about-text h2 {

color: #356b45;

margin-bottom: 20px;

}

.about-card p,
.about-text p {

margin-bottom: 18px;

line-height: 1.8;

}

@media (max-width:768px){

.about-section,
.reverse{

flex-direction: column;

}

.about-image{

width:100%;
max-width:none;

}

}