/* =========================
   COMPONENTS.CSS (SAFE VERSION)
========================= */


/* =========================
   BUTTONS
========================= */

.button,
.button2,
.button3 {
  margin: 0 auto;
  text-align: center;
  font-size: 1.6rem;
}

/* Button 1 */
.button .all-button {
  margin-top: 15px;
  display: inline-block;
  padding: 10px 30px;
  color: #002248;
  border: 2px solid #002248;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  transition: 0.2s ease;
}

.button .all-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #002248;
  height: 0;
  z-index: -1;
  transition: 0.2s ease;
}

.button .all-button:hover {
  color: #fff;
}

.button .all-button:hover::after {
  height: 100%;
}


/* Button 2 */
.button2 .all-button2 {
  display: inline-block;
  padding: 10px 30px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.button2 .all-button2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  height: 0;
  transition: 0.2s ease;
  z-index: -1;
}

.button2 .all-button2:hover {
  color: #002248;
}

.button2 .all-button2:hover::after {
  height: 100%;
}


/* Button 3 */
.button3 .all-button3 {
  display: inline-block;
  padding: 10px 30px;
  color: #ec2e47;
  border: 2px solid #ec2e47;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.button3 .all-button3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ec2e47;
  height: 0;
  transition: 0.2s ease;
  z-index: -1;
}

.button3 .all-button3:hover {
  color: #fff;
}

.button3 .all-button3:hover::after {
  height: 100%;
}


/* =========================
   LEAD FORM
========================= */

.lead-form {
  background: linear-gradient(135deg, #002248, #00172f);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(236, 46, 71, 0.25);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.lead-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid rgba(236, 46, 71, 0.25);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
}

.lead-form input:focus {
  border-color: #ec2e47;
  box-shadow: 0 0 12px rgba(236, 46, 71, 0.25);
}

.lead-form button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #ec2e47;
  color: #fff;
  font-weight: bold;
}

.lead-form button:hover {
  background: #002248;
}


/* =========================
   BACK TO TOP (FIXED)
========================= */

.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);

  box-shadow: 0 10px 28px rgba(255, 65, 108, 0.35);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.7);
  transition: 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.1);
}


/* =========================
   TOC
========================= */

.toc-box {
  background: linear-gradient(135deg,#fff,#fafafa);
  border: 1px solid rgba(236,46,71,.12);
  border-radius: 18px;
  padding: 22px;
  margin: 25px 0;
  box-shadow: 0 12px 35px rgba(0,0,0,.07);
}

.toc-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin: 10px 0;
  position: relative;
  padding-right: 18px;
}

.toc-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff416c;
}

.toc-list a {
  color: #444;
  text-decoration: none;
  font-size: 15px;
}

.toc-list a:hover {
  color: #ff416c;
}


/* =========================
   PAGINATION
========================= */

.wp-pagenavi a {
  background: #ddd;
  color: #545454;
  padding: 6px;
  float: right;
}

.wp-pagenavi span.current {
  background: #ec2e47;
  color: #fff;
  padding: 6px;
}