:root {
  /* Hai Motion Brand Colors dari guideline */
  --primary-dark: #38495c; /* Grey */
  --primary-light: #91a6bb; /* Light Grey (disesuaikan dari 91AGBB ke 91A6BB) */
  --primary-blue: #7090c0; /* Blue Sky */
  --primary-accent: #b55527; /* Burnt Orange */
  --primary-dark-brown: #603111; /* Brown */

  /* Secondary Colors dari palette kedua */
  --secondary-gold: #e0a13d; /* EQASSD (Gold) */
  --secondary-brown: #8e521b; /* 8E52IB (Brown) */
  --secondary-purple: #592bd1; /* S98FDI (Purple - disesuaikan) */
  --secondary-light-blue: #cad5e0; /* CADSEO (Light Blue) */
  --secondary-indigo: #4d6499; /* AD6499 (Indigo - disesuaikan) */
  --secondary-dark-blue: #172233; /* T72233 (Dark Blue - disesuaikan) */

  /* Utility Colors */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-gray: #e9ecef;
  --medium-gray: #dee2e6;
  --dark-gray: #495057;
  --text-dark: #212529;
  --text-light: #6c757d;

  /* Component Colors */
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(56, 73, 92, 0.1);
  --shadow-light: rgba(56, 73, 92, 0.08);
  --shadow-medium: rgba(56, 73, 92, 0.15);
  --accent-shadow: rgba(181, 85, 39, 0.15);
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden !important;
  background: linear-gradient(
    135deg,
    var(--off-white) 0%,
    rgba(145, 166, 187, 0.05) 50%,
    var(--white) 100%
  );
  color: var(--text-dark);
  background-attachment: fixed;
}

/* Custom Size */
.fs-6 {
  font-size: 0.875rem !important;
}

.fs-7 {
  font-size: 0.7rem !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* Navbar styles - DIJAGA SEPERTI SEMULA */
.navbar-custom {
  transition: all 0.3s ease;
  background: transparent;
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 6px var(--shadow-light);
  backdrop-filter: blur(10px);
}

.nav-link-custom {
  position: relative;
  color: var(--text-dark) !important;
  transition: color 0.3s;
}

.nav-link-custom:hover {
  color: var(--primary-accent) !important;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 75%;
  background-color: var(--primary-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-link-custom::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 50%;
  background-color: var(--primary-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s 0.1s;
}

.nav-link-custom:hover::after,
.nav-link-custom:hover::before {
  transform: scaleX(1);
}

.btn-login {
  text-decoration: none;
  background-color: var(--primary-accent);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.5s ease;
}

.btn-login:hover {
  transform: scale(1.05);
  text-decoration: none;
  background-color: var(--primary-dark-brown);
  color: var(--white);
  border-radius: 6px;
  font-weight: 600;
}

/* Product Dropdown Styles */
.product-dropdown {
  min-width: 320px;
  padding: 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(45, 55, 72, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-item {
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
}

.product-item:last-child {
  border-bottom: none;
}

.product-item:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.product-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}

.product-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  flex: 1;
}

.product-title {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.product-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  line-height: 1.3;
}

.dropdown-menu {
  display: block; /* jangan pakai display:none */
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 0.3s;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.dropdown-item:hover {
  color: var(--primary-accent);
  background: transparent;
}

/* Mobile menu styles - DIJAGA SEPERTI SEMULA */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 55;
  opacity: 0;
  transition: opacity 0.3s;
  display: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  display: block;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 56;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-panel.active {
  transform: translateX(0);
}

#mobileMenuButton {
  border: none !important;
  background: transparent;
  box-shadow: none;
}

.mobile-menu-link {
  display: block;
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.2s;
}

.mobile-menu-link:hover {
  color: var(--primary-accent);
}

/* Mobile Menu Panel - DIUBAH untuk Dashboard */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white) !important; /* Pastikan background putih */
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 56;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px;
}

.mobile-menu-link {
  display: block;
  padding: 10px 0;
  color: var(--text-dark) !important; /* Pastikan warna gelap */
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.2s;
  text-align: center;
  width: 100%;
}

.mobile-menu-link:hover {
  color: var(--primary-accent) !important;
}

/* Mobile Dropdown Toggle */
.mobile-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-dark) !important;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.mobile-dropdown-toggle:hover {
  color: var(--primary-accent) !important;
}

