/* ================= RESET ================= */
*{margin:0;padding:0;box-sizing:border-box}
body{
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background:#f5f7fb;
    color:#1e293b;
    line-height:1.65;
}

/* ================= HEADER ================= */
header{
    background:linear-gradient(135deg,#0a4b9a,#0d6efd);
    position:sticky;
    top:0;
    z-index:999;
}
nav {
    max-width: 1200px;
    margin: auto;
    padding: 6px 16px;
}
.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.logo img {
    width: 50px;
}
.logo a {
    display: flex;
    margin: 0;
    padding: 0;
}
/* ================= MENU ================= */
.menu-icon{
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}

.main-menu{
    list-style:none;
    display:flex;
    gap:8px;
}
.main-menu>li {
    position: relative;
    display: flex;
    align-items: center;
}
.main-menu>li>a{
    color:#fff;
    padding:10px 14px;
    font-weight:500;
    border-radius:6px;
    transition:.25s;
    display:block;
    text-decoration:none;
}
.main-menu>li>a:hover{
    background:rgba(255,255,255,.15);
}

/* ================= MEGA MENU PC ================= */
.mega-dropdown{
    position:absolute;
    top:110%;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    background:#fff;
    border-radius:12px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
    display:flex;
    flex-wrap:wrap;
    opacity:0;
    visibility:hidden;
    transition:.25s;
}
.main-menu>li:hover .mega-dropdown{
    opacity:1;
    visibility:visible;
    top:100%;
}

.mega-column{
    flex:1;
    min-width:220px;
    padding:18px;
    border-right:1px solid #e5e7eb;
}
.mega-column:last-child{border-right:none}

.sport-header{
    background:#0d6efd;
    color:#fff;
    font-size:13px;
    padding:8px 12px;
    border-radius:6px;
    margin-bottom:10px;
    font-weight:600;
}
.sport-links{
    list-style:none;
}
.sport-links a{
    color:#334155;
    text-decoration:none;
    padding:6px 0;
    display:block;
    font-size:14px;
}
.sport-links a:hover{
    color:#0d6efd;
    padding-left:6px;
}

/* ================= SECTIONS ================= */
.hero.section{
    max-width:1200px;
    margin:40px auto;
    padding:32px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.hero h2,
.hero h3{
    color:#0a4b9a;
    font-weight:700;
}
.hero img {
    display: block;
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    margin: 20px auto 20px auto;
    text-align: center;
}

/* ================= LIST ================= */
.hero ul li{
    margin-bottom:8px;
    padding-left:6px;
}

/* ================= BOX THAM KHẢO ================= */
.hero .box{
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:18px;
    background:#f9fafb;
    transition:.25s;
}
.hero .box:hover{
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    transform:translateY(-3px);
}

/* ================= FOOTER ================= */
footer, .footer{
    margin-top:40px;
}

/* ================= ANIMATION ================= */
.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:.7s ease;
}
.fade-up.show{
    opacity:1;
    transform:none;
}
.sty0{color: #670403; font-weight: bold; font-style: italic;    border-bottom: 3px double #093957;}
 .sty1{color: #032667; font-weight: bold;background: #fb4e4e4f;  animation: vienbox2 3s infinite; }
 .sty2{color: #074104;font-style: italic;}
 .sty3{color: #0c1a0c;font-style: italic; background: #c4e9e938;}
 .sty4{color: #0b1355;font-weight: bold;background: #f7f78f9e;}
 .sty5{color: #5f052e; font-size: larger;    border-bottom: 3px double #d7a915;}
 .sty6{color: #8d325b; background: #bde9ab38;   border: 2px solid #d4efe78c;  animation: vienbox1 3s infinite;}
 .sty7{color: #280165;font-weight: bold;font-style: italic; font-size: larger;}
 .sty8{color: #294f01;font-size: larger;    border-bottom: 3px double #15b3d7;}
 .sty9{color: #d70301; font-weight: bold;  border: 2px solid #d4efe78c;  animation: vienbox1 3s infinite;}
 .s0, .s1, .s2, .s3, .s4, .s5 {color:#000}
 .s0 strong, .s1 strong, .s2 strong, .s3 strong, .s4 strong, .s5 strong {color: #001830;}
 .bg0 {background: linear-gradient(45deg, #ffbfe5, #7edbff);}
 .bg1 {background-color: #00ffb8;}
 .bg2 {background-color: #90e659;}
 .bg3 {background: linear-gradient(to bottom, #ff896c 0%, #fff702 100%);}
 .bg4 {background: linear-gradient(to left, #ff9900 0%, #ffff99 100%);}
 .bg5 {background: linear-gradient(to bottom, #ccffcc 0%, #ccffff 100%);}
 .bg6 {background: linear-gradient(to bottom, #66ccff 0%, #00ff99 100%);}
 .bg7 {background: linear-gradient(to top right, #ffff66 0%, #ff6699 100%);}
 .bg8 {background: linear-gradient(to bottom, #ff9933 0%, #fff6b5 100%);}
 .bg9 {background: linear-gradient(to bottom, #5ae8ff 0%, #ffa2a2 100%);}
 .bg10 {background: linear-gradient(to bottom, #66ffff 0%, #66ff99 100%);}
 .bg11 {background: linear-gradient(to bottom, #00cc66 0%, #33ccff 100%);}
 .bg12 {background: linear-gradient(to bottom, #66ffff 0%, #59ff75 100%);}
 .bg13 {background: linear-gradient(to bottom, #83ffd1 0%, #f9e0a7 100%);}
 .bg14 {background: linear-gradient(to top right, #d2ffb0 29%, #00ffe7 100%);}
 .bg15 {background: linear-gradient(to top right, #99ffcc 29%, #fffc9d 100%);}
 .bg16 {background: linear-gradient(to top right, #93c8ff 29%, #f8ff8d 100%);}
 .bg17 {background: linear-gradient(to top right, #ffcc99 29%, #ffd747 100%);}
 .bg18 {background: linear-gradient(to top right, #ffa2a2 29%, #ffe4b1 100%);}
 .bg19 {background: #ffbb00;}
 .bg20 {background: linear-gradient(180deg, #cbffd4 29%, #4affb4 100%);}
 .bg21 {background: #eeecd9;}
 .bg22 {background: linear-gradient(to top right, #ffd7d7 29%, #fff5ad 100%);}
 .bg23 {background: linear-gradient(to top right, #23ffb8 29%, #ceff6e 100%);}
 .bg24 {background: linear-gradient(to bottom, #ffcccc 0%, #40ff40 100%);}
 .bg25 {background: #fffd7c;}
 .bg26 {background: linear-gradient(to bottom, #e4ff4d 0%, #f9e8ff 100%);}
 .bg0, .bg1, .bg2, .bg3, .bg4, .bg5, .bg6, .bg7, .bg8, .bg9, .bg10, .bg11, .bg12, .bg13, .bg14, .bg15, .bg16, .bg17, .bg18, .bg19, .bg20, .bg21, .bg22, .bg23, .bg24, .bg25, .bg26 {border:3px solid #fff;border-radius: 15px;padding: 20px;margin-top: 20px; color: #1d1d1d;clear: both;}
.titletrongbai { color: #001652; background: #eee; border-left: 10px solid #ffb100; padding: 10px 5px; text-shadow: 0px 3px 3px #c1c1c1; font-size: 23px; }
 .titlehuongdan { color: #414141; background: #a4e9ff; width: 100%; border-left: 11px double #747474; border-bottom: 5px solid #a9d9ff; }
 .titlebaiviet0 {border-bottom: 1px dashed #0089ff;text-align: left;}
 .titlebaiviet1 { border-style: solid; border-color: #fe9600; border-width: 0px 0px 5px 27px; background: #ffcb00; }
 .titlebaiviet2 { border-top: 5px solid #58dcb0; background: aquamarine; }
 .titlebaiviet3 { border-left: 5px solid #ff7c00; background: linear-gradient(90deg, #ffd800 70%, transparent); border-radius: 8px 0px 0px 8px; }
 .titlebaiviet4 { background: #ffd800; border: 3px solid #717171; border-width: 6px 20px 0px 20px; border-bottom: 6px solid #ffffff00; text-align: center; }
 .titlebaiviet5 { color: #0052a9!important; border-bottom: 1px dotted; }
 .titlebaiviet6 { background: #366567!important;  border: 3px solid #ff6f00; border-width: 0px 10px; }
 .titlebaiviet7 { background: #0fff9c; box-shadow: 8px 6px 0px #089c5f; border: 1px solid #fff; border-width: 0px 2px 2px 0px; }
 .titlebaiviet8 { color: #000b8a!important; border-bottom: 5px solid #004c9d; background: #fff75b; }
 .titlebaiviet9 { background: linear-gradient(45deg, #00f2ff, #d2ff6e); border-radius: 5px; border-bottom: 3px solid #ffbe00; }
 .titlebaiviet10 { border: 0px solid #009dc5; border-width: 3px 0px 0px 15px; box-shadow: 1px 3px 20px #c3c3c3; }
 .titlebaiviet11 {border: 0px solid #ffd800;border-width: 0px 0px 1px 7px;background: linear-gradient(45deg, #44b2ff, #00e5ff);border-radius: 0px 0px 0px 16px;}
 .titlebaiviet12 {background: linear-gradient(45deg, blue, #00b5bf); border: 4px double #ffffff; text-shadow: 0px 2px 4px #464646; }
 .titlebaiviet13 {background: linear-gradient(87deg, #da1100 0%, #580000 100%); border-bottom: 1px dashed #ff6200; }
 .titlebaiviet14 {background: linear-gradient(118deg, #e50006, #005299, #ff0000);border-bottom: 1px dotted #0020b1; }
 .titlebaiviet15 {border-left: 8px solid #ffd800;}
 .titlebaiviet16 {border-left: 5px solid #d8ff00;    background: linear-gradient(89deg, #42cd0b66 60%, white); }
 .titlebaiviet17 {border-left: 9px solid #f2ff00; background: linear-gradient(266deg, #7affc2d6 30%, #00ff48); }
 .titlebaiviet18 {background-color: #024e60;  border-radius: 0px 20px 0px 20px; border: 3px solid #00beff; }
 .titlebaiviet19 { background: burlywood; border: 0px double #fff; border-width: 0px 14px; box-shadow: 0px 2px 15px #aaa; border-bottom: 5px solid #ffa300; }
 .titlebaiviet20 { background-color: #ff003b; border-bottom: 5px solid #ffde46; border-radius: 28px; }
/* ================= MOBILE ================= */
@media(max-width:767px){
    .menu-icon{display:block}
       .main-menu {
        position: absolute;
        top: 60px;
        height: 300px;
        border: 1px solid #00c0ff;
        border-radius: 0px 0px 10px 10px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        display: none;
    }
    .main-menu.active{display:block}
    .main-menu>li>a{
        color:#1e293b;
    }
    .arrow{
        display:block;
        position:absolute;
        right:18px;
        top:16px;
        color:#1e293b;
    }
    .mega-dropdown {
        position: relative;
        width: 100%;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        left: 0;
        height: 100vh;
        overflow-x: scroll;
    }
    .mega-dropdown.active{display:block}
    .mega-column{
        border-right:none;
        border-bottom:1px solid #e5e7eb;
    }

    .main-menu>li {
        flex-wrap: wrap;
        border-bottom: 1px solid #e5e7eb;
    }
    .hero.section {
    padding: 15px;
    text-align: justify;
    }
}
/* ================= SOLUTION GRID ================= */
.solution-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    margin:24px 0;
}

.solution-card{
    background:#ffffff;
    border-radius:16px;
    padding:26px 22px;
    text-decoration:none;
    color:#1e293b;
    border:1px solid #e5e7eb;
    box-shadow:0 12px 30px rgba(0,0,0,.06);
    transition:.3s ease;
    position:relative;
    overflow:hidden;
}

.solution-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,#0a4b9a,#0d6efd);
    opacity:0;
    transition:.3s;
}

.solution-card:hover::before{
    opacity:.06;
}

.solution-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.solution-number{
    font-size:28px;
    font-weight:800;
    color:#0d6efd;
    margin-bottom:10px;
}

.solution-card h3{
    font-size:18px;
    line-height:1.4;
    margin-bottom:10px;
    color:#0a4b9a;
}

.solution-card p{
    font-size:14px;
    color:#475569;
    margin-bottom:16px;
}

.solution-action{
    font-size:14px;
    font-weight:600;
    color:#0d6efd;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
    .solution-grid{
        grid-template-columns:1fr;
    }
}

/* ================= FOOTER ATP ================= */
/* ================= ATP FOOTER NEW ================= */
.atp-footer{
    background:linear-gradient(135deg,#0a3a78,#0d6efd);
    color:#e5f0ff;
    margin-top:80px;
    font-family:"Segoe UI",Arial,sans-serif;
}

.atp-footer-main{
    max-width:1200px;
    margin:auto;
    padding:50px 20px;
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:40px;
}

/* BRAND */
.footer-brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0px 10px 0px 0px;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    float: left;
}

.footer-brand h3{
    font-size:20px;
    margin-bottom:8px;
    font-weight:700;
}

.footer-brand p{
    font-size:14px;
    line-height:1.6;
    color:#dbeafe;
}

/* INFO */
.footer-info h4,
.footer-contact-box h4{
    font-size:16px;
    margin-bottom:14px;
    font-weight:700;
    
}
.footer-info h4 { 
color:#ffffff;
}
.footer-contact-box h4 {
    color: #000000;
    text-transform: uppercase;
}

.footer-info ul{
    list-style:none;
    padding:0;
}

.footer-info li{
    font-size:14px;
    margin-bottom:8px;
    color:#dbeafe;
}

/* CONTACT */
.footer-contact-box {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 10px;
    color: #000;
}

.hotline{
    margin-bottom:14px;
}

.hotline span{
    font-size:13px;
}
.hotline b {
    color: #fa0000;
}


.support{
    font-size:14px;
    margin-bottom:10px;
}

.commit{
    font-size:12px;
        color: #0067ff;
    border-top:1px dashed rgba(255,255,255,.3);
    padding-top:10px;
}

/* BOTTOM */
.atp-footer-bottom{
    text-align:center;
    padding:14px;
    font-size:13px;
    background:#082f63;
    color:#bfdbfe;
}

/* MOBILE */
@media(max-width:900px){
    .atp-footer-main{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-brand img{
        margin:auto;
    }

}


/* ================= COMMIT BOX ABOVE FOOTER ================= */
.atp-commit-wrap{
  max-width:1200px;
  margin:70px auto 0;
}

.atp-commit{
  border-radius:18px;
  padding:26px;
  background:linear-gradient(135deg,#ffffff,#f3f8ff);
  border:1px solid #e5e7eb;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
  position:relative;
  overflow:hidden;
}

.atp-commit::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -260px;
    top: -260px;
    background: radial-gradient(circle, rgb(0 231 255 / 22%), transparent 40%);
    pointer-events: none;
}

.commit-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.commit-head h3{
  font-size:20px;
  color:#0a4b9a;
  font-weight:800;
  margin:0;
}

.commit-head p{
  margin:0;
  font-size:14px;
  color:#475569;
}

.commit-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.commit-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:16px 14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  transition:.25s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.commit-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(0,0,0,.12);
  border-color:#bfdbfe;
}

.commit-ico{
  width:42px;height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  font-size:18px;
  flex:0 0 42px;
}

.commit-txt h4{
  margin:0 0 6px;
  font-size:15px;
  font-weight:800;
  color:#0f172a;
}

.commit-txt p{
  margin:0;
  font-size:13px;
  color:#64748b;
  line-height:1.55;
}

/* Responsive */
@media(max-width:1000px){
  .commit-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .commit-grid{grid-template-columns:1fr}
  .atp-commit{padding:18px}
}
