/* =============================
   RESET & BODY
============================= */

/* Reset cơ bản */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  line-height: 1.6;
}

/* Font chữ */
body{
  font-family: 'Be Vietnam Pro', sans-serif !important;  
  background:#f5f5f5;
  max-width:1200px;
  margin:0 auto;     /* căn giữa */
  width:100%;
  padding:0 15px;    /* tránh dính sát mép */
}

/* Khung chính của website */
.container{
  max-width:1200px;
  margin:0 auto;     /* căn giữa */
  width:100%;
  padding:0 15px;    /* tránh dính sát mép */
}

main{
  padding:0px;
  max-width: 1200px;
}
h1{
  font-size:24px;
  text-align:center;
  color:#ff6600;
}

h2{font-size:22px;}
h3{font-size:20px;}
h4{font-size:18px;}
p{font-size:14px;}
a{font-size:14px;}

li{
  list-style:none;
}

img{
  max-width:100%;
  height:auto;
  border-radius:10px;
}
/* Tiêu đề */
/* =============================
   KHỐI TIÊU ĐỀ SEO
============================= */

.tieu-de{
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* H1 */
.tieu-de h1{
  font-size: 28px;
  line-height: 1.4;
  color: #0a2a66; /* xanh đậm */
  margin-bottom: 15px;
}

/* Đoạn mô tả */
.tieu-de p{
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Danh sách ưu điểm */
.tieu-de ul{
  list-style: none;
  padding-left: 10px;
}

/* Từng item */
.tieu-de ul li{

  color: #222;
  margin-bottom: 8px;
  padding-left: 30px;
  position: relative;
}

/* Icon check */
.tieu-de ul li::before{
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff6600; /* cam FPT */
  font-weight: bold;
}
.tieu-de #loadMoreBtn{
/* Màu sắc thương hiệu FPT */
    background-color: #0059ab; 
    color: #ffffff;
    
    /* Căn giữa nút */
    display: block;
    margin: 20px auto; /* Tự động căn giữa theo chiều ngang */
    
    /* Kiểu dáng */
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}
.khu-vuc-list{
  display: grid;
  grid-template-columns: 1fr; /* mặc định mobile: 1 dòng */
  gap: 10px;
}
.khu-vuc-list .khu-vuc-item a{
  color: #ccc;
  text-decoration: none;}
/* PC / Tablet */
@media (min-width: 768px) {
  .khu-vuc-list {
    grid-template-columns: repeat(2, 1fr); /* 2 cột */
  }
}
.khu-vuc-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  border-bottom:1px solid #eee;
}

.kv-name{
    background: #f8fafc;           /* nền rất nhẹ */
    border: 1px solid #e5e7eb;     /* viền mỏng */
    color: #1f2937;                /* chữ đậm vừa */
    
    padding: 8px 14px;
    border-radius: 6px;

    font-size: 14px;

    cursor: pointer;
    transition: all 0.2s ease;

    display: inline-block;
}

.kv-name:hover{
  color:#ff6600;
}
.kv-btn{
  background:#ff6600;
  color:#fff;
  padding:6px 12px;
  border-radius:6px;
  text-decoration:none;
  font-size:14px;
  white-space:nowrap;
}

.kv-btn:hover{
  background:#e65c00;
}
.cta-box {
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  color: #fff;
  padding: 18px 16px;
  border-radius: 10px;
  text-align: center;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Tiêu đề */
.cta-box p:first-child {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}
.cta-box {
  position: relative;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;

  /* Background ảnh */
  background: url('https://lapdatfpt247.com/anh/background-call.jpg') no-repeat center/cover;
}

/* Lớp phủ giúp chữ dễ đọc */
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15); /* chỉnh đậm/nhạt tại đây */
}

/* Nội dung nổi lên trên */
.cta-box * {
  position: relative;
  z-index: 1;
}
/* Nội dung */
.cta-box p {
  margin: 4px 0;
  font-size: 14px;
}

