/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: url("../images/background/hero1.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-attachment: fixed;
}

/* Lớp phủ làm dịu ảnh */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(31, 106, 165, 0.55),
            rgba(201, 74, 74, 0.45));
}

/* Nội dung */
.hero-content {
    position: relative;
    max-width: 900px;
    padding: 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

.year{
    white-space: nowrap;
}

/* Gạch phân cách nhẹ */
.hero-divider {
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    margin: 25px auto;
}

/* Câu quote */
.hero-quote {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    opacity: 0.95;
}

/* Nút hành động */
.hero-actions {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    padding: 10px 22px;
    border: 1px solid #fff;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-quote {
        font-size: 15px;
    }
    
     .hero-content h1{
        text-align:center;
        line-height:1.3;
    }
}

/* ===== THƯ GỬI TUỔI 18 ===== */
.letter-section {
    background: #f7f9fc;
    /* nền sáng, dịu */
    padding: 100px 20px;
}

.letter-container {
    max-width: 820px;
    margin: auto;

    background:
        linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.42)),
        url("../images/background/thugui.webp") center/cover no-repeat;

    border-radius: 18px;
    padding: 60px 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Header thư */
.letter-header {
    text-align: center;
    margin-bottom: 40px;
}

.letter-tag {
    display: inline-block;
    font-size: 14px;
    color: #c94a4a;
    /* đỏ hoa phượng */
    letter-spacing: 2px;
    text-transform: uppercase;
}

.letter-header h2 {
    font-size: 36px;
    color: #1f6aa5;
    /* xanh thanh xuân */
    margin: 10px 0;
}

.letter-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #1f6aa5, #c94a4a);
    margin: 20px auto 0;
}

/* Nội dung thư */
.letter-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 22px;
}

/* Đoạn nhấn */
.letter-highlight {
    color: #c94a4a;
    font-style: italic;
}

/* Footer */
.letter-footer {
    margin-top: 40px;
    text-align: right;
    font-size: 16px;
    font-weight: 600;
    color: #1f6aa5;
    letter-spacing: 0.5px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .letter-container {
        padding: 40px 22px;
    }

    .letter-header h2 {
        font-size: 28px;
    }

    .letter-content p {
        font-size: 16px;
    }
}

/* ===== TIMELINE – LỊCH TRÌNH ===== */
.timeline-section {
    background: #ffffff;
    padding: 100px 20px;
}

.timeline-container {
    max-width: 900px;
    margin: auto;
}

/* Header */
.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-header h2 {
    font-size: 36px;
    color: #1f6aa5;
    margin-bottom: 10px;
}

.timeline-header p {
    font-size: 18px;
    color: #666;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

/* Trục dọc */
.timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e6ed;
}

/* Item */
.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -2px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: #1f6aa5;
    border-radius: 50%;
}

/* Nội dung */
.timeline-content {
    background: #f7f9fc;
    padding: 20px 25px;
    border-radius: 12px;
}

.timeline-date {
    font-size: 14px;
    color: #c94a4a;
    font-weight: 600;
    letter-spacing: 1px;
}

.timeline-content h3 {
    margin: 8px 0 10px;
    color: #1f6aa5;
}

.timeline-content p {
    margin: 0;
    color: #333;
    line-height: 1.7;
}

/* Mốc nổi bật */
.timeline-item.highlight .timeline-dot {
    background: #c94a4a;
}

.timeline-item.highlight .timeline-content {
    border-left: 4px solid #c94a4a;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .timeline {
        padding-left: 20px;
    }

    .timeline-content {
        padding: 18px 20px;
    }

    .timeline-header h2 {
        font-size: 28px;
    }
}

/* ===== KỶ NIỆM – SCRAPBOOK ===== */
.memory-section {
    background: #f5f7fb;
    padding: 100px 20px;
}

.memory-header {
    text-align: center;
    margin-bottom: 60px;
}

.memory-header h2 {
    font-size: 36px;
    color: #1f6aa5;
    margin-bottom: 10px;
}

.memory-header p {
    font-size: 18px;
    color: #666;
}