.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  width: 100%;
  text-align: center;
}

.mobile-dropdown-menu.show {
  max-height: 500px;
  opacity: 1;
}

/* Mobile Login Button */
.mobile-login-btn {
  display: block;
  margin-top: 25px;
  padding: 12px 0;
  width: 50%;
  max-width: 150px;
  background-color: var(--primary-accent);
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.mobile-login-btn:hover {
  background-color: var(--primary-dark-brown);
  color: white !important;
}

/* Mobile Social Icons */
.mobile-social-icons {
  justify-content: center;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.mobile-social-icons .social-icon {
  color: var(--text-dark);
  font-size: 1rem;
  transition: color 0.3s;
}

.mobile-social-icons .social-icon:hover {
  color: var(--primary-accent);
}

/* Menu Icon Colors - DIUBAH untuk Dashboard */
#mobileMenuButton .menu-icon {
  color: var(--text-dark) !important;
}

.menu-icon {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 1.5rem;
  padding-right: 1rem;
}

.bars-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.times-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.8);
}

.menu-open .bars-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0.8);
}

.menu-open .times-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

/* Dashboard Hero Section - DIUBAH */
.dashboard-hero-section {
  position: relative;
  padding: 0 80px;
  padding-top: 10rem;
  background: linear-gradient(
    135deg,
    rgba(112, 144, 192, 0.05) 0%,
    rgba(145, 166, 187, 0.03) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.dashboard-hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.dashboard-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-image-container {
  top: -4rem;
  position: relative;
  border-radius: 12px;
  overflow: visible;
  transition: all 0.5s ease;
}

.hero-image {
  width: 60%;
  height: auto;
  display: block;
  transition: transform 0.15s ease;
  margin-left: auto;
  margin-right: auto;
}

.gradient-overlay {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, black);
  pointer-events: none;
  z-index: 10;
}

/* Dashboard Features Section - DIUBAH */
.dashboard-features-section {
  padding: 120px 0 80px;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(224, 161, 61, 0.03) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.dashboard-features-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.dashboard-features-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.feature-list li:hover {
  color: var(--primary-accent);
  transform: translateX(10px);
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  transition: all 0.3s ease;
}

.feature-list li:hover:before {
  transform: scale(1.3);
  color: var(--primary-accent);
  text-shadow: 0 0 10px var(--accent-shadow);
}

/* Why Dashboard Section - DIUBAH */
.why-dashboard-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(202, 213, 224, 0.1) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(202, 213, 224, 0.1) 100%
  );
}

.why-dashboard-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  text-align: center;
}

.why-dashboard-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-light);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.why-dashboard-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(112, 144, 192, 0.1),
    transparent
  );
  transition: left 0.7s ease;
}

.why-dashboard-card:hover:before {
  left: 100%;
}

.why-dashboard-card:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 15px 30px var(--shadow-medium),
    0 0 0 1px rgba(112, 144, 192, 0.2);
  border-color: var(--primary-blue);
}

.why-dashboard-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(112, 144, 192, 0.1) 0%,
    rgba(224, 161, 61, 0.05) 100%
  );
  border-radius: 50%;
}

.why-dashboard-icon {
  font-size: 3rem;
  color: var(--primary-dark);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.why-dashboard-card:hover .why-dashboard-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary-accent);
}

.why-dashboard-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  text-align: center;
}

.why-dashboard-card:hover .why-dashboard-card-title {
  color: var(--primary-accent);
}

