/* ==========================================================================
   HOME.CSS - FINAL VERSION - TANPA BACKGROUND CAPTION & TOMBOL ESTETIK
   ========================================================================== */

/* =========================
   GLOBAL VARIABLES
   ========================= */
:root {
  --primary-color: #0f172a;
  --secondary-color: #1e293b;
  --accent-color: #3b82f6;
  --accent-gradient: linear-gradient(135deg, #0f172a, #3b82f6);
  --accent-gradient-reverse: linear-gradient(135deg, #3b82f6, #0f172a);
  --vh: 1vh;

  /* Cards & Surfaces */
  --card-bg: #ffffff;
  --card-bg-alt: #f8fafc;
  --card-border: rgba(15, 23, 42, 0.08);
  --card-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
  --card-shadow-hover: 0 30px 50px -20px rgba(59, 130, 246, 0.25);

  /* Radius */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 20px 40px -12px rgba(15, 23, 42, 0.15);

  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-spring: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* =========================
   PAGE ENTRY ANIMATION
   ========================= */
.app-content {
  animation: pageFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   HERO SECTION
   ========================= */
.hero-home-client {
  position: relative;
  height: calc(100vh - var(--head-h-base));
  min-height: 650px;
  max-height: 1200px;
  overflow: hidden;
  background-color: #0f172a;
  transition: background-color 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .hero-home-client {
    height: calc(var(--vh, 1vh) * 100 - var(--head-h-base) - var(--bottom-nav-h) - var(--safe-b));
    min-height: 550px;
  }
}

/* =========================
   HERO CAPTION - TANPA BACKGROUND (TRANSPARAN)
   ========================= */
.hero-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 680px;
  z-index: 10;
  text-align: left;
  color: #fff;
  padding: 0 !important;
  background: none !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  animation: captionFloat 3s ease-in-out infinite;
}

@keyframes captionFloat {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 10px));
  }
}

@media (max-width: 768px) {
  .hero-caption {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 92%;
    text-align: center;
    padding: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero-caption {
    width: 95%;
  }
}

/* Hero Title */
.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@media (max-width: 768px) {
  .hero-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
  }
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  opacity: 0.95;
  max-width: 52ch;
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@media (min-width: 769px) {
  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero-subtitle {
    margin-inline: auto;
    text-align: center;
    font-size: 1rem;
  }
}

/* Hero Actions */
.hero-actions {
  margin-top: 2rem;
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-actions {
    justify-content: center;
    gap: 0.75rem;
  }
}

/* Buttons */
.btn-pill {
  border-radius: var(--radius-pill);
  padding: 0.85rem 2.2rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: none;
  z-index: 1;
}

.btn-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  z-index: -1;
}

.btn-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3);
}

.btn-pill:hover::before {
  transform: translateX(100%);
}

.btn-pill:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  color: white;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .btn-pill {
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
  }
}

/* =========================
   HERO CAROUSEL
   ========================= */
.hero-carousel,
.hero-inner,
.hero-item {
  height: 100%;
}

/* Ken Burns Effect */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  animation: cinematicZoom 12s ease-out infinite alternate;
}

@keyframes cinematicZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

/* Placeholder */
.hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a, #1e293b, #2d3a4f);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(15, 23, 42, 0.3) 0%,
      rgba(15, 23, 42, 0.2) 30%,
      rgba(15, 23, 42, 0.4) 60%,
      rgba(15, 23, 42, 0.7) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Carousel Fade */
.hero-carousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1), transform 1200ms ease;
  transform: scale(1.02);
}

.hero-carousel.carousel-fade .carousel-item.active,
.hero-carousel.carousel-fade .carousel-item-next.carousel-item-start,
.hero-carousel.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   HERO CONTROLS - MODERN & ESTETIK
   ========================= */
.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-home-client:hover .hero-control {
  opacity: 0.9;
}

.hero-control:hover {
  opacity: 1 !important;
  background: rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-50%) scale(1.15);
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.hero-control:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-control-prev.hero-control {
  left: 30px;
}

.carousel-control-next.hero-control {
  right: 30px;
}

@media (max-width: 768px) {
  .hero-control {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px);
  }

  .carousel-control-prev.hero-control {
    left: 15px;
  }

  .carousel-control-next.hero-control {
    right: 15px;
  }
}

