img {
    max-width: 100%;
    height: auto;
}


header.hero-section {
    position: relative;
    color: #000;
    text-align: center;
    padding: 4rem 1rem;
    overflow: hidden;
    margin-top: 80px; 
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.photo-album {
    padding: 2rem;
    text-align: center;
}

.album {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.album-slide {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    display: none; 
    transition: opacity 1.5s ease-in-out;
}

.album-slide img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.album-slide.active {
    display: block; 
    animation: fadeIn 2s ease-in-out;
}

.services-overview {
    padding: 2rem;
    text-align: center;
    background: #f4f4f4;
}

.service {
    margin: 1rem 0;
}

.service-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link:hover {
    text-decoration: underline;
}

.about-us {
    padding: 2rem;
    text-align: center;
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
}

.testimonials {
    padding: 2rem;
    text-align: center;
    background-color: #f4f4f4;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonials h2 {
    color: #007BFF;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.testimonial-gallery {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    flex: 0 0 50%;
    box-sizing: border-box;
    padding: 10px;
}

.testimonial.feedback-placeholder {
    background-color: #e9f7ef;
    border: 2px dashed #28a745;
    padding: 1rem;
    text-align: center;
}

.feedback-placeholder .cta-button {
    background-color: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.feedback-placeholder .cta-button:hover {
    background-color: #218838;
}

.testimonial h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial p {
    font-size: 1rem;
    color: #555;
    margin: 0.5rem 0;
}

.testimonial span {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}

.star-rating {
    color: #FFD700;
    margin-bottom: 10px;
}

.testimonial:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .testimonial-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .testimonial {
        flex: 0 0 50%; 
    }
}

@media (max-width: 600px) {
    .testimonial-container {
        flex-direction: column;
        width: 100%;
    }
    .testimonial {
        flex: 0 0 100%;
    }

    .nav-button.left-button {
        left: 10px;
    }
    .nav-button.right-button {
        right: 10px;
    }
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 123, 255, 0.9);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 25px;
    font-size: 1rem;
    z-index: 10; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    background-color: rgba(0, 123, 255, 1);
}

.nav-button:hover {
    background-color: rgba(0, 123, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.left-button {
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
}

.right-button {
    right: 10px; 
    top: 50%;
    transform: translateY(-50%);
}



.about-section,
.contact-section {
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.feedback-section {
    padding: 2rem;
    text-align: center;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 600px;
    margin: 2rem auto;
}

.feedback-section h2 {
    color: #007BFF;
    margin-bottom: 1rem;
}

.feedback-section h3 {
    font-size: 1.5rem;
    color: #007BFF;
    margin-bottom: 1rem;
    text-align: left;
}

.feedback-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feedback-section label {
    margin: 0.5rem 0;
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.feedback-section input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.feedback-section label[for="feedbackTitle"] {
    font-weight: bold;
}

#feedbackTitle {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FFD700;
}

.feedback-section textarea {
    width: 100%;
    max-width: 400px;
    height: 100px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-button {
    background-color: #007bff; 
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
}

.modal-yes {
    background-color: #007BFF;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 1rem;
    transition: background 0.3s ease;
}

.modal-yes:hover {
    background-color: #0056b3;
}

.modal button {
    background-color: #6c757d;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal button:hover {
    background-color: #5a6268;
}


#successAlertModal {
    display: none; 
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

#successAlertModal .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
}

#successAlertModal .modal-yes {
    background-color: #28a745; 
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#successAlertModal .modal-yes:hover {
    background-color: #218838;
}

.feedback-form {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease-in-out;
    display: none;
    animation: fadeIn 0.5s forwards;
}

.feedback-form h3 {
    margin-bottom: 1rem;
    color: #007BFF;
}

.form-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-step label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-step input,
.form-step textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.next-button,
.back-button,
.submit-button {
    background-color: #007BFF;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 0.25rem;
}

.next-button:hover,
.back-button:hover,
.submit-button:hover {
    background-color: #0056b3;
}

.button-group {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.button-group .back-button {
    margin-right: auto;
    background-color: #6c757d;
}

.button-group .next-button {
    margin-left: auto;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    margin-right: 5px;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FFD700;
}

.step-indicators {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.step {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.step.active {
    background-color: #007BFF; 
}

.step.completed {
    background-color: #28a745; 
}



@keyframes fadeIn {
    to {
        display: block;
        opacity: 1;
    }
}


.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.custom-alert.success {
    background-color: #28a745; 
    border: 2px solid #1e7e34;
}

.custom-alert.error {
    background-color: #dc3545; 
}

.alert-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.alert-close-button::before {
    content: '✖';
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.alert-close-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.alert-close-button::before {
    color: #fff;
}

.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}


label span {
    color: red;
    margin-left: 5px;
}