.why-dashboard-card-text {
  color: var(--text-light);
  line-height: 1.6;
  transition: all 0.3s ease;
  text-align: center;
}

.why-dashboard-card:hover .why-dashboard-card-text {
  color: var(--primary-dark);
}

/* Dashboard Modules Section - DIUBAH */
.dashboard-modules-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(142, 82, 27, 0.03) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
}

.dashboard-modules-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  text-align: center;
}

.dashboard-module-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px var(--shadow-light);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.dashboard-module-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: linear-gradient(
    to bottom,
    var(--primary-blue),
    var(--primary-accent)
  );
  transition: height 0.5s ease;
}

.dashboard-module-item:hover:before {
  height: 100%;
}

.dashboard-module-item:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.02) !important;
  box-shadow: 0 10px 25px var(--shadow-medium),
    0 0 0 1px rgba(112, 144, 192, 0.2);
}

.dashboard-module-icon-container {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(112, 144, 192, 0.1) 0%,
    rgba(224, 161, 61, 0.05) 100%
  );
  border-radius: 12px;
}

.dashboard-module-icon {
  font-size: 2rem;
  color: var(--primary-dark);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.dashboard-module-item:hover .dashboard-module-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--primary-accent);
}

.dashboard-module-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.dashboard-module-item:hover .dashboard-module-title {
  color: var(--primary-accent);
}

.dashboard-module-text {
  height: 100px;
  color: var(--text-light);
  line-height: 1.6;
  transition: all 0.3s ease;
}

.dashboard-module-item:hover .dashboard-module-text {
  color: var(--primary-dark);
}

/* Pricing Section - DIUBAH */
.pricing-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(77, 100, 153, 0.05) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(77, 100, 153, 0.05) 100%
  );
}

.pricing-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  text-align: center;
}

.pricing-card {
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 10px 20px var(--shadow-light);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.pricing-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    var(--primary-blue),
    var(--primary-accent)
  );
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.pricing-card:hover:before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px var(--shadow-medium),
    0 0 0 1px rgba(112, 144, 192, 0.2);
  border-color: var(--primary-blue);
}

.pricing-card-orange {
  background-color: var(--card-bg);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.pricing-feature:hover {
  transform: translateX(5px);
  color: var(--primary-dark);
}

.pricing-feature span {
  flex-shrink: 0;
  font-size: 1.2rem;
  width: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  color: var(--primary-blue);
}

.pricing-feature:hover span {
  transform: scale(1.2);
  color: var(--primary-accent);
}

.pricing-feature p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.pricing-feature-icon-orange {
  color: var(--primary-blue);
}

.pricing-cta-section {
  background-color: var(--card-bg);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: var(--text-dark);
  border: 1px solid var(--card-border);
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px var(--shadow-light);
  background: linear-gradient(
    135deg,
    rgba(112, 144, 192, 0.05) 0%,
    rgba(224, 161, 61, 0.03) 50%,
    #ffffff 100%
  );
}

.pricing-cta-section:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 10px 25px var(--shadow-medium);
  border-color: var(--primary-blue);
}

.pricing-cta-button {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.pricing-cta-button:hover {
  background: linear-gradient(
    135deg,
    var(--primary-accent) 0%,
    var(--secondary-brown) 100%
  );
  transform: scale(1.05);
  color: var(--white);
  box-shadow: 0 5px 15px var(--accent-shadow);
}

/* Submit Button - DIUBAH */
.submit-btn {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.5s ease !important;
  text-decoration: none;
  display: inline-block;
}

.submit-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-accent) 0%,
    var(--secondary-brown) 100%
  );
  transform: scale(1.05) !important;
  color: var(--white);
  box-shadow: 0 5px 15px var(--accent-shadow);
}

/* Dashboard Preview Section - DIUBAH */
.dashboard-preview-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(112, 144, 192, 0.05) 0%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(112, 144, 192, 0.05) 100%
  );
}

