body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
header {
    background: linear-gradient(90deg, #73D358, #8be872);
    color: white;
    padding: 15px;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1{
    padding: 0;
    margin: 0;
    color: #333333;
    font-size: 50px;
}
nav a {
    margin: 0 30px;
    color: #333333;
    font-size: 20px;
    text-decoration: none;
}
.hero {
    position: relative;
    height: 70vh;
    width: 100%;
    background-image: url('img/loxone1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-text {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 30px;
    color: #333333;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.hero-text.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-text h1 {
    margin: 0;
    font-size: 3em;
}
.hero-text p {
    font-size: 1.2em;
}
.content-section {
    padding: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
}
.content-section h2{
    color: #333333;
    margin: 0;
    padding: 0;
    font-size: 50px;
}
.content-section p{
    color: #333333;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 1px;
    text-align: justify;
    padding-right: 20px;
}
.content-section img {
    width: 400px;
    height: 400px;
}
.content-section div {
    width: 45%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.content-section div.visible {
    opacity: 1;
    transform: translateY(0);
}
.content-section img.slide-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.content-section img.slide-in-left.two{
    width: 600px;
}
.content-section img.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background: #73D358;
    color: #333333;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.btn:hover {
    background: #37a83d;
    transform: scale(1.1);
}
.form-section {
    padding: 40px;
    background: #f9f9f9;
    border: 1px solid #cccccc;
    max-width: 1200px;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}
.form-section form {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    left: 50%;
    transform: translate(-50%);
}
.form-section h2{
    color: #333333;
    margin: 0;
    padding: 0;
    font-size: 50px;
    margin-bottom: 20px;
}
.form-section input, .form-section textarea {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #cccccc;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-section input:focus, .form-section textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}
.form-section button {
    padding: 10px;
    background: #73D358;
    color: #333333;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}
.form-section button:hover {
    background: #37a83d;
}
footer {
    background: #333333;
    color: white;
    padding: 20px;
    text-align: center;
}

footer p{
    margin: 0;
    padding: 0;
    color: #f9f9f9;
}

footer a{
    cursor: pointer;
    text-decoration: none;
    color: #cccccc;
}

@media only screen and (max-width: 1000px){
    .content-section{
        display: block;
        width: 95%;
        left: 50%;
        transform: translate(-50%);
        position: relative;
        justify-content: center;
        text-align: center;
    }
    .fade-in{
        position: relative;
        margin: 0;
        width: 100%;
        left: 28%;
        text-align: center;
    }
    .form-section{
        margin-right: 15px;
    }
    nav{
        display: none;
    }
    .hero-text{
        margin-right: 15px;
        margin-left: 15px;
    }
    .content-section img{
        width: 100%;
        height: auto;
    }
}

.mobile .content-section{
    display: block;
    width: 95%;
    left: 50%;
    transform: translate(-50%);
    position: relative;
    justify-content: center;
    text-align: center;
}
.mobile .fade-in{
    position: relative;
    margin: 0;
    width: 100%;
    left: 28%;
    text-align: center;
}
.mobile .form-section{
    margin-right: 15px;
}
.mobile nav{
    display: none;
}
.mobile .hero-text{
    margin-right: 15px;
    margin-left: 15px;
}
.mobile .content-section img{
    width: 100%;
    height: auto;
}