/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* About Us */
.container #about p {
    text-align: justify;
}

/* Services */
.services-container {
    display: grid;
    grid-template-columns: auto auto;
}

.service p {
    text-align: justify;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1rem;
    margin-bottom: 2rem;
}


/* Contact form */
#contact {
    text-align: center;
}

#contact iframe {
    width: 100%;
    height: 640px;
}

/*
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
    padding-top: 24px;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
}

.contact-form button {
    background: #222;
    color: white;
    padding: 0.8rem;
    border: none;
    cursor: pointer;
} */

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2rem;
    margin-top: 1rem;
}

.testimonial {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid #113338;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-style: italic;
    border-radius: 4px;
}

.testimonial span {
    display: block;
    margin-top: 1rem;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    color: #555;
}

/* Image grid */
.grid {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    z-index: 1;
    pointer-events: none;
}

.flip-container {
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 2s;
}

.flip-container.flipped .flipper {
    transform: rotateX(180deg);
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
}

.front img,
.back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.back {
    transform: rotateX(180deg);
}

/* Responsive */
@media (max-width: 768px) {

    .services-container {
        display: grid;
        grid-template-columns: auto;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: auto;
    }
}