.company-cta-button {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.company-cta-button:hover {
  background-color: var(--primary-accent);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.dashboard-preview-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-dark);
  margin-bottom: 3rem;
  text-align: center;
}

.dashboard-preview-container {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background-color: var(--card-bg);
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px var(--shadow-light);
  border: 1px solid rgba(112, 144, 192, 0.2);
}

.dashboard-preview-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-medium),
    0 0 0 1px rgba(112, 144, 192, 0.3);
}

/* Spinning Icons */
.spinning-icon {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s linear;
}

/* Accent highlights */
.accent-highlight {
  color: var(--primary-accent);
}

.blue-highlight {
  color: var(--primary-blue);
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-blue),
    var(--primary-accent),
    transparent
  );
  margin: 4rem 0;
}

/* Carousel Customization */

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-dark);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 50%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Responsive adjustments untuk carousel */
@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px;
    height: 30px;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .mobile-menu-panel {
    width: 80%;
    max-width: 400px;
    align-items: flex-start;
    padding-left: 20px;
    text-align: left;
  }

  .mobile-menu-link {
    text-align: left;
    width: 100%;
  }

  .mobile-dropdown,
  .mobile-dropdown-toggle,
  .mobile-dropdown-menu {
    text-align: left;
    width: 100%;
  }

  .mobile-dropdown-toggle {
    justify-content: flex-start;
  }

  .dashboard-hero-title {
    font-size: 2.5rem;
  }

  .dashboard-features-title,
  .why-dashboard-title,
  .dashboard-modules-title,
  .pricing-title {
    font-size: 2rem;
  }

  .dashboard-hero-section {
    padding: 0 0 0;
    padding-top: 120px;
  }

  .hero-image-container {
    top: 0 !important;
    transform: none;
    margin-top: 2rem;
  }

  /* Adjust icon containers for mobile */
  .why-dashboard-icon-container {
    width: 60px;
    height: 60px;
  }

  .why-dashboard-icon {
    font-size: 2.5rem;
  }

  .dashboard-module-icon-container {
    width: 50px;
    height: 50px;
  }

  .dashboard-module-icon {
    font-size: 1.75rem;
  }

  .dashboard-module-text {
    font-size: 0.9rem;
    height: 100px;
    color: var(--text-light);
    line-height: 1.6;
    transition: all 0.3s ease;
  }
}

@media (max-width: 640px) {
  .dashboard-hero-title {
    font-size: 2rem;
  }

  .dashboard-features-title,
  .why-dashboard-title,
  .dashboard-modules-title,
  .pricing-title {
    font-size: 1.75rem;
  }
}

/* Footer */
.footer {
  background-color: black;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.social-icon {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.social-icon:hover {
  color: white;
}

.footer h4 {
  font-size: 1rem;
  color: white;
}

.footer p {
  text-align: justify;
}

.footer-top {
  border-bottom: 1px solid #374151;
}

.footer-logo {
  width: 2.5rem;
  height: auto;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-link:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-top .row {
    display: flex;
    flex-wrap: wrap;
  }

  /* Hai Motion & Our Services -> 50% */
  .footer-top .col-md-6.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Customer Support & Contact Us -> 50% */
  .footer-top .col-md-6.col-lg-2,
  .footer-top .col-md-6.col-lg-2 + .col-md-6.col-lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .footer-top .footer-support {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }

  .footer-top .footer-support > div {
    flex: 0 0 97%; /* masing-masing ambil ± setengah */
    max-width: 100%;
  }

  .footer-top .footer-support h4,
  .footer-top .footer-support p {
    text-align: left;
  }

  /* Reset untuk logo/company info & headquarter agar tetap full */
  .footer-top .col-md-6.col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Optional: tengahin teks di mobile */
  .footer-top h4,
  .footer-top ul,
  .footer-top p {
    text-align: justify;
  }
}

/* Animation classes */
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left {
  transform: translateX(-20px);
}

.fade-in-right {
  transform: translateX(20px);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}
