/* ========================================
   NIKHAN & ASSOCIATES LAW OFFICE - Custom Stylesheet
   Red & White Premium Theme
   ======================================== */

/* ======== TRUST BAR ======== */
.trust-bar-section {
  background: linear-gradient(90deg, #3d0001 0%, #5c0002 40%, #8d0004 100%);
  padding: 14px 0;
  border-bottom: 2px solid rgba(210,169,65,0.35);
  position: relative;
  overflow: hidden;
}
.trust-bar-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.trust-bar-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-bar-divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.trust-items {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(210,169,65,0.25);
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
  transition: all 0.3s;
  cursor: default;
}
.trust-item i { color: var(--secondary); font-size: 0.75rem; }
.trust-item:hover { background: rgba(210,169,65,0.2); border-color: var(--secondary); color: #fff; }

/* ======== PROCESS SECTION ======== */
.process-section {
  padding: 100px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
}
.process-row { position: relative; }
.process-card {
  padding: 40px 32px 44px;
  background: #fff;
  border: 1px solid rgba(141,0,4,0.08);
  border-radius: 16px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(141,0,4,0.06);
}
.process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(141,0,4,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.process-card:hover { background: var(--light-bg); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(141,0,4,0.15); z-index: 2; border-color: rgba(141,0,4,0.18); }
.process-card:hover::before { opacity: 1; }
.process-step-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(141,0,4,0.07);
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -2px;
  transition: color 0.35s;
}
.process-card:hover .process-step-num { color: rgba(141,0,4,0.12); }
.process-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(141,0,4,0.25);
  transition: all 0.35s;
}
.process-card:hover .process-icon { transform: rotate(-5deg) scale(1.1); box-shadow: 0 12px 32px rgba(141,0,4,0.35); }
.process-card h5 { font-weight: 700; color: var(--primary-dark); font-size: 1.05rem; margin-bottom: 12px; }
.process-card p { font-size: 0.87rem; color: #666; line-height: 1.75; margin: 0; }
.process-arrow { display: none; }
@media (max-width: 991px) {
  .process-arrow { display: none; }
}

/* ======== LEGAL INSIGHTS SECTION ======== */
.insights-section {
  padding: 100px 0;
  background: var(--light-bg);
  position: relative;
}
.insight-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(141,0,4,0.06);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.insight-card:hover { transform: translateY(-10px); box-shadow: 0 28px 70px rgba(141,0,4,0.14); border-color: rgba(141,0,4,0.12); }
.insight-img { position: relative; height: 180px; }
.insight-img-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.insight-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.25) 100%);
}
.insight-category {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}
.insight-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.insight-meta {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.insight-meta i { color: var(--primary); }
.insight-body h5 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); line-height: 1.45; margin-bottom: 10px; }
.insight-body p { font-size: 0.87rem; color: #666; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: gap 0.2s;
}
.insight-link:hover { gap: 10px; color: var(--primary-dark); }
.insight-link i { font-size: 0.8rem; transition: transform 0.2s; }
.insight-link:hover i { transform: translateX(4px); }

:root {
  --primary:   #8d0004;
  --primary-dark: #5c0002;
  --primary-light: #c0272b;
  --secondary: #d2a941;
  --accent:    #ff6b6b;
  --light-bg:  #FFF5F5;
  --dark-text: #1a0a0a;
  --body-font: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--body-font);
  color: var(--dark-text);
  background-color: #fff;
  position: relative;
}

/* ======== WATERMARK ======== */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 480px;
  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
  z-index: 9999;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f8f8f8; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ======== NAVBAR ======== */
