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

@font-face {
    font-family: 'UTM BryantLG';
    src: url('Font/UTM BryantLG.ttf') format('truetype');
}

@font-face {
    font-family: 'UVF Amplify';
    src: url('Font/UVF Amplify.otf') format('opentype');
}

@font-face {
    font-family: 'Brandon Text';
    src: url('Font/icielBrandonText-Bold.ttf') format('truetype');
}

:root {
    --primary-blue: #00ADEF;
    --light-blue: #E9FDFF;
    --grey-bg: #E1E1E1;
    --text-color: #000000;
    --font-main: 'UTM BryantLG', sans-serif;
    --font-heading: 'UVF Amplify', cursive;
    --font-bold: 'Brandon Text', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url('Web-Nen.jpg');
    background-size: 100% 100%;
    /* Stretches to fill the entire height of the page */
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #f0faff;
    overflow-x: hidden;
    min-height: 100vh;
    margin-bottom: 15%;
}

@media (max-width: 768px) {
    body {
        background-image: none;
        background-color: #ffffff;
    }

    .header-image {
        display: none;
    }

    .header-image-mobile {
        display: block !important;
        width: 100%;
    }

    .intro-total-label {
        font-size: 1.5rem;
    }
}

.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    /* Prevent horizontal scroll from floating elements */
}

.header-image {
    width: 60%;
    object-fit: cover;
}

.header-image-mobile {
    display: none;
    width: 100%;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: normal;
    text-align: center;
}

.blue {
    color: var(--primary-blue);
}

.section-title {
    font-size: 4.5rem;
    margin: 40px 0 20px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

strong {
    font-family: var(--font-bold);
    font-weight: normal;
}

/* INTRO */
.intro-section,
.journey-section,
.foundation-section,
.tabs-section,
.bank-section,
.tu-dong-section,
.footer {
    overflow: hidden;
}

.intro-section {
    background-color: var(--light-blue);
    padding: 60px;
    border-radius: 60px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.intro-text {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text p {
    margin-bottom: 15px;
}

.intro-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.intro-images-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
}

/* IMAGE SLIDER */
.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 30px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    gap: 12px;
}

.slider-slide {
    flex: 0 0 calc(25% - 9px);
    min-width: 0;
}

.slider-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-slide img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 173, 239, 0.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 5;
    backdrop-filter: blur(8px);
}

.slider-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 173, 239, 0.3);
}

.slider-prev {
    left: 15px;
}

.slider-next {
    right: 15px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0e4ef;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-blue);
    width: 28px;
    border-radius: 5px;
}

/* LIGHTBOX */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.lightbox-img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.35s ease;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

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

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-bold);
    font-size: 1rem;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    border-radius: 20px;
}

/* Intro Summary Box */
.intro-summary-box {
    background-color: transparent;
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: left;
}

.intro-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #4a4a4a;
}

.highlight-bold {
    font-family: var(--font-bold);
    font-weight: normal;
    font-size: 1.5rem;
}

.dashed-divider {
    border-top: 2px dotted #aee4eb;
    margin: 25px 0;
}

.intro-total {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 40px;
}

.intro-total-icon svg {
    width: 90px;
    height: 90px;
}

.intro-total-text {
    flex: 1;
}

.intro-total-label {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.intro-total-amount {
    font-family: var(--font-bold);
    font-size: 2.5rem;
    line-height: 1;
}

.intro-school-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 40px;
}

.school-icon svg {
    width: 80px;
    height: 80px;
}

.school-info {
    flex: 1;
}

.school-name {
    font-family: var(--font-bold);
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.school-students {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 12px;
}

.school-budget-box {
    display: flex;
    align-items: center;
    border-radius: 20px;
    padding: 12px 20px;
    gap: 15px;
}

.green-box {
    background-color: #eef7eb;
}

.blue-box {
    background-color: #ebf5fe;
}

.teal-box {
    background-color: #e5f6f2;
}

.green-box .budget-amount {
    color: #6fb16c;
}

.blue-box .budget-amount {
    color: #3b76c8;
}

.teal-box .budget-amount {
    color: #55b7a1;
}

.budget-amount {
    font-family: var(--font-bold);
    font-size: 2rem;
    white-space: nowrap;
}

.budget-desc {
    font-size: 1.5rem;
    line-height: 1.3;
    color: #333;
}

@media (max-width: 768px) {

    .intro-total,
    .intro-school-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 10px;
        gap: 15px;
    }

    .school-budget-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .card p {
        font-size: 1.5rem;
    }

    footer p {
        font-size: 1.5rem;
    }
}

