/* ==========================================================================
   1. RESET & BASE STYLES (DÙNG CHUNG CHO MỌI TRANG)
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html, body {
    font-family: var(--hpr-font-sans);
    width: 100%;
    overflow-x: hidden;
    background-color: var(--hpr-bg-body);
    scroll-behavior: smooth;
    color: #fff;
}

/* Header/menu: xem assets/css/header.css */

/* ==========================================================================
   HERO BANNER STYLE
   ========================================================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.hero-bg {  position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(12, 26, 48, 0.3); z-index: 2; }
.hero-content { position: relative; z-index: 3; width: 90%; max-width: 1200px; text-align: center; display: flex; flex-direction: column; align-items: center; }

.bhs-branding { display: flex; justify-content: center; align-items: center; gap: 3rem; margin-bottom: 3rem; width: 100%; }
.brand-word { font-size: 4.5rem; font-weight: 700; color: rgba(255, 255, 255, 0.3); letter-spacing: 4px; position: relative; text-transform: uppercase; display: flex; }

.letter { display: inline-block; opacity: 0; transform: translateY(20px) scale(0.8); animation: fadeInUpLetter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.brand-word .letter:first-child { font-size: 5.5rem; font-weight: 800; color: #eeff07; text-shadow: 0 0 20px rgba(255, 255, 255, 0.4); }

@keyframes fadeInUpLetter {
    0% { opacity: 0; transform: translateY(25px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.slogan {
    color: #ffffff; 
    font-size: 1.3rem; 
    font-weight: 600; 
    letter-spacing: 6px; 
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.3); 
    padding-top: 1.5rem; 
    width: 100%; 
    max-width: 600px;
    opacity: 0; 
    animation: fadeInSlogan 0.8s ease forwards; 
    animation-delay: 1.5s; 
    
    /* Hiệu ứng phát sáng */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 
                 0 0 20px rgba(255, 255, 255, 0.3);
                 text-shadow: 0 0 5px #ffffff, 
                 0 0 10px #ffffff, 
                 0 0 20px #00b4d8, /* Tạo quầng sáng xanh dương của thương hiệu */
                 0 0 30px #00b4d8;
    
    /* Giúp chữ bớt bị "nhòe" quá mức */
    letter-spacing: 6px;
    font-weight: 700;
}
@keyframes fadeInSlogan { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* Làm sáng toàn bộ các chữ cái */
/* Làm sáng toàn bộ các chữ cái */
.gold-glow {
    color: #ffd700; /* Màu vàng Gold */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 
                 0 0 20px rgba(255, 215, 0, 0.4);
}
.letter { 
    display: inline-block; 
    opacity: 0; 
    transform: translateY(20px) scale(0.8); 
    animation: fadeInUpLetter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
    /* Hiệu ứng phát sáng áp dụng cho tất cả chữ cái */
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 
                 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Tăng độ sáng cho chữ cái đầu tiên (nếu muốn nó nổi bật hơn các chữ còn lại) */
.brand-word .letter:first-child { 
    font-size: 5.5rem; 
    font-weight: 800; 
    text-shadow: 0 0 15px rgba(221, 255, 0, 0.8), 
                 0 0 30px rgba(255, 255, 255, 0.5); 
}

/* Nếu bạn muốn tạo thêm hiệu ứng "lấp lánh" nhẹ cho tất cả chữ */
@keyframes glowPulse {
    0% { text-shadow: 0 0 10px rgba(255,255,255,0.4); }
    50% { text-shadow: 0 0 20px rgba(255,255,255,0.6); }
    100% { text-shadow: 0 0 10px rgba(255,255,255,0.4); }
}
.letter { animation: fadeInUpLetter 0.6s forwards, glowPulse 3s infinite ease-in-out; }

/* ==========================================================================
   ABOUT BHS SECTION - HIỆU ỨNG MŨI TÊN CHẠY VÔ HẠN SỐNG ĐỘNG LƯỚT SÓNG
   ========================================================================= */
.about-section {
    background-color: #f7fafc; /* Nền xám trắng siêu sang trọng */
    padding: 7rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-container {
    width: 88%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Hiệu ứng hiện khối khi cuộn chuột */
.anim-reveal-left {
    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);
}

.anim-reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.anim-reveal-left.active,
.anim-reveal-right.active {
    opacity: 1;
    transform: translateY(0);
}

.about-left-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Khối trục dọc "VỀ BHS" kèm thanh line phát sáng nhẹ */
.bhs-vertical-axis {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
}

.bhs-vertical-axis::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #0a3a60 0%, #00b4d8 100%);
    border-radius: 2px;
}

.vertical-text-brand {
    font-size: 3rem;
    font-weight: 800;
    color: #0b294f;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 8px;
    line-height: 1;
    white-space: nowrap;
}

.about-main-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text-p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a5568;
    text-align: justify;
    font-weight: 500;
}

.bhs-bold-blue {
    color: #0b294f;
    font-weight: 700;
}

/* Lưới tiêu chí chân trang */
.bhs-core-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.grid-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.grid-item-card:hover {
    transform: translateY(-4px);
    background-color: rgba(0, 180, 216, 0.04);
}

.item-icon-cyan {
    font-size: 1.6rem;
    color: #00b4d8;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease;
}

.grid-item-card:hover .item-icon-cyan {
    transform: scale(1.15) rotate(10deg);
}

.item-text-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b294f;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.item-text-info p {
    font-size: 0.75rem;
    font-weight: 600;
    color: #00b4d8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- KHỐI ĐỒ HỌA MŨI TÊN CHẠY HOẠT HÌNH LƯỚT SÓNG CAO CẤP --- */
.about-right-layout {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bhs-arrow-graphics-container {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
}

/* Mặt nạ hình mũi tên vát nhọn gắt chứa ảnh thành phố */
.arrow-image-mask {
    position: absolute;
    left: 10%;
    width: 90%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(0% 0%, 55% 0%, 100% 50%, 55% 100%, 0% 100%, 45% 50%);
    z-index: 5; /* Nằm trên cùng che phủ các đường viền khi chạy về đích */
}

.city-img-src {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-reveal-right.active .city-img-src {
    transform: scale(1.06);
}

/* Lớp khung viền mũi tên nền cơ bản */
.arrow-line-outline {
    position: absolute;
    height: 100%;
    width: 90%;
    background-color: transparent;
    pointer-events: none;
    clip-path: polygon(0% 0%, 55% 0%, 100% 50%, 55% 100%, 0% 100%, 45% 50%);
    opacity: 0; /* Mặc định ẩn, sẽ hiện khi chạy hiệu ứng loop */
}

/* --- LOGIC ANIMATION KEYFRAMES: MŨI TÊN CHẠY XUYÊN QUA HÌNH ẢNH --- */
@keyframes arrowWavePulse {
    0% {
        transform: translateX(-35%) scale(0.92);
        opacity: 0;
    }
    15% {
        opacity: 0.6; /* Hiện rõ dần khi bắt đầu lướt vào tầm mắt */
    }
    60% {
        opacity: 0.8;
    }
    85%, 100% {
        transform: translateX(0%) scale(1); /* Tụ lại trùng khớp hoàn hảo với viền ảnh mẫu */
        opacity: 1;
    }
}

/* Lớp viền thứ nhất: Đi sâu nhất, xuất phát đầu tiên */
.line-deep {
    left: -10px;
    border-top: 1.5px solid rgba(212, 175, 55, 0.25);
    border-right: 1.5px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.25);
    z-index: 1;
    opacity: 0.3; /* Để tĩnh */
}

.line-mid {
    left: 20px;
    border-top: 1.5px solid rgba(212, 175, 55, 0.45);
    border-right: 1.5px solid rgba(212, 175, 55, 0.45);
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.45);
    z-index: 2;
    opacity: 0.6; /* Để tĩnh */
}

.line-front {
    left: 5%;
    border-top: 1.5px solid rgba(212, 175, 55, 0.75);
    border-right: 1.5px solid rgba(212, 175, 55, 0.75);
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.75);
    z-index: 3;
    opacity: 1; /* Để tĩnh */
}

/* ==========================================================================
   RESPONSIVE CHO SECTION ABOUT
   ========================================================================= */
@media (max-width: 1024px) {
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .bhs-arrow-graphics-container { max-width: 500px; height: 380px; margin: 0 auto; }
    .arrow-image-mask { left: 0; width: 100%; }
    
    /* Trên giao diện nhỏ, hủy animation chạy ngang để tránh lỗi vỡ khối nền */
    .anim-reveal-right.active .line-deep,
    .anim-reveal-right.active .line-mid,
    .anim-reveal-right.active .line-front {
        animation: none !important;
        opacity: 1;
        transform: none !important;
    }
    .line-deep { left: -10px; opacity: 0.3; }
    .line-mid { left: 10px; opacity: 0.6; }
    .line-front { left: 0; opacity: 1; }
}

@media (max-width: 768px) {
    .about-left-layout { flex-direction: column; gap: 1.5rem; }
    .bhs-vertical-axis {
        writing-mode: horizontal-tb;
        padding-left: 0;
        padding-bottom: 10px;
        width: 100%;
    }
    .bhs-vertical-axis::before {
        width: 100%;
        height: 3px;
        bottom: 0;
        top: auto;
    }
    .vertical-text-brand { font-size: 2.2rem; transform: none; writing-mode: horizontal-tb; letter-spacing: 4px; }
    .bhs-core-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .bhs-arrow-graphics-container { height: 280px; }
}
.projects-section { 
    padding: 80px 0; 
    background-color: #e8f9fd; /* Màu nền xanh nhẹ tinh tế */
    position: relative;
}

.projects-container { 
    width: 90%; 
    max-width: 1400px; 
    margin: 0 auto; 
    display: flex; 
    gap: 80px; 
    align-items: flex-start;
}

/* Cột trái */
.projects-left { flex: 1; }
.projects-header { margin-bottom: 40px; }
.projects-header h2 { font-size: 2.2rem; color: #0b294f; margin-bottom: 15px; }
.projects-header p { color: #555; line-height: 1.7; max-width: 600px; font-size: 0.95rem; }

/* Filter Tabs */
.filter-tabs { display: flex; gap: 40px; margin-top: 30px; }
.tab { 
    padding-bottom: 10px; 
    cursor: pointer; 
    color: #aaa; 
    font-weight: 700; 
    font-size: 0.9rem; 
    border-bottom: 2px solid transparent; 
    transition: 0.3s; 
}
.tab.active { color: #00b4d8; border-color: #00b4d8; }

/* Lưới dự án */
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    max-width: 800px;
}

.project-card { 
    background: #fff; 
    border-radius: 8px; 
    overflow: hidden; 
    border: 1px solid rgba(0,0,0,0.05); 
    transition: transform 0.3s ease; 
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,180,216,0.15); }
.project-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-content { padding: 15px; }
.card-content h3 { font-size: 0.85rem; color: #1a1a1a; margin-bottom: 8px; font-weight: 800; }
.card-content p { font-size: 0.75rem; color: #888; font-weight: 600; }
.project-card.hidden { display: none; }


.projects-container {
    display: flex;
    align-items: stretch; /* Ép cột phải cao bằng cột trái */
    gap: 0;
}

/* 3. Cấu hình cột phải: Chiếm 400px và ẩn phần ảnh tràn */
.projects-right {
    width: 500px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden; 
     border-radius: 15px;
}

/* 4. Cấu hình ảnh: Lấp đầy 100% không gian + Hiệu ứng */
.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ảnh lấp đầy khung mà không méo */
    display: block;
    
    /* Hiệu ứng: Mờ dần và phóng to nhẹ */
    opacity: 0;
    transform: scale(1.08);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Kích hoạt animation khi cuộn tới */
.projects-section.active .map-img {
    opacity: 1;
    transform: scale(1);
}

/* 5. Padding cho nội dung bên trái (Để chữ không bị sát mép màn hình) */
.projects-left {
    padding: 80px 60px;
}

/* Kích hoạt hiệu ứng khi cuộn tới */
.projects-section.active .map-img {
    opacity: 1;
    transform: scale(1); /* Thu về kích thước gốc */
}
/* Kích hoạt hiệu ứng khi section ở trong màn hình */
.projects-section.active .map-img { 
    opacity: 1; 
    transform: scale(1);        /* Thu nhỏ về kích thước gốc một cách mượt mà */
}
/* Điều chỉnh để cột trái và phải bằng chiều cao */
.projects-container { 
    width: 90%; max-width: 1400px; margin: 0 auto; 
    display: flex; gap: 80px; 
    align-items: stretch; /* Đảm bảo 2 cột cao bằng nhau */
}
/* RESPONSIVE */
@media (max-width: 1100px) {
    .projects-container { flex-direction: column; gap: 40px; }
    .projects-right { width: 100%; max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .projects-grid { grid-template-columns: 1fr; }
}
/* Hiệu ứng cơ bản cho các khối */
.projects-header, .projects-grid, .projects-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Class kích hoạt animation */
.projects-section.active .projects-header { opacity: 1; transform: translateY(0); }
.projects-section.active .projects-grid { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.projects-section.active .projects-right { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

/* Hiệu ứng di chuột lên thẻ dự án đẹp hơn */
.project-card { 
    background: #fff; border-radius: 12px; overflow: hidden; 
    border: 1px solid rgba(0,0,0,0.05); 
    transition: all 0.4s ease; 
}
.project-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.2); 
}
.news-section { padding: 80px 0; background: #ffffff; }
.news-container { width: 90%; max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; color: #0b294f; margin-bottom: 50px; font-size: 2rem; }

/* Grid tự động responsive */
.news-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-content { padding: 15px; }
.news-content h3 { font-size: 0.95rem; color: #0b294f; margin-bottom: 10px; line-height: 1.4; }
.date { font-size: 0.8rem; color: #999; margin-bottom: 10px; }
.excerpt { font-size: 0.85rem; color: #666; line-height: 1.5; }

/* Nút Xem thêm */
.news-footer { text-align: center; margin-top: 40px; }
.btn-more {
    padding: 12px 30px;
    border-radius: 25px;
}
.news-section { padding: 80px 0; background-color: #fff; }
.news-container { width: 90%; max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; color: #0b294f; margin-bottom: 50px; font-weight: 700; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Ép 5 cột */
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}
.news-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.news-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.news-content { padding: 15px; }
.news-content h3 { font-size: 0.85rem; color: #1a1a1a; margin-top: 5px; line-height: 1.3; font-weight: 700; }
.date { font-size: 0.75rem; color: #888; margin: 0; }

.news-footer { text-align: center; margin-top: 50px; }
.btn-more {
    display: inline-block;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
}
/* Responsive */
@media (max-width: 1200px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }
/* 1. Trạng thái khởi tạo (Animation lúc cuộn trang) */
.news-card {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 0.6s ease;
    /* Hiệu ứng hover cho thẻ */
    will-change: transform, box-shadow;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

/* 2. Class được JS thêm vào khi cuộn đến (Chỉ chạy 1 lần) */
.news-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Hiệu ứng Hover (Không gây mất hiệu ứng cuộn) */
.news-card:hover {
    transform: translateY(-8px) !important; /* Quan trọng: Ghi đè transform */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 4. Zoom ảnh mượt mà khi hover */
.news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}
.partners-section {
    padding: 60px 0;
    background-color: #fcfcfc; /* Màu nền hơi xám nhẹ để nổi bật so với Footer */
}

.partners-title {
    text-align: center;
    color: #0b294f;
    margin-bottom: 40px;
    font-size: 1.5rem;
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    margin: 0;
    padding: 0.65rem 1rem;
    background: #fff;
    border: 1px solid rgba(11, 41, 79, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 64px;
}

.partners-grid img {
    max-height: 44px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.72;
    transition: opacity 0.35s ease, filter 0.35s ease;
    filter: grayscale(1);
}

.partners-grid img:hover,
.partner-logo:hover img {
    opacity: 1;
    filter: grayscale(0);
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .partners-grid { justify-content: center; }
    .partners-grid img { max-height: 40px; }
}
.footer {
    background: linear-gradient(180deg, #0a2c56 0%, #0a274c 100%);
    color: #f4fbff;
    padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.1rem;
    border-top: 1px solid rgba(122, 210, 255, 0.25);
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(130px, 0.9fr) minmax(260px, 1.7fr) minmax(240px, 1fr);
    gap: clamp(1.2rem, 2.4vw, 2.2rem);
    width: min(92%, 1240px);
    margin: 0 auto;
    align-items: start;
}

.footer-logo {
    width: clamp(64px, 8vw, 86px);
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
}

.footer-col h3 {
    font-size: clamp(0.98rem, 1.1vw, 1.1rem);
    margin-bottom: 0.9rem;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.footer-col p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: rgba(228, 244, 255, 0.9);
    margin-bottom: 0.35rem;
}

.footer-col p i {
    color: #35c9f2;
    width: 1.05rem;
    margin-right: 0.22rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.68rem 0.74rem;
    border-radius: 6px;
    border: 1px solid rgba(144, 217, 255, 0.3);
    background: rgba(255, 255, 255, 0.98);
    color: #17324f;
    font-size: 0.84rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input:focus {
    border-color: #2cc5ef;
    box-shadow: 0 0 0 3px rgba(44, 197, 239, 0.18);
}

.btn-subscribe {
    width: 100%;
}

.subscribe-success-msg {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    padding: 0.65rem 0.72rem;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.45;
    animation: subscribeMsgIn 0.35s ease;
}

.subscribe-success-msg i {
    margin-top: 0.12rem;
    flex-shrink: 0;
}

.subscribe-success-msg--success {
    background: rgba(46, 204, 113, 0.16);
    border: 1px solid rgba(46, 204, 113, 0.45);
    color: #d8ffe8;
}

.subscribe-success-msg--success i {
    color: #5dffb0;
}

.subscribe-success-msg--error {
    background: rgba(255, 107, 107, 0.14);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ffe0e0;
}

.subscribe-success-msg--error i {
    color: #ff8f8f;
}

.subscribe-success-msg strong {
    color: #ffffff;
    font-weight: 700;
}

.newsletter-form.is-submitted input,
.newsletter-form.is-submitted .btn-subscribe {
    display: none;
}

@keyframes subscribeMsgIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(122, 210, 255, 0.2);
    margin-top: clamp(1.2rem, 2vw, 1.8rem);
    padding: 0.8rem 0 0;
    width: min(92%, 1240px);
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    color: rgba(235, 249, 255, 0.86);
    font-size: 0.94rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: #39c9f2;
    transform: translateY(-1px);
}

.copyright {
    color: rgba(189, 219, 243, 0.76);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }
}