/* ===== HERO HEADER ===== */
.hero-header {
  position: relative;
  height: 320px;
  background: url("/front/img/22.jpg")  center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-header .overlay {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  /* background: rgba(0,0,0,0.5); */
  z-index:1;
}
.hero-header .hero-content {
  position: relative;
  z-index:2;
}
.hero-header h1 {
  font-size: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}
.hero-header p {
  font-size: 1.1rem;
  color: #e0e0e0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

/* ===== SELF SERVICE PAGE ===== */
.selfservice-page {
  background: #f8f9fa;
  min-height: 100vh;
}


.page-header {
  padding: 60px 20px 120px 20px; /* extra bottom space for SVG wave */
  background: linear-gradient(135deg, #0057b8, #00a6ff);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff, #d0e8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease forwards;
}

.page-header .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
  animation: fadeInUp 1s ease forwards;
}

.page-header .btn {
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  animation: fadeInUp 1.2s ease forwards;
}

.page-header .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Decorative underline line */
.page-header .decorative-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #00ffff);
  margin: 0 auto;
  border-radius: 2px;
}

/* SVG Wave */
.page-header .header-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: block;
}

/* Fade-in animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header h1 { font-size: 2rem; }
  .page-header .lead { font-size: 1rem; }
}

@media (max-width: 480px) {
  .page-header { padding: 40px 15px 100px 15px; }
  .page-header h1 { font-size: 1.6rem; }
  .page-header .lead { font-size: 0.95rem; }
}

.selfservice-page {
  color: #007bff;
}

.support-card {
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}
.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.support-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.support-card:hover i {
  transform: scale(1.2);
  color: #0056b3;
}

.support-card h5 {
  font-size: 1.1rem;
}
.support-card p {
  font-size: 0.875rem;
  min-height: 45px;
}

/* FAQ Search */
.faq-section input {
  border-radius: 50px 0 0 50px;
}
.faq-section button {
  border-radius: 0 50px 50px 0;
}

#faqResults .faq-item {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
#faqResults .faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}



/* SIDE PANEL */
.side-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: #ffffff;
  box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  z-index: 1050;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 1rem;
}

.side-panel.open {
  right: 0;
}

.side-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0057b8;
  padding: 0.8rem 1rem;
  border-radius: 6px 6px 0 0;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.close-panel {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.side-panel-body {
  padding: 1rem 0;
}

.decoder-form .form-control,
.decoder-form .form-select {
  border-radius: 6px;
}

.decoder-form button {
  min-width: 120px;
}

.accordion-button {
  background: #f6f9fc;
  color: #0057b8;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: #0057b8;
  color: #fff;
}