/* JOURNEY */
.journey-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.journey-row.reverse {
    flex-direction: row-reverse;
}

.journey-row .text {
    flex: 1;
    font-size: 1.2rem;
}

.journey-row .image {
    width: 300px;
}

.journey-row img {
    width: 100%;
    border-radius: 20px;
}

.journey-phases-list {
    list-style: none;
    margin-top: 15px;
}

.journey-phases-list li {
    padding-left: 40px;
    position: relative;
    margin-bottom: 10px;
    font-size: 1.15rem;
    line-height: 1.3;
}

.journey-phases-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 25px;
    height: 25px;
    background: url('icon/Anh-5-4.png') no-repeat center;
    background-size: contain;
}

/* PILLARS & VALUES */
.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.foundation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(0, 173, 239, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover .foundation-icon {
    transform: translateY(-5px) scale(1.05);
    background-color: rgba(0, 173, 239, 0.15);
}

.card {
    text-align: center;
    padding: 40px 30px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 30px;
    background: white;
}

.card h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.card p {
    font-size: 1.15rem;
}

footer p {
    font-size: 1.15rem;
}

/* School Detail Card */
.school-card-detail {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 173, 239, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border: 1px solid #eefaff;
}

.school-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.school-card-subtitle {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.school-card-title {
    font-family: var(--font-bold);
    color: #1a569b;
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.school-card-meta {
    font-size: 1.5rem !important;
    display: inline-flex;
    align-items: center;
    background: #f0f8ff;
    padding: 8px 20px;
    border-radius: 30px;
    gap: 15px;
    color: #2c649b;
    font-size: 11rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-divider {
    color: #a8d5e5;
}

.school-card-quote {
    background: #f8fcff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #444;
}

.quote-icon-top {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    color: #00adef;
}

.school-card-quote p {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    padding-left: 30px;
}

.school-card-quote p:last-child {
    margin-bottom: 0;
}

.school-card-budget {
    margin-bottom: 30px;
}

.budget-title {
    text-align: center;
    font-family: var(--font-bold);
    color: #1a569b;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.budget-item {
    display: flex;
    align-items: center;
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    padding: 10px 20px;
    margin-bottom: 15px;
    gap: 15px;
}

.budget-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.budget-icon svg {
    width: 24px;
    height: 24px;
}

.bg-blue {
    background: #eef8ff;
    color: #00adef;
}

.bg-green {
    background: #eff8f0;
    color: #5cb85c;
}

.bg-yellow {
    background: #fff8eb;
    color: #f0ad4e;
}

.bg-purple {
    background: #f4eff8;
    color: #9b59b6;
}

.budget-name {
    font-size: 1.5rem;
    color: #333;
}

.budget-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #d0e4ef;
    margin: 0 15px;
    position: relative;
    top: 5px;
}

.budget-value {
    font-family: var(--font-bold);
    font-size: 1.2rem;
    color: #111;
}

.budget-total-box {
    background: #f1faed;
    border: 1px solid #d5ecd0;
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.budget-total-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(92, 184, 92, 0.1);
    color: #6fb16c;
}

.budget-total-icon svg {
    width: 32px;
    height: 32px;
}

.budget-total-text p {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 5px;
}

.budget-total-amount {
    font-family: var(--font-bold);
    font-size: 2rem;
    color: #5cb85c;
    line-height: 1;
}

.school-card-footer {
    text-align: center;
    font-family: var(--font-heading);
    color: #00adef;
    font-size: 1.6rem;
    margin-top: 40px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .school-card-detail {
        padding: 20px;
    }

    .school-card-subtitle {
        font-size: 1.8rem;
    }

    .tab-content h3,
    .school-card-title {
        font-size: 1.8rem;
    }

    .school-card-meta {
        flex-direction: column;
        gap: 5px;
        padding: 10px 20px;
        font-size: 1.5rem;
        width: 100%;
    }

    .meta-divider {
        display: none;
    }

    .school-card-quote {
        font-size: 1.5rem;
        padding: 20px;
    }

    .quote-icon-top {
        width: 24px;
        height: 24px;
        top: 15px;
        left: 15px;
    }

    .school-card-quote p {
        padding-left: 15px;
    }

    .budget-title {
        font-size: 1.5rem;
    }

    .budget-item {
        padding: 10px;
        gap: 10px;
    }

    .budget-icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .budget-icon svg {
        width: 18px;
        height: 18px;
    }

    .budget-name {
        font-size: 1.5rem;
        flex: 1;
        line-height: 1.3;
    }

    .budget-dots {
        display: none;
    }

    .budget-value {
        font-size: 1.5rem;
        text-align: right;
        flex-shrink: 0;
    }

    .budget-total-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 10px;
    }

    .budget-total-amount {
        font-size: 2.2rem;
    }

    .school-card-footer {
        font-size: 2rem;
        flex-direction: column;
        line-height: 2;
        margin-top: 25px;
    }
}

/* TABS */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 5% 0;
}

.tab-btn {
    padding: 12px 40px;
    border-radius: 40px;
    border: none;
    background: #D9D9D9;
    color: white;
    font-family: var(--font-bold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary-blue);
}

.tab-content {
    display: none;
    background: var(--light-blue);
    padding: 60px;
    border-radius: 40px;
    margin-top: 20px;
}

/* .tab-content h3 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
} */

.tab-content.active {
    display: block;
}

.stage-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stage-navigation .next {
    margin-left: auto;
}

.nav-action-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 173, 239, 0.3);
}

