:root {
  --bs-primary: #19577e;
  --bs-primary-rgb: 25, 87, 126;
  --bs-secondary: #f3961a;
  --bs-secondary-rgb: 243, 150, 26;
  --bs-light: #f8fafc;
  --bs-light-rgb: 248, 250, 252;
  --bs-dark: #0f172a;
  --bs-dark-rgb: 15, 23, 42;
  --mezocrea-primary: #19577e;
  --mezocrea-secondary: #f3961a;
  --mezocrea-primary-light: #2d6b8e;
  --mezocrea-secondary-light: #f5a839;
}

.l-header.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease-in-out;
}
.l-header.navbar .navbar-brand {
  max-width: 250px;
  transition: transform 0.3s ease-in-out;
}
.l-header.navbar .navbar-brand:hover {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .l-header.navbar .navbar-brand {
    max-width: 300px;
  }
}
.l-header.navbar .navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease-in-out;
  position: relative;
}
.l-header.navbar .navbar-nav .nav-link:hover {
  background-color: #e3f0f7;
  color: #19577e !important;
}
.l-header.navbar .navbar-nav .nav-link.active {
  color: #19577e !important;
}
.l-header.navbar .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  border-radius: 2px;
}

.p-business-card.card {
  transition: all 0.3s ease-in-out;
  border: none;
  position: relative;
  overflow: hidden;
}
.p-business-card.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.p-business-card.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(25, 87, 126, 0.15) !important;
}
.p-business-card.card:hover::before {
  opacity: 1;
}
.p-business-card.card .p-business-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
}
.p-business-card.card .p-business-card__icon img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(1);
}
.p-business-card.card:hover .p-business-card__icon {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  transform: scale(1.1);
}

.p-hero {
  background: linear-gradient(135deg, #e3f0f7 0%, #fef4e6 100%);
  padding-top: 100px;
  position: relative;
}
.p-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(25, 87, 126, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.p-hero .text-primary {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.p-cta {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%) !important;
  position: relative;
}
.p-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(243, 150, 26, 0.1) 60%);
  pointer-events: none;
}

.l-footer {
  background-color: #f8fafc !important;
  color: #1e293b !important;
}
.l-footer .text-white-50 {
  color: #64748b !important;
  transition: color 0.3s ease-in-out;
}
.l-footer .text-white-50:hover {
  color: #19577e !important;
}
.l-footer a {
  color: #64748b;
}
.l-footer a:hover {
  color: #19577e;
}
.l-footer h5 {
  color: #1e293b !important;
}
.l-footer hr {
  border-color: #e2e8f0 !important;
  opacity: 0.5;
}

.btn {
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn.btn-outline-secondary {
  border-color: #f3961a;
  color: #f3961a;
}
.btn.btn-outline-secondary:hover {
  background-color: #f3961a;
  border-color: #f3961a;
}
.btn.btn-accent {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  border: none;
  color: white;
}
.btn.btn-accent:hover {
  background: linear-gradient(135deg, #19577e 0%, #f3961a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 150, 26, 0.3);
}

.badge.bg-primary {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%) !important;
}

.list-group-item {
  transition: all 0.3s ease-in-out;
  border: none !important;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent !important;
}
.list-group-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border-left-color: #f3961a !important;
  background-color: #fef4e6 !important;
}

.display-5,
.display-4 {
  position: relative;
}
.display-5::after,
.display-4::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  border-radius: 2px;
}

.p-strength .col-lg-4:nth-child(odd) .h4 {
  color: #19577e;
}
.p-strength .col-lg-4:nth-child(even) .h4 {
  color: #f3961a;
}

@media (min-width: 640px) {
  .display-4 {
    font-size: 2.5rem;
  }
}
@media (min-width: 768px) {
  .display-4 {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .display-4 {
    font-size: 3.5rem;
  }
}
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

html {
  scroll-behavior: smooth;
}

::-moz-selection {
  background-color: rgba(37, 99, 235, 0.3);
  color: #1e293b;
}

::selection {
  background-color: rgba(37, 99, 235, 0.3);
  color: #1e293b;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}
.fade-in.is-animated {
  opacity: 1;
  transform: translateY(0);
}

body {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
body.is-loaded {
  opacity: 1;
}

.text-brand-primary {
  color: #19577e !important;
}

.text-brand-secondary {
  color: #f3961a !important;
}

.bg-brand-primary {
  background-color: #19577e !important;
}

.bg-brand-secondary {
  background-color: #f3961a !important;
}

.bg-brand-gradient {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%) !important;
}

.bg-accent-gradient {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%) !important;
}

.bg-brand-reverse-gradient {
  background: linear-gradient(135deg, #19577e 0%, #f3961a 100%) !important;
}

.border-brand-primary {
  border-color: #19577e !important;
}

.border-brand-secondary {
  border-color: #f3961a !important;
}

.brand-accent-line {
  position: relative;
}
.brand-accent-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  border-radius: 2px;
}
.brand-accent-line.text-center::before {
  left: 50%;
  transform: translate(-50%, -50%);
}

.brand-highlight {
  background: linear-gradient(120deg, transparent 0%, #fef4e6 50%, transparent 100%);
  padding: 2px 8px;
  border-radius: 4px;
}

.brand-icon-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease-in-out;
}
.brand-icon-animated:hover {
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  transform: scale(1.1) rotate(5deg);
}

.card-header-brand {
  background: linear-gradient(135deg, #19577e 0%, #f3961a 100%) !important;
  color: white !important;
  border: none !important;
}
.card-header-brand .card-title {
  margin: 0;
  font-weight: 600;
}

.nav-brand-active {
  background: linear-gradient(45deg, #e3f0f7 0%, #fef4e6 100%) !important;
  border-left: 4px solid #f3961a !important;
  border-radius: 0 8px 8px 0 !important;
}

.btn-floating-brand {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3961a 0%, #f5a839 100%);
  border: none;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(243, 150, 26, 0.4);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}
.btn-floating-brand:hover {
  background: linear-gradient(135deg, #19577e 0%, #f3961a 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(243, 150, 26, 0.6);
}