/* =========================================
   1. RESET & CƠ BẢN
========================================= */
.text-orange {
  color: #ff6600 !important;
}

.btn-orange {
  background-color: #ff6600;
  color: #fff;
  border: none;
}
.btn-orange:hover {
  background-color: #e65c00;
}

.btn-outline-orange {
  border: 1px solid #ff6600;
  color: #ff6600;
}
.btn-outline-orange:hover {
  background-color: #ff6600;
  color: #fff;
}

.section-title {
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* =========================================
   2. BANNER
========================================= */
.banner-slide {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
}
@media (max-width: 768px) {
  .banner-slide {
    min-height: 300px;
    text-align: center;
    padding: 20px;
  }
  .banner-slide img {
    max-width: 120px;
  }
}

/* =========================================
   3. SWIPER CHUNG (DÙNG CHO SLIDER KHÁC)
========================================= */
.swiper-general {
  width: 100%;
  padding: 30px 0;
}

.swiper-general .swiper-slide {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swiper-general .swiper-slide img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.swiper-general .swiper-pagination-bullet {
  background: #999;
  opacity: 0.7;
}

.swiper-general .swiper-pagination-bullet-active {
  background: #0056ff;
  opacity: 1;
}

/* =========================================
   4. GÓI CƯỚC (PACKAGE SLIDER)
========================================= */
.fpt-speedx-section {
  padding: 60px 0;
  background: #f8f8f8;
}

.fpt-speedx-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.fpt-speedx-title h2 {
  color: #111;
  font-size: 26px;
  font-weight: 700;
}

.fpt-speedx-title p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.fpt-speedx-slider-container {
  position: relative;
  max-width: 1500px;
  margin: auto;
}

.speedx-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.speedx-card:hover {
  transform: translateY(-6px);
}

.speedx-card img {
  width: 100%;
  display: block;
}

.speedx-card .label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1072f5;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
}

.speedx-card .content {
  padding: 16px;
}

.speedx-card h4 a {
  color: #111;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.speedx-card .price {
  font-size: 18px;
  color: #ff6600;
  margin: 6px 0 10px;
}

.speedx-card ul {
  padding-left: 16px;
  margin-bottom: 16px;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.speedx-card ul li {
  list-style-type: disc;
}

.buttons {
  display: flex;
  gap: 10px;
}

.btn-outline {
  border: 1px solid #1072f5;
  color: #1072f5;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline:hover {
  background: #1072f5;
  color: #fff;
}

.btn-main {
  background: #ff6600;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-main:hover {
  background: #e95c00;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ff6600;
}

.swiper-pagination-bullet-active {
  background: #ff6600;
}

@media (max-width: 992px) {
  .fpt-speedx-title h2 {
    font-size: 22px;
  }
  .speedx-card ul {
    font-size: 13px;
  }
}


/* =========================================
   5. FPT SERVICE CARDS (TÁCH RIÊNG)
========================================= */
.fpt-rowfull {
  width: 100%;
  padding: 40px 0;
  background: #fff;
}

.fpt-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.fpt-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fpt-card img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.fpt-card:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.swiper-button-prev,
.swiper-button-next {
  color: #ff6600;
}

.swiper-pagination-bullet-active {
  background: #ff6600;
}

/* Responsive */
@media (max-width: 991px) {
  .fpt-card {
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .fpt-rowfull {
    padding: 20px 0;
  }
}


/* =========================================
   6. CARD CHUNG
========================================= */
/* .card-body {
  display: flex;
  flex-direction: column;
}
.card-actions {
  margin-top: auto;
}
.card-img-top {
  height: 250px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.fixed-news-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
} */
 .news-section {
  background: #fff;
}

.section-title {
  font-weight: 700;
  color: #222;
  font-size: 1.8rem;
}

.fixed-news-img {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.news-card {
  border: none;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Buttons */
.btn-orange {
  background-color: #ff6600;
  border: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-orange:hover {
  background-color: #d94d00;
  color: #fff;
}

.btn-outline-orange {
  border: 1.5px solid #ff6600;
  color: #ff6600;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline-orange:hover {
  background-color: #ff6600;
  color: #fff;
}

/* Mobile: chỉ hiển thị 1 tin ban đầu */
@media (max-width: 768px) {
  #news-container .news-item {
    display: none;
  }
  #news-container .news-item:nth-child(1) {
    display: block;
  }
}


/* =========================================
   7. FOOTER
========================================= */
.footer {
  font-size: 14px;
  line-height: 1.6;
}
.footer-title {
  font-weight: 600;
  cursor: pointer;
}
.footer-link {
  color: #bbb;
  text-decoration: none;
}
.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}
.social-links a {
  font-size: 18px;
  color: #bbb;
}
.social-links a:hover {
  color: #fff;
}

/* =========================================
   8. CHAT NỔI
========================================= */
#chat-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff6600;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
#chat-bubble:hover {
  transform: scale(1.1);
}
#chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: none;
  z-index: 1001;
}
.chat-header {
  background: #ff6600;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header button {
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
}
.chat-body {
  padding: 15px;
}
/* =========================================
   9. CARD CAMERA
========================================= */
/* ======= CAMERA AI SECTION ======= */
.camera-ai-section {
    padding: 60px 0 40px;
    background: #fff;
    max-width: 1300px;
    margin: 0 auto;
}

/* ======= Tiêu đề ======= */
.camera-ai-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 8px;
}

.camera-ai-section p.sub {
    text-align: center;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

/* ======= Cards container ======= */
.camera-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* ======= Card ======= */
.camera-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.camera-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ======= Image ======= */
.camera-card img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #ff6600;
    display: block;
}

/* ======= Card Body ======= */
.camera-card .card-body {
    padding: 14px 12px 20px;
    text-align: center;
    flex-grow: 1;
}

.camera-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.camera-card p {
    font-size: 0.95rem;
    color: #666;
}

.camera-card p span {
    color: #ff6600;
    font-weight: 600;
}

/* ======= Responsive ======= */
@media (max-width: 992px) {
    .camera-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .camera-ai-section {
        padding: 40px 0;
    }
    .camera-grid {
        gap: 20px;
    }
    .camera-card img {
        height: 180px;
    }
}