/* Bảng kỷ niệm */
.memory-board {
    max-width: 1000px;
    margin: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

/* Card kỷ niệm */
.memory-card {
    width: 260px;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

/* Ảnh (placeholder) */
.memory-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
}

.memory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Chữ */
.memory-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Các góc nghiêng */
.rotate-left {
    transform: rotate(-4deg);
}

.rotate-right {
    transform: rotate(3deg);
}

.rotate-left-strong {
    transform: rotate(-7deg);
}

.rotate-right-strong {
    transform: rotate(6deg);
}

/* Hover: kéo thẳng lại (rất đã) */
.memory-card {
    cursor: pointer;
    transition: all 0.35s ease;
}

.memory-photo img {
    transition: transform 0.4s ease;
}

.memory-card:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    filter: brightness(1.05);
}

.memory-card:hover .memory-photo img {
    transform: scale(1.08);
}

/* ================= MEMORY POPUP PRO ================= */

.memory-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memory-popup.hidden {
    display: none;
}

.memory-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.memory-popup.active .memory-popup-overlay {
    opacity: 1;
}

.memory-popup-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popupZoom 0.35s ease;
}

@keyframes popupZoom {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.memory-image-wrapper {
    overflow: hidden;
}

.memory-popup-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

/* Nút đóng */
.memory-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

/* Nút điều hướng */
.memory-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 24px;
    width: 40px;
    height: 50px;
    cursor: pointer;
}

.memory-nav.prev {
    left: -50px;
}

.memory-nav.next {
    right: -50px;
}

@media (max-width: 768px) {
    .memory-nav {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .memory-board {
        gap: 24px;
    }

    .memory-card {
        width: 90%;
        transform: rotate(0deg);
    }
}

/* ================= MEMORY POPUP ================= */

.memory-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memory-popup.hidden {
    display: none;
}

.memory-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.memory-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 2;
}

.memory-popup-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.memory-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #fff;
    border: none;
    font-size: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

/* ===== HỘI THAO – PICKLEBALL ===== */
.sports-section {
    background: #ffffff;
    padding: 100px 20px;
}

.sports-container {
    max-width: 1000px;
    margin: auto;
}

.sports-header {
    text-align: center;
    margin-bottom: 60px;
}

.sports-header h2 {
    font-size: 36px;
    color: #1f6aa5;
    margin-bottom: 8px;
}

.sports-header p {
    font-size: 18px;
    color: #666;
}

