@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Dancing+Script:wght@600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary-green-light: #a3c64b;
    --primary-green-dark: #4e9e6a;
    --primary-blue-light: #7cc3c3;
    --primary-blue-dark: #247b8a;
    --primary-teal: #3a8b8b;
    --primary-gradient: linear-gradient(90deg, #a3c64b 0%, #3a8b8b 100%);
    --text-dark: #1a3a3a;
    --text-light: #fff;
    --vh: 1vh;
}

/* Initial state to prevent any scroll */
html.loading,
html.loading body {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --vh: 1vh;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.loaded {
    opacity: 1;
    height: auto;
    position: relative;
}

/* Main wrapper to control overflow */
.main-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.loaded .main-wrapper {
    opacity: 1;
    visibility: visible;
}

/* Banner Section */
.banner {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    overflow: hidden;
    min-height: 300px;
}

.banner-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Container adjustments */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Section adjustments */
section {
    position: relative;
    width: 100%;
    overflow: visible;
}

section:not(.banner) {
    padding-top: 60px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
    padding: 15px 0;
}

.header.scrolled {
    background: var(--primary-gradient);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 4px 0; /* Giảm padding từ 8px xuống 4px */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    width: 100%;
}

.logo {
    position: relative;
    padding: 5px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
}

.logo-img {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    max-width: 160px;
    object-fit: contain;
}

.header.scrolled .logo img {
    height: 60px !important; /* Giảm chiều cao logo từ 80px xuống 60px */
    max-width: 120px; /* Giảm max-width từ 160px xuống 120px */
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.header.scrolled .main-nav a {
    color: var(--text-light);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green-light);
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-green-light);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
    margin-left: auto;
    padding-right: 15px;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.header.scrolled .hamburger span {
    background: var(--text-light);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Mobile Menu */
@media (max-width: 992px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        position: relative;
    }

    .logo {
        width: auto;
        margin: 0 auto;
    }

    .logo-img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        height: 50px;
        max-width: 120px;
    }

    .header.scrolled .logo img {
        height: 40px;
        max-width: 100px;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--primary-gradient);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 80px 20px 20px;
        transition: all 0.4s ease;
        box-shadow: -2px 0 30px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-nav a {
        color: var(--text-light);
        text-shadow: none;
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav a:hover {
        color: var(--primary-green-light);
        background: rgba(255,255,255,0.05);
        padding-left: 10px;
    }

    .header.scrolled .mobile-header .logo-img img {
        height: 60px !important;
        max-width: 140px;
        transition: all 0.3s ease;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 0 10px;
    }

    .logo img {
        height: 40px;
        max-width: 100px;
    }

    .header.scrolled .logo img {
        height: 35px;
        max-width: 90px;
    }

    .hamburger {
        right: 10px;
    }
}

/* Banner Section */
.banner {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    overflow: hidden;
    min-height: 300px;
}

.banner-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Location Section */
.location {
    padding: 100px 0 0 0;
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #f4fbff 0%, #e0f7fa 100%); /* Xanh dương nhạt */
    scroll-margin-top: 70px;
}

.location .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    padding: 0 20px;
}

.location-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.location-left {
    flex: 0 0 40%;
    max-width: 500px;
}

.location-right {
    flex: 0 0 55%;
    max-width: 845px;
}

.location-map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
}

.location-map img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.amenities-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.amenities-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.amenities-item i {
    font-size: 2rem;
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.amenities-item:hover i {
    color: #ffffff;
    background: #2196F3;
    transform: scale(1.1);
}

.amenities-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    flex: 1;
}

@media (max-width: 768px) {
    .amenities-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .amenities-item i {
        font-size: 1.5rem;
        padding: 0.75rem;
    }
    
    .amenities-item span {
        font-size: 1rem;
    }
}

/* Section Title Styles */
.section-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.5rem !important;
    margin-bottom: 50px;
    color: var(--primary-teal);
    position: relative;
    padding-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title.animated {
    opacity: 1;
    transform: translateY(0);
}

.section-title em {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-size: 2.2rem !important;
    margin-top: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: none;
}

/* Em style cho section có nền sáng */
.location .section-title em,
.project-intro .section-title em,
.products .section-title em,
.gallery .section-title em {
    color: var(--primary-green-light);
    text-shadow: none;
    font-size: 2.2rem !important;
    font-weight: 800;
}

/* Em style cho section có nền gradient hoặc tối */
.amenities .section-title em,
.policy .section-title em,
.contact-footer-section .section-title em {
    color: var(--primary-green-light);
    text-shadow: none;
    font-size: 4.5rem;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Project Introduction Section */
.project-intro {
    padding: 80px 0;
    background: linear-gradient(90deg, #fffbe6 0%, #fff7e0 100%); /* Vàng nhạt */
    width: 100%;
    overflow: hidden;
    margin-top: -1px;
    scroll-margin-top: 70px;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 40px 40px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.features-grid .feature-item {
  margin-top: 0;
}
.features-grid .feature-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.features-grid .feature-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.features-grid .feature-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
.features-grid .feature-item:nth-child(4) {
  grid-column: 1 / span 2;
  grid-row: 2;
  justify-self: center;
  margin-top: 48px;
  width: 70%;
  z-index: 2;
}
.features-grid .feature-item:nth-child(5) {
  grid-column: 2 / span 2;
  grid-row: 2;
  justify-self: center;
  margin-top: 48px;
  width: 70%;
  z-index: 2;
}
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(3, auto) !important;
    gap: 18px !important;
    display: grid !important;
  }
  .features-grid .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0 !important;
  }
  .features-grid .feature-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .features-grid .feature-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .features-grid .feature-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .features-grid .feature-item:nth-child(4) { grid-column: 2; grid-row: 2; margin-top: 0; width: 100%; }
  .features-grid .feature-item:nth-child(5) { grid-column: 1 / span 2; grid-row: 3; display: flex !important; margin-top: 0; width: 100%; }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(3, auto) !important;
    gap: 10px !important;
    display: grid !important;
    padding: 0 6px;
  }
  .features-grid .feature-item {
    width: 100%;
    min-width: unset;
    max-width: unset;
    margin-top: 0 !important;
  }
  .features-grid .feature-item:nth-child(5) {
    grid-column: 1 / span 2;
    grid-row: 3;
    display: flex !important;
    width: 100%;
  }
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 340px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.feature-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
    position: relative;
    padding-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-image {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 992px) {
    .features-grid {
        gap: 25px;
        padding: 0 15px;
    }

    .feature-image {
        width: 220px;
        height: 220px;
    }

    .feature-item h3 {
        font-size: 1.2rem;
    }

    .feature-item p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 40px;
    }

    .feature-image {
        width: 260px;
        height: 260px;
    }

    .intro-text {
        font-size: 1.1rem;
        padding: 0 20px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        gap: 30px;
        padding: 0 15px;
    }

    .feature-image {
        width: 220px;
        height: 220px;
        margin-bottom: 10px;
    }

    .feature-item {
        gap: 10px;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        padding-bottom: 10px;
    }

    .feature-item p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 30px;
        line-height: 1.5;
    }
}

