/* General Reset */
body, h1, h2, p, ul, li, a, img, figure, figcaption {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.main-header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.main-header nav ul li a {
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-header nav ul li a:hover,
.main-header nav ul li a.active {
    background-color: #0066cc;
    color: #fff;
}

/* Main Content */
main {
    padding: 40px 20px;
}

.service-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.service-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.service-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.service-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.service-section ul li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-section ul li img {
    width: 16px;
    height: 16px;
}

/* Image Galleries */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
    margin-top: 20px;
}

.image-gallery figure {
    text-align: center;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.image-gallery figcaption {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #666;
}

/* Responsive Background for Homepage */
.responsive-bg {
    background: url('../Images/ASM_Designs_Homepage.png') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
}

/* Footer */
.main-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.main-footer p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.contact-button {
    display: inline-block;
    background-color: #0066cc;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #004da5;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-links li a {
    color: #fff;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .service-section ul {
        gap: 5px;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .responsive-bg {
        background-position: top center;
        background-size: contain;
        background-attachment: scroll;
    }

    .contact-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}
