* {
    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: 100%;
    max-width: 100%;
    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: 100%;
    max-width: 100%;
    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: #FF6600;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 15px 40px;
    border: 2px solid #FF6600;
    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: #e65c00;
    border-color: #e65c00;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

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

/* About Section */
.about-section {
    padding: 100px 20px;
    background-color: #F0F5FA;
    width: 100%;
    max-width: 100%;
    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%;
    box-sizing: border-box;
}

.about-text {
    flex: 1;
}

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

.about-description {
    font-size: 1.1rem;
    color: #3E5066;
    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: #0A2342;
    margin-bottom: 0.5rem;
}

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

.contact-button {
    background-color: #FF6600;
    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: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    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: 100px 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%;
    box-sizing: border-box;
}

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

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

.services-images {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

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

.service-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.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-sizing: border-box;
}

.service-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Subscribe Section */
.subscribe-section {
    padding: 100px 20px;
    background-color: #F0F5FA;
    width: 100%;
    max-width: 100%;
    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%;
    box-sizing: border-box;
}

.subscribe-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2342;
    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: #0A2342;
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    color: #0A2342;
    background-color: #ffffff;
    border: 2px solid #CEDBE8;
    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: #0A2342;
}

.form-input::placeholder {
    color: #8FA1B8;
}

.submit-button {
    background-color: #FF6600;
    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: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

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

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

    .about-section,
    .services-section,
    .subscribe-section,
    .reviews-hp-section,
    .achievements-section,
    .intervention-section,
    .location-section {
        padding: 40px 20px;
    }

    .achievements-title {
        margin-top: 50px;
    }

    .achievements-title.no-mt-mobile {
        margin-top: 0;
    }
}

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

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

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

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

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

/* Reviews Home Page Section */
.reviews-hp-section {
    padding: 100px 20px;
    background-color: #ffffff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    contain: layout style;
}

.reviews-hp-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.reviews-hp-header {
    text-align: center;
    margin-bottom: 60px;
}

.reviews-hp-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.reviews-hp-subtitle {
    color: #3E5066;
    font-size: 1.1rem;
}

.reviews-hp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-hp-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.review-hp-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    color: rgba(0, 0, 0, 0.03);
    font-family: serif;
    line-height: 1;
}

.review-hp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.review-hp-card.featured {
    background: #ffffff;
    border: 1px solid #333;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}

.review-hp-rating {
    margin-bottom: 25px;
    display: flex;
    gap: 2px;
}

.star {
    color: #FF6600;
    font-size: 1.2rem;
}

.review-hp-content {
    font-style: normal;
    color: #1C3552;
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.review-hp-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #E8F1F8;
    padding-top: 25px;
}

.author-circle {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #05162B 0%, #1C3552 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-name {
    font-weight: 700;
    color: #05162B;
    margin: 0 0 4px 0;
    font-size: 1.05rem;
}

.author-location {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .reviews-hp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .reviews-hp-grid {
        grid-template-columns: 1fr;
    }

    .reviews-hp-section {
        padding: 40px 20px;
    }

    .reviews-hp-title {
        font-size: 2.2rem;
    }

    .review-hp-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .reviews-hp-title {
        font-size: 1.8rem;
    }
}

/* Achievements Section */
.achievements-section {
    padding: 100px 20px;
    background-color: #ffffff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    contain: layout style;
}

.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
}

.achievements-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.achievements-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #05162B;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.achievements-desc {
    font-size: 1.1rem;
    color: #3E5066;
    line-height: 1.6;
}

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

.achievement-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #d0e1ff;
}



.achievement-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.achievement-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.achievement-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #05162B;
    line-height: 1.3;
}

.achievement-tag {
    background-color: #e3efff;
    color: #FF6600;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    white-space: nowrap;
    text-transform: capitalize;
}

.badge-before-after {
    background-color: #f1f5f9;
    color: #64748b;
}

.achievement-item-desc {
    font-size: 0.95rem;
    color: #3E5066;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .achievements-container {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .achievements-container {
        padding: 0;
    }

    .achievements-title {
        font-size: 2.2rem;
    }

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

    .achievement-image {
        height: 250px;
    }

}

.theme-icon {
    color: #FF6600;
    font-size: 1.5rem;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .location-top {
        text-align: center;
    }

    .location-info {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-blocks {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
    }


    .info-block {
        padding: 10px;
        flex: 1;
        min-width: 0;
    }
}

/* Intervention Zone Styles */
.intervention-section {
    padding: 40px 20px;
    background-color: #f8fbff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    contain: layout style;
    text-align: center;
}

.intervention-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.intervention-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #05162B;
    margin-bottom: 20px;
}

.intervention-desc {
    font-size: 1.1rem;
    color: #3E5066;
    margin-bottom: 40px;
}

.intervention-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.city-badge {
    background-color: #ffffff;
    color: #05162B;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8f0;
    cursor: default;
    transition: all 0.3s ease;
}

.city-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #FF6600;
    color: #FF6600;
}

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

    .intervention-list {
        gap: 10px;
    }

    .city-badge {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Local Gallery Styles */
.local-gallery-section {
    padding: 40px 20px 100px;
    background-color: #ffffff;
    width: 100%;
}

.local-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-item h3 {
    font-size: 1.8rem;
    color: #05162B;
    margin-bottom: 15px;
    font-weight: 700;
}

.gallery-item p {
    font-size: 1.1rem;
    color: #3E5066;
    line-height: 1.8;
    margin-bottom: 25px;
}

.gallery-img-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img-wrapper {
    transform: translateY(-8px);
}

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

@media (max-width: 992px) {
    .local-gallery-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

    .gallery-item h3 {
        font-size: 1.5rem;
    }
}