/* ===================================
   XÂY DỰNG TRỌN GÓI - FRONTEND CSS
   Màu xanh lá (Dark Green Theme)
   =================================== */

:root {
  --brand-color: #2d5f4d;
  --brand-dark: #1a3a2e;
  --brand-light: #3d7a62;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --border-color: #e0e0e0;
  --bg-light: #f8f8f8;
}

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

html {
  height: 100%;
}

body {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--brand-dark);
  color: white;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  min-width: 80px;
  object-fit: contain;
  object-position: left center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: auto;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-nav li {
  white-space: nowrap;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
  display: block;
  padding: 8px 12px;
}

.main-nav a:hover {
  color: #a8d5ba;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > a i {
  font-size: 10px;
  transition: transform 0.3s;
}

.nav-dropdown:hover > a i {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown .dropdown-menu li {
  margin: 0;
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-dropdown .dropdown-menu a:hover {
  background: var(--brand-color);
  color: white;
  padding-left: 25px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  margin: 0;
}

.search-box {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.search-box:hover,
.search-box:focus-within {
  background: rgba(255, 255, 255, 0.15);
}

.search-box input {
  background: none;
  border: none;
  color: white;
  padding: 8px 14px;
  outline: none;
  width: 180px;
  font-size: 13px;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box button {
  background: none;
  border: none;
  color: white;
  padding: 0 14px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-box button:hover {
  color: #a8d5ba;
  transform: scale(1.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* Hero Section with Slider */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--brand-dark) 0%,
    var(--brand-color) 100%
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out,
    visibility 0s linear 0.8s;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out,
    visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 95, 77, 1) 0%,
    rgba(26, 58, 46, 0.7) 100%
  );
  z-index: 0;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--brand-color);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow.prev {
  left: 30px;
}

.hero-arrow.next {
  right: 30px;
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dots .dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.hero-dots .dot.active {
  background: white;
  width: 30px;
  border-radius: 6px;
}

/* Sections */
.about-section,
.projects-section,
.team-section,
.cta-section {
  padding: 80px 0;
}
.experiences-section {
  padding: 40px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: var(--brand-dark);
}

/* Đảm bảo section-title trong about-section luôn căn giữa */
.about-section .section-title {
  text-align: center !important;
  display: block !important;
  justify-content: unset !important;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .feature-box {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .about-features {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
  }

  .feature-box {
    padding: 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .feature-box h3 {
    font-size: 18px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

.feature-box {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--brand-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--brand-dark);
}

/* Eperiences Section */
.experiences-section {
  background: var(--brand-dark);
}

/* Projects Section */
.projects-section {
  background: var(--bg-light);
}

.projects-section.dark {
  background: var(--brand-dark);
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .experiences-grid .experiences-text {
    padding: 15px 10px;
  }

  .experiences-grid .experiences-text h1 {
    font-size: 36px;
  }

  .experiences-grid .experiences-text h4 {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .experiences-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .experiences-grid .experiences-text {
    padding: 15px;
  }

  .experiences-grid .experiences-text h1 {
    font-size: 32px;
  }

  .experiences-grid .experiences-text h4 {
    font-size: 11px;
  }
}

.experiences-grid .experiences-text {
  color: white;
  text-align: center;
}
.experiences-grid .experiences-text h1 {
  font-size: 50px;
  margin-bottom: 1pt;
}
.projects-carousel {
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.projects-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* --- Section Video Styles --- */
.section-video {
  margin-top: 50px; /* Tăng khoảng cách trên */
  margin-bottom: 50px;
  padding: 20px 0;
  text-align: center;
  background-color: #f9f9f9; /* Nền nhẹ nhàng */
}

.section-video h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 10px;
}

.section-video p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Video Grid Layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* 3 cột trên desktop, tự động co giãn */
  gap: 25px; /* Khoảng cách giữa các video */
  margin-top: 30px;
}

.video-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Đảm bảo nội dung không tràn ra ngoài */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* Dùng flex cho nội dung item */
  flex-direction: column; /* Xếp theo cột */
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-item h4 {
  font-size: 1.2em;
  color: #333;
  padding: 15px;
  margin: 0;
  background-color: #f0f0f0; /* Nền cho tiêu đề */
  text-align: left;
  border-top: 1px solid #eee;
  flex-grow: 1; /* Đảm bảo tiêu đề chiếm hết không gian còn lại */
  display: flex;
  align-items: center; /* Căn giữa dọc tiêu đề nếu chỉ có 1 dòng */
}

/* Responsive Video Aspect Ratio (Quan trọng) */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Tỷ lệ 16:9 (9 / 16 * 100%) */
  height: 0;
  overflow: hidden;
  background-color: #000; /* Nền đen khi load */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-video h2 {
    font-size: 2em;
  }
  .section-video p {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .video-grid {
    grid-template-columns: 1fr; /* 1 cột trên màn hình nhỏ hơn 768px */
  }
  .video-item h4 {
    font-size: 1.1em;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .section-video {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .section-video h2 {
    font-size: 1.8em;
  }
  .section-video p {
    font-size: 0.9em;
    margin-bottom: 20px;
  }
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--brand-color, #2d5a3d);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 90, 61, 0.2);
}

.view-more-btn:hover {
  background: #234a31;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 61, 0.3);
}

.view-more-btn i {
  transition: transform 0.3s ease;
}

.view-more-btn:hover i {
  transform: translateX(5px);
}

/* 1. Đặt Card làm container định vị */
.project-card {
  /* Các thuộc tính hiện tại: */
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;

  /* Thuộc tính CẦN THÊM để định vị tuyệt đối các phần tử con */
  position: relative;
}

/* 2. Giữ nguyên hiệu ứng hover hiện tại */
.project-card:hover {
  transform: translateY(-5px);
  cursor: pointer; /* Thêm con trỏ báo hiệu có thể nhấp */
}

.project-card-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* Tỷ lệ 1:1 - hình vuông */
  overflow: hidden;
  background: var(--bg-light);
}

.project-card-image img {
  width: 100%;
  height: 100%;

  transition: transform 0.3s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}
.project-card-image-1 {
  width: 100%;
  aspect-ratio: 2 / 1; /* Tỷ lệ 1:1 - hình vuông */
  overflow: hidden;
  background: var(--bg-light);
}
.project-card-image-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-image-2 {
  padding-top: 3px;
  width: 100%;
  /* Khung tổng hình vuông */
  aspect-ratio: 3 / 1;

  display: grid;
  /* Chia lưới: 3 cột ngang, 2 hàng dọc */
  grid-template-columns: repeat(3, 1fr);

  gap: 5px; /* Khoảng cách giữa các ảnh */
  overflow: hidden;
  /* Loại bỏ các thuộc tính không cần thiết như object-fit ở đây */
}

/* Ảnh 1: Ảnh lớn nằm ngang, chiếm trọn hàng đầu tiên (Tỷ lệ 2:1) */
.project-card-image-2 .img-1 {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Đảm bảo ảnh lấp đầy khung */

  /* Vị trí trên Grid */
  grid-column: 1 / 4; /* Chiếm 3/3 cột */
  grid-row: 1 / 2; /* Chiếm 1/2 hàng (hàng trên) */

  transition: transform 0.3s ease;
}

/* 3 Ảnh còn lại: Tự động lấp vào hàng thứ 2 */
.project-card-image-2 .img-other {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Thêm hiệu ứng hover (Tùy chọn) */
.project-card-image-2 img:hover {
  transform: scale(1.05);
}

.project-card:hover .project-card-image-2 img {
  transform: scale(1.05);
}

/* Project Image Layout - Grid Style */
/* Container chung cho tất cả các bố cục ảnh */
.project-card-image-gallery {
  /* Đảm bảo khung ảnh có kích thước cố định hoặc linh hoạt theo nhu cầu */
  width: 100%;
  max-width: 600px; /* Ví dụ: Giới hạn chiều rộng tối đa */
  aspect-ratio: 1 / 1; /* Quan trọng: Giữ khung là hình vuông (nếu cần) */

  display: grid;
  gap: 5px; /* Khoảng cách giữa các ảnh thực tế */
}

.project-card-image-gallery img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover; /* Đảm bảo ảnh lấp đầy khung mà không bị méo */
  cursor: pointer;
}

/* Giảm nhẹ hiệu ứng hover, không đổi opacity để tránh ám màu (Safari) */
.project-card-image-gallery:hover img {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}
.project-card-image-gallery img:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}
/* --- BỐ CỤC 1: 1 Ngang + 3 Vuông --- */
.layout-1 {
  grid-template-rows: 1fr 0.5fr; /* 2 Hàng */
  grid-template-columns: 1fr 1fr 1fr; /* 3 Cột */
}
.layout-1 .img-wide-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: 1 / span 3;
  grid-row: 1 / 2;
}
.layout-1 .img-small-b1 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.layout-1 .img-small-b2 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.layout-1 .img-small-b3 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

/* --- BỐ CỤC 2: 1 Dọc + 3 Vuông --- */
.layout-2 {
  grid-template-columns: 1fr 0.5fr; /* 2 Cột */
  grid-template-rows: 1fr 1fr 1fr; /* 3 Hàng */
}
.layout-2 .img-tall-left {
  grid-column: 1 / 2;
  grid-row: 1 / span 3;
}
.layout-2 .img-small-r1 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.layout-2 .img-small-r2 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.layout-2 .img-small-r3 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

/* --- BỐ CỤC 3: 4 Vuông (2x2 Grid) --- */
.layout-3 {
  grid-template-columns: 1fr 1fr; /* 2 Cột */
  grid-template-rows: 1fr 1fr; /* 2 Hàng */
}
/* Các ảnh .img-square sẽ tự động điền vào 4 ô grid */

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.project-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-color);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;

  /* Thuộc tính CẦN THÊM để định vị tuyệt đối */
  position: relative; /* Đặt lại vị trí tương đối cho nút */
  z-index: 2; /* Đảm bảo nút luôn nằm trên khu vực click mở rộng */
}
.project-btn::after {
  content: "";
  position: absolute;
  /* Dùng giá trị âm lớn để mở rộng pseudo-element ra ngoài phạm vi .project-btn
           đến tận ranh giới của .project-card (vì .project-card là relative) */
  top: -1000%;
  right: -1000%;
  bottom: -1000%;
  left: -1000%;

  /* Thuộc tính CẦN THÊM: Đặt z-index thấp hơn nút chính */
  z-index: 1;
}
.project-btn:hover {
  background: var(--brand-dark);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-color);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--brand-dark);
}

.carousel-arrow.prev {
  left: -20px;
}

.carousel-arrow.next {
  right: -20px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-member {
  text-align: center;
}

.member-avatar {
  width: 150px;
  height: 150px;
  background: var(--brand-color);
  border-radius: 50%;
  margin: 0 auto 20px;
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-member p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.member-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.member-social a {
  width: 35px;
  height: 35px;
  background: var(--brand-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.member-social a:hover {
  background: var(--brand-dark);
}

/* Feedback Section */
.feedback-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.feedback-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.feedback-section .section-header h2 {
  font-size: 36px;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.feedback-section .section-header p {
  color: var(--text-light);
  font-size: 16px;
}

/* ============================================
       FEEDBACK SLIDER - CSS MỚI
       Desktop: 3 slides, Mobile: 1 slide
       Loop vô hạn
       ============================================ */

.feedback-slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.feedback-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.feedback-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.feedback-slide {
  flex: 0 0 33.333333%;
  min-width: 33.333333%;
  padding: 0 15px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.feedback-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feedback-image {
  margin-bottom: 30px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.feedback-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--brand-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
  background: #f5f5f5;
}

.feedback-image-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--brand-color);
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--brand-color);
  font-size: 48px;
}

.feedback-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feedback-comment {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 15px;
  flex: 1;
}

.feedback-comment::before,
.feedback-comment::after {
  content: '"';
  font-size: 60px;
  color: var(--brand-color);
  opacity: 0.2;
  position: absolute;
  font-family: Georgia, serif;
}

.feedback-comment::before {
  left: -10px;
  top: -20px;
}

.feedback-comment::after {
  right: -10px;
  bottom: -40px;
}

.feedback-customer {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-dark);
  margin: 0;
}

.feedback-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 10;
  color: var(--brand-color);
  font-size: 18px;
}

.feedback-nav:hover:not(.disabled) {
  background: var(--brand-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.feedback-nav.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
}

.feedback-prev {
  left: 0;
}

.feedback-next {
  right: 0;
}

.feedback-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.feedback-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s;
}

.feedback-dot.active {
  background: var(--brand-color);
  width: 30px;
  border-radius: 6px;
}

/* Mobile: 1 slide */
@media (max-width: 768px) {
  .feedback-section {
    padding: 60px 0;
  }

  .feedback-slider-wrapper {
    padding: 0 20px;
  }

  .feedback-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 10px;
  }

  .feedback-card {
    padding: 25px 20px;
  }

  .feedback-image img,
  .feedback-image-placeholder {
    width: 120px;
    height: 120px;
  }

  .feedback-comment {
    font-size: 15px;
    padding: 0 10px;
  }

  .feedback-nav {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .feedback-prev {
    left: 5px;
  }

  .feedback-next {
    right: 5px;
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--brand-dark) 0%,
    var(--brand-color) 100%
  );
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,128L48,112C96,96,192,64,288,69.3C384,75,480,117,576,138.7C672,160,768,160,864,138.7C960,117,1056,75,1152,64C1248,53,1344,75,1392,85.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.cta-form input {
  flex: 1;
  padding: 15px 25px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
}

.cta-btn {
  background: white;
  color: var(--brand-color);
  padding: 15px 35px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s;
  text-decoration: none;
}

.cta-btn:hover {
  transform: scale(1.05);
}

/* Site Main - Flex grow để đẩy footer xuống */
.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: white;
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  min-width: 80px;
  object-fit: contain;
  object-position: left center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: auto;
}

.footer-logo .logo-icon {
  width: 45px;
  height: 45px;
  background: var(--brand-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.footer-col a:hover {
  color: white;
}

.contact-info {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.contact-info p {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

@media (min-width: 769px) {
  .social-icons {
    margin-right: 180px; /* Dịch sang trái để tránh bị nút báo giá đè lên */
  }
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: var(--brand-color);
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 100px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  text-decoration: none;
  color: white;
}

.float-btn:hover {
  transform: scale(1.1);
}

.zalo-btn {
  background: #0068ff;
}

.facebook-btn {
  background: #1877f2;
}

.phone-btn {
  background: #ff4444;
  animation: pulse 2s infinite;
}

.gift-btn {
  background: #ff4444;
  animation: pulse 2s infinite;
}

.gift-btn:hover i {
  animation: shaking 0.3s linear 2;
  /* animation: pulse 2s infinite; */
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(255, 68, 68, 0.8);
  }
}
@keyframes shaking {
  0%,
  50%,
  100% {
    transform: rotate(0deg);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
  }
  20% {
    transform: rotate(-5deg);
  }
  70% {
    transform: rotate(5deg);
    box-shadow: 0 4px 25px rgba(255, 68, 68, 0.8);
  }
}
/* Fixed Quote Button */
.quote-btn-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(
    135deg,
    var(--brand-light) 0%,
    var(--brand-color) 100%
  );
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(45, 95, 77, 0.5), 0 0 0 0 rgba(61, 122, 98, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.quote-btn-fixed:hover {
  background: linear-gradient(
    135deg,
    var(--brand-color) 0%,
    var(--brand-dark) 100%
  );
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px rgba(45, 95, 77, 0.7), 0 0 20px rgba(61, 122, 98, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.quote-btn-fixed:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 20px rgba(45, 95, 77, 0.5);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  padding: 20px;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--brand-color);
}

.modal-content h2 {
  color: var(--brand-dark);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
}

.form-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-section {
  padding: 20px;
  background: var(--bg-light);
  border-radius: 10px;
  border-left: 4px solid var(--brand-color);
}

.form-section h3 {
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(45, 95, 77, 0.1);
}

.form-section input,
.form-section select,
.form-section textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  margin-bottom: 15px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
  outline: none;
  border-color: var(--brand-color);
  box-shadow: 0 0 0 3px rgba(45, 95, 77, 0.1);
}

.form-section input[type="number"] {
  -moz-appearance: textfield;
}

.form-section input[type="number"]::-webkit-outer-spin-button,
.form-section input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.form-col {
  display: flex;
  flex-direction: column;
}

/* Form row với 3 cột cố định */
.form-row:has(.form-col:nth-child(3)) {
  grid-template-columns: repeat(3, 1fr);
}

.form-col label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 14px;
}

.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-group > label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-size: 14px;
}

.checkbox-row {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dark);
  transition: color 0.3s;
}

.checkbox-row label:hover {
  color: var(--brand-color);
}

.checkbox-row input[type="radio"],
.checkbox-row input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: var(--brand-color);
}

