* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1.2s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1.2s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Services Hero Section */
.services-hero {
    padding: 150px 20px 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.5rem;
}

.services-hero-description {
    font-size: 1.25rem;
    color: #666666;
    line-height: 1.8;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 20px;
    background-color: #fdfdfd;
}

.gallery-content {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-description {
    font-size: 1.1rem;
    color: #666666;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(242, 91, 10, 0.9);
    color: #ffffff;
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item img {
    cursor: pointer;
}

/* Gallery Modal/Lightbox */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.gallery-close:hover {
    transform: scale(1.2);
    color: #cccccc;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    padding: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
    user-select: none;
    line-height: 1;
}

.gallery-arrow:hover {
    transform: translateY(-50%) scale(1.2);
    color: #cccccc;
}

.gallery-arrow-left {
    left: 30px;
}

.gallery-arrow-right {
    right: 30px;
}

/* Other Services Section */
.other-services {
    padding: 60px 20px;
    background-color: #fdfdfd;
}

.other-services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.other-services-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.other-services-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #F25B0A;
    margin: 15px auto 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 40px;
    list-style: none;
    padding: 0;
}

.service-item {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #555555;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-item::before {
    content: '✓';
    color: #F25B0A;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-list {
        grid-template-columns: 1fr;
    }

    .other-services-title {
        font-size: 1.75rem;
    }
}


/* Reviews Section */
.reviews-section {
    height: 40vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../data/image/6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.reviews-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.reviews-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.reviews-background h2,
.reviews-background p {
    display: none;
}

.reviews-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    flex: 1;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.review-text {
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-size: 1rem;
    font-weight: 600;
    color: #666666;
    text-align: right;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 91, 10, 0.15);
    border-left: 4px solid #F25B0A;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        padding: 120px 20px 60px;
    }

    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-hero-description {
        font-size: 1.1rem;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }

    .gallery-item img {
        height: 350px;
    }

    .gallery-caption {
        transform: translateY(0);
        background: rgba(242, 91, 10, 0.85);
        padding: 10px;
        font-size: 0.85rem;
    }


    .reviews-section {
        background-attachment: scroll;
        height: auto;
        min-height: 40vh;
    }

    .reviews-container {
        flex-direction: column;
        gap: 20px;
    }

    .review-card {
        max-width: 100%;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 100px 20px 0px;
    }

    .services-hero-title {
        font-size: 2rem;
    }

    .services-hero-description {
        font-size: 1rem;
    }

    .gallery-section {
        padding: 60px 20px;
    }

    .gallery-title {
        font-size: 1.75rem;
    }

    .gallery-description {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .gallery-item img {
        height: 300px;
    }

    .gallery-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }

    .gallery-arrow {
        font-size: 40px;
        padding: 15px;
    }

    .gallery-arrow-left {
        left: 10px;
    }

    .gallery-arrow-right {
        right: 10px;
    }

    .gallery-modal-img {
        max-width: 95%;
        max-height: 85%;
    }


    .review-card {
        padding: 20px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .faq-section {
        padding: 60px 20px;
    }

    .faq-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }
}