.navbar-brand span.brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.3px;
  line-height: 1.2;
  font-style: italic;
}
.navbar-brand span.brand-sub {
  font-size: 0.65rem;
  color: #d2a941;
  display: block;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
  font-style: normal;
  font-weight: 600;
}
.navbar-custom {
  background: linear-gradient(90deg, #5c0002 0%, #8d0004 100%) !important;
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(93,0,2,0.35);
  transition: all 0.3s ease;
  border-bottom: 3px solid rgba(210,169,65,0.5);
  position: relative;
  overflow: hidden;
}
.navbar-custom::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.07) 0px,
    rgba(255,255,255,0.07) 1px,
    transparent 1px,
    transparent 14px
  );
  pointer-events: none;
  z-index: 0;
}
.navbar-custom.scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 30px rgba(93,0,2,0.45);
}
.navbar-custom .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px !important;
  transition: all 0.3s;
  text-transform: uppercase;
  position: relative;
}
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after { transform: scaleX(1); }
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active { color: #fff !important; }
.navbar-toggler { border: 1px solid var(--secondary) !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28200, 169, 110, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ======== HERO SECTION ======== */
.hero-section {
  background: #ffffff;
  min-height: calc(100vh - 87px);
  position: relative;
  display: flex;
  align-items: center;
  padding: 36px 0 48px;
  overflow: clip;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(58vw, 920px);
  height: 100%;
  background: linear-gradient(135deg, #d4002e 0%, #ba0025 45%, #9e001c 100%);
  border-radius: 0 0 0 220px;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 45%, rgba(255,255,255,0.05) 100%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 1px,
      transparent 1px,
      transparent 42px
    );
  pointer-events: none;
  z-index: 0;
}
.hero-section::after {
  content: '';
  position: absolute;
  top: -120px;
  right: 34vw;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-overlay { display: none; }
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8px 0 0;
}
.hero-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: -1;
}
.hero-content::after {
  content: '';
  position: absolute;
  inset: 0 18px 0 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(141,0,4,0.028) 0px,
      rgba(141,0,4,0.028) 1px,
      transparent 1px,
      transparent 26px
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Cg fill='none' stroke='%23b30000' stroke-opacity='0.10' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M260 48v212'/%3E%3Cpath d='M156 110h208'/%3E%3Cpath d='M110 110c16-34 34-56 46-56s30 22 46 56c-18 24-35 36-46 36s-28-12-46-36z'/%3E%3Cpath d='M364 110c16-34 34-56 46-56s30 22 46 56c-18 24-35 36-46 36s-28-12-46-36z'/%3E%3Cpath d='M230 260h60l18 30H212z'/%3E%3Ccircle cx='260' cy='34' r='18'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 100% 86%;
  background-size: auto, 240px;
  pointer-events: none;
  opacity: 0.7;
  z-index: -1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(141,0,4,0.08);
  backdrop-filter: blur(10px);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
  border: 1px solid rgba(141,0,4,0.15);
  box-shadow: 0 2px 12px rgba(141,0,4,0.08);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 2px 12px rgba(141,0,4,0.08); }
  50% { box-shadow: 0 4px 20px rgba(141,0,4,0.18); }
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.12;
  margin-bottom: 16px;
  max-width: 12ch;
  word-spacing: 5px;
}
.hero-title .hero-keyword {
  background: linear-gradient(135deg, var(--primary) 0%, #ff4444 50%, var(--primary-dark) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientShift 3s ease infinite;
}
.tw-cursor {
  display: inline-block;
  color: var(--primary);
  font-weight: 400;
  margin-left: 2px;
  animation: twBlink 0.9s step-end infinite;
  -webkit-text-fill-color: var(--primary);
}
@keyframes twBlink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes gradientShift {
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
.hero-desc {
  font-size: 1rem;
  color: #4d2b2b;
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.hero-content .btn-gold {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(141,0,4,0.18);
}
.hero-content .btn-gold:hover {
  background: #99001e;
  color: #fff;
  box-shadow: 0 12px 30px rgba(141,0,4,0.25);
}
.hero-content .btn-outline-gold {
  color: var(--primary-dark);
  border-color: rgba(141,0,4,0.35);
}
.hero-content .btn-outline-gold:hover {
  background: rgba(141,0,4,0.06);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.btn-gold {
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 30px;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(210,169,65,0.4);
}
.btn-gold:hover {
  background: #d4b57a;
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(210,169,65,0.5);
}
.btn-outline-gold {
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 13px 34px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-gold:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}
.hero-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
}
.stat-item {
  position: relative;
  padding: 14px 14px;
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 8px 32px rgba(141,0,4,0.10), 0 1px 0 rgba(255,255,255,0.9) inset;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(141,0,4,0.15);
}
.stat-item .stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.7rem;
  color: rgba(77,43,43,0.78);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
  white-space: nowrap;
}
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #d4002e 0%, #ba0025 45%, #9e001c 100%);
  border-radius: 110px 0 0 110px;
  padding: 32px 20px 32px 40px;
  margin-top: 24px;
  margin-left: auto;
  max-width: 88%;
  box-shadow: 0 24px 60px rgba(141,0,4,0.18);
  overflow: hidden;
}
.hero-image-wrapper::before {
  content: none;
}
.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,0.26) 0, transparent 12%),
    radial-gradient(circle at 82% 34%, rgba(255,255,255,0.12) 0, transparent 18%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 48%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-image-wrapper img {
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-image-wrapper svg {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  animation: floatSvg 4s ease-in-out infinite;
}
@keyframes floatSvg {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-decor-box {
  display: none;
}

/* ======== SECTION HEADERS ======== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1a0a0a;
  line-height: 1.2;
}
.section-title span {
  background: linear-gradient(135deg, var(--primary) 0%, #c0272b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title-divider {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 16px 0 20px;
  border-radius: 2px;
}
.title-divider.center { margin: 16px auto 20px; }

/* ======== ABOUT SECTION ======== */
.about-section {
  padding: 100px 0;
  background: #fff;
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: var(--light-bg);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.about-img-wrapper { position: relative; z-index: 1; }
.about-img-main {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(141,0,4,0.15);
  width: 100%;
}
.about-exp-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(141,0,4,0.4);
}
.about-exp-badge .exp-num { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.about-exp-badge .exp-text { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.about-features { margin-top: 28px; }
.about-feature-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.about-feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.1rem;
}
.about-feature-text h6 { font-weight: 700; color: var(--primary-dark); margin-bottom: 2px; font-size: 0.95rem; }
.about-feature-text p { font-size: 0.85rem; color: #666; margin: 0; }

/* ======== SERVICES SECTION ======== */
.services-section { padding: 100px 0; background: var(--light-bg); }
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  border: 1px solid rgba(141,0,4,0.07);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(141,0,4,0.04);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  transform-origin: left;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141,0,4,0.05) 0%, transparent 70%);
  transition: all 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 72px rgba(141,0,4,0.16);
  border-color: rgba(141,0,4,0.14);
}
.service-card:hover::before { transform: scaleX(1); background-position: right; }
.service-card:hover::after { transform: scale(2.2); opacity: 0.7; }
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(141,0,4,0.08), rgba(210,169,65,0.12));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 22px;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  border: 1px solid rgba(141,0,4,0.08);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  transform: rotate(-5deg) scale(1.12);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(141,0,4,0.3);
}
.service-card h5 { font-weight: 700; color: var(--primary-dark); font-size: 1rem; margin-bottom: 12px; }
.service-card p { font-size: 0.87rem; color: #666; line-height: 1.7; margin: 0; }

/* ======== WHY CHOOSE US ======== */
.why-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #5c0002 0%, #8d0004 50%, #b01010 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
  z-index: 0;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -150px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.35s;
}
.why-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.why-card:hover::before { opacity: 1; }
.why-card .why-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}
.why-card h5 { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.7); font-size: 0.87rem; line-height: 1.7; }