.file-upload {
  margin-bottom: 15px;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 0;
}

.file-upload-label:hover {
  border-color: var(--brand-color);
  background: rgba(45, 95, 77, 0.05);
  color: var(--brand-color);
}

.file-upload-label i {
  font-size: 18px;
}

input[type="file"] {
  display: none;
}

.submit-btn {
  background: var(--brand-color);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px auto 0;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* Blog Pages */
.page-header {
  background: var(--brand-dark);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.blog-section {
  flex: 1;
  padding: 60px 0;
  min-height: 400px;
}

.no-posts {
  text-align: center;
  padding: 80px 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-posts i {
  font-size: 64px;
  color: var(--text-light);
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-posts p {
  font-size: 18px;
  color: var(--text-light);
}

/* Project Type Filter */
.project-type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  justify-content: center;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--bg-light);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--brand-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 95, 77, 0.3);
}

.filter-btn.active {
  background: var(--brand-color);
  color: white;
  border-color: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(45, 95, 77, 0.3);
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: white;
  text-decoration: none;
}

.blog-section {
  padding: 60px 0;
}

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

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  position: relative;
}

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

.blog-card-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* Tỷ lệ 1:1 - hình vuông */
  overflow: hidden;
  background: var(--brand-dark);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 20px;
}

.blog-card-content h3 a {
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: var(--text-light);
  margin: 10px 0;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
}
/* CSS cho class mới */
.custom-quill-styling .ql-editor {
  white-space: normal;
  overflow-y: visible;
  height: auto;
  padding: 0;
}
/* Single Post Headings */
.single-post .post-body h2,
.single-post .post-body h3,
.single-post .post-body h4 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: #222;
  padding-bottom: 5px;
}
/* Định dạng cho khối hình ảnh */
.single-post .content-image {
  margin: 30px 0; /* Khoảng cách lớn hơn cho hình ảnh */
  text-align: center;
}
/* Caption của hình ảnh */
.single-post .content-image .image-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
  font-style: italic;
}
.single-post .content-image img {
  max-width: 80%;
  width: auto;
  height: auto;
  display: block; /* Loại bỏ khoảng trắng không mong muốn dưới ảnh */
  margin: 0 auto; /* Căn giữa ảnh */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-color);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s;
  /* Thuộc tính CẦN THÊM để định vị tuyệt đối */
  position: relative; /* Đặt lại vị trí tương đối cho nút */
  z-index: 2; /* Đảm bảo nút luôn nằm trên khu vực click mở rộng */
}
.read-more-btn::after {
  content: "";
  position: absolute;
  /* Dùng giá trị âm lớn để mở rộng pseudo-element ra ngoài phạm vi .read-more-btn
           đến tận ranh giới của .blog-card (vì .blog-card là relative) */
  top: -1000%;
  right: -1000%;
  bottom: -1000%;
  left: -1000%;

  /* Thuộc tính CẦN THÊM: Đặt z-index thấp hơn nút chính */
  z-index: 1;
}
.read-more-btn:hover {
  gap: 12px;
}

