/* ==========================================================================
   Scroll Animations - MinhToaLand
   Hiệu ứng cuộn trang bằng CSS thuần (sử dụng Intersection Observer)
   ========================================================================== */

/* ----- Animation Classes ----- */

/* Trạng thái ban đầu - ẩn trước khi vào viewport */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
  will-change: opacity, transform, filter;
}

/* Trạng thái đã được quan sát - hiện ra */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0);
  filter: blur(0);
}

/* ----- Fade In ----- */
.fade-in {
  opacity: 0;
  transform: translateY(0);
}
.fade-in.is-visible {
  opacity: 1;
}

/* ----- Fade Up ----- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Fade Down ----- */
.fade-down {
  opacity: 0;
  transform: translateY(-40px);
}
.fade-down.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Fade Left ----- */
.fade-left {
  opacity: 0;
  transform: translateX(-50px);
}
.fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ----- Fade Right ----- */
.fade-right {
  opacity: 0;
  transform: translateX(50px);
}
.fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================================================
   OFFICE LOCATION - GOOGLE MAP
   =========================================================== */
.home-map-section {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(139, 92, 246, 0.04) 0%, transparent 60%),
    var(--bg-soft, #f8fafc);
  position: relative;
  overflow: hidden;
}
.home-map-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), rgba(139, 92, 246, 0.3), transparent);
}

.home-map-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* Reuse style từ tagline */
.home-map-headline {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  margin: 16px auto 16px !important;
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 35%, #8b5cf6 70%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 16px rgba(37, 99, 235, 0.2));
}

.home-map-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600, #4b5563);
  line-height: 1.7;
  margin: 0;
}

/* Grid 2 cột */
.home-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: stretch;
}

/* Cột thông tin */
.home-map-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-map-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
}
.home-map-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-map-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  color: var(--primary, #2563eb);
  font-size: 1.25rem;
  position: relative;
}
.home-map-info-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.home-map-info-icon i {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.home-map-info-item:hover .home-map-info-icon::before {
  opacity: 1;
}
.home-map-info-item:hover .home-map-info-icon i {
  color: #fff;
}

.home-map-info-text {
  flex: 1;
  min-width: 0;
}
.home-map-info-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}
.home-map-info-text span,
.home-map-info-text a {
  display: block;
  font-size: 1rem;
  color: var(--gray-900, #111827);
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
  text-decoration: none;
  transition: color 0.2s ease;
}
.home-map-info-text a:hover {
  color: var(--primary, #2563eb);
}

/* Action buttons */
.home-map-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.home-map-actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.home-map-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

/* Map iframe */
.home-map-iframe-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  min-height: 480px;
  background: linear-gradient(135deg, #dbeafe, #e9d5ff);
}
.home-map-iframe {
  position: absolute;
  inset: 0;
}
.home-map-iframe iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0 !important;
}
.home-map-overlay-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary, #2563eb);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.home-map-overlay-btn:hover {
  background: var(--primary, #2563eb);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* Responsive */
@media (max-width: 991px) {
  .home-map-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-map-iframe-wrap {
    min-height: 400px;
  }
}
@media (max-width: 576px) {
  .home-map-section { padding: 56px 0; }
  .home-map-info-card { padding: 20px; gap: 18px; }
  .home-map-info-icon { width: 42px; height: 42px; font-size: 1.05rem; border-radius: 12px; }
  .home-map-info-icon::before { border-radius: 12px; }
  .home-map-actions .btn { flex: 1 1 100%; }
  .home-map-iframe-wrap { min-height: 320px; border-radius: 16px; }
}

/* ----- Zoom In ----- */
.zoom-in {
  opacity: 0;
  transform: scale(0.85);
}
.zoom-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ----- Zoom Out ----- */
.zoom-out {
  opacity: 0;
  transform: scale(1.15);
}
.zoom-out.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ----- Flip Up ----- */
.flip-up {
  opacity: 0;
  transform: perspective(1000px) rotateX(20deg);
  transform-origin: center bottom;
}
.flip-up.is-visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0);
}