/* Card layout */
.result-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Card */
.result-card {
    flex: 1;
    min-width: 260px;
    background: #f7f7f7;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Medal */
.medal {
    font-size: 28px;
    margin-bottom: 8px;
}

/* Player */
.team-name {
    margin-top: 10px;
}

.player {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

.player small {
    font-weight: 400;
    color: #666;
}

/* Divider giữa 2 đội giải 3 */
.divider {
    height: 1px;
    background: #ddd;
    margin: 12px 0;
}

/* Icon giữa 2 người */
.and {
    display: block;
    margin: 4px 0;
    font-size: 14px;
}

/* Giải phụ */
.extra-awards {
    margin-top: 20px;
}

.award-item {
    background: #f2f2f2;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 10px;
}

/* Block chung */
.sports-block {
    margin-bottom: 50px;
}

.sports-block h3 {
    color: #1f6aa5;
    margin-bottom: 16px;
}

/* Thông tin */
.info-list,
.result-list {
    list-style: none;
    padding: 0;
}

.info-list li,
.result-list li {
    padding: 6px 0;
    font-size: 17px;
}

/* Đội */
.team-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.team {
    padding: 8px 14px;
    background: #f2f5f9;
    border-radius: 20px;
    font-size: 15px;
}

/* Bảng đấu */
.bracket {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.round {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 16px;
}

.round h4 {
    text-align: center;
    margin-bottom: 10px;
    color: #1f6aa5;
}

.round ul {
    list-style: none;
    padding: 0;
}

.round li {
    padding: 6px 0;
    font-size: 15px;
}

.round.highlight {
    border-left: 4px solid #c94a4a;
}

/* Mobile */
@media (max-width: 768px) {
    .sports-header h2 {
        font-size: 28px;
    }
}

/* ===== KẾT QUẢ & GIẢI THƯỞNG ===== */
.result-highlight {
    background: linear-gradient(180deg, #f7f9fc, #ffffff);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.result-highlight h3 {
    text-align: center;
    margin-bottom: 30px;
}

/* Cards */
.result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.result-card .medal {
    font-size: 36px;
    margin-bottom: 10px;
}

.result-card h4 {
    color: #1f6aa5;
    margin-bottom: 8px;
}

.result-card .team-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Màu nhấn theo hạng */
.result-card.first {
    border-top: 4px solid #f2b705;
}

.result-card.second {
    border-top: 4px solid #9aa0a6;
}

.result-card.third {
    border-top: 4px solid #c94a4a;
}

/* Giải phụ */
.extra-awards {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 20px;
}

.extra-awards h4 {
    margin-bottom: 10px;
    color: #1f6aa5;
}

.extra-awards ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.extra-awards li {
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .result-highlight {
        padding: 30px 20px;
    }
}

/* ===== GALLERY ===== */
.gallery-section {
    background: #f7f9fc;
    padding: 100px 20px;
}

.gallery-container {
    max-width: 1100px;
    margin: auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h2 {
    font-size: 36px;
    color: #1f6aa5;
    margin-bottom: 10px;
}

.gallery-header p {
    font-size: 18px;
    color: #666;
}

/* Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-auto-rows: 180px;
    gap: 18px;

    grid-auto-flow: dense;
    /* QUAN TRỌNG */
}

/* Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Các biến thể kích thước */
.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* Ảnh */
.gallery-photo {
    width: 100%;
    height: 100%;
    background: #dfe6ef;
    transition: transform 0.4s ease;
}

/* Hover */
.gallery-item:hover .gallery-photo {
    transform: scale(1.05);
}

/* Mobile */
@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 28px;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }
}

/* ===== ALBUM GRID ===== */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.album-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.album-card:hover {
    transform: translateY(-6px);
}

.album-cover {
    height: 160px;
    background: #dfe6ef;
    border-radius: 12px;
    margin-bottom: 14px;
}

.album-card h3 {
    color: #1f6aa5;
    margin-bottom: 6px;
}

.album-card p {
    color: #666;
    font-size: 15px;
}

/* ================= POPUP GALLERY ================= */
.gallery-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.gallery-popup.hidden {
    display: none;
}

.gallery-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.gallery-popup-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 1200px;
    height: 85%;
    margin: 40px auto;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: popupFade 0.25s ease;
}

@keyframes popupFade {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Header */
.gallery-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.gallery-popup-header h3 {
    flex: 1;
    margin: 0;
}

.gallery-popup-header select {
    padding: 6px 10px;
    border-radius: 6px;
}

#closeGallery {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* Grid trong popup */
.popup-gallery-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    overflow-y: auto;
}

.popup-gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.popup-gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-item {
    cursor: pointer;
}

.gallery-photo.placeholder {
    position: relative;
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
}

.gallery-photo.placeholder::after {
    content: "Xem ảnh";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #555;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: 0.2s ease;
}

.gallery-item:hover .gallery-photo::after {
    opacity: 1;
}

.gallery-actions {
    text-align: center;
    margin-top: 24px;
}

.btn-view-gallery {
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.2s ease;
}

.btn-view-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* ================= ZOOM IMAGE ================= */
.gallery-zoom {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: zoom-out;
}

.gallery-zoom.hidden {
    display: none;
}

.gallery-zoom img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-item {
    position: relative;
}

.gallery-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-weight: 600;
    pointer-events: none;
}

.video-header.center {
    text-align: center;
    margin-bottom: 24px;
}

.video-main-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.video-main-rect {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-main-rect iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Danh sách icon video */
.video-list.two-columns {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
}

/* Mỗi dòng video */
.video-item-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.video-item-icon:hover {
    background: #f3f4f6;
}

/* Icon play */
.video-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-text {
    font-size: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .video-main-rect {
        height: 220px;
    }

    .video-list.two-columns {
        grid-template-columns: 1fr;
    }
}

/* ================= VIDEO POPUP FIX ================= */

/* Popup content dùng flex column full height */
.video-popup-content {
    display: flex;
    flex-direction: column;
    height: 85vh;
    /* Chiều cao popup */
    max-height: 900px;
    /* Giới hạn cho màn hình lớn */
}

/* Header giữ chiều cao tự nhiên */
.video-popup-content .gallery-popup-header {
    flex-shrink: 0;
}

/* Body chiếm toàn bộ phần còn lại */
.video-popup-body {
    flex: 1;
    padding: 16px;
}

/* Iframe full body */
.video-popup-body iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}

