/* ========================================
RESET
======================================== */

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

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
color: #222;
background: #fff;
}

img {
max-width: 100%;
display: block;
}

a {
text-decoration: none;
color: inherit;
}

ul {
list-style: none;
}

/* ========================================
CONTAINER
======================================== */

.container {
width: min(1200px, calc(100% - 40px));
margin: 0 auto;
}

/* ========================================
HEADER
======================================== */
body {
        padding-top: 60px;
    }
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
     height:60px;
   
    background: #e41d31;
 
	 
    z-index: 10000;
}

.header-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {

    .site-header {
        height: 65px;
    }

    body {
        padding-top: 65px;
    }

}

/* =========================================
   MENU ICON
========================================= */

.menu-toggle {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: 0;
    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    cursor: pointer;
    padding: 8px;

    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: .3s ease;
}


/* =========================================
   LOGO
========================================= */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.logo img {
    display: block;
    max-height: 55px;
    width: auto;
}


/* =========================================
   SOCIAL
========================================= */

.header-social {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: opacity .25s ease;
}

.social-item:hover {
    opacity: .75;
}

.social-icon {
    width: 25px;
    height: 25px;

    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;
}

.social-text {
    white-space: nowrap;
}


/* =========================================
   SIDEBAR
========================================= */

.side-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 320px;
    height: 100vh;

    background: #063b73;

    transform: translateX(-100%);
    transition: transform .35s ease;

    z-index: 2000;

    overflow-y: auto;
}

.side-menu.active {
    transform: translateX(0);
}


/* Header trong menu */

.side-menu-header {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;

    color: #fff;

    border-bottom: 1px solid rgba(255,255,255,.15);
}

.side-menu-header strong {
    font-size: 18px;
}


/* Close */

.menu-close {
    border: 0;
    background: transparent;

    color: #fff;

    font-size: 36px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================
   MENU
========================================= */

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

.side-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.side-nav a {
    color: #fff;
    text-decoration: none;
}

.side-nav > ul > li > a,
.side-nav > ul > li > .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;

    padding: 17px 25px;

    color: #fff;

    transition: background .25s ease;
}

.side-nav > ul > li > a:hover,
.side-nav > ul > li > .submenu-toggle:hover {
    background: rgba(255,255,255,.1);
}


/* =========================================
   OVERLAY
========================================= */

.menu-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.45);

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;

    z-index: 1500;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.logo {
font-size: 24px;
font-weight: 700;
letter-spacing: 1px;
}

.main-nav ul {
display: flex;
align-items: center;
gap: 30px;
}

.main-nav a {
font-size: 15px;
transition: 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
color: #0077cc;
}

/* ========================================
HERO
======================================== */

.hero {
min-height: 500px;


display: flex;
align-items: center;

background:
    linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.45)
    ),
    url("https://picsum.photos/2000/1000")
    center / cover no-repeat;


}

.hero-content {
max-width: 100%;
color: #fff;
}

.hero h1 {
font-size: clamp(36px, 5vw, 64px);
line-height: 1.1;
margin-bottom: 20px;
font-family: "Merriweather",Arial,Helvetica,sans-serif;
  text-transform: uppercase;
  font-size: 75px;
  text-align: center;
}

.hero p {
font-size: 18px;
margin-bottom: 30px;
}



.hero-slider {
    position: relative;
    width: 100%;
    height: 668px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Nút chuyển slide */
.hero-arrow {
    position: absolute;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.hero-arrow:hover {
    background: #d5a84f;
    color: #102c43;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* Các chấm điều hướng */
.hero-dots {
    position: absolute;
    z-index: 99;
    bottom: 25px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
}

.hero-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #d5a84f;
}

.btn {
display: inline-block;


padding: 12px 25px;

background: #0077cc;
color: #fff;

border-radius: 4px;

transition: 0.3s;


}

.btn:hover {
background: #005fa3;
}

/* ========================================
HOME CONTENT
======================================== */

.home-content {
padding: 30px 0;
}


.home-content h2 {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #e53935, #b71c1c);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.4;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(183, 28, 28, 0.25);
    position: relative;
}

.home-content h2::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: #ffd166;
    margin: 10px auto 0;
    border-radius: 3px;
}

@media (max-width: 767px) {
    .home-content h2 {
        font-size: 20px;
        padding: 12px 20px;
    }
}

.content-grid {
display: grid;


grid-template-columns:
    repeat(3, 1fr);

gap: 30px;


}

.card {
padding: 0px;


border: 1px solid #eee;
 

background: #fff;

transition: 0.3s;


}

.card:hover {
transform: translateY(-5px);


box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);


}