/* Nút gọi */
.cta-box a {
  display: inline-block;
  margin-top: 12px;
  background: #fff;
  color: #ff4d00;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

/* Hover PC */
.cta-box a:hover {
  background: #ffe5d9;
}

/* Responsive PC */
@media (min-width: 768px) {
  .cta-box {
    padding: 20px 24px;
  }

  .cta-box p:first-child {
    font-size: 20px;
  }

  .cta-box p {
    font-size: 15px;
  }

  .cta-box a {
    font-size: 15px;
  }
}
/* =============================
   RESPONSIVE MOBILE
============================= */

@media (max-width: 768px){
  .services-container p{
    font-size: 13px;
  }
  .tieu-de{
    padding: 10px 15px;
  }

  h1{
    font-size: 22px;
  }
  h2{
    font-size: 20px;
   color:#0000ff;
    text-align:center;
    padding: 15px;
  }
  h3{
    font-size: 18px;
    color:#0000ff;
    text-align:center;
    padding: 15px;
  }
  h4{
    font-size: 16px;
    color:#0000ff;
    text-align:center;
    padding: auto;
  }

  p{
    font-size: 14px;
    text-align: left;
  }
  ul{
  padding-left: 5px;
  position: relative;
}
  ul li{
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}
  ul li a{
  text-decoration: none;
}
  .cta-box{
    text-align: center;
  }
}
/* =============================
   BANNER
============================= */

.banner-container{
  width:100%;
  height:auto;
  overflow:hidden;
  position:relative;
}

.banner-slider{
  display:flex;
  width:100%;
  transition:transform .5s ease;
}

.banner-slide{
  width:100%;
  flex-shrink:0;
}

.banner-slide img{
  width:100%;
  height:auto;
  object-fit:cover;
}

/* =============================
   SERVICES
============================= */

.services-container h1{
  color:#ff4500;
  gap:20px;
}

.services-container h2{
  color:#0000ff;
  text-align:center;
  padding: 15px;
}
.services-container h3{
  color:#0000ff;
  text-align:center;
  padding: 15px;
}
.services-container h4{
  color:#0000ff;
  text-align:center;
}
.services-container p{
  color:#000;
  text-align:center;
  font-size:14px;
}
.services-container a{
  color:#008543;
  font-size:14px;
  text-decoration:none;
}
.services-container .tieu-de .khu-vuc-list .khu-vuc-item a{
  color:#fff;
  font-size:14px;
  text-decoration:none;
}

.services-title{
  position:relative;
  overflow:hidden;
}
.services-title p{
  text-align: center;
}


.services-list{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  justify-content:flex-start;
  padding:10px 0;
}

.services-list.center{
  justify-content:center;
}

.services-name{
  flex:0 0 calc(25% - 15px);
  min-width:220px;
  max-width:320px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
  padding:15px;
  scroll-snap-align:start;
  text-align:center;
  transition:transform .25s ease;
}

.services-name:hover{
  transform:scale(1.03);
}

.services-name img{
  width:100%;
  border-radius:8px;
  margin-bottom:10px;
}

.services-name h3,
.services-name p{
  margin:6px 0;
}
.price-new{
  color:#28a745;
  font-size:16px;
  font-weight:bold;
}
.speed-values{
  color:#2b40db;
  animation: speedGlow 1.8s infinite ease-in-out;
}

@keyframes speedGlow{
  0%{
    opacity:1;
    text-shadow:0 0 0px rgba(69,100,237,0);
  }

  50%{
    opacity:1;
    text-shadow:0 0 12px rgba(121, 212, 157, 0.8);
  }

  100%{
    opacity:1;
    text-shadow:0 0 0px rgba(59, 138, 64, 0);
  }
}
/* =============================
   BUTTON GROUP
============================= */

.btn-group{
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:12px;
  margin-top:15px;
  width:100%;
}

.btn-group a{
  flex:1;
  text-decoration:none;
}

.btn-group button{
  width:100%;
  height:48px;
  border:none;
  border-radius:8px;
  font-size:13px;
  cursor:pointer;
  transition:.25s;
}

.btn-dang-ky button{
  background:#007bff;
  color:#fff;
}

.btn-dang-ky button:hover{
  background:#0062cc;
}

.btn-chi-tiet button{
  background:#28a745;
  color:#fff;
}

.btn-chi-tiet button:hover{
  background:#1e7e34;
}
/* Popup Form & Popup Chi tiết */
.form-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.form-content {
  position: relative;
  background: #fff;
  padding: 20px 20px 30px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}
.buy-btn, .detail-btn {
  padding: 5px 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: #ff6600;
  color: #fff;
}

.detail-content {
  max-width: 600px;
  text-align: center;
}

.detail-content img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.form-content h3 {
  margin-bottom: 15px;
  text-align: center;
}

.form-content input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-content button {
  width: 100%;
  padding: 12px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.form-content button:hover {
  background: #218838;
}

/* Nút X */
.close-x {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}
.close-x:hover {
  color: #dc3545;
}
/* =============================
   BENEFITS
============================= */

.fpt-benefits{
  text-align:center;
  padding:20px 0;
  background:#fff;
  border-radius: 12px;
}

.fpt-benefits h2{
  color:#ff6600;
  margin-bottom:30px;
}

.benefit-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  width:90%;
  margin:auto;
}

.benefit-item{
  background:#f9f9f9;
  border-radius:12px;
  padding:15px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  text-align:center;
}

.benefit-item i{
  font-size:28px;
  color:#ff6600;
}

.benefit-item h3{
  font-size:16px;
  margin:5px 0;
}

.benefit-item p{
  font-size:14px;
  color:#555;
}
/* Mũi tên */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 22px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  z-index: 10;
  display: block;
}
.arrow.left { left: 8px; }
.arrow.right { right: 8px; }
.arrow:hover { background: rgba(0,0,0,0.8); }