/* Single Post */
.single-post {
  padding: 60px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

.post-title {
  font-size: 42px;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.post-subtitle {
  color: var(--text-light);
  font-size: 18px;
}

.post-header-excerpt {
  margin-top: 20px;
  padding: 20px 30px;
  background: var(--bg-light);
  border-left: 4px solid var(--brand-color);
  border-radius: 8px;
  text-align: center;
}

.post-header-excerpt p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
  font-style: italic;
}

.post-draft-badge {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background: #ff9800;
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.post-draft-badge i {
  margin-right: 6px;
}

/* ===================================
     Post Gallery Section & Content Section
     Phân chia rõ ràng giữa Gallery và Content
     =================================== */

/* Gallery Section */
.post-gallery-section {
  margin: 60px 0 40px 0;
  padding: 40px 0;
  background: linear-gradient(
    180deg,
    rgba(248, 248, 248, 0.5) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Content Section */
.post-content-section {
  margin: 40px 0 60px 0;
  padding: 40px 0 0 0;
}

/* Section Divider & Title */
.section-divider {
  margin-bottom: 35px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--brand-color);
  position: relative;
}

.section-divider::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--brand-light);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  justify-content: center; /* Căn giữa cho flex container */
}

.section-title i {
  color: var(--brand-color);
  font-size: 24px;
}

.section-title span {
  position: relative;
}

.post-gallery {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 0;
  padding-bottom: 40px;
}

/* Gallery trong single post sử dụng project-card-image-gallery với layout */
.post-gallery .project-card-image-gallery {
  width: 70%;
  max-width: 70%;
  margin: 0 auto;
  height: 600px; /* Chiều cao cố định tương đương với Thumbnail đơn */
  gap: 10px; /* Tăng khoảng cách một chút cho single post */
  border-radius: 15px;
  overflow: hidden;
}

.post-gallery .project-card-image-gallery img {
  border-radius: 0; /* Bỏ border-radius của từng ảnh, dùng overflow hidden của container */
  cursor: pointer; /* Cho phép click để xem ảnh lớn */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.post-gallery .project-card-image-gallery img:hover {
  /* Tắt giảm opacity để tránh ám màu (Safari) */
  opacity: 1;
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

/* Legacy gallery styles (giữ lại cho tương thích) */
.gallery-main {
  margin-bottom: 15px;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 2 / 1; /* Tỷ lệ 2:1 - rộng gấp đôi cao */
  object-fit: cover;
  border-radius: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* Giữ nguyên layout gallery trên mobile: 1 ảnh trên, 3 ảnh dưới */
@media (max-width: 768px) {
  /* Gallery & Content Sections - Mobile */
  .post-gallery-section {
    margin: 40px 0 30px 0;
    padding: 30px 0;
  }

  .post-content-section {
    margin: 30px 0 40px 0;
    padding: 30px 0 0 0;
  }

  .section-divider {
    margin-bottom: 25px;
    padding-bottom: 12px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-title i {
    font-size: 20px;
  }

  .post-content-wrapper {
    padding: 20px;
    border-radius: 10px;
  }

  .post-gallery {
    width: 100%;
    max-width: 100%;
  }

  .post-gallery .project-card-image-gallery {
    gap: 8px;
    border-radius: 10px;
    height: auto;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 100%;
  }

  .gallery-main {
    margin-bottom: 10px;
  }

  .gallery-main img {
    border-radius: 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr); /* Giữ 3 cột trên mobile */
    gap: 8px; /* Giảm gap một chút cho mobile */
  }

  .gallery-grid img {
    border-radius: 8px;
  }
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Tỷ lệ 1:1 - hình vuông */
  object-fit: cover;
  border-radius: 10px;
}

.post-content-wrapper {
  margin-bottom: 0;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
}

.post-content {
  width: 100%;
}

/* Horizontal Post Meta - Below Title */
.post-meta-horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  padding: 0;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.post-meta-item i {
  color: var(--text-light);
  font-size: 14px;
}

.post-meta-item strong {
  color: var(--text-dark);
  font-weight: 600;
}

.post-meta-separator {
  color: var(--text-light);
  font-size: 14px;
  margin: 0 5px;
}

/* Legacy styles for backward compatibility */
.post-sidebar {
  display: none;
}

.post-info-box {
  display: none;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.post-excerpt {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.post-excerpt h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--brand-dark);
}

.post-body {
  font-size: 16px;
  line-height: 1.8;
}

.post-body h3 {
  margin: 25px 0 15px;
  color: var(--brand-dark);
}

.post-body p {
  margin-bottom: 15px;
}

.post-body ul {
  margin: 15px 0;
  padding-left: 25px;
}

.post-cta {
  text-align: center;
  padding: 40px 0;
}

.post-cta-btn {
  background: var(--brand-color);
  color: white;
  padding: 15px 50px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.post-cta-btn:hover {
  background: var(--brand-dark);
  transform: scale(1.05);
}

/* Related Posts */
.related-posts {
  background: var(--bg-light);
  padding: 60px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  display: block;
  color: inherit;
}

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

/* Tắt text decoration cho tất cả links bên trong related-card */
.related-card a {
  text-decoration: none;
  color: inherit;
}

.related-card-image {
  width: 100%;
  overflow: hidden;
  background: var(--bg-light);
}

/* Related card với gallery layout */
.related-card-image .project-card-image-gallery {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  gap: 5px;
  border-radius: 0;
}

.related-card-image .project-card-image-gallery img {
  border-radius: 0;
}

/* Related card với single image (fallback) */
.related-card-image-single {
  aspect-ratio: 1 / 1;
}

.related-card-image-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  pointer-events: none; /* Tắt click trên ảnh, để click vào card */
}

.related-card:hover .related-card-image-single img {
  transform: scale(1.05);
}

.related-card-image .project-card-image-gallery img {
  pointer-events: none; /* Tắt click trên ảnh gallery, để click vào card */
}

.related-card:hover .related-card-image .project-card-image-gallery img {
  transform: scale(1.05);
}

.related-content {
  padding: 20px;
}

.related-content h3 a {
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.related-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: var(--text-light);
  margin: 10px 0;
}

.related-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-color);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s;
}

.related-btn:hover {
  gap: 12px;
}

/* Contact Footer Section */
.contact-footer {
  background: var(--brand-dark);
  color: white;
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col-wide {
  grid-column: span 1;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
}

.logo-footer .logo-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.footer-contact {
  margin-bottom: 40px;
}

.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-contact form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 15px;
  align-items: start;
}

.footer-contact textarea {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: inherit;
  resize: vertical;
}

.footer-contact input {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: inherit;
}

.footer-contact input::placeholder,
.footer-contact textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-footer-btn {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
  background: white;
  color: var(--brand-color);
  padding: 12px 25px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.submit-footer-btn:hover {
  background: var(--brand-color);
  color: white;
}

.footer-info {
  display: flex;
  justify-content: flex-start;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 10px;
}

.footer-phone i {
  font-size: 32px;
}

.footer-phone p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.footer-phone h3 {
  font-size: 24px;
  font-weight: 700;
}

/* Contact Page */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-top: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--brand-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--brand-dark);
}

.contact-form-wrapper h2,
.contact-info h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--brand-dark);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

