/* General Reset and Dark Background */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'YourFont', sans-serif; /* Use the custom font */
    background-color: #121212; /* Dark background */
    color: #f0f0f0; /* Light text for readability */
    line-height: 1.6;
}

/* Load custom font */
@font-face {
    font-family: 'YourFont';
    src: url('font.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Navbar Styling */
header {
    background-color: #1f1f1f;
    padding: 20px 0;
    text-align: center;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav .logo {
    max-width: 150px;
    margin-bottom: 15px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    font-family: 'YourFont', sans-serif; /* Use the custom font in navbar */
}

/* Main Content Styling */
main {
    padding: 40px 20px;
    text-align: center;
}

.service-section {
    margin-bottom: 50px;
}

.service-section h2 {
    font-size: 50px;
    margin-bottom: -30px;
    color: #dcdbdc; /* Accent color */
    font-family: 'YourFont', sans-serif; /* Use the custom font */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding-top: 10px;
    background-color: #232323;
    border-radius: 10px;
    margin-left: 40px;
    margin-right: 40px;
}

.service-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    background-color: #232323;
    border-radius: 10px;
    margin-left: 40px;
    margin-right: 40px;
    color: rgb(255, 249, 242);
    flex-wrap: wrap; /* Allow wrapping when space is limited */
}

.service-image {
    width: 300px;
    height: auto;
    margin-right: 30px;
    margin-bottom: 20px;
}

.service-image2 {
    width: 250px;
    height: auto;
    margin-right: 0px;
    margin-bottom: 40px;
}

.service-description {
    max-width: 600px;
    font-size: 20px;
    padding: 30px;
    font-family: 'YourFont', sans-serif; /* Use the custom font */
}

/* Reverse alignment for alternating content */
.service-section.reverse .service-content {
    flex-direction: row-reverse;
}

.service-section.reverse .service-image {
    margin-right: 0;
    margin-left: 30px;
}

/* Media Query for Window Width less than 1:1 Aspect Ratio */
@media (max-width: 768px) {
    .service-description {
        max-width: 100%; /* Allow description to take up full width */
        padding: 20px; /* Adjust padding for smaller screens */
        font-size: 24px;
    }
    .service-content {
        flex-direction: column; /* Stack the content vertically */
        align-content: center;
    }
}

/* Footer Styling */
footer {
    background-color: #1f1f1f; /* Dark background for footer */
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Footer Logo */
.footer-logo {
    width: 175px; /* Adjust logo size */
    margin-bottom: 20px; /* Space between logo and button */
}

/* Contact Now Button */
.contact-btn {
    padding: 12px 20px;
    background-color: #353535; /* Accent color */
    color: #ffffff; /* White text */
    text-decoration: none;
    font-size: 18px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #767676; /* Slightly darker accent color on hover */
}