.nav-action-btn:hover {
    background: #008abf;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 173, 239, 0.4);
}

.nav-action-btn.prev {
    background: #f0f4f8;
    color: #4a5568;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-action-btn.prev:hover {
    background: #e2e8f0;
    color: #2d3748;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.tab-details {
    font-size: 1.2rem;
    line-height: 1.2;
}

.tab-details strong {
    color: var(--primary-blue);
}

/* BANK INFO */
.bank-section {
    text-align: center;
}

.bank-card {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: var(--light-blue);
    border-radius: 40px;
}

.qr-image {
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
    padding: 2% 0;
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.header-image {
    width: 60%;
    object-fit: cover;
}

@media (max-width: 768px) {
    html {
        font-size: 11px;
    }

    .header {}

    .header-image {
        width: 80%;
    }

    .section-title {
        font-size: 3rem;
    }

    .journey-row,
    .journey-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .journey-row .image {
        width: 100%;
    }

    .columns-3 {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        margin: 20px -20px;
        padding: 0 20px;
    }

    .columns-3::-webkit-scrollbar {
        display: none;
    }

    .columns-3 .card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-bottom: 0;
    }

    .intro-images-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        margin: 20px -20px;
        padding: 0 20px;
    }

    .intro-images-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        margin: 20px -20px;
        padding: 0 20px;
    }

    .intro-images-grid::-webkit-scrollbar {
        display: none;
    }

    .intro-images-grid img {
        flex: 0 0 70%;
        scroll-snap-align: center;
        aspect-ratio: 4/3;
        border-radius: 15px;
    }

    .main-container {
        padding: 0 5%;
    }

    .tabs-contents-container {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        margin: 20px -5%;
        padding: 0 5%;
    }

    .tabs-contents-container::-webkit-scrollbar {
        display: none;
    }

    .tabs-contents-container .tab-content {
        display: block !important;
        flex: 0 0 100%;
        scroll-snap-align: center;
        margin-top: 0;
        padding: 30px 5%;
    }

    .tabs-header {
        display: none;
    }

    .intro-section {
        padding: 30px 5%;
    }

    .tab-content {
        padding: 30px 5%;
    }

    .card {
        padding: 30px 5%;
    }

    /* Slider mobile */
    .slider-track {
        gap: 8px;
    }

    .slider-slide {
        flex: 0 0 calc(50% - 4px);
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
    }

    .slider-prev {
        left: 8px;
    }

    .slider-next {
        right: 8px;
    }

    .slider-dots {
        gap: 8px;
        padding: 15px 0 5px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 22px;
    }

    /* Lightbox mobile */
    .lightbox-img {
        max-width: 95vw;
        max-height: 75vh;
        border-radius: 8px;
    }

    .lightbox-btn {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        font-size: 2.4rem;
        width: 40px;
        height: 40px;
    }

    .lightbox-counter {
        bottom: 15px;
        font-size: 0.85rem;
        padding: 6px 16px;
    }
}

/* TU DONG */
.tu-dong-section {
    border: 2px dashed var(--primary-blue);
    border-radius: 40px;
    margin: 80px 0;
    text-align: center;
}

.tu-dong-section h2 {
    margin-top: 0;
}

/* LETTERS EMBEDDED IN MOSAIC HEART */
.m-letter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fdfbf7;
    border: 1.5px dashed #d5c8a9;
    border-radius: 8px;
    padding: 2px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
    overflow: hidden;
}