/* Alerts */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.pagination-btn:hover,
.pagination-btn.active {
  background: var(--brand-color);
  color: white;
  border-color: var(--brand-color);
}

/* Mobile Menu - Hidden by default */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-close {
  padding: 20px;
  text-align: right;
  font-size: 24px;
  cursor: pointer;
  color: var(--brand-color);
}

.mobile-search {
  padding: 0 20px 20px;
}

.mobile-search-box {
  display: flex;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.mobile-search-box input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.mobile-search-box button {
  background: var(--brand-color);
  border: none;
  color: white;
  padding: 0 15px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.mobile-search-box button:hover {
  background: var(--brand-dark);
}

.mobile-menu nav {
  padding: 20px;
}

.mobile-menu nav ul {
  list-style: none;
}

.mobile-menu nav ul li {
  margin-bottom: 15px;
}

.mobile-menu nav ul li a {
  display: block;
  padding: 12px 15px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 500;
}

.mobile-menu nav ul li a:hover {
  background: var(--brand-color);
  color: white;
}

/* Mobile Dropdown */
.mobile-dropdown {
  position: relative;
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.3s;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  max-height: 500px;
}

.mobile-dropdown-menu li {
  margin-bottom: 0;
}

.mobile-dropdown-menu a {
  padding-left: 30px !important;
  font-size: 13px;
  background: var(--bg-light);
}

.mobile-dropdown-menu a:hover {
  background: var(--brand-color);
  color: white;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}
/* Promotion Modal Styles */
.promotion-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  inset: 0;
  animation: fadeIn 0.3s ease-out;
}

.promotion-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay trong suốt với hiệu ứng blur nhẹ */
.promotion-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

/* Container cho ảnh */
.promotion-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  animation: zoomIn 0.4s ease-out;
}