/* ======== PAGE HERO (inner pages) ======== */
.page-hero {
  background: linear-gradient(135deg, #3d0001 0%, #5c0002 30%, #8d0004 65%, #c0272b 100%);
  padding: 18px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 80% 50%, rgba(229,57,53,0.35) 0%, transparent 70%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.04) 0px,
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 18px
    );
  pointer-events: none;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,169,65,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  background: rgba(210,169,65,0.18);
  color: var(--secondary);
  display: inline-block;
  padding: 5px 16px;
  border-radius: 30px;
  border: 1px solid rgba(210,169,65,0.3);
  margin-bottom: 14px;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.page-hero-title span {
  color: var(--secondary);
  position: relative;
}
.page-hero-breadcrumb { margin-top: 16px; }
.page-hero-breadcrumb .breadcrumb {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.12);
}
.page-hero-breadcrumb .breadcrumb-item a { color: var(--secondary); text-decoration: none; font-size: 0.82rem; }
.page-hero-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
.page-hero-breadcrumb .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ======== STAFF SECTION ======== */
.staff-section { padding: 80px 0; }
.managing-partner-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(141,0,4,0.12);
  margin-bottom: 60px;
  border: 1px solid rgba(141,0,4,0.08);
}
.managing-partner-img { height: 100%; min-height: 380px; object-fit: cover; width: 100%; }
.managing-partner-info { padding: 45px 40px; }
.partner-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.managing-partner-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 6px; }
.managing-partner-info .position { font-size: 0.9rem; color: var(--primary); font-weight: 600; margin-bottom: 18px; }
.managing-partner-info p { font-size: 0.9rem; color: #555; line-height: 1.8; margin-bottom: 14px; text-align: justify; }
.info-list { list-style: none; padding: 0; margin-top: 20px; }
.info-list li { display: flex; gap: 10px; font-size: 0.87rem; color: #555; margin-bottom: 10px; align-items: flex-start; }
.info-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.social-links { margin-top: 20px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  margin-right: 8px;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.social-links a:hover { background: var(--primary); color: #fff; }

/* Staff Cards */
.staff-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,0.07);
  transition: all 0.35s ease;
  height: 100%;
  border: 1px solid rgba(141,0,4,0.06);
}
.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(141,0,4,0.15);
}
.staff-card-img-wrapper { position: relative; overflow: hidden; height: 300px; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 20px; }
.staff-card-img-wrapper img { width: 220px; max-width: 100%; height: 260px; object-fit: cover; object-position: center top; border-radius: 12px; border: 2px solid #d2a941; box-shadow: 0 8px 24px rgba(61,0,1,0.12); transition: transform 0.5s ease; }
.staff-card:hover .staff-card-img-wrapper img { transform: scale(1.04); }
.staff-card-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(92,0,2,0.88) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex; align-items: flex-end; padding: 20px;
}
.staff-card:hover .staff-card-overlay { opacity: 1; }
.staff-card-overlay .overlay-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary-dark);
  margin-right: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.staff-card-body { padding: 22px 20px; }