.m-letter:hover {
    transform: scale(1.25) rotate(-3deg);
    z-index: 15;
    box-shadow: 0 10px 20px rgba(0, 173, 239, 0.3);
    border-color: var(--primary-blue);
    background: #fff;
}

.m-letter svg {
    width: 20px;
    height: 20px;
    stroke: #e2574c;
    margin-bottom: 2px;
}

.m-letter span {
    font-size: 0.65rem;
    line-height: 1.1;
    font-family: var(--font-bold);
    color: #4a4a4a;
}

/* FOOTER */
.footer {
    text-align: center;
    margin-top: 100px;
    padding-bottom: 0;
    position: relative;
}

.contact-info {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.contact-info p {
    margin-bottom: 10px;
}

.footer-hill {
    width: 100%;
    display: block;
    margin-top: 40px;
}

.footer img.logo {
    width: 100px;
    margin-bottom: 20px;
}

/* FLOATING ICONS */
.floating-icon {
    position: absolute;
    width: 80px;
    height: auto;
    z-index: 1;
    pointer-events: none;
    animation: float 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.icon-1 {
    top: -20px;
    left: -30px;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 10%;
    right: -20px;
    animation-delay: 1s;
}

.icon-3 {
    top: 10%;
    right: -10px;
    animation-delay: 2s;
}

.icon-4 {
    bottom: -30px;
    left: 10%;
    animation-delay: 0.5s;
}

.icon-5 {
    top: 20%;
    left: -40px;
    animation-delay: 1.5s;
}

.icon-6 {
    top: 40%;
    right: -30px;
    animation-delay: 2.5s;
}

.icon-7 {
    top: 0;
    left: -10px;
    animation-delay: 3s;
}

.icon-8 {
    bottom: 10%;
    right: -20px;
    animation-delay: 1.2s;
}

.icon-9 { top: -20px; right: 5%; animation-delay: 0.3s; }
.icon-10 { bottom: 20%; left: -10px; animation-delay: 1.7s; }
.icon-11 { top: 40%; right: -25px; animation-delay: 2.1s; }
.icon-12 { top: -15px; left: 10%; animation-delay: 0.8s; }
.icon-13 { bottom: 5%; right: 15%; animation-delay: 1.4s; }
.icon-14 { bottom: 30%; left: -20px; animation-delay: 2.7s; }
.icon-15 { top: 10%; right: -10px; animation-delay: 0.5s; }
.icon-16 { bottom: -10px; right: 20%; animation-delay: 3.2s; }
.icon-17 { top: 50%; left: 5%; animation-delay: 1.1s; }
.icon-18 { top: 20%; right: 5%; animation-delay: 2.4s; }

@media (max-width: 768px) {
    .floating-icon {
        width: 40px;
        opacity: 0.4;
    }
}

/* FLOATING CONTACT BAR */
.floating-contact-bar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.floating-contact-bar.hidden {
    transform: translate(-100%, -50%);
}

.contact-toggle {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #4691D8;
    color: white;
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.contact-toggle:hover {
    background: #1a569b;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-family: var(--font-bold);
    font-size: 1rem;
    transition: transform 0.2s;
    position: relative;
    cursor: pointer;
}

.contact-item:hover {
    transform: scale(1.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
}

.contact-label {
    background: white;
    padding: 8px 15px;
    border-radius: 0 20px 20px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: -15px;
    /* overlap slightly */
    padding-left: 25px;
    /* space for overlap */
    white-space: nowrap;
    z-index: 1;
}

.bg-tiktok {
    background: #000000;
}

.bg-youtube {
    background: #ff7f3f;
}

/* Orange matching image */
.bg-facebook {
    background: #0060df;
}

.bg-vtv {
    background: #7ab816;
}

.bg-hotline {
    background: #f68b33;
}

.bg-close {
    background: #ff8c42;
}

.contact-action-btn {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
}

.contact-action-btn:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 16px;
        height: 16px;
    }

    .contact-label {
        font-size: 0.9rem;
        padding: 6px 12px;
        padding-left: 20px;
    }
}

/* =========================================
   TỪ ĐỌNG MOSAIC HEART & MODAL
   ========================================= */
.mosaic-heart {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    aspect-ratio: 10 / 8;
    position: relative;
}

.m-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), z-index 0.3s, box-shadow 0.3s;
    z-index: 1;
}

.m-img:hover {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0, 173, 239, 0.3);
}

/* Mosaic Heart Arrangement (31 images of varying sizes) */
.m-img-1 {
    grid-area: 1 / 3 / 3 / 5;
}

/* 2x2 */
.m-img-2 {
    grid-area: 1 / 7 / 3 / 9;
}