/* Link wrapper cho ảnh */
.promotion-image-link {
  display: block;
  position: relative;
  cursor: pointer;
}

/* Ảnh promotion */
.promotion-image {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 15px;
  /* box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5); */
  transition: transform 0.3s ease;
  display: block;
}

.promotion-image-link:hover .promotion-image {
  transform: scale(1.02);
}

/* Nút đóng */
.promotion-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 45px;
  height: 45px;
  background: #ff4444;
  color: white;
  border: 3px solid white;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.5);
  transition: all 0.3s ease;
  z-index: 2;
}

.promotion-modal-close:hover {
  background: #cc0000;
  transform: rotate(90deg) scale(1.1);
}

/* Badge "Hot" */
.promotion-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
  animation: pulse 2s infinite;
  z-index: 2;
}

.promotion-badge i {
  animation: fire 1.5s infinite;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fire {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .promotion-modal-content {
    max-width: 95vw;
    max-height: 85vh;
  }

  .promotion-image {
    max-width: 95vw;
    max-height: 80vh;
    border-radius: 10px;
  }

  .promotion-modal-close {
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .promotion-badge {
    font-size: 11px;
    padding: 6px 12px;
    top: 10px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .promotion-modal-content {
    max-width: 98vw;
  }

  .promotion-image {
    max-width: 98vw;
    max-height: 75vh;
  }
}
/* -------------------------------------------------------------------------------------------------- */
/* Responsive Styles */
@media (max-width: 1024px) {
  /* Post content wrapper - full width on tablet */
  .single-post .post-content-wrapper {
    margin-bottom: 0;
    padding: 25px;
  }

  /* Post content - full width */
  .single-post .post-content {
    width: 100%;
  }

  /* Horizontal meta - keep horizontal on tablet */
  .post-meta-horizontal {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  .post-meta-separator {
    display: inline;
  }
  .experiences-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .experiences-grid .experiences-text {
    padding: 15px 10px;
  }

  .experiences-grid .experiences-text h1 {
    font-size: 40px;
  }

  .experiences-grid .experiences-text h4 {
    font-size: 13px;
  }

  .projects-grid-9 {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-content-wrapper {
    margin-bottom: 30px;
  }

  .post-meta-horizontal {
    gap: 15px;
    padding: 12px 0;
  }

  .post-meta-item {
    font-size: 13px;
  }

  /* Content image responsive for tablet */
  .single-post .content-image img {
    max-width: 85%;
  }

  /* Header improvements for tablet */
  .main-nav ul {
    gap: 15px;
  }

  .main-nav a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .search-box input {
    width: 120px;
  }

  .logo a {
    font-size: 13px;
  }

  .logo img {
    height: 40px;
    max-width: 150px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .main-nav ul {
    gap: 12px;
  }

  .main-nav a {
    font-size: 12px;
    padding: 5px 8px;
  }

  .search-box {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }

  .header-content {
    gap: 10px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .logo a span {
    display: none;
  }

  .logo img {
    height: 40px;
    max-width: 120px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

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

  .footer-contact form {
    grid-template-columns: 1fr;
  }

  .footer-contact textarea {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .submit-footer-btn {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .hero-title {
    font-size: 36px;
  }

  .projects-grid,
  .projects-grid-9,
  .blog-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery giữ nguyên layout: 1 ảnh trên, 3 ảnh dưới */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
  }

  .gallery-main {
    margin-bottom: 10px;
  }

  .gallery-main img {
    border-radius: 10px;
  }

  .gallery-grid img {
    border-radius: 8px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-form {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-actions {
    right: 15px;
    bottom: 80px;
  }

  .quote-btn-fixed {
    right: 15px;
    bottom: 15px;
    font-size: 14px;
    padding: 12px 25px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .site-header {
    padding: 8px 0;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .mobile-menu-toggle {
    font-size: 20px;
    padding: 6px;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 32px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-btn-fixed {
    font-size: 12px;
    padding: 8px 16px;
  }

  .floating-actions {
    bottom: 70px;
    right: 10px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  /* Fix experiences-grid trên mobile */
  .experiences-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .experiences-grid .experiences-text {
    padding: 15px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .experiences-grid .experiences-text h1 {
    font-size: 32px;
  }

  .experiences-grid .experiences-text h4 {
    font-size: 11px;
  }

  .post-meta-horizontal {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 0;
  }

  .post-meta-item {
    font-size: 12px;
  }

  .post-meta-item i {
    font-size: 12px;
  }

  .post-meta-separator {
    display: inline;
    margin: 0 3px;
  }

  /* Content image responsive */
  .single-post .content-image img {
    max-width: 95%;
  }
}