/* Custom Icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev-icon::after {
  content: "←";
  font-size: 28px;
  line-height: 1;
  color: #fff;
  font-weight: 300;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.carousel-control-next-icon::after {
  content: "→";
  font-size: 28px;
  line-height: 1;
  color: #fff;
  font-weight: 300;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.hero-control:hover .carousel-control-prev-icon::after {
  transform: translateX(-3px);
}

.hero-control:hover .carousel-control-next-icon::after {
  transform: translateX(3px);
}

@media (max-width: 768px) {

  .carousel-control-prev-icon::after,
  .carousel-control-next-icon::after {
    font-size: 22px;
  }
}

/* Optional: Efek glow di belakang tombol */
.hero-control::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-control:hover::before {
  opacity: 1;
}

/* =========================
   HERO INDICATORS
   ========================= */
.carousel-indicators {
  margin-bottom: 2.5rem;
  z-index: 20;
  gap: 8px;
}

.carousel-indicators [data-bs-target] {
  width: 40px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  margin: 0;
  transition: var(--transition-smooth);
}

.carousel-indicators .active {
  background: #3b82f6;
  width: 60px;
  box-shadow: 0 0 15px #3b82f6;
}

@media (max-width: 768px) {
  .carousel-indicators [data-bs-target] {
    width: 30px;
    height: 3px;
  }

  .carousel-indicators .active {
    width: 45px;
  }
}

/* =========================
   SCROLL INDICATOR
   ========================= */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  z-index: 20;
  animation: fadeInUp 1s ease 1.5s both;
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: calc(var(--bottom-nav-h) + var(--safe-b) + 20px);
  }
}

.scroll-link {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-spring);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.scroll-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-8px) scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.scroll-link i {
  animation: scrollBounce 2.2s ease-in-out infinite;
  font-size: 24px;
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-12px);
  }

  60% {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .scroll-link {
    width: 48px;
    height: 48px;
  }

  .scroll-link i {
    font-size: 20px;
  }
}

/* =========================
   MAIN CONTENT
   ========================= */
.home-client-wrap {
  padding-top: 4rem;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

@media (max-width: 768px) {
  .home-client-wrap {
    padding-top: 1.5rem;
    padding-inline: 1rem;
    padding-bottom: 2rem;
  }
}

.home-main-block {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .home-main-block {
    margin-top: 1rem;
  }
}

/* =========================
   MENU UTAMA
   ========================= */
.menu-main-container {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.menu-main-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), #60a5fa, var(--primary-color));
  background-size: 300% 100%;
  animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

.menu-header {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
}

.menu-header .h5 {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-left: 0.5rem;
}

.menu-header .h5 i {
  color: var(--accent-color);
}

.menu-subtitle {
  color: var(--secondary-color);
  font-size: 0.9rem;
  margin-top: 0.3rem;
  opacity: 0.8;
}

/* Menu Cards Grid */
.menu-cards-grid .col-12,
.menu-cards-grid .col-sm-6,
.menu-cards-grid .col-md-4 {
  padding: 0.6rem !important;
}

.menu-card-item {
  display: block;
  text-decoration: none;
  opacity: 0;
  animation: cardStagger 0.6s ease-out forwards;
}

@keyframes cardStagger {
  to {
    opacity: 1;
  }
}

/* Menu Card */
.menu-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg) translateY(30%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.menu-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--card-shadow-hover);
}

.menu-card:hover::before {
  opacity: 1;
}

.menu-card:hover::after {
  transform: rotate(30deg) translateY(-30%);
}

/* Card Icon */
.card-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  color: #fff;
  margin: 0 auto 1.2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  box-shadow: 0 15px 30px -10px rgba(59, 130, 246, 0.4);
  position: relative;
}

.menu-card:hover .card-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent-gradient-reverse);
  box-shadow: 0 20px 40px -8px rgba(59, 130, 246, 0.6);
}

.card-icon-wrapper i,
.card-icon-wrapper img {
  font-size: 36px;
  transition: var(--transition-smooth);
}

.menu-card:hover .card-icon-wrapper i,
.menu-card:hover .card-icon-wrapper img {
  transform: scale(1.1);
}

/* Card Title */
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.menu-card:hover .card-title {
  color: var(--accent-color);
}

/* Card Description */
.card-description {
  font-size: 0.9rem;
  color: var(--secondary-color);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover .card-description {
  opacity: 1;
}

/* External Indicator */
.external-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  color: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-card:hover .external-indicator {
  opacity: 1;
}

/* Empty State */
.empty-state {
  padding: 3rem 1rem;
}

.empty-icon {
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.3;
}

/* =========================
   SIDEBAR STICKY
   ========================= */
.sticky-sidebar {
  position: sticky;
  top: calc(var(--head-h-base) + 30px);
}

@media (max-width: 991px) {
  .sticky-sidebar {
    position: static;
    margin-top: 1.5rem;
  }
}

/* =========================
   ABOUT CARD
   ========================= */
.home-client-wrap .card-header.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
  color: #fff !important;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.home-client-wrap .card-header.bg-gradient-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: rotateBg 15s linear infinite;
}