/* 2x2 */
.m-img-3 { grid-area: 2 / 2 / 3 / 3; }
.m-img-4 { grid-area: 2 / 5 / 3 / 6; }
.m-img-5 { grid-area: 2 / 6 / 3 / 7; }
.m-img-6 { grid-area: 2 / 9 / 3 / 10; }
.m-img-7 { grid-area: 3 / 1 / 5 / 3; }
/* 2x2 */
.m-img-8 { grid-area: 3 / 3 / 4 / 4; }
.m-img-9 { grid-area: 4 / 3 / 5 / 4; }
.m-img-10 { grid-area: 3 / 5 / 4 / 6; }
.m-img-11 { grid-area: 3 / 6 / 4 / 7; }
.m-img-12 { grid-area: 3 / 7 / 4 / 8; }
.m-img-13 { grid-area: 4 / 7 / 5 / 8; }
.m-img-14 { grid-area: 3 / 9 / 5 / 11; }
/* 2x2 */
.m-img-15 { grid-area: 5 / 1 / 6 / 2; }
.m-img-16 { grid-area: 5 / 3 / 7 / 5; }
/* 2x2 */
.m-img-17 { grid-area: 5 / 9 / 6 / 10; }
.m-img-18 { grid-area: 5 / 7 / 7 / 9; }
/* 2x2 */
.m-img-19 { grid-area: 6 / 2 / 7 / 3; }
.m-img-20 { grid-area: 6 / 5 / 7 / 6; }
.m-img-21 { grid-area: 6 / 6 / 7 / 7; }
.m-img-22 { grid-area: 6 / 9 / 7 / 10; }
.m-img-23 { grid-area: 7 / 4 / 8 / 6; }
/* 1x2 wide */
.m-img-24 { grid-area: 7 / 6 / 8 / 8; }
/* 1x2 wide */
.m-img-25 { grid-area: 8 / 5 / 9 / 7; }
/* 1x2 wide */
.m-img-26 { grid-area: 3 / 4 / 4 / 5; }
.m-img-27 { grid-area: 4 / 4 / 5 / 5; }
.m-img-28 { grid-area: 3 / 8 / 4 / 9; }
.m-img-29 { grid-area: 4 / 8 / 5 / 9; }
.m-img-30 { grid-area: 5 / 2 / 6 / 3; }
.m-img-31 { grid-area: 5 / 10 / 6 / 11; }

/* 11 Letters embedded in empty spaces */
.m-letter-1 { grid-area: 1 / 1 / 2 / 2; }
.m-letter-2 { grid-area: 1 / 2 / 2 / 3; }
.m-letter-3 { grid-area: 1 / 9 / 2 / 10; }
.m-letter-4 { grid-area: 1 / 10 / 2 / 11; }
.m-letter-5 { grid-area: 2 / 1 / 3 / 2; }
.m-letter-6 { grid-area: 2 / 10 / 3 / 11; }
.m-letter-7 { grid-area: 7 / 3 / 8 / 4; }
.m-letter-8 { grid-area: 7 / 8 / 8 / 9; }
.m-letter-9 { grid-area: 8 / 4 / 9 / 5; }
.m-letter-10 { grid-area: 8 / 7 / 9 / 8; }
.m-letter-11 { grid-area: 7 / 2 / 8 / 3; }

/* Envelope at the center */
.m-envelope {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 280px;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: envelopeFloat 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes envelopeFloat {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -55%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

.m-envelope:hover {
    animation-play-state: paused;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.m-envelope svg {
    width: 100%;
    height: auto;
}

.envelope-hint {
    margin-top: -10px;
    background: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 173, 239, 0.3);
    pointer-events: none;
    z-index: 6;
}

/* Tu Dong Modal */
.tu-dong-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tu-dong-modal.active {
    opacity: 1;
    visibility: visible;
}

.tu-dong-content {
    background: #fffdf5;
    width: 90%;
    max-width: 650px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-height: 85vh;
    overflow-y: auto;
    font-family: var(--font-main);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tu-dong-modal.active .tu-dong-content {
    transform: translateY(0);
}

.tu-dong-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.tu-dong-close:hover {
    color: var(--primary-blue);
}

.tu-dong-content .section-title {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
}

.tu-dong-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

@media (max-width: 768px) {
    .mosaic-heart {
        max-width: 350px;
        margin: 20px auto;
    }

    .tu-dong-content {
        padding: 30px 20px;
    }

    .tu-dong-content p {
        font-size: 1.05rem;
    }
}