body {
    background-color: #FFFFFF;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    /* Added for consistent base font size */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    border: 2px solid #000000;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

header {
    padding: 20px;
    text-align: center;
    background-color: #333;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
}

nav ul li a:hover {
    color: #D4A017;
}

nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    z-index: 1000;
}

main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.oval-title {
    background: #000000;
    color: #FFFFFF;
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-block;
    font-size: 2.5em;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hero {
    background: white;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 3em;
    margin: 0;
}

.hero-content p {
    font-size: 1.3em;
    margin: 15px 0;
}

.cta-button {
    display: inline-block;
    background-color: #FFFFFF;
    color: #333;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #D4A017;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #F9F9F9;
    border-color: #B38600;
    color: #333;
}

.services-highlight,
.testimonials-preview {
    background: #F9F9F9;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-item {
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}


.service-img:hover {
    transform: scale(1.05);
}

.service-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    display: block;
    padding: 10px;
    transition: color 0.3s;
}

.service-link:hover {
    color: #D4A017;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 30px;
}

.gallery-item img {
    border: 1px solid #E0E0E0;
    width: 100%;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item p {
    text-align: center;
    margin: 10px 0;
    font-weight: 500;
}

form {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: #F9F9F9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D4A017;
    border-radius: 5px;
    box-sizing: border-box;
}

form button {
    background-color: #FFFFFF;
    color: #333;
    padding: 12px 25px;
    border: 2px solid #D4A017;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: #F9F9F9;
    border-color: #B38600;
}

.contact-details {
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    background: #F9F9F9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 32px;
    height: 32px;
    margin: 5px 0;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-item a:hover {
    color: #D4A017;
}

footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #222;
    color: #f1f1f1;
    margin-top: 50px;
    border-top: 4px solid rgb(179, 134, 0);
}

footer p {
    margin: 10px 0;
    font-size: 16px;
}

footer a {
    color: #bbb;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    color: #007bff;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icons img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #444;
    padding: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
    background-color: #007bff;
}

.service-description {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
}


.testimonial p {
    margin: 0 0 10px;
}

.testimonial .reviewer {
    font-weight: bold;
    font-size: 1em;
}

.testimonial .rating {
    color: #D4A017;
    font-size: 0.95em;
}

.testimonial .source {
    font-size: 0.9em;
    color: #666;
}

#home-reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}



#reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button img {
    width: 60px;
    height: 60px;
}

.service-description p,
main p {
    line-height: 1.7;
}

/* New styles for testimonials carousel */
.testimonials-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.carousel-counter {
    font-size: 2em;
    font-weight: bold;
    color: #D4A017;
    margin-right: 20px;
    padding: 10px;
    position: sticky;
    top: 0;
}

.testimonials-carousel {
    flex: 1;
    position: relative;
}

.carousel-container {
    max-height: 640px;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
    width: 8px;
}

.carousel-container::-webkit-scrollbar-thumb {
    background: #D4A017;
    border-radius: 4px;
}

.carousel-container::-webkit-scrollbar-track {
    background: #F9F9F9;
}

.carousel-inner {
    display: flex;
    flex-direction: column;
}

.testimonial {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.stars {
    color: #D4A017;
    font-size: 1.2em;
}

.source-icon {
    width: 24px;
    height: 24px;
}

.average-rating {
    margin-top: 20px;
    text-align: center;
    position: sticky;
    bottom: 0;
    background: #FFFFFF;
    padding: 10px;
}

.average-rating p {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.average-rating span {
    color: #D4A017;
}

/* Base styling for form groups */
.form-group {
    margin-bottom: 1rem;
}

/* Input and textarea default styles */
input,
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s, background-color 0.2s;
}

/* Valid state: only apply if not empty */
input:not(:placeholder-shown):valid,
textarea:not(:placeholder-shown):valid {
    border-color: #2ecc71;
}

/* Invalid state styling */
input.invalid,
textarea.invalid {
    border-color: #e74c3c;
    background-color: #fdecea;
}

/* Error message styling */
.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}


@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .oval-title {
        font-size: 2em;
    }

    .service-grid,
    .gallery {
        grid-template-columns: repeat(2, 1fr);

    }

    footer {
        padding: 25px 15px;
    }

    .social-icons {
        gap: 10px;
        /* Slightly reduced spacing */
    }

    .social-icons img {
        width: 28px;
        height: 28px;
    }

    footer p {
        font-size: 14px;
        /* Slightly smaller text for better spacing */
    }
}

@media (max-width: 768px) {
    body {
        border: none;
        /* Optional: removes border on small screens */
    }

    .logo {
        max-width: 300px;

    }

    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5em;
    }

    nav ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    nav ul li a {
        padding: 10px;
        font-size: 1em;
    }

    .oval-title {
        font-size: 1.4em;
        line-height: 1.2;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }


    .whatsapp-button img {
        width: 50px;
        /* Slightly larger for better visibility */
        height: 50px;
    }


    .testimonials-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .carousel-counter {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .carousel-container {
        max-height: 400px;
    }

    .services-highlight,
    .testimonials-preview {
        padding: 5px;
    }

    #home-reviews-container {
        padding: 0 5px
    }

    footer {
        padding: 20px 10px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icons img {
        width: 24px;
        height: 24px;
    }

    footer p {
        font-size: 12px;
    }
}

#reviews-container .testimonial .review-text {
    font-style: italic;
    font-size: 1.1em;
    padding: .5rem;
}


nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {

    .service-grid,
    .gallery {
        grid-template-columns: 1fr;

    }
}