/* Project Introduction Section */
.project-intro {
    padding: 80px 0;
    background: var(--primary-gradient)
}

.product-info {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.product-overview {
    text-align: center;
    margin-bottom: 32px;
}

.product-overview h3 {
    color: var(--primary-teal);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.product-overview p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.product-specs {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    justify-content: left;
    text-align: left;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(58,139,139,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.spec-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(58,139,139,0.12);
}

.spec-item i {
    font-size: 1.4rem;
    color: var(--primary-teal);
    margin-left: 0;
    margin-right: 10px;
    min-width: 24px;
    text-align: left;
}

.spec-item span {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: left;
}

.product-features {
    margin-top: 40px;
}

.product-features h3 {
    text-align: center;
    color: var(--primary-teal);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .product-specs {
        flex-direction: column;
    gap: 16px;
    }
    
    .spec-item {
        width: 100%;
        justify-content: left;
    }
    
    .product-overview p {
        font-size: 1rem;
    }
    
    .spec-item span {
        font-size: 1rem;
    }
}

/* Products Section */
.products {
    padding: 100px 0;
    background: linear-gradient(90deg, #f7f6ff 0%, #ede7f6 100%); /* Tím nhạt */
    width: 100%;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.products .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Splide Styles */
.productSplide {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16/9;
}

.splide__track {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.splide__list {
    height: 100%;
}

.splide__slide {
    position: relative;
    height: 100%;
    background: #fff;
}

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

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    padding: 0 20px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Custom Arrows */
.custom-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-teal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.custom-arrow:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.custom-prev {
    left: 20px;
}

.custom-next {
    right: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .productSplide {
        margin: 30px auto;
        border-radius: 15px;
    }

    .custom-arrow {
        width: 40px;
        height: 40px;
    }

    .slide-caption {
        bottom: 25px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .productSplide {
        margin: 20px auto;
        border-radius: 12px;
        aspect-ratio: 4/3;
}

    .custom-arrow {
        width: 36px;
        height: 36px;
    }

    .slide-caption {
        bottom: 20px;
        font-size: 1.5rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .productSplide {
        margin: 15px auto;
        border-radius: 10px;
        aspect-ratio: 3/4;
}

    .slide-caption {
        bottom: 15px;
        font-size: 1.3rem;
        padding: 0 10px;
    }

    .custom-arrow {
        width: 32px;
        height: 32px;
    }
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: linear-gradient(90deg, #f4fbff 0%, #e0f7fa 100%); /* Xanh dương nhạt */
    width: 100%;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.gallerySwiper {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    color: #e8f5f5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.gallery-content p {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.swiper-slide-active .gallery-content {
    transform: translateY(0);
}

.swiper-slide-active .gallery-content h3,
.swiper-slide-active .gallery-content p {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .gallery-item img {
    transform: scale(1.1);
}

/* Thumbnail Gallery */
.galleryThumbs {
    height: 120px;
    margin-top: 20px;
    padding: 0 40px;
}

.galleryThumbs .swiper-slide {
    width: 200px;
    height: 120px;
    opacity: 0.4;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.galleryThumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.galleryThumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--primary-green-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.4rem;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--primary-teal);
    transform: scale(1);
    }
    
.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    transform: scale(1.2);
    }

.swiper-button-next {
    right: 20px;
    }
    
.swiper-button-prev {
    left: 20px;
    }
    
/* Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-green-light);
    opacity: 0.5;
    transition: all 0.3s ease;
    }
    
.swiper-pagination-bullet-active {
    background: var(--primary-teal);
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1.2rem;
    }
    }
    
@media (max-width: 480px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        transform: scale(0.8);
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1rem;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        transform: scale(0.9);
    }
}

/* Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-green-light);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary-teal);
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallerySwiper {
        height: 60vh;
        min-height: 400px;
}

    .gallery-content {
        padding: 30px;
}

    .gallery-content h3 {
        font-size: 1.8rem;
}

    .gallery-content p {
        font-size: 1rem;
}

    .galleryThumbs {
        height: 100px;
}

    .galleryThumbs .swiper-slide {
        width: 160px;
        height: 100px;
}
}

@media (max-width: 768px) {
    .gallerySwiper {
        height: 50vh;
        min-height: 300px;
        margin: 30px 0;
    }
    
    .gallery-content {
        padding: 20px;
}

    .gallery-content h3 {
        font-size: 1.5rem;
    }
    
    .gallery-content p {
        font-size: 0.9rem;
    }
    
    .galleryThumbs {
        height: 80px;
        padding: 0 20px;
    }
    
    .galleryThumbs .swiper-slide {
        width: 120px;
        height: 80px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.2);
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallerySwiper {
        height: 40vh;
        min-height: 250px;
        margin: 20px 0;
}

    .gallery-content h3 {
        font-size: 1.3rem;
    }

    .gallery-content p {
        font-size: 0.85rem;
}

    .galleryThumbs {
        height: 60px;
}

    .galleryThumbs .swiper-slide {
        width: 100px;
        height: 60px;
    }
}

/* Policy Section */
.policy {
    padding: 80px 0;
    background: linear-gradient(90deg, #f8fff4 0%, #eafbf2 100%); /* Xanh lá nhạt */
    width: 100%;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 32px 32px;
  justify-content: center;
  align-items: stretch;
  padding: 0 10px;
  position: relative;
}
.policy-list .policy-item {
  margin-top: 0;
}
.policy-list .policy-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.policy-list .policy-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.policy-list .policy-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}
.policy-list .policy-item:nth-child(4) {
  grid-column: 1 / span 2;
  grid-row: 2;
  justify-self: center;
  margin-top: 48px;
  width: 70%;
  z-index: 2;
}
.policy-list .policy-item:nth-child(5) {
  grid-column: 2 / span 2;
  grid-row: 2;
  justify-self: center;
  margin-top: 48px;
  width: 70%;
  z-index: 2;
}
@media (max-width: 900px) {
  .policy-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 18px;
  }
  .policy-list .policy-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .policy-list .policy-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .policy-list .policy-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .policy-list .policy-item:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; margin-top: 32px; width: 80%; }
}
@media (max-width: 600px) {
  .policy-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .policy-item {
    width: 90vw;
    min-width: unset;
    max-width: unset;
    margin-top: 0 !important;
  }
}

.policy-item {
  background: #fafdff;
  border-radius: 32px 32px 18px 18px;
  box-shadow: 0 6px 24px rgba(58,139,139,0.08);
  min-width: 220px;
  max-width: 340px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px 28px 18px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: visible;
}

.policy-block-content h3 {
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  margin-bottom: 22px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.22 !important;
}
.policy-block-content p {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.policy-item {
  min-height: 220px;
  padding: 0 12px 18px 12px;
  justify-content: center;
}
.policy-block-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.policy-list .policy-item:nth-child(1) .policy-block-content h3 { color: #4e9e6a; }
.policy-list .policy-item:nth-child(2) .policy-block-content h3 { color: #247b8a; }
.policy-list .policy-item:nth-child(3) .policy-block-content h3 { color: #3a8b8b; }
.policy-list .policy-item:nth-child(4) .policy-block-content h3 { color: #bfa100; }
.policy-list .policy-item:nth-child(5) .policy-block-content h3 { color: #6c5ce7; }

.policy-block-content p {
  font-size: 1rem;
  color: #2d3a4a;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}
.policy-list .policy-item:nth-child(1) .policy-block-content p { color: #4e9e6a; }
.policy-list .policy-item:nth-child(2) .policy-block-content p { color: #247b8a; }
.policy-list .policy-item:nth-child(3) .policy-block-content p { color: #3a8b8b; }
.policy-list .policy-item:nth-child(4) .policy-block-content p { color: #bfa100; }
.policy-list .policy-item:nth-child(5) .policy-block-content p { color: #6c5ce7; }

@media (max-width: 900px) {
  .policy-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 18px;
  }
  .policy-list .policy-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .policy-list .policy-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .policy-list .policy-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .policy-list .policy-item:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; margin-top: 32px; width: 80%; }
}
@media (max-width: 600px) {
  .policy-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .policy-item {
    width: 90vw;
    min-width: unset;
    max-width: unset;
    margin-top: 0 !important;
  }
}

.policy-item:hover {
    box-shadow: 0 12px 36px rgba(58,139,139,0.18);
    transform: translateY(-8px) scale(1.03);
}

.policy-block-top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: -38px;
    margin-bottom: 12px;
}

.policy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(58,139,139,0.10);
    font-size: 2.2rem;
    color: #fff;
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    /* giữ animation icon như cũ */
}

.policy-block-content {
    text-align: center;
    margin-top: 8px;
}

.policy-block-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-teal);
}

.policy-block-content p {
    font-size: 1.3rem;
    color: #444;
    line-height: 1.5;
    margin: 0;
}

/* Màu nền icon riêng cho từng block */
.policy-item:nth-child(1) .policy-icon { background: var(--primary-green-light); }
.policy-item:nth-child(2) .policy-icon { background: var(--primary-blue-light); }
.policy-item:nth-child(3) .policy-icon { background: var(--primary-green-dark); }
.policy-item:nth-child(4) .policy-icon { background: var(--primary-blue-dark); }
.policy-item:nth-child(5) .policy-icon { background: var(--primary-teal); }

/* Responsive */
@media (max-width: 900px) {
  .policy-list { gap: 18px; }
  .policy-item { width: 46vw; min-width: 180px; }
}
@media (max-width: 600px) {
  .policy-list { flex-direction: column; align-items: center; }
  .policy-item { width: 90vw; }
}

.policy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gradient) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.policy-item:hover::before {
    opacity: 0.05;
}

.policy-item .icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.policy-item .content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.policy-item h3 {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  margin-bottom: 0;
  line-height: inherit;
  letter-spacing: inherit;
}

/* Individual policy item styles */
.policy-item:nth-child(1) {
    background: linear-gradient(135deg, #f8fff4 0%, #eafbf2 100%);
    border: none;
    color: #fff;
}

.policy-item:nth-child(1) .icon {
    background: var(--primary-green-light);
    color: #fff;
    animation: pulseIcon 2s infinite;
}

.policy-item:nth-child(2) {
    background: linear-gradient(135deg, #f4fbff 0%, #e0f7fa 100%);
    border: none;
    color: #fff;
}

.policy-item:nth-child(2) .icon {
    background: var(--primary-blue-light);
    color: #fff;
    animation: floatIcon 3s infinite;
}

.policy-item:nth-child(3) {
    background: linear-gradient(135deg, #f4fff9 0%, #f4f9f0 100%);
    border: none;
    color: #fff;
}

.policy-item:nth-child(3) .icon {
    background: var(--primary-green-dark);
    color: #fff;
    animation: rotateIcon 4s infinite;
}

.policy-item:nth-child(4) {
    background: linear-gradient(135deg, #fffbe6 0%, #fff7e0 100%);
    border: none;
    color: #7a5c00;
}

.policy-item:nth-child(4) .icon {
    background: var(--primary-blue-dark);
    color: #fff;
    animation: bounceIcon 2.5s infinite;
}

.policy-item:nth-child(5) {
    background: linear-gradient(135deg, #f7f6ff 0%, #ede7f6 100%);
    border: none;
    color: #fff;
}

.policy-item:nth-child(5) .icon {
    background: var(--primary-teal);
    color: #fff;
    animation: shakeIcon 3s infinite;
}

/* Icon animations */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes shakeIcon {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Hover effects */
.policy-item:hover .icon {
    transform: scale(1.1);
    animation: none;
}

.policy-item:hover h3 {
    transform: translateX(10px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .policy-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .policy-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .policy-item {
        padding: 25px;
    }

    .policy-item .icon {
        font-size: 2rem;
        min-width: 50px;
        height: 50px;
    }

    .policy-item h3 {
        font-size: 1.1rem;
    }
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
    background: linear-gradient(90deg, rgba(163,198,75,0.10) 0%, rgba(58,139,139,0.10) 100%);
}

.form-group {
    margin-bottom: 20px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.cta-button {
    background: var(--primary-teal);
    color: var(--text-light);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.cta-button:hover {
    background: var(--primary-green-dark);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-social {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact {
    flex: 2 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-contact .contact-info {
    text-align: right;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--primary-teal);
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-green-light);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2rem;
    }
    
    .project-info {
        grid-template-columns: 1fr;
    }
    
    .product-types {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .bank-logos {
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-logo, .footer-social, .footer-contact {
        justify-content: center;
        text-align: center;
    }
    
    .footer-contact .contact-info {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 1s ease-out;
    width: 100%;
    overflow: hidden;
}

/* Header Flex Layout */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: flex;
    align-items: center;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-green-light);
}

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 12px;
    }
    .banner-title-overlay h1 {
        font-size: 2rem;
    }
    .banner-video-wrapper {
        height: 60vw;
        min-height: 180px;
    }
}

/* Nút chính (CTA) */
.cta-button {
    background: var(--primary-teal);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--primary-green-dark);
}

/* Tiêu đề section */
h1, h2, h3 {
    color: var(--primary-teal);
}

/* Link, icon, hiệu ứng */
a {
    color: var(--primary-blue-dark);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-green-dark);
}

/* Các thành phần nổi bật khác */
.tab-btn.active {
    background: var(--primary-teal);
    color: var(--text-light);
}

.info-item h3, .policy-item h3, .product-item h3 {
    color: var(--primary-green-dark);
}

/* Đảm bảo màu chữ cho section nền đậm */
.amenities h2, .amenities p, .amenities li,
.policy h2, .policy p, .policy li {
    color: var(--primary-teal);
}

#toTopBtn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    background: var(--primary-teal);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(30px);
}
#toTopBtn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#toTopBtn:hover {
    background: var(--primary-green-dark);
    color: #fff;
}

.contact-footer-section {
    background: var(--primary-gradient);
    padding: 60px 0 0 0;
    width: 100%;
    overflow: hidden;
    scroll-margin-top: 70px;
}
.contact-footer-grid {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
}
.contact-form-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(58,139,139,0.10);
    padding: 36px 32px 32px 32px;
    min-width: 340px;
    max-width: 420px;
    flex: 1 1 380px;
    margin-bottom: 40px;
    scroll-margin-top: 70px;
}
.contact-form-box h2 {
    color: var(--primary-teal);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: left;
}
.contact-info-box {
    color: #fff;
    flex: 1 1 420px;
    padding: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.contact-info-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}
.contact-info-list {
    margin-bottom: 32px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 1rem;
}
.contact-info-item i {
    font-size: 1.3rem;
    margin-top: 3px;
    color: var(--primary-green-light);
    min-width: 22px;
}
.footer-social {
    display: flex;
    gap: 18px;
    margin: 18px 0 24px 0;
}
.footer-social .social-link {
    color: #fff;
    font-size: 2rem;
    transition: color 0.3s;
}
.footer-social .social-link:hover {
    color: var(--primary-green-light);
}
.footer-logo-bot {
    margin: 0 0 18px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
.footer-logo-bot img {
    max-width: 170px;
    height: auto;
    display: block;
}
.copyright {
    color: #fff;
    font-size: 1rem;
    margin-top: 18px;
    opacity: 0.8;
}
@media (max-width: 900px) {
    .contact-footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .contact-info-box {
        align-items: center;
        text-align: center;
    }
    .contact-info-item {
        justify-content: center;
    }
}

.footer-logo-top {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    margin-top: 0;
}
.footer-logo-top img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .project-info-modern {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 0;
        gap: 20px;
        box-sizing: border-box;
    }
    .project-info-item-modern {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        border-radius: 18px;
    }
}

.product-types-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin: 40px 0;
}
.product-type-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(58,139,139,0.08);
    padding: 32px 28px 24px 28px;
    min-width: 200px;
    max-width: 240px;
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.25s, border 0.25s, transform 0.25s;
    border: 2px solid #e0e7ef;
    cursor: pointer;
    text-align: center;
    background-clip: padding-box;
}
.product-type-card .icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--primary-teal);
    transition: color 0.25s;
}
.product-type-card .title {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary-teal);
}
.product-type-card:hover {
    box-shadow: 0 8px 32px rgba(58,139,139,0.18);
    border-color: var(--primary-teal);
    transform: translateY(-6px) scale(1.04);
}
.product-type-card:hover .icon {
    color: var(--primary-green-dark);
}
.product-type-card.type1 { background: linear-gradient(135deg, #eaf6fa 0%, #fff 100%); }
.product-type-card.type2 { background: linear-gradient(135deg, #f3fbe7 0%, #fff 100%); }
.product-type-card.type3 { background: linear-gradient(135deg, #fffbe7 0%, #fff 100%); }
.product-type-card.type4 { background: linear-gradient(135deg, #f5e6fa 0%, #fff 100%); }
.product-type-card.type5 { background: linear-gradient(135deg, #e6fafd 0%, #fff 100%); }

@media (max-width: 900px) {
    .product-types-modern {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .product-type-card {
        width: 100%;
        max-width: 340px;
    }
}

.product-types-picture {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 40px 0 24px 0;
}
.product-picture-card {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(58,139,139,0.08);
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
    cursor: pointer;
}
.picture-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background: #eaf6fa;
}
.picture-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}
.product-picture-card:hover .picture-thumb img {
    transform: scale(1.08);
}
.product-picture-card:hover {
    box-shadow: 0 8px 32px rgba(58,139,139,0.18);
    transform: translateY(-6px) scale(1.04);
}
.picture-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-teal);
    text-align: center;
    padding: 16px 8px 14px 8px;
    background: #fff;
    width: 100%;
}
@media (max-width: 900px) {
    .product-types-picture {
        gap: 16px;
    }
    .product-picture-card {
        width: 48vw;
        min-width: 140px;
        max-width: 220px;
    }
}

.product-slideshow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 40px 0 24px 0;
    position: relative;
}
.slide-arrow {
    background: var(--primary-teal);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(58,139,139,0.12);
    transition: background 0.2s;
    z-index: 2;
}
.slide-arrow:hover {
    background: var(--primary-green-dark);
}
.slide-track {
    width: 100%;
    max-width: 800px;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s, transform 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.slide-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    transform: scale(1);
}
.slide-item img {
    width: auto;
    height: auto;
    max-height: 35vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(58,139,139,0.10);
    margin-bottom: 18px;
    transition: transform 0.4s;
}

@media (max-width: 768px) {
    .slide-item img {
        max-height: 28vh;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 0 10px;
    }
}

.product-multislider {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 24px;
}
.multi-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(.4,1,.4,1);
    will-change: transform;
    padding: 32px 0;
}
.multi-slide {
    flex: 0 0 auto;
    width: 100%;
    max-width: 800px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(58,139,139,0.10);
    background: #f4f6f8;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.multi-slide img {
    width: auto;
    height: auto;
    max-height: 35vh;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.multi-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 0;
    text-align: center;
    letter-spacing: 0.5px;
}
.multi-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(36,123,138,0.75);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
    opacity: 0.92;
}
.multi-arrow.left { left: 24px; }
.multi-arrow.right { right: 24px; }
.multi-arrow:hover { background: var(--primary-green-dark); opacity: 1; }
@media (max-width: 1200px) {
    .multi-slide {
        max-width: 600px;
    }
}
@media (max-width: 900px) {
    .multi-slide {
        max-width: 90vw;
    }
    
    .multi-slide img {
        max-height: 28vh;
    }
}

/* Add Font Awesome for check marks */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Ensure smooth scrolling on all devices */
html {
    scroll-behavior: smooth;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    button, 
    .cta-button,
    .slide-arrow,
    .multi-arrow {
        min-height: 44px;
        min-width: 44px;
    }
    
    input, 
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

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

/* Improve text readability on all devices */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Add support for high-DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img,
    .gallery-item img,
    .slide-item img {
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (max-width: 992px) {
    .location-content {
        flex-direction: column;
        gap: 30px;
    }

    .location-left, 
    .location-right {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .location-left {
        order: 1;
    }

    .location-right {
        order: 2;
    }

    .amenities-list {
        max-width: 600px;
        margin: 0 auto;
    }

    .location-map {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .location-content {
        padding: 0 15px;
        gap: 20px;
    }

    .amenities-item {
        padding: 1rem;
    }
}

/* Desktop Header */
.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

.desktop-header .logo {
    padding: 5px;
    transition: transform 0.3s ease;
}

.desktop-header .logo img {
    height: 80px !important;
    max-width: 160px;
    transition: none;
}

.header.scrolled .desktop-header .logo img {
    height: 80px !important;
    max-width: 160px;
    transition: none;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: relative;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mobile-header .logo-img {
    text-align: center;
}

.mobile-header .logo-img img {
    height: 50px;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.header.scrolled .mobile-header .logo-img img {
    height: 40px;
}

.mobile-header .hamburger {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 30px;
    height: 20px;
    z-index: 1001;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--primary-gradient);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 80px 20px 20px;
    transition: all 0.4s ease;
    box-shadow: -2px 0 30px rgba(0,0,0,0.2);
    z-index: 1000;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a:hover {
    color: var(--primary-green-light);
    padding-left: 10px;
    background: rgba(255,255,255,0.05);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: flex;
    }
}

@media (max-width: 576px) {
    .mobile-header {
        padding: 8px 10px;
    }

    .mobile-header .logo-img img {
        height: 40px;
        max-width: 100px;
    }

    .header.scrolled .mobile-header .logo-img img {
        height: 35px;
        max-width: 90px;
    }

    .mobile-header .hamburger {
        right: 10px;
    }

    .mobile-nav {
        width: 280px;
    }
}

@media (max-width: 992px) {
    .banner {
        height: 45vh;
        min-height: 220px;
    }

    .project-intro {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 35vh;
        min-height: 180px;
    }

    .banner-video-wrapper {
        height: 100%;
    }

    .project-intro {
        padding: 40px 0;
    }

    .intro-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 40px;
        padding: 0 15px;
    }
}

/* Amenities Section */
.amenities {
    padding: 80px 0;
    background: var(--primary-gradient);
    color: var(--text-light);
    width: 100%;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.amenities .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 20px;
}

.amenities-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 15px 30px;
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: var(--text-light);
    color: var(--primary-teal);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.amenity-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.amenity-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.amenity-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .amenities {
        padding: 60px 0;
    }

    .tab-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .tab-btn {
        padding: 12px 25px;
        font-size: 1rem;
        flex: 1 1 calc(50% - 15px);
        justify-content: center;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .amenity-card {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .amenities {
        padding: 40px 0;
    }

    .amenities .section-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .tab-btn {
        width: 100%;
        padding: 12px 20px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .amenity-card {
        padding: 20px 15px;
    }

    .amenity-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .amenity-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .amenity-card p {
        font-size: 0.95rem;
    }
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-close {
    top: -60px;
    right: -60px;
}

.lightbox-prev {
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Make gallery items clickable */
.gallery-item {
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next {
        right: 20px;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 992px) {
    .section-title em {
        font-size: 3.8rem;
    }
    
    .location .section-title em,
    .project-intro .section-title em,
    .products .section-title em,
    .gallery .section-title em,
    .amenities .section-title em,
    .policy .section-title em,
    .contact-footer-section .section-title em {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .section-title em {
        font-size: 3.2rem;
    }
    
    .location .section-title em,
    .project-intro .section-title em,
    .products .section-title em,
    .gallery .section-title em,
    .amenities .section-title em,
    .policy .section-title em,
    .contact-footer-section .section-title em {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .section-title em {
        font-size: 2.8rem;
    }
    
    .location .section-title em,
    .project-intro .section-title em,
    .products .section-title em,
    .gallery .section-title em,
    .amenities .section-title em,
    .policy .section-title em,
    .contact-footer-section .section-title em {
        font-size: 3rem;
    }
}

/* Zalo Button */
#zaloBtn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    background: #0068ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,104,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulseZalo 1.5s infinite, floatZalo 3s ease-in-out infinite;
}

#zaloBtn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(0,104,255,0.5);
    animation: none;
}

@keyframes pulseZalo {
    0% {
        box-shadow: 0 0 0 0 rgba(0,104,255,0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0,104,255,0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,104,255,0);
        transform: scale(1);
    }
}

@keyframes floatZalo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Policy Text */
.policy-text {
    position: fixed;
    right: 100px;
    bottom: 32px;
    z-index: 1000;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-green-dark));
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 4px 24px rgba(58,139,139,0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: policyPulse 1.2s infinite, policyGlow 2.2s ease-in-out infinite;
    white-space: nowrap;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    letter-spacing: 1px;
}

.policy-text:hover {
    background: linear-gradient(90deg, var(--primary-green-dark), var(--primary-teal));
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(58,139,139,0.45);
    border-color: rgba(255, 255, 255, 0.5);
    animation: none;
}

@keyframes policyPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes policyGlow {
    0%, 100% {
        box-shadow: 0 4px 24px rgba(58,139,139,0.35);
    }
    50% {
        box-shadow: 0 8px 40px rgba(58,139,139,0.55), 0 0 16px var(--primary-green-light);
    }
}

@keyframes shakePolicy {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        box-shadow: 0 4px 16px rgba(58,139,139,0.3);
    }
    25% {
        transform: translate(-2px, -2px) rotate(-1deg);
        box-shadow: 0 6px 20px rgba(58,139,139,0.4);
    }
    50% {
        transform: translate(2px, 2px) rotate(1deg);
        box-shadow: 0 4px 16px rgba(58,139,139,0.3);
    }
    75% {
        transform: translate(-2px, 2px) rotate(-1deg);
        box-shadow: 0 6px 20px rgba(58,139,139,0.4);
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes bouncePolicy {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes glowPolicy {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(58,139,139,0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(58,139,139,0.6),
                    0 0 30px rgba(58,139,139,0.4);
    }
}

.policy-text:active {
    transform: translateX(-10px) scale(0.95);
}

.policy-text .default-text {
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.policy-text .hover-text {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.policy-text:hover .default-text {
    display: none;
}

.policy-text:hover .hover-text {
    display: inline-block;
    opacity: 1;
    color: var(--text-light);
}

@keyframes pulsePolicy {
    0% {
        box-shadow: 0 4px 16px rgba(58,139,139,0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(58,139,139,0.5);
    }
    100% {
        box-shadow: 0 4px 16px rgba(58,139,139,0.3);
    }
}

@keyframes shakePolicy {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px) rotate(-1deg);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px) rotate(1deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-text {
        right: 80px;
        bottom: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
        border-width: 1px;
    }
}

/* Adjust Zalo button position when toTopBtn is visible */
#toTopBtn.show ~ #zaloBtn {
    bottom: 90px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #zaloBtn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        right: 20px;
        bottom: 20px;
    }

    .policy-text {
        right: 80px;
        bottom: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    #toTopBtn.show ~ #zaloBtn {
        bottom: 74px;
    }
}

.hotline-btn {
    position: fixed;
    right: 32px;
    bottom: 90px;
    z-index: 1000;
    background: #ff5722;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(255,87,34,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: vibratePhone 0.9s linear infinite, pulsePhone 1.5s infinite;
    text-decoration: none;
}

.hotline-btn:hover {
    background: #d84315;
    color: #fff;
    transform: scale(1.12);
    animation: none;
    text-decoration: none;
}

@keyframes vibratePhone {
    0% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-1px, 1px) rotate(-1deg); }
    20% { transform: translate(-1px, -1px) rotate(1deg); }
    30% { transform: translate(1px, 1px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 1px) rotate(-1deg); }
    60% { transform: translate(-1px, -1px) rotate(1deg); }
    70% { transform: translate(1px, 1px) rotate(0deg); }
    80% { transform: translate(1px, -1px) rotate(-1deg); }
    90% { transform: translate(-1px, 1px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes pulsePhone {
    0% {
        box-shadow: 0 0 0 0 rgba(255,87,34,0.5);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(255,87,34,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,87,34,0);
    }
}

@media (max-width: 768px) {
    .hotline-btn {
        right: 20px;
        bottom: 64px;
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

#toTopBtn.show ~ #zaloBtn {
    bottom: 90px;
}
#toTopBtn.show ~ #hotlineBtn {
    bottom: 148px;
}

@media (max-width: 768px) {
    #toTopBtn.show ~ #zaloBtn {
        bottom: 74px;
    }
    #toTopBtn.show ~ #hotlineBtn {
        bottom: 120px;
    }
} 

#zaloBtn, .hotline-btn {
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, transform 0.3s;
} 

.contact-footer-section .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #fff;
    padding: 36px 10px 18px 10px;
    margin-bottom: 0;
    letter-spacing: 1.2px;
    animation: ctaPulse 1.5s infinite;
    position: relative;
    line-height: 1.2;
    text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.contact-footer-section .section-title em {
    display: block;
    /* font-family: 'Playfair Display', serif; */
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 900;
    color: #fff;
    margin: 12px 0 0 0;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px rgba(58,139,139,0.18), 0 2px 8px rgba(0,0,0,0.12);
}

.contact-footer-section .section-title .price-highlight {
    /* font-family: 'Playfair Display', serif; */
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 32px #a3c64b, 0 2px 8px rgba(0,0,0,0.18);
    padding: 0 8px;
    display: inline-block;
    animation: pricePulse 1.2s infinite;
    font-size: 2.9rem;
}

.contact-footer-section .section-title .cta-highlight {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin: 28px 0 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 32px #3a8b8b, 0 2px 8px rgba(0,0,0,0.18);
    animation: ctaBounce 1.1s infinite;
    display: inline-block;
}

@keyframes pricePulse {
    0%, 100% { text-shadow: 0 0 32px #a3c64b, 0 2px 8px rgba(0,0,0,0.18);}
    50% { text-shadow: 0 0 48px #fff, 0 2px 8px #a3c64b;}
}
@keyframes ctaBounce {
    0%, 100% { transform: translateY(0);}
    30% { transform: translateY(-8px);}
    50% { transform: translateY(0);}
    70% { transform: translateY(-4px);}
}

/* Bank Support Section */
.bank-support {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8fbf5 0%, #eaf6fa 100%);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(58,139,139,0.10), 0 1.5px 8px 0 rgba(163,198,75,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bank-support::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(163,198,75,0.12) 0%, rgba(58,139,139,0.04) 100%);
    filter: blur(8px);
    z-index: 0;
    pointer-events: none;
}

.bank-support::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(58,139,139,0.10) 0%, rgba(163,198,75,0.04) 100%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.bank-support > * {
    position: relative;
    z-index: 1;
}

.bank-support h3 {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
}

.bank-support h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.bank-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px;
    border-radius: 15px;
}

.bank-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    animation: bankLogoFloat 3s ease-in-out infinite;
}

.bank-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.bank-logos img:nth-child(1) { animation-delay: 0s; }
.bank-logos img:nth-child(2) { animation-delay: 0.5s; }
.bank-logos img:nth-child(3) { animation-delay: 1s; }
.bank-logos img:nth-child(4) { animation-delay: 1.5s; }

@keyframes bankLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .bank-support {
        margin: 40px 0;
        padding: 30px 20px;
    }

    .bank-support h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .bank-logos {
        gap: 20px;
        padding: 15px;
    }

    .bank-logos img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .bank-support {
        margin: 30px 0;
        padding: 20px 15px;
    }

    .bank-support h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .bank-logos {
        gap: 15px;
        padding: 10px;
    }

    .bank-logos img {
        height: 35px;
    }
}

.highlight-number {
  color: var(--primary-green-light);
  font-size: 1.25em;
}

.amenities .section-title, .amenities .section-title em {
  color: var(--text-light);
}

.cta-below-bank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 36px 0 0 0;
  gap: 18px;
}
.cta-below-bank-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-teal);
  text-align: center;
  letter-spacing: 1px;
}
.cta-below-bank .price-highlight {
  color: var(--primary-green-light);
  font-size: 1.6rem;
  font-weight: 900;
  margin-left: 6px;
}
.cta-below-bank-btn {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  border-radius: 32px;
  padding: 14px 38px;
  box-shadow: 0 4px 18px rgba(58,139,139,0.13);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 4px;
  letter-spacing: 1px;
}
.cta-below-bank-btn:hover {
  background: var(--primary-green-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Gallery Tab Buttons - Nổi bật hơn */
.gallery-tab-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}
.gallery-tab-buttons .tab-btn {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 32px;
  background: #f4fbff;
  color: var(--primary-teal);
  border: none;
  box-shadow: 0 2px 12px rgba(58,139,139,0.10);
  transition: all 0.25s cubic-bezier(0.4,1,0.4,1);
  cursor: pointer;
  outline: none;
  position: relative;
  letter-spacing: 1px;
}
.gallery-tab-buttons .tab-btn.active {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(58,139,139,0.18);
  transform: translateY(-2px) scale(1.06);
}
.gallery-tab-buttons .tab-btn:hover:not(.active) {
  background: #e0f7fa;
  color: var(--primary-green-dark);
  box-shadow: 0 2px 16px rgba(58,139,139,0.13);
  transform: translateY(-1px) scale(1.03);
}
@media (max-width: 600px) {
  .gallery-tab-buttons .tab-btn {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

@media (max-width: 992px) {
  .mobile-header .logo-img img {
    height: 60px !important;
    max-width: 140px;
    transition: none;
  }
  .header.scrolled .mobile-header .logo-img img {
    height: 60px !important;
    max-width: 140px;
    transition: none;
  }
}

@media (max-width: 576px) {
  .mobile-header .logo-img img {
    height: 54px !important;
    max-width: 110px;
  }
  .header.scrolled .mobile-header .logo-img img {
    height: 54px !important;
    max-width: 110px;
  }
}

@media (max-width: 992px) {
  .mobile-header {
    min-height: 70px;
    height: 70px;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    display: flex;
  }
}
@media (max-width: 576px) {
  .mobile-header {
    min-height: 62px;
    height: 62px;
    padding: 8px 10px;
  }
}

@media (max-width: 900px) {
  .features-grid {
    gap: 8px !important;
    padding: 0 2vw;
  }
  .features-grid .feature-item {
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 2px;
  }
  .features-grid .feature-image {
    width: 110px;
    height: 110px;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
  }
}
@media (max-width: 600px) {
  .features-grid {
    gap: 4px !important;
    padding: 0 1vw;
  }
  .features-grid .feature-image {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 900px) {
  .features-grid .feature-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .features-grid .feature-item p {
    font-size: 0.92rem;
    line-height: 1.4;
  }
}
@media (max-width: 600px) {
  .features-grid .feature-item h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .features-grid .feature-item p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 0.97rem;
  }
  h1, .section-title {
    font-size: 1.5rem !important;
  }
  h2 {
    font-size: 1.25rem !important;
  }
  h3 {
    font-size: 1.05rem !important;
  }
  p, li, .section-description {
    font-size: 0.97rem;
  }
  input, select, button, .cta-button {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 0.92rem;
  }
  h1, .section-title {
    font-size: 1.15rem !important;
  }
  h2 {
    font-size: 1.05rem !important;
  }
  h3 {
    font-size: 0.98rem !important;
  }
  p, li, .section-description {
    font-size: 0.9rem;
  }
  input, select, button, .cta-button {
    font-size: 0.98rem;
  }
}

@media (max-width: 900px) {
  .location .section-description {
    font-size: 0.97rem !important;
  }
}
@media (max-width: 600px) {
  .location .section-description {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 900px) {
  .products .section-description {
    font-size: 0.97rem !important;
  }
  .policy, .policy-list, .policy-item, .policy-block-content, .policy-block-content h3, .policy-block-content p {
    font-size: 0.97rem !important;
  }
}
@media (max-width: 600px) {
  .products .section-description {
    font-size: 0.9rem !important;
  }
  .policy, .policy-list, .policy-item, .policy-block-content, .policy-block-content h3, .policy-block-content p {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 900px) {
  .policy-item {
    min-height: 140px;
    max-width: 180px;
    padding: 0 8px 12px 8px;
    margin-top: 0 !important;
  }
  .policy-block-top {
    margin-top: -22px;
    margin-bottom: 6px;
  }
  .policy-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}
@media (max-width: 600px) {
  .policy-item {
    min-height: 110px;
    max-width: 100%;
    padding: 0 4px 8px 4px;
  }
  .policy-block-top {
    margin-top: -14px;
    margin-bottom: 4px;
  }
  .policy-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

@media (max-width: 900px) {
  .policy-list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px !important;
  }
  .policy-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-self: stretch !important;
    margin-top: 0 !important;
  }
  .policy-list .policy-item:nth-child(4),
  .policy-list .policy-item:nth-child(5) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: unset !important;
  }
}
@media (max-width: 600px) {
  .policy-list {
    gap: 8px !important;
    padding: 0 2vw;
  }
  .policy-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-self: stretch !important;
  }
  .policy-list .policy-item:nth-child(4),
  .policy-list .policy-item:nth-child(5) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: unset !important;
  }
}

@media (max-width: 900px) {
  .policy-item:hover,
  .policy-item:active {
    box-shadow: none !important;
    transform: none !important;
    background: inherit !important;
  }
  .policy-item:hover .icon,
  .policy-item:active .icon {
    transform: none !important;
    animation: none !important;
  }
  .policy-item:hover h3,
  .policy-item:active h3 {
    transform: none !important;
  }
}

@media (max-width: 600px) {
  .policy-text {
    font-size: 0.8rem !important;
    padding: 8px 12px !important;
    right: 16px !important;
    bottom: 16px !important;
    border-radius: 20px !important;
  }
  #toTopBtn, #zaloBtn, .hotline-btn {
    right: 16px !important;
    margin-right: 0 !important;
  }
  #toTopBtn {
    bottom: 16px !important;
  }
  #zaloBtn {
    bottom: 64px !important;
  }
  .hotline-btn {
    bottom: 112px !important;
  }
}

@media (max-width: 600px) {
  .policy-text {
    right: 76px !important;
    left: auto !important;
    bottom: 16px !important;
  }
}

@media (max-width: 600px) {
  #zaloBtn, .hotline-btn {
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #zaloBtn {
    bottom: 16px !important;
  }
  .hotline-btn {
    bottom: 64px !important;
  }
  #toTopBtn.show ~ #zaloBtn {
    bottom: 64px !important;
  }
  #toTopBtn.show ~ .hotline-btn {
    bottom: 112px !important;
  }
}

@media (max-width: 600px) {
  #toTopBtn, #zaloBtn, .hotline-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3rem !important;
    border-radius: 50% !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

p {
  text-align: center;
}

.features-grid .feature-item p {
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  word-break: break-word;
}

/* Điều chỉnh cho header desktop */
@media (min-width: 993px) {
    /* Header ban đầu */
    .header {
        padding: 8px 0; /* Giảm từ 15px xuống 8px */
    }

    /* Header khi scroll */
    .header.scrolled {
        padding: 2px 0; /* Giảm từ 4px xuống 2px */
    }

    /* Logo ban đầu */
    .logo img {
        height: 70px; /* Giảm từ 80px xuống 70px */
        max-width: 140px; /* Giảm từ 160px xuống 140px */
        transition: all 0.4s ease;
    }

    /* Logo khi scroll */
    .header.scrolled .logo img {
        height: 50px !important; /* Giảm từ 60px xuống 50px */
        max-width: 100px; /* Giảm từ 120px xuống 100px */
    }

    /* Giảm padding cho nav items */
    .main-nav a {
        padding: 2px 0; /* Giảm từ 5px xuống 2px */
    }

    /* Đảm bảo các section không bị che khuất khi scroll */
    .project-intro, .location, .policy, .amenities, .products, .gallery {
        scroll-margin-top: 70px;
    }

    /* Điều chỉnh lại vị trí của section */
    section:not(.banner) {
        padding-top: 60px;
    }

    /* Điều chỉnh desktop header */
    .desktop-header {
        padding: 0 15px;
    }

    .desktop-header .logo img {
        height: 70px !important;
        max-width: 140px;
    }

    .header.scrolled .desktop-header .logo img {
        height: 50px !important;
        max-width: 100px;
    }

    /* Điều chỉnh container của logo */
    .logo {
        position: relative;
        padding: 2px; /* Giảm padding để có thêm không gian cho logo lớn hơn */
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    /* Tăng kích thước logo ban đầu */
    .logo img {
        height: auto !important; /* Bỏ chiều cao cố định */
        max-height: 65px !important; /* Thay vào đó sử dụng max-height */
        max-width: 180px !important; /* Tăng max-width để logo rộng hơn */
        width: auto;
        object-fit: contain;
        transform: scale(1.2); /* Phóng to logo thêm 20% */
        transform-origin: left center; /* Đảm bảo logo phóng to từ bên trái */
    }
    
    /* Logo khi scroll */
    .header.scrolled .logo img {
        max-height: 55px !important; /* Vẫn giữ to hơn so với trước */
        max-width: 150px !important;
        transform: scale(1.15); /* Vẫn giữ tỉ lệ phóng to khi scroll */
    }
    
    /* Điều chỉnh vị trí logo */
    .desktop-header .logo {
        margin-right: 20px; /* Thêm khoảng cách giữa logo và menu */
        z-index: 1001; /* Đảm bảo logo luôn hiển thị trên cùng */
    }
}

/* Điều chỉnh logo cho mobile */
@media (max-width: 992px) {
    .logo-img img {
        height: auto !important;
        max-height: 55px !important;
        max-width: 140px !important;
        transform: scale(1.15);
        transform-origin: center center;
    }
    
    .header.scrolled .mobile-header .logo-img img {
        max-height: 45px !important;
        max-width: 120px !important;
        transform: scale(1.1);
    }
}

/* Logo lớn hơn cho desktop - ưu tiên cao */
@media (min-width: 993px) {
    /* Bỏ các giới hạn chiều cao cố định trước đây */
    .desktop-header .logo img,
    .header.scrolled .desktop-header .logo img {
        height: auto !important;
        transition: none !important;
    }
    
    /* Cấu hình cụ thể cho logo khi không scroll */
    .desktop-header .logo img {
        max-height: 76px !important;
        max-width: 190px !important;
        transform: scale(1.3) !important;
        transform-origin: left center !important;
    }
    
    /* Cấu hình cụ thể cho logo khi scroll */
    .header.scrolled .desktop-header .logo img {
        max-height: 65px !important;
        max-width: 170px !important;
        transform: scale(1.25) !important;
    }
    
    /* Điều chỉnh padding của container logo */
    .desktop-header .logo {
        padding: 0 !important;
        margin-right: 30px !important;
    }
    
    /* Giảm kích thước menu cho cân đối */
    .desktop-header .main-nav a {
        font-size: 1rem !important;
    }
    
    /* Tăng khoảng cách giữa các mục menu */
    .desktop-header .main-nav ul {
        gap: 1.6rem !important;
    }
}