.card h3 {
margin-bottom: 10px;
}

/* ========================================
FOOTER
======================================== */

.site-footer {
padding: 40px 0;


background:#e41d31;
color: #fff;


}

.footer-inner {
display: flex;


justify-content: space-between;
align-items: center;

gap: 30px;


}

.site-footer p {
color: #FFF;
margin-top: 5px;
}

/* ========================================
RESPONSIVE
======================================== */

@media (max-width: 768px) {
.hero h1 {
	font-size:35px;
}

.header-inner {
    flex-direction: column;

    padding: 15px 0;

    gap: 15px;
}

.main-nav ul {
    gap: 15px;

    flex-wrap: wrap;
    justify-content: center;
}

.hero {
    min-height: 450px;
}

.content-grid {
    grid-template-columns: 1fr;
}

.footer-inner {
    flex-direction: column;

    text-align: center;
}


}


/* ========================================
HEADER
======================================== */
 

/* ========================================
MENU BUTTON
======================================== */

/* =========================================
   MENU ICON
========================================= */

.menu-toggle {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: 0;
    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    cursor: pointer;
    padding: 8px;

    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    transition: .3s ease;
}



/* ========================================
LOGO
======================================== */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

.logo img {
    display: block;
    max-height: 55px;
    width: auto;
}
/* =========================================
   SOCIAL
========================================= */

.header-social {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 20px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: opacity .25s ease;
}

.social-item:hover {
    opacity: .75;
}

.social-icon {
    width: 25px;
    height: 25px;

    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;
}

.social-text {
    white-space: nowrap;
}



/* ========================================
SIDE MENU
======================================== */
/* =========================================
   SIDEBAR
========================================= */

.side-menu {
    position: fixed;
    top: 0;
    left: 0;

    width: 320px;
    height: 100vh;

    background: #063b73;

    transform: translateX(-100%);
    transition: transform .35s ease;

    z-index: 2000;

    overflow: visible;
}

.side-menu.active {
    transform: translateX(0);
}


/* Header trong menu */

.side-menu-header {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;

    color: #fff;

    border-bottom: 1px solid rgba(255,255,255,.15);
}

.side-menu-header strong {
    font-size: 18px;
}


/* Close */

.menu-close {
    border: 0;
    background: transparent;

    color: #fff;

    font-size: 36px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================
   MENU
========================================= */

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

.side-nav > ul > li {
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.side-nav a {
    color: #fff;
    text-decoration: none;
}

.side-nav > ul > li > a,
.side-nav > ul > li > .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;

    padding: 17px 25px;

    color: #fff;

    transition: background .25s ease;
}

.side-nav > ul > li > a:hover,
.side-nav > ul > li > .submenu-toggle:hover {
    background: rgba(255,255,255,.1);
}


/* =========================================
   OVERLAY
========================================= */

.menu-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.45);

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;

    z-index: 1500;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
OVERLAY
======================================== */
 

/* ========================================
MOBILE
======================================== */

@media (max-width: 600px) {


.header-inner {
    padding: 0 15px;
}

.side-menu {
    width: 300px;
}


}


@media (max-width: 768px) {

    .site-header {
        height: 65px;
    }

    .menu-toggle {
        left: 12px;
    }

    .logo img {
        max-height: 42px;
        max-width: 102px;
    }

    .header-social {
        right: 12px;
        gap: 7px;
    }

    .social-text {
        display: none;
    }

    .social-icon {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

}

 /* ========================================
MENU CÓ SUBMENU
======================================== */
/* =========================================
   SUBMENU DESKTOP
========================================= */

.has-submenu {
    position: relative;
}


/* Nút Tin tức */

.has-submenu > .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    box-sizing: border-box;

    border: 0;
    background: transparent;

    cursor: pointer;
    text-align: left;
    font: inherit;
}


/* Mũi tên */

.submenu-arrow {
    font-size: 25px;
    line-height: 1;

    transition: transform .25s ease;
}


/* SUBMENU */

