/* General Styles */
/* Reset some default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    padding-top: 80px
}

/* Navbar styling */
.navbar {
    background-color: #0f2027;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Styling for the sensor check section */
.sensor-check {
    background-color: #333; /* Dunkler Hintergrund */
    color: #fff; /* Weißer Text */
    padding: 40px 20px;
    text-align: center;
    margin: 20px 0;
    border-radius: 8px; /* Abgerundete Ecken */
}

/* Styling for the section text */
.sensor-check h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.sensor-check p {
    font-size: 16px;
    margin-bottom: 20px; /* Abstand zum Button */
}

/* Orange Button Styling */
.check-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #FF8C00; /* Orange Hintergrundfarbe */
    color: #fff; /* Weißer Text */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Button Hover Effect */
.check-button:hover {
    background-color: #e07c00; /* Dunkleres Orange beim Hover */
}


.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Styling */
.logo img {
    height: 70px;
    width: 70px; /* Adjust as needed for visibility */
    border: 3px solid #fff; /* White border */
    padding: 5px; /* Padding to give space around the logo */
   box-shadow: 2px 2px 8px rgba(255, 255, 255, 0.7); /* Light white shadow */
    
    
    
}

/* Navigation links styling */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px; /* Adds spacing between links */
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f57c00;
}


/* Header */
.header {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: #fff;
    text-align: center;
    padding: 120px 0; /* Adjusted for navbar spacing */
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
}

.btn-primary {
    background-color: #f57c00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff8c00;
}

/* Services Section */
.services {
    padding: 40px 0;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    width: 30%;
    margin: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card img {
    width: 100%;
    border-radius: 5px;
}

.card h3 {
    font-size: 1.5rem;
    margin-top: 10px;
}

.card p {
    font-size: 1rem;
    margin-top: 5px;
}

/* Testimonials Section */
.testimonials {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.testimonials p {
    font-size: 1.2rem;
    font-style: italic;
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, #2c5364, #203a43, #0f2027);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #222;
    color: #bbb;
    text-align: center;
    padding: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .service-cards {
        flex-direction: column;
    }

    .card {
        width: 80%;
        margin: 10px auto;
    }

    .header h1 {
        font-size: 2rem;
    }

    .testimonials h2,
    .cta h2 {
        font-size: 1.5rem;
    }
    h1, h2, p {
        display: block;       /* Ensure block-level behavior */
        margin: 10px 0;       /* Add spacing between elements */
    }
    

}