.staff-card-body h5 { font-weight: 700; color: var(--primary-dark); font-size: 1rem; margin-bottom: 4px; }
.staff-card-body .staff-position {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.staff-card-body .staff-edu, .staff-card-body .staff-lic {
  font-size: 0.82rem; color: #666; display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px;
}
.staff-card-body .staff-edu i, .staff-card-body .staff-lic i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.staff-card-body .staff-desc { font-size: 0.82rem; color: #555; line-height: 1.7; margin-top: 10px; margin-bottom: 0; }
.staff-tag {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--light-bg);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  margin: 3px 2px 0;
  font-weight: 500;
  border: 1px solid rgba(141,0,4,0.15);
}

/* ======== JOIN US SECTION ======== */
.join-section { padding: 80px 0; background: var(--light-bg); }
.join-card {
  background: linear-gradient(135deg, #5c0002 0%, #8d0004 60%, #b01010 100%);
  border-radius: 20px;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(141,0,4,0.3);
}
.join-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.08) 0px,
      rgba(255,255,255,0.08) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.04) 0px,
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
  border-radius: 20px;
  z-index: 0;
}
.join-card::after {
  content: '';
  position: absolute;
  left: -30px; bottom: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.join-card h2 { color: #fff; font-weight: 800; font-size: 2rem; margin-bottom: 14px; position: relative; z-index: 1; }
.join-card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.8; margin-bottom: 28px; position: relative; z-index: 1; }

/* ======== CONTACT PAGE ======== */
.contact-section { padding: 80px 0; }
.contact-info-card {
  background: linear-gradient(135deg, #5c0002 0%, #8d0004 100%);
  border-radius: 16px;
  padding: 45px 35px;
  height: 100%;
  box-shadow: 0 20px 60px rgba(141,0,4,0.25);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.08) 0px,
      rgba(255,255,255,0.08) 1px,
      transparent 1px,
      transparent 18px
    );
  pointer-events: none;
  border-radius: 16px;
  z-index: 0;
}
.contact-info-card h3 { color: #fff; font-weight: 700; margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 30px; line-height: 1.7; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  font-size: 1.05rem;
}
.contact-item-text h6 { color: #fff; font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.contact-item-text p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; line-height: 1.5; }
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 45px 35px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.07);
  border: 1px solid rgba(141,0,4,0.08);
}
.contact-form-card h3 { color: var(--primary-dark); font-weight: 700; margin-bottom: 6px; }
.contact-form-card .sub { color: #888; font-size: 0.9rem; margin-bottom: 28px; }
.form-control, .form-select {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(141,0,4,0.1);
}
.form-label { font-size: 0.87rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 6px; }

/* ======== FAQ PAGE ======== */
.faq-section { padding: 80px 0; }
.accordion-item {
  border: 1px solid rgba(141,0,4,0.1);
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
  background: #fff;
  border-radius: 12px !important;
}
.accordion-button:not(.collapsed) {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-button:focus { box-shadow: none; }
.accordion-body { font-size: 0.9rem; color: #555; line-height: 1.8; }

/* ======== CLIENTS & PARTNERS ======== */
.clients-section { padding: 100px 0; background: #fff; }
.clients-track-wrapper { overflow: hidden; position: relative; padding: 10px 0; }
.clients-track-wrapper::before, .clients-track-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.clients-track-wrapper::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.clients-track-wrapper::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }
.clients-track {
  display: flex; gap: 24px; width: max-content;
  animation: clientsScroll 30s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clientsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo-item {
  width: 160px; height: 70px;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 16px; flex-shrink: 0;
  border: 1px solid rgba(141,0,4,0.07);
  transition: all 0.3s;
}
.client-logo-item:hover { background: #fff; box-shadow: 0 8px 24px rgba(141,0,4,0.1); transform: translateY(-2px); }
.client-logo-item img { max-width: 120px; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.client-logo-fallback {
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--primary); text-align: center; line-height: 1.3;
}
.client-card {
  background: #fff;
  border: 1px solid rgba(141,0,4,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(141,0,4,0.12);
  border-color: var(--primary);
}
.client-card-logo {
  height: 110px;
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  border-bottom: 1px solid rgba(141,0,4,0.06);
}
.client-card-logo img { max-width: 130px; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.client-initial-badge {
  width: 62px; height: 62px;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 1px;
}
.client-card-name { font-size: 0.83rem; font-weight: 700; color: var(--primary-dark); line-height: 1.4; padding: 14px 16px; text-align: center; }

/* ======== CTA SECTION ======== */
.cta-section { padding: 80px 0; background: var(--light-bg); }
.cta-card {
  background: linear-gradient(135deg, #5c0002 0%, #8d0004 50%, #b01010 100%);
  border-radius: 20px;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(141,0,4,0.3);
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.08) 0px,
      rgba(255,255,255,0.08) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.04) 0px,
      rgba(255,255,255,0.04) 1px,
      transparent 1px,
      transparent 20px
    );
  pointer-events: none;
  border-radius: 20px;
  z-index: 0;
}

/* ======== TESTIMONIAL ======== */
.testimonial-section { padding: 100px 0; background: var(--light-bg); }
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
  height: 100%;
  position: relative;
  border: 1px solid rgba(141,0,4,0.06);
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  overflow: hidden;
}
.testimonial-card::after {
  content: '\201C';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 10rem;
  color: var(--primary);
  opacity: 0.04;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(141,0,4,0.13); border-color: rgba(141,0,4,0.15); }
.testimonial-stars {
  font-size: 1rem;
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(245,166,35,0.35);
}
.testimonial-quote { font-size: 2rem; color: var(--primary); opacity: 0.2; line-height: 1; margin-bottom: 12px; }
.testimonial-card p { font-size: 0.9rem; color: #555; line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-author strong { font-weight: 700; color: var(--primary-dark); font-size: 0.9rem; display: block; }
.testimonial-author span { font-size: 0.8rem; color: #888; }
.stars { color: var(--primary); font-size: 0.85rem; margin-bottom: 14px; }

/* ======== FOOTER ======== */
.footer {
  background: #f4f0ef;
  padding: 32px 24px 0;
}
.footer-inner {
  background: linear-gradient(140deg, #3d0001 0%, #5c0002 45%, #8f0a0a 100%);
  border-radius: 24px 24px 0 0;
  padding: 54px 48px 0;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 -8px 40px rgba(61,0,1,0.18);
}
.footer-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 24px
  );
  pointer-events: none;
  border-radius: inherit;
}
.footer-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--primary-light), var(--secondary), transparent);
  border-radius: 24px 24px 0 0;
}
.footer-inner .footer-content { position: relative; z-index: 1; }
.footer-brand-name { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.footer-brand-sub { font-size: 0.68rem; color: rgba(255,255,255,0.55); letter-spacing: 2.5px; text-transform: uppercase; }
.footer-inner p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.8; }
.footer-inner .footer-content p.mb-4 { text-align: justify; }
.footer-inner h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(210,169,65,0.25);
  position: relative;
}
.footer-inner h6::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 28px; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '';
  width: 0; height: 1px;
  background: var(--secondary);
  transition: width 0.25s;
  display: inline-block;
}
.footer-links a:hover { color: var(--secondary); }
.footer-links a:hover::before { width: 12px; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 36px 0 0; }
.footer-bottom {
  padding: 14px 0;
  background: rgba(0,0,0,0.18);
  border-radius: 0;
  margin: 0 -48px;
  padding-left: 48px;
  padding-right: 48px;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-outer-bottom {
  background: #f4f0ef;
  text-align: center;
  padding: 10px 0 14px;
  font-size: 0;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.82rem;
  background: rgba(255,255,255,0.06);
}
.footer-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(210,169,65,0.4);
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item i {
  width: 28px; height: 28px;
  background: rgba(210,169,65,0.15);
  border: 1px solid rgba(210,169,65,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ======== ANIMATIONS ======== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ======== UTILITIES ======== */
.text-gold { color: var(--secondary) !important; }
.bg-primary-custom { background: var(--primary); }
.back-to-top {
  position: fixed;
  bottom: 30px; right: 20px;
  width: 44px; height: 44px;
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0; pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(210,169,65,0.4);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary); color: #fff; }

/* ======== FLOATING WA & PHONE ======== */
.float-wa, .float-phone {
  position: fixed; right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.float-phone { bottom: 84px; background: var(--primary); }
.float-wa { bottom: 148px; background: #25D366; animation: pulse-wa 2s infinite; }
.float-wa:hover, .float-phone:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(0,0,0,0.3); color: #fff; }
@keyframes pulse-wa {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ======== PAGE HERO STATS ======== */
.page-hero-stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 16px 22px;
  min-width: 130px;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.page-hero-stat:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.page-hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 6px;
}
.page-hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.page-hero-stat-label i { color: var(--secondary); }

/* ======== SERVICE COMMITMENT STRIP ======== */
.svc-commit-strip {
  background: #fff;
  padding: 32px 0;
  border-bottom: 1px solid rgba(141,0,4,0.07);
}
.svc-commit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--light-bg);
  border-radius: 14px;
  border: 1px solid rgba(141,0,4,0.07);
  height: 100%;
  transition: all 0.3s;
}
.svc-commit-item:hover { background: #fff; box-shadow: 0 8px 24px rgba(141,0,4,0.10); transform: translateY(-3px); border-color: rgba(141,0,4,0.15); }
.svc-commit-item > i {
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(141,0,4,0.1), rgba(210,169,65,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.svc-commit-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 2px; }
.svc-commit-item span { font-size: 0.78rem; color: #888; }

/* ======== TEAM VALUES STRIP ======== */
.team-values-strip {
  background: linear-gradient(135deg, #5c0002 0%, #8d0004 60%, #b01010 100%);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.team-values-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 20px);
  border-radius: 20px;
  pointer-events: none;
}
.team-val-item {
  text-align: center;
  padding: 8px;
  position: relative;
  z-index: 1;
}
.team-val-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(210,169,65,0.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary);
  margin: 0 auto 12px;
  transition: all 0.3s;
}
.team-val-item:hover .team-val-icon { background: rgba(210,169,65,0.25); transform: scale(1.1); }
.team-val-item strong { display: block; color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.team-val-item span { font-size: 0.78rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ======== CONTACT HERO BADGES ======== */
.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 30px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
  white-space: nowrap;
}
.contact-hero-badge i { color: var(--secondary); font-size: 0.9rem; }
.contact-hero-badge:hover { background: rgba(255,255,255,0.2); transform: translateX(-4px); }

/* ======== QUICK CONTACT STRIP ======== */
.quick-contact-strip {
  background: var(--light-bg);
  padding: 40px 0;
  border-bottom: 1px solid rgba(141,0,4,0.07);
}
.quick-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(141,0,4,0.08);
  border-radius: 18px;
  padding: 22px 24px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  overflow: hidden;
}
.quick-contact-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(141,0,4,0.13); border-color: rgba(141,0,4,0.15); }
.qc-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.qc-body { flex: 1; }
.qc-body strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 2px; }
.qc-body span { display: block; font-size: 0.88rem; color: #555; font-weight: 500; margin-bottom: 2px; }
.qc-body em { font-size: 0.74rem; color: #aaa; font-style: normal; }
.qc-arrow { color: var(--primary); font-size: 1rem; opacity: 0; transition: all 0.3s; }
.quick-contact-card:hover .qc-arrow { opacity: 1; transform: translate(2px, -2px); }

/* ======== RESPONSIVE ======== */
@media (max-width: 991px) {
  .hero-section { min-height: auto; padding: 84px 0 72px; }
  .hero-section::before {
    width: 100%;
    border-radius: 0 0 0 120px;
  }
  .hero-image-wrapper {
    border-radius: 72px 0 0 72px;
    padding: 30px 20px 30px 32px;
    margin-top: 0;
  }
  .hero-image-wrapper::before {
    border-radius: 64px 0 0 64px;
  }
  .about-section::before { display: none; }
  .join-card { padding: 40px 30px; }
  .cta-card { padding: 40px 30px; }
}
@media (max-width: 767px) {
  .about-exp-badge { bottom: 10px; right: 10px; }
  .managing-partner-info { padding: 30px 24px; }
  .contact-form-card { padding: 30px 24px; }
  .contact-info-card { padding: 30px 24px; }
  .hero-stats { gap: 14px; }
  .stat-item { min-width: calc(50% - 7px); }
}
@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .btn-gold, .btn-outline-gold { padding: 12px 24px; font-size: 0.85rem; }
  .why-card { padding: 24px 16px; }
  .hero-image-wrapper {
    border-radius: 48px 0 0 48px;
    padding: 24px 16px 24px 22px;
    margin-top: 0;
  }
  .stat-item {
    min-width: 100%;
  }
}

/* Staff filter tabs */
.staff-filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.staff-filter-btn {
  background: #fff;
  border: 1.5px solid rgba(141,0,4,0.2);
  color: #555;
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.staff-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.staff-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(141,0,4,0.3);
}

/* Services page detail cards */
.service-detail-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.07);
  margin-bottom: 40px;
  border: 1px solid rgba(141,0,4,0.07);
}
.service-detail-header {
  padding: 32px 36px;
  background: linear-gradient(90deg, #5c0002, #8d0004);
  display: flex; align-items: center; gap: 20px;
}
.service-detail-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  flex-shrink: 0;
}
.service-detail-header h3 { color: #fff; font-weight: 800; font-size: 1.4rem; margin: 0; }
.service-detail-header p { color: rgba(255,255,255,0.75); margin: 4px 0 0; font-size: 0.9rem; }
.service-detail-body { padding: 36px; }
.service-detail-body ul { padding-left: 0; list-style: none; }
.service-detail-body ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.9rem;
  color: #555;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.service-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Process steps */
.process-step {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.process-step-number {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 24px rgba(141,0,4,0.3);
}

/* ======== HEIGHT-BASED RESPONSIVE (hero fits viewport) ======== */
@media (max-height: 700px) {
  .hero-section { padding: 20px 0 32px; min-height: auto; }
  .hero-badge { margin-bottom: 10px; padding: 5px 14px; font-size: 0.68rem; }
  .hero-title { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 10px; line-height: 1.1; }
  .hero-desc { font-size: 0.9rem; line-height: 1.65; margin-bottom: 18px; }
  .btn-gold, .btn-outline-gold { padding: 10px 24px; font-size: 0.8rem; }
  .hero-stats { margin-top: 18px; gap: 8px; }
  .stat-item { padding: 9px 10px; }
  .stat-item .stat-number { font-size: 1.55rem; }
  .stat-item .stat-label { font-size: 0.68rem; margin-top: 2px; }
}

@media (max-width: 991px) {
  .hero-section { min-height: auto; padding: 32px 0 44px; align-items: flex-start; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); max-width: 100%; }
  .hero-desc { max-width: 100%; }
  .hero-stats { max-width: 100%; grid-template-columns: repeat(3, 1fr); }
  .hero-image-wrapper { margin-top: 0; }
}

/* ======== GALLERY KEGIATAN ======== */
.gallery-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #fff 0%, #faf6f0 100%);
  position: relative;
}
.gallery-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141,0,4,0.15), transparent);
}
.gallery-grid .gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: #1a0000;
  box-shadow: 0 6px 20px rgba(61,0,1,0.12);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.45s ease;
}
.gallery-grid .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(61,0,1,0.28);
}
.gallery-grid .gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(141,0,4,0.55), rgba(61,0,1,0.55));
  color: #d2a941;
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-overlay i {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid #d2a941;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.gallery-grid .gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ---- Horizontal Scroll Gallery ---- */
.gallery-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gallery-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  flex: 1;
  cursor: grab;
}
.gallery-scroll-track:active { cursor: grabbing; }
.gallery-scroll-track::-webkit-scrollbar { display: none; }
.gallery-scroll-item {
  display: block;
  flex: 0 0 280px;
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #1a0000;
  box-shadow: 0 6px 20px rgba(61,0,1,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none;
}
.gallery-scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
}
.gallery-scroll-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(61,0,1,0.28);
}
.gallery-scroll-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.gallery-scroll-item:hover .gallery-overlay { opacity: 1; }
.gallery-scroll-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary, #8d0004);
  background: #fff;
  color: var(--primary, #8d0004);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(61,0,1,0.15);
  z-index: 2;
}
.gallery-scroll-btn:hover {
  background: var(--primary, #8d0004);
  color: #d2a941;
  box-shadow: 0 6px 20px rgba(61,0,1,0.3);
}

@media (max-width: 575px) {
  .gallery-section { padding: 60px 0; }
  .gallery-scroll-item { flex: 0 0 220px; height: 165px; }
  .staff-card-img-wrapper { height: 240px; padding: 14px; }
  .staff-card-img-wrapper img { width: 180px; height: 220px; }
}
