@font-face {
    font-family: 'MarketPro';
    src: url('../MarketPro.ttf') format('truetype'); /* Update the path if your font file is in a different location */
}

header .logo-container {
    display: flex;
    align-items: center;
}

header .logo-container img {
    height: 120px;
}

header .logo-container .company-name {
    font-family: 'MarketPro', sans-serif;
    font-size: 2rem; /* Adjust the size as needed */
    color: white;
    margin-left: 1rem;
    letter-spacing: 0.1rem; /* Match index/about visual spacing */
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

header {
    background: black;
    color: white;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header .logo {
    height: 120px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}




header nav ul li {
    margin-left: 1rem;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.15rem;
}

header nav ul li a:hover {
    color: yellow;
}

.hero {
    background: url('../images/hero-image.webp') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
    background-color: black;
}

.hero h2 {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
}

.cta-button {
    background: yellow;
    color: black;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    display: inline-block;
    margin-top: 1rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: darkorange;
}

.about, .services, .testimonials, .gallery-preview {
    padding: 3rem 0;
    text-align: center;
    background: white;
    color: black;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

.about p {
    margin: 1rem 0;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card {
    background: #f4f4f4;
    padding: 1rem;
    width: 30%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.testimonials-carousel {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial {
    width: 30%;
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gallery img {
    width: 30%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

footer {
    background: black;
    color: white;
    text-align: center; /* Match index/about */
    padding: 1rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    /* SBOT Member Section in Footer */
footer .footer-sbot {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 0;
}

    /* Removed deprecated .sbot-label ruleset */

footer .contact-info {
    margin: 1rem 0;
}

footer .contact-info img {
    margin: 0 0.5rem;
    vertical-align: middle;
    height: 24px;
}

footer .social-media a {
    color: yellow;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

footer .social-media a:hover {
    color: darkorange;
}

/* Decrease SBOT member PNG size in footer */
.sbot-logo {
    width: 180px;
    height: auto;
}

/* Media Queries */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

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

    header nav ul li {
        margin: 0.5rem 0;
    }

    .service-cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
        margin: 1rem 0;
    }

    .testimonials-carousel {
        flex-direction: column;
    }

    .testimonial {
        width: 100%;
        margin: 1rem 0;
    }

    .gallery {
        flex-direction: column;
    }

    .gallery img {
        width: 100%;
        margin: 1rem 0;
    }

    /* Center footer contents on mobile */
    footer .container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1rem;
        width: 90%;
        max-width: 100vw;
        margin: 0 auto;
    }
    footer .footer-sbot {
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
        display: flex;
        align-items: center;
    }
    footer .footer-sbot a {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    footer .contact-info {
        margin: 1rem 0 0 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    /* Stack contact icons vertically and make them sharp/responsive */
        /* Make contact links block-level and full width so images fill space */
        footer .contact-info a {
            display: block;
            width: 100%;
            text-align: center;
        }
    footer .contact-info img {
        height: 32px;
        width: auto;
        margin: 0.5rem auto;
        display: block;
    }
        /* Ensure footer sections stack and are spaced on mobile */
        footer .container > p,
        footer .container > .contact-info,
        footer .container > .footer-sbot {
            width: 100%;
            margin-bottom: 0.5rem;
        }
        /* Prevent image overflow and scale logos */
        .sbot-logo {
            max-width: 120px;
            height: auto;
        }
        /* Add extra padding to footer for small screens */
        footer {
            padding-bottom: 2rem;
        }
}