.menu-sub {
    position: absolute;

    top: 0;
    left: 100%;

    width: 260px;

    margin: 0;
    padding: 10px 0;

    list-style: none;

    background: #063b73;

    box-shadow: 5px 5px 25px rgba(0,0,0,.15);

    opacity: 0;
    visibility: hidden;

    transform: translateX(10px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 3000;
}


/* Hover desktop */

.has-submenu:hover > .menu-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


/* Khi JS thêm submenu-open */

.has-submenu.submenu-open > .menu-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


/* Mũi tên */

.has-submenu:hover .submenu-arrow,
.has-submenu.submenu-open .submenu-arrow {
    transform: rotate(90deg);
}


/* Các item submenu */

.menu-sub li {
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.menu-sub li:last-child {
    border-bottom: none;
}


.menu-sub a {
    display: block;

    padding: 13px 20px;

    color: #fff;

    font-size: 15px;

    text-decoration: none;

    transition:
        background .2s ease,
        padding-left .2s ease;
}


.menu-sub a:hover {
    background: rgba(255,255,255,.1);
    padding-left: 25px;
}

/* ========================================
CLICK -> SUBMENU OPEN
Rule này rất quan trọng
======================================== */
 

/* ========================================
MOBILE
======================================== */

@media (max-width: 768px) {


.menu-sub {

    position: static;

    width: 100%;

    margin: 0;
    padding: 0;

    background: #bd1723;

    box-shadow: none;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    transform: none;

    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
}


/* SUBMENU ĐƯỢC MỞ */

.has-submenu.submenu-open > .menu-sub {

    max-height: 500px;

    opacity: 1;

    visibility: visible;
}


/* MŨI TÊN */

.has-submenu.submenu-open
.submenu-arrow {

    transform: rotate(90deg);
}


/* SUBMENU LINK */

.menu-sub a {

    padding: 13px 20px 13px 45px;

    font-size: 14px;
}


}



/* Khối chứa danh sách story */
/* =========================================
   STORY GRID
========================================= */

.story-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
	margin-bottom: 50px;
}


/* =========================================
   STORY
========================================= */

.story {
    margin: 0;
    padding: 0;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


/* Hiệu ứng cả khối */

.story:hover {
    transform: translateY(-4px);
}


/* =========================================
   IMAGE
========================================= */

.story__thumb {
    position: relative;

    margin: 0 0 16px;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    background: #eee;
}


/* Link ảnh */

.story__thumb a {
    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


/* Ảnh */

.story__thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .6s cubic-bezier(.25,.46,.45,.94),
        filter .4s ease;
}


/* Zoom rất nhẹ */

.story:hover .story__thumb img {
    transform: scale(1.045);
}


/* Lớp sáng nhẹ */

.story__thumb::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255,255,255,0);

    pointer-events: none;

    transition: background .4s ease;
}

.story:hover .story__thumb::after {
    background: rgba(255,255,255,.06);
}


/* =========================================
   TITLE
========================================= */

.story__heading {
    margin: 0;
    padding: 0;

    font-size: 20px;
    line-height: 1.4;

    font-weight: 600;
}


.story__heading a {
    color: #222;

    text-decoration: none;

    transition:
        color .3s ease;
}


.story:hover .story__heading a {
    color: #063b73;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .story-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .story-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story__heading {
        font-size: 18px;
    }

}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .story-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .story-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .story__heading {
        font-size: 18px;
    }

}


.see-more {
    border-radius: 3px;
    background: #bd1723;

    padding: 8px 12px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    margin-left: auto;
    margin-right: auto;

    width: 135px;
    box-sizing: border-box;

    color: #fff;

    font-size: 14px;
    font-weight: bold;
    line-height: normal;

    text-transform: uppercase;
    text-decoration: none;

    transition:
        background .3s ease,
        transform .3s ease;
		margin-bottom: 35px;
}


/* Mũi tên */

.see-more-arrow {
    display: inline-block;

    font-size: 18px;
    line-height: 1;

    transition:
        transform .3s ease;
}


/* Hover */

.see-more:hover {
    background: #a9121d;
}


.see-more:hover .see-more-arrow {
    transform: translateX(5px);
}

button {
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  border: none;
  border-radius: 0;
  outline: 0;
}


.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    background: #063b73;

    border-radius: 50%;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;

    z-index: 9999;
}


/* Hiện */

.back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* Mũi tên */

.back-to-top::before {
    content: "↑";

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    color: #fff;

    font-size: 22px;
    line-height: 1;
}


/* Hover */

.back-to-top:hover {
    background: #bd1723;
}

.back-to-top:hover::before {
    transform: translate(-50%, -55%);
}



.footer-contact {
    margin-top: 30px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;

    color: #fff;
    text-decoration: none;
}

.footer-contact .contact-icon {
    width: 25px;
    min-width: 25px;
    margin-right: 10px;
}