/* Responsive */
@media (max-width: 768px) {
  .services-name {
    flex: 0 0 90%;
    width: 90%;
    scroll-snap-align: center;
  }
}

/* =============================
   CONTAINER
============================= */

.container{
  padding:0;
  background:white;
  margin-top:20px;
  border-radius:10px;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
}

.container h2{
  font-weight:bold;
  color:#ff6600;
  text-align:center;
}

/* =============================
   SERVICES GRID
============================= */

.services{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

@media(min-width:769px){
  .services{
    grid-template-columns:repeat(4,1fr);
  }
}

.service-box{
  display:flex;
  flex-direction:column;
  padding:20px;
  border:1px solid #ccc;
  border-radius:8px;
  transition:.5s;
}

.service-box img{
  width:100%;
  border-radius:10px;
}

.service-box h3{
  text-align:center;
  margin-top:10px;
}

/* =============================
   NEWS
============================= */

#news-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:16px;
}

.news-item{
  display:flex;
  gap:14px;
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:12px;
  transition:.2s;
}

.news-item:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.news-thumb img{
  width:160px;
  height:110px;
  object-fit:cover;
}

.news-title a{
  font-size:18px;
  color:#111;
  text-decoration:none;
}

.news-title a:hover{
  color:#ff6600;
}

/* =============================
   CTA
============================= */

.cta{
  text-align:center;
  margin:40px;
}

.cta button{
  background:#ff6600;
  color:#fff;
  padding:15px 30px;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

.cta button:hover{
  background:#ff4500;
}

/* =============================
   TABLE
============================= */

.table-responsive{
  width:100%;
  overflow-x:auto;
}

.table-responsive table{
  width:100%;
  border-collapse:collapse;
}

table,th,td{
  border:1px solid rgb(223,138,34);
}

/* =============================
   POPUP
============================= */

#popupTuVan{
  display:none;
  position:fixed;
  z-index:9999;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.5);
}

#popupTuVan .popup-content{
  background:#fff;
  width:60%;
  max-width:420px;
  margin:auto;
  padding:25px;
  border-radius:12px;
}

/* =============================
   RESPONSIVE
============================= */


@media(max-width:768px){
.benefit-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.benefit-item p{
  display:none;
  
}

.btn-group button{
  height:44px;
}

}
.toc-box {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}

.toc-box ul {
  list-style: none;
  padding-left: 0;
}

.toc-box li {
  margin: 5px 0;
}

.toc-box a {
  text-decoration: none;
  color: #333;
}

.toc-box a:hover {
  color: #ff6600;
}