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

html {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* Force all elements to respect viewport width */
*,
*::before,
*::after {
    max-width: 100%;
}

/* Prevent any element from causing horizontal scroll */
div,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
ul,
li {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure sections don't overflow */
section {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
    position: relative;
    contain: layout style;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
    will-change: transform, opacity;
    contain: layout style paint;
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
    will-change: transform, opacity;
    contain: layout style paint;
}

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

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

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

/* Hero */
.hero {
    width: 100vw;
    max-width: 100vw;
    height: 95vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('image/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-button {
    background-color: transparent;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    padding: 15px 40px;
    border: 1px solid #ffffff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.hero-button:hover {
    background-color: #F25B0A;
    color: #ffffff;
    border-color: #F25B0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 91, 10, 0.3);
    text-decoration: none;
}

.hero-button:active {
    transform: translateY(-1px);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
    position: relative;
    contain: layout style;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #F25B0A;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666666;
    line-height: 1.4;
}

.contact-button {
    background-color: #F25B0A;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-button:hover {
    background-color: #d14d08;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 91, 10, 0.3);
    text-decoration: none;
}

.contact-button:active {
    transform: translateY(-1px);
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: block;
    box-sizing: border-box;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background-color: #ffffff;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
    position: relative;
    contain: layout style;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    width: 100%;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
}

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

/* Gallery Section */
.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;
    cursor: pointer;
}

.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 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;
    }
}

/* Subscribe Section */
.subscribe-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
    position: relative;
    contain: layout style;
}

.subscribe-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
}

.subscribe-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 2.5rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    color: #333333;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #F25B0A;
}

.form-input::placeholder {
    color: #999999;
}

.submit-button {
    background-color: #F25B0A;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #d14d08;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 91, 10, 0.3);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }

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

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

    .hero-button {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

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

    .stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-image {
        max-width: 100%;
    }

    .services-title {
        font-size: 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;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

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

    .about-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .contact-button {
        width: 100%;
    }

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

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

    .gallery-grid {
        grid-template-columns: 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%;
    }

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

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

    .submit-button {
        width: 100%;
    }
}

/* Location Section */
.location-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.location-top {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.location-info {
    flex: 1;
}

.location-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.5rem;
}

.location-description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.8;
}

.info-blocks {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-block-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.info-block-text {
    font-size: 1rem;
    color: #666666;
    margin: 0;
}

.location-map {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .location-section {
        padding: 60px 20px;
    }

    .location-top {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

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

    .location-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .location-title {
        font-size: 1.75rem;
    }
}