@media (max-width: 600px) {
    .contact-icon img {
        width: 60px !important;
        height: auto !important;
        display: block;
        margin: 0 auto 0.5rem auto;
        max-width: 90vw;
        filter: drop-shadow(0 2px 6px #00000055);
    }
}
@media (max-width: 400px) and (max-device-width: 400px) {
    .contact-bg {
        background-image: url('images/footer.png') !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center bottom !important;
        min-height: 700px !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (max-width: 600px) {
    .contact-bg {
        background-image: url('images/footer.png') !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        min-height: 700px !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    #contact .contact-heading,
    #contact-form {
        position: relative;
        z-index: 2;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 350px;
    }
    
    .contact-form {
        max-width: 320px;
        padding: 0.5rem;
    }
}
#contact .contact-heading {
    text-align: center;
    color: #f5f0e6;
    margin-top: 10mm;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0.8px 1.2px 1.5px #000000;
}
/* Make the header logo small */
.desktop-logo img {
    width: 170px;
    height: auto;
    max-width: 100%;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f0e6;
    color: #333;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

header {
    background-color: rgba(60, 47, 47, 0.95);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    color: darkgoldenrod;
    text-shadow: 0.8px 1.2px 3px #000000;
}

.logo img {
    filter: drop-shadow(0 0 4px #000) drop-shadow(0 0 8px #000);
    width: 100%;
    max-width: 180px;
}

.logo1 {
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
    margin-top: 0.1rem;
    color: darkgoldenrod;
    text-shadow: 0.8px 1.2px 3px #000000;
    font-family: 'Arial', sans-serif;
}

.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    width: 100%;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 2rem;
    font-size: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.5);
}

.nav-links a:hover {
    color: #edc000;
}

.hero {
    height: 100vh;
    background-image: url('images/background.jpeg');
    background-size: cover;
    background-position: top center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 0;
}

.hero-content {
    background-color: rgba(60, 47, 47, 0.7);
    padding: 2rem;
    border-radius: 5px;
    width: 90%;
    max-width: 600px;
    margin-top: 200px;
}

.hero-content h1 {
    font-family: 'Times New Roman', Times, serif !important;
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0.8px 1.2px 3px #3c2f2f;
}

.hero-content p {
    font-family: 'Times New Roman', Times, serif !important;
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0.8px 1.200px 3px #3c2f2f;
}

.cta-button {
    background-color: #d4a373;
    color: #f5f0e6;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    display: inline-block;
}

.cta-button:hover {
    background-color: #c89666;
}

.section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 10px;
    width: 100%;
}

.section h2 {
    text-align: center;
    color: #3c2f2f;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0.8px 1.2px 1.5px #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    width: 100%;
    padding: 0 10px;
}

.service-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(60, 47, 47, 0.18), 0 1.5px 4px rgba(60, 47, 47, 0.12);
    transition: transform 0.25s cubic-bezier(.25, .8, .25, 1), box-shadow 0.25s cubic-bezier(.25, .8, .25, 1);
    width: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03) rotateX(4deg);
    box-shadow: 0 16px 40px rgba(60, 47, 47, 0.22), 0 3px 12px rgba(60, 47, 47, 0.15);
}

.service-card h3 {
    color: #3c2f2f;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.3em;
    font-family: 'Times New Roman', Times, serif;
}

.service-card p {
    font-family: 'Times New Roman', Times, serif;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    width: 100%;
    padding: 0 10px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    width: 100%;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(60, 47, 47, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.about-us {
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Times New Roman', Times, serif;
}

.about-us h2 {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    color: #3c2f2f;
    margin: 0 auto 2rem auto;
    max-width: 380px;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0.8px 1.2px 1.5px #000000;
}

.about-us p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    margin: 0 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    width: 100%;
    padding: 0 10px;
}

.testimonial-card {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author-details {
    margin-top: auto;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    margin-bottom: 0.25rem;
}

.testimonial-title {
    font-weight: 400;
    font-size: 0.9rem;
    color: #666;
}

.contact-bg {
    background: url('images/footer.png') center center/cover no-repeat;
    background-size: 100% auto;
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem 0;
}

#contact-form {
    padding-top: 0;
    padding-bottom: 3rem;
    background: #;
    border-radius: 10px;
}
f5f0e6
#contact-form h2 {
    color: #3c2f2f;
    margin-top: 5rem;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 0.8px 1.2px 1.5px #000000;
}

.contact-form {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    max-width: 380px;
    margin: 0 auto;
    box-shadow: 0 12px 32px rgba(60, 47, 47, 0.35), 0 4px 16px rgba(60, 47, 47, 0.22), 0 0.5px 1.5px #d4a373, 0 0 0 4px #fff inset;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #3c2f2f;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 1.6rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.scale-btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #d4a373;
    color: #3c2f2f;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 0 auto;
    display: block;
}

.scale-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #c89666;
}

.scale-btn:active {
    transform: scale(0.95);
}

footer {
    background-color: #3c2f2f;
    color: #fff;
    text-align: center;
    padding: 2rem 10px;
    margin-top: 2rem;
    width: 100%;
}

.footer-content {
    max-width: 380px;
    margin: 0 auto;
}

.footer-logo img {
    width: 100%;
    max-width: 150px;
    margin: 0.5rem auto;
    display: block;
}

.footer-contact p {
    margin: 0.5rem 0;
}

footer a {
    color: #d4a373;
    text-decoration: none;
}

@media (max-width: 390px) {
    #contact-form h2 {
        color: #3c2f2f !important;
    }
    .contact-bg {
        background: none !important;
    }
    body {
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    header {
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        height: auto;
    }

    nav {
        max-width: 390px;
        padding: 0 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin: 0;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .hero {
        background-size: 600px auto;
        height: 80vh;
    }

    .hero-content {
        margin-top: 15rem;
        padding: 1.5rem;
        max-width: 350px;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    .section {
        padding: 0 10px;
        margin: 2rem auto;
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .service-card {
        width: 90%;
        max-width: 350px;
        margin: 0.5rem auto;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .portfolio-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .about-us p {
        margin: 0 10px;
        font-size: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .testimonial-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .contact-bg {
        background-size: 100% auto;
        width: 100%;
        margin: 0;
        left: 0;
        right: 0;
        min-height: 700px;
    }

    .contact-form {
        max-width: 99vw;
        padding: 2rem;
    }

    .footer-content {
        max-width: 350px;
    }
}