/* ----- Rotate In ----- */
.rotate-in {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}
.rotate-in.is-visible {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* ----- Blur In ----- */
.blur-in {
  opacity: 0;
  filter: blur(15px);
  transform: translateY(20px);
}
.blur-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ----- Slide Up (mạnh hơn fade-up) ----- */
.slide-up {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Bounce In ----- */
.bounce-in {
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.bounce-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Stagger Delays - Hiệu ứng xuất hiện lần lượt cho danh sách
   ========================================================================== */
.stagger-1  { transition-delay: 0.1s; }
.stagger-2  { transition-delay: 0.2s; }
.stagger-3  { transition-delay: 0.3s; }
.stagger-4  { transition-delay: 0.4s; }
.stagger-5  { transition-delay: 0.5s; }
.stagger-6  { transition-delay: 0.6s; }
.stagger-7  { transition-delay: 0.7s; }
.stagger-8  { transition-delay: 0.8s; }

/* ==========================================================================
   Scroll-triggered Counter
   ========================================================================== */
.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Parallax Effect (CSS only - giới hạn)
   ========================================================================== */
.parallax-slow {
  transition: transform 0.1s linear;
}

/* ==========================================================================
   Smooth Scroll cho toàn trang
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

/* Respect user preference - giảm chuyển động */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll,
  .fade-in, .fade-up, .fade-down, .fade-left, .fade-right,
  .zoom-in, .zoom-out, .flip-up, .rotate-in, .blur-in,
  .slide-up, .bounce-in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ==========================================================================
   Helper - áp dụng cho nhiều phần tử
   ========================================================================== */

/* Khoảng cách giữa các section để hiệu ứng dễ nhìn */
.scroll-section {
  padding: 60px 0;
}

/* Hiệu ứng cho hình ảnh */
.img-zoom-wrap {
  overflow: hidden;
  display: block;
}
.img-zoom-wrap img {
  transition: transform 0.6s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-zoom-wrap:hover img {
  transform: scale(1.08);
}

/* Hiệu ứng underline cho link */
.link-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}
.link-underline:hover::after {
  width: 100%;
}

/* Hiệu ứng glow cho button */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn-glow:hover::before {
  width: 300px;
  height: 300px;
}

/* ==========================================================================
   Home - Section "Giới thiệu công ty" - Redesign
   ========================================================================== */
.home-about-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background:
    /* Dark overlay for text readability */
    linear-gradient(135deg, rgba(10, 25, 47, 0.92) 0%, rgba(15, 39, 68, 0.85) 50%, rgba(10, 25, 47, 0.90) 100%),
    /* Background image */
    url('../img/about-bg.jpg') center center / cover no-repeat;
}

/* Background decorative - reduced opacity to work with image */
.home-about-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.deco-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.4) 0%, transparent 70%);
  top: -100px; left: -150px;
  animation: float-blob 20s ease-in-out infinite;
}
.deco-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: float-blob 25s ease-in-out infinite reverse;
}
.deco-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.home-about-section .container { position: relative; z-index: 1; }

/* Section header giữa */
.home-about-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}
.home-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.home-about-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-900, #111827);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.home-about-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  margin: 0 auto 28px !important;
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  /* Light gradient text for dark background */
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Subtle glow */
  filter: drop-shadow(0 2px 12px rgba(100, 150, 255, 0.2));
}
/* Glow layer behind text */
.home-about-headline::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: blur(20px);
  opacity: 0.35;
  z-index: -1;
  pointer-events: none;
}
/* Accent underline */
.home-about-headline::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(147, 197, 253, 0.4);
  animation: headline-underline 1.2s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes headline-underline {
  0% { width: 0; opacity: 0; }
  100% { width: 80px; opacity: 1; }
}

/* Xóa div divider cũ - đã có gạch chân trên tagline */
.home-about-header h2 {
  margin-bottom: 24px;
}
.home-about-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.home-about-divider span {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
}
.home-about-divider i {
  color: var(--primary, #2563eb);
  font-size: 0.85rem;
}
.home-about-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  margin: 0;
  max-width: 100%;
  text-wrap: pretty;
}

/* Grid 2 cột */
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

/* ===== Cột trái: Visual ===== */
.home-about-visual {
  position: sticky;
  top: 100px;
}
.home-about-image-main {
  position: relative;
  border-radius: 24px;
  /* overflow visible để play-button pulse không bị clip; border-radius vẫn giữ ảnh */
}
.home-about-image-main > img,
.home-about-image-main > img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}
.home-about-image-main > .home-about-image-placeholder {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 4.5;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #6366f1 100%);
  border-radius: 24px;
  overflow: hidden;
}
.home-about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  gap: 12px;
}
.home-about-image-placeholder i {
  font-size: 5rem;
  opacity: 0.6;
}
.home-about-image-placeholder span {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.home-about-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
}
.home-about-play-btn::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: pulse-ring 2s ease-in-out infinite;
  z-index: -1;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}
.home-about-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

/* Badge nổi góc trên-trái bên trong ảnh */
.home-about-badge-floating {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
}
.badge-year {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}
.badge-year::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #2563eb, #8b5cf6);
}
.badge-year strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.badge-year span {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-600, #4b5563);
  margin-top: 4px;
  font-weight: 500;
  white-space: nowrap;
}

/* Stat card stack bên dưới ảnh */
.home-about-card-stack {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-card-glass {
  background: #fff;
  padding: 18px 14px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.stat-card-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}
.stat-card-glass i {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}
.stat-card-deals i { background: linear-gradient(135deg, #f59e0b, #f97316); }
.stat-card-clients i { background: linear-gradient(135deg, #2563eb, #6366f1); }
.stat-card-team i { background: linear-gradient(135deg, #10b981, #14b8a6); }

.stat-card-glass strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-900, #111827);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-card-glass span {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-500, #6b7280);
  font-weight: 500;
  line-height: 1.3;
}

/* ===== Cột phải: Tabs ===== */
.home-about-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}
.home-about-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.home-about-tab i { font-size: 1rem; }
.home-about-tab:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}
.home-about-tab.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tab panels */
.home-about-tab-panels {
  position: relative;
  min-height: 280px;
  margin-bottom: 32px;
}
.home-about-tab-panel {
  display: none;
  animation: fadeInPanel 0.4s ease;
}
.home-about-tab-panel.active { display: block; }
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Values */
.home-about-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-about-value-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent, #60a5fa);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.home-about-value-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent, #2563eb), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.home-about-value-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-left-width: 6px;
}
.home-about-value-item > * { position: relative; z-index: 1; }
.value-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.home-about-value-item:hover .value-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.value-text { flex: 1; min-width: 0; }
.value-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
}
.value-text span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

/* Mission / Vision cards */
.mission-card,
.vision-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.mission-card::before,
.vision-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
}
.mission-card::before {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
}
.vision-card::before {
  background: linear-gradient(90deg, #a78bfa, #f472b6);
}
.mission-icon,
.vision-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 20px;
}
.mission-icon {
  background: linear-gradient(135deg, #2563eb, #6366f1);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}
.vision-icon {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}
.mission-card h3,
.vision-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}
.mission-card p,
.vision-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin: 0;
}

/* CTA */
.home-about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-icon-circle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-icon-circle i {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary, #2563eb);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.btn-icon-circle span {
  color: #fff;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1100px) {
  .home-about-grid { gap: 40px; }
  .home-about-header h2 { font-size: 2rem; }
}
@media (max-width: 900px) {
  .home-about-section { padding: 64px 0; }
  .home-about-header { margin-bottom: 40px; }
  .home-about-header h2 { font-size: 1.6rem; }
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .home-about-visual { position: static; }
  .home-about-badge-floating { top: 14px; left: 14px; }
  .badge-year { padding: 10px 16px; }
  .badge-year strong { font-size: 1.6rem; }
  .stat-card-glass { padding: 14px 10px; }
  .stat-card-glass strong { font-size: 1.3rem; }
  .stat-card-glass i { width: 34px; height: 34px; font-size: 0.95rem; }
  .home-about-tab span { display: none; }
  .home-about-tab { padding: 10px 12px; }
  .mission-card, .vision-card { padding: 24px; }
}
