/* 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;
}

/* Hero Section */
.hero-section {
    background-color: #232323;
    padding: 80px 20px;
    text-align: center;
    color: #f0f0f0;
}

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

.hero-section p {
    font-size: 24px;
    margin-bottom: 40px;
}

.hero-section .cta-btn {
    padding: 15px 30px;
    background-color: #353535;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

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

/* About Section */
.about-section {
    margin-top: 50px;
    text-align: center;
    background-color: #1f1f1f;
    padding: 50px 20px;
    color: #f0f0f0;
}

.about-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Featured Services Section */
.featured-services {
    margin-top: 50px;
    text-align: center;
}

.featured-services h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.service-preview {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #232323;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    color: #f0f0f0;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card .service-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service-card p {
    font-size: 18px;
    margin-bottom: 20px;
}

.service-card .cta-btn {
    padding: 10px 20px;
    background-color: #353535;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

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

/* Testimonials Section */
.testimonials-section {
    margin-top: 50px;
    background-color: #232323;
    padding: 50px 20px;
    text-align: center;
    color: #f0f0f0;
}

.testimonials-section h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.testimonials {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.testimonial {
    width: 350px;
    background-color: #353535;
    padding: 20px;
    border-radius: 10px;
    color: #f0f0f0;
}

.testimonial p {
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial p:last-child {
    font-size: 16px;
    font-style: italic;
}

/* 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 */
}

/* 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;
    }

    /* Hero Section Adjustments */
    .hero-section h1 {
        font-size: 40px;
    }

    .hero-section p {
        font-size: 20px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    /* Featured Services Section */
    .service-preview {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
        margin-bottom: 20px;
    }
}