@media (max-width: 768px) {
    .video-popup-content {
        height: 90vh;
        margin: 0 8px;
    }
}

/* ================= Góp ý ================= */
.feedback-section {
    padding: 60px 20px;
    background: #f9fafb;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
}

.feedback-header {
    text-align: center;
    margin-bottom: 32px;
}

.feedback-header h2 {
    margin-bottom: 8px;
}

.feedback-form {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.form-row input {
    flex: 1;
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    box-sizing: border-box;
    /* ⭐ FIX TRÀN MÉP */
}

.feedback-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 16px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    font-weight: 600;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-message {
    margin-top: 16px;
    text-align: center;
    color: #16a34a;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* Mobile */
@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
    }
}

/* ================= FOOTER ================= */
.hk-footer {
    background: linear-gradient(180deg, #0f2027, #203a43, #2c5364);
    color: #eaeaea;
    padding: 25px 10px 10px;
    font-family: 'Segoe UI', sans-serif;
}

/* Quote */
.hk-footer-quote {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    margin-bottom: 15px;
    color: #ffffff;
    opacity: 0.95;
}

/* Content */
/* ===== ALIGN FOOTER COLUMNS ===== */
.hk-footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 30px;
}

/* Column align */
.hk-footer-col:nth-child(1) {
    text-align: left;
}

.hk-footer-col:nth-child(2) {
    text-align: center;
}

.hk-footer-col:nth-child(3) {
    text-align: right;
}

.hk-footer-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #ffffff;
}

.hk-footer-col p {
    margin: 6px 0;
    font-size: 14px;
    color: #d6d6d6;
}

/* Bottom */
.hk-footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #bfbfbf;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hk-footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hk-footer-col {
        text-align: center !important;
        margin-bottom: 20px;
    }
}

/* ================= SCROLL REVEAL ================= */

/* Trạng thái ban đầu */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Khi xuất hiện */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Biến thể */
.reveal.fade {
    transform: none;
}

.reveal.left {
    transform: translateX(-60px);
}

.reveal.right {
    transform: translateX(60px);
}

.reveal.zoom {
    transform: scale(0.95);
}

/* ================= SECTION ANIMATION ENGINE ================= */

.section-animate {
    opacity: 0;
}

.section-animate.play {
    opacity: 1;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomInSoft {
    0% {
        transform: scale(0.96);
    }

    60% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

.hero-content h1 {
    animation: fadeUp 1s ease forwards;
}

.hero-divider {
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-subtitle {
    animation: fadeUp 1s ease 0.6s forwards;
}

.hero-quote {
    animation: fadeUp 1s ease 0.9s forwards;
}

/* ================= Thư ngõ ================= */
.anim-letter.play .letter-container {
    animation: zoomInSoft 1.9s cubic-bezier(.22, .61, .36, 1) forwards;
    transform-origin: center;
}

.no-fade {
    opacity: 1 !important;
}

/* ================= LETTER WRITE LEFT → RIGHT ================= */

.anim-letter.play .letter-type .line {
    display: inline-block;
    opacity: 0;
    transform: translateX(-18px);
}

.anim-letter.play .letter-type .line.show {
    opacity: 1;
    transform: translateX(0);
    transition:
        opacity 0.45s ease,
        transform 0.45s cubic-bezier(.22, .61, .36, 1);
}

/* ================= LỊCH TRÌNH ================= */
.anim-timeline.left.play {
    animation: fadeLeft 3s ease forwards;
}

.anim-timeline.right.play {
    animation: fadeRight 3s ease forwards;
}

/* ================= Memory ================= */
.anim-memory.play {
    animation: zoomInSoft 0.8s cubic-bezier(.25, .8, .25, 1) forwards;
}