/* Animation cho fade-in */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

/* Pulse warning cho icon */
@keyframes pulse-warning {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(234, 179, 8, 0);
    }
}
.warning-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kt-btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kt-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Admin Profile Card Styles */
.admin-profile-card {
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    position: relative;
    padding-top: 0;
}

.admin-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.admin-profile-card .card-cover-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.admin-profile-card .card-body {
    padding: 1.5rem;
    padding-top: 0;
    position: relative;
}

.admin-profile-card .pro-img {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-in-out;
}

.admin-profile-card .pro-img img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease-in-out;
}

.admin-profile-card .pro-img:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.05);
}

.admin-profile-card .pro-img:hover img {
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(0, 123, 255, 0.5);
}

.admin-profile-card .card-body.little-profile {
    padding-top: 45px;
}

.admin-profile-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.admin-profile-card p {
    color: #555;
    line-height: 1.5;
}

.admin-profile-card .text-red-500 {
    color: #ef4444;
}

.admin-profile-card font[color="0099FF"] {
    color: #0099FF;
}

@media (max-width: 768px) {
    .kt-card-content {
        padding: 1rem !important;
    }
    h3 {
        font-size: 1.75rem !important;
    }
    .warning-icon {
        font-size: 2rem !important;
    }
    .admin-profile-card .card-cover-img {
        height: 100px;
    }
    .admin-profile-card .pro-img {
        top: -35px;
    }
    .admin-profile-card .pro-img img {
        width: 70px;
        height: 70px;
    }
    .admin-profile-card .card-body.little-profile {
        padding-top: 35px;
    }
}
.text-den {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
    color: black;
}
.kt-btn-den {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: black;
}
/* Nền trắng chuẩn cho Features Section */
.bg-muted\/30 {
    background: #fff !important;
}

/* Làm item trong Features Section thành cards đẹp giống các card dịch vụ */
.features-grid-item {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 28px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* Hover nổi mềm */
.features-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.10);
    border-color: #cbd5e1;
}

/* Icon wrapper bo tròn + hiệu ứng hover */
.features-grid-item .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: transform 0.35s ease;
}

.features-grid-item:hover .icon-box {
    transform: scale(1.08);
}

/* Tiêu đề */
.features-grid-item h3 {
    font-weight: 600;
    color: #111827;
}

/* Mô tả */
.features-grid-item p {
    font-size: 0.95rem;
    color: #4b5563; /* text-gray-600 */
}

/* Services Section Card */
.kt-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.kt-card:hover {
    transform: translateY(-6px);
    border-color: #c7d8ff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Icon Wrapper Gradient */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #4e8cff, #7f6bff);
    color: #fff;
    font-size: 26px;
    transition: transform 0.35s ease;
}

/* Hover scale icon */
.kt-card:hover .service-icon {
    transform: scale(1.12);
}

/* Title & Text */
.kt-card h3 {
    color: #1e3a8a;
    font-weight: 700;
}

.kt-card p {
    color: #475569;
}

/* Check list items */
.kt-card ul li span {
    color: #374151;
}

/* Button full width is already ok */
a.shine-btn {
  position: relative;
  overflow: hidden;
}

a.shine-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-25deg);
  transition: 0.9s;
}

a.shine-btn:hover::after {
  left: 120%;
}
.cta-clean {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 50px;
  border: 1px solid #e5e8f0;
  box-shadow: 0 8px 35px rgba(0,0,0,0.07);
  animation: fadeUp 0.6s ease;
  transition: 0.35s ease;
}

.cta-box:hover {
  box-shadow: 0 14px 45px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* Title đẹp */
.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #4E7BFF, #8B5DFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

/* Subtitle */
.cta-box p {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 35px;
}

/* Buttons */
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.35s ease;
}

/* Primary Button */
.cta-btn.primary {
  background: #4E7BFF;
  color: white;
  box-shadow: 0 8px 25px rgba(78,123,255,0.4);
}
.cta-btn.primary:hover {
  box-shadow: 0 12px 35px rgba(78,123,255,0.6);
  transform: translateY(-3px);
}

/* Secondary Button */
.cta-btn.secondary {
  background: white;
  border: 2px solid #d1d5db;
  color: #4b5563;
}
.cta-btn.secondary:hover {
  border-color: #4E7BFF;
  color: #4E7BFF;
  transform: translateY(-3px);
}

/* Smooth fade animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
#typewriter {
  border-right: 2px solid #6366f1; /* màu con trỏ */
  padding-right: 4px;
  animation: blink .7s infinite;
}

@keyframes blink {
  0%, 100% { border-color: transparent; }
  50% { border-color: #6366f1; }
}
.stat-box {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .25s ease;
    cursor: pointer;
}
.stat-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 20px rgba(59,130,246,0.15);
    transform: translateY(-3px);
}
.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}
.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #000;
}
.stat-desc {
    font-size: 13px;
    color: #6b7280;
}
.stat-icon {
    font-size: 35px;
    color: #111;
    opacity: 0.75;
}
.stat-box:hover .stat-icon {
    color: #3b82f6;
    opacity: 1;
}
.why-choose-us {
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
}

.section-badge {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

/* === CARD === */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* === ICON === */
.icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-box img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-box img {
  transform: scale(1.08);
}

/* === TEXT === */
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.feature-card p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .section-title { font-size: 1.2rem; }
  .icon-box { width: 70px; height: 70px; }
  .icon-box img { width: 45px; height: 45px; }
}
/* ===== CẤU TRÚC CHUNG ===== */
.banner-wrapper {
  background: linear-gradient(135deg, #0d4efc, #2563eb);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

/* ===== TEXT ===== */
.banner-text {
  flex: 1;
  z-index: 2;
}
.banner-text h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
.banner-text span {
  color: #e0e7ff;
  font-weight: 600;
}
.banner-text p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 0;
}

/* ===== ẢNH NHÂN VẬT + ICON ===== */
.banner-illustration {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-avatar {
  width: 170px;
  max-width: 100%;
  animation: float 4s ease-in-out infinite;
}

/* ===== ICON MẠNG XÃ HỘI ===== */
.icon {
  position: absolute;
  width: 30px;
  height: 30px;
  animation: orbit 6s linear infinite;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Vị trí và delay riêng từng icon */
.fb { top: 10%; left: 45%; animation-delay: 0s; }
.yt { top: 25%; right: 5%; animation-delay: 1s; }
.ig { bottom: 15%; right: 10%; animation-delay: 2s; }
.tw { bottom: 8%; left: 30%; animation-delay: 3s; }
.tk { top: 45%; left: 5%; animation-delay: 4s; }
.li { top: 60%; right: 35%; animation-delay: 5s; }

/* ===== HIỆU ỨNG ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes orbit {
  0% { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
  }
  .banner-illustration {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.2;
    transform: scale(0.8);
  }
  .main-avatar { width: 160px; animation: none; }
  .icon { display: none; } /* Ẩn icon bay trên mobile */
}