@keyframes rotateBg {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* About Content */
.about-content .icon-wrapper {
  position: relative;
  display: inline-block;
}

.about-content .icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 2.5s ease-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.2;
  }
}

.about-content .icon-wrapper .bi {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Badges */
.badge.bg-primary-subtle {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(15, 23, 42, 0.05) 100%) !important;
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  cursor: default;
}

.badge.bg-primary-subtle:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0.1) 100%) !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 16px -6px rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

/* =========================
   QUICK ACTIONS
   ========================= */
.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.quick-actions .btn-action {
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  padding: 1.2rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.quick-actions .btn-action::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-actions .btn-action:hover {
  transform: translateX(10px);
  border-color: transparent;
  box-shadow: var(--card-shadow-hover);
  background: white;
}

.quick-actions .btn-action:hover::before {
  opacity: 1;
}

.quick-actions .btn-action small {
  color: var(--secondary-color);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.quick-actions .btn-action:hover small {
  opacity: 1;
}

/* Action Icon */
.action-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  transition: var(--transition-bounce);
  margin-right: 1rem;
  box-shadow: 0 8px 16px -8px rgba(59, 130, 246, 0.4);
}

.quick-actions .btn-action:hover .action-icon {
  transform: rotate(360deg) scale(1.1);
  background: var(--accent-gradient-reverse);
  box-shadow: 0 12px 24px -8px rgba(59, 130, 246, 0.6);
}

.action-icon i {
  font-size: 1.4rem;
}

/* Action Text */
.quick-actions .btn-action span.fw-semibold {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* Chevron Icon */
.quick-actions .btn-action i:last-child {
  transition: var(--transition-smooth);
  font-size: 1.2rem;
  color: var(--secondary-color);
  opacity: 0.5;
}

.quick-actions .btn-action:hover i:last-child {
  transform: translateX(6px);
  color: var(--accent-color);
  opacity: 1;
}

/* =========================
   MOBILE OPTIMIZATIONS
   ========================= */
@media (max-width: 768px) {
  .menu-main-container {
    padding: 1.2rem 1rem;
    border-radius: 20px;
  }

  .menu-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .menu-header .h5 {
    font-size: 1rem;
  }

  .menu-subtitle {
    font-size: 0.8rem;
  }

  .menu-cards-grid .col-12,
  .menu-cards-grid .col-sm-6,
  .menu-cards-grid .col-md-4 {
    padding: 0.4rem !important;
  }

  .menu-card {
    padding: 1.2rem 1rem;
    border-radius: 16px;
  }

  .card-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 0.8rem;
    border-radius: 16px;
  }

  .card-icon-wrapper i,
  .card-icon-wrapper img {
    font-size: 28px;
  }

  .card-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .card-description {
    font-size: 0.8rem;
  }

  .home-client-wrap .card-header.py-3 {
    padding: 0.8rem 1rem !important;
  }

  .home-client-wrap .card-body.p-3 {
    padding: 1rem !important;
  }

  .about-content .icon-wrapper .bi {
    font-size: 2.5rem;
  }

  .about-content p.small {
    font-size: 0.85rem;
  }

  .badge.bg-primary-subtle {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .quick-actions .btn-action {
    padding: 0.8rem 1rem;
    border-radius: 14px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.8rem;
  }

  .action-icon i {
    font-size: 1.2rem;
  }

  .quick-actions .btn-action span.fw-semibold {
    font-size: 0.9rem;
  }

  .quick-actions .btn-action small {
    font-size: 0.75rem;
  }

  .quick-actions .btn-action i:last-child {
    font-size: 1rem;
  }
}

/* =========================
   EXTRA SMALL
   ========================= */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .btn-pill {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .menu-card {
    padding: 1rem 0.8rem;
  }

  .card-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-description {
    font-size: 0.75rem;
  }
}

/* =========================
   iOS FIXES
   ========================= */
@supports (-webkit-touch-callout: none) {
  .hero-home-client {
    height: -webkit-fill-available;
  }
}

/* =========================
   REDUCED MOTION
   ========================= */
@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;
  }

  .hero-image,
  .hero-caption,
  .menu-card,
  .btn-action {
    animation: none !important;
    transform: none !important;
  }

  .hero-caption {
    animation: none !important;
  }
}
