:root {
  --primary: #ffffff;
  --accent: #7fc571;
  --bg: #f5f7fa;
  --text: #333;
  --hover-bg: #2f1444;
  --hover-accent: #ffffff;
}

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Times New Roman', Times, serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* Hide main content while locked */
body.locked main,
body:not(.unlocked) main {
  display: none !important;
}

/* Show and animate after unlock */
body.unlocked main {
  display: block;
}
body.unlocked .page-content {
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

header {
  background-color: var(--primary);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #ddd;
}

.logo {
  height: 100px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
nav ul li a:hover {
  background-color: #f0f0f0;
}

.hero {
  padding: 4rem 2rem;
  text-align: center;
}

.content {
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd; /* adds a subtle consistent border */
  box-sizing: border-box;
  width: calc(100% - 2rem); /* adds breathing room on smaller screens */
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #2f1444;
  box-shadow: 0 0 5px rgba(47, 20, 68, 0.3);
  outline: none;
}

button {
  font-family: "Times New Roman", Times, serif;
  padding: 0.75rem;
  background-color: #2f1444;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

button:hover {
  background-color: #452363;
  transform: translateY(-2px) scale(1.03);
  color: white;
}
a.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #2f1444;
  color: white;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

a.button:hover {
  background-color: #452363;
  transform: translateY(-2px) scale(1.03);
  color: white;
}
.booking-buttons {
  display: flex;             /* Use flexbox for layout */
  flex-wrap: wrap;           /* Allow wrapping on small screens */
  gap: 0.5rem;               /* Spacing between buttons */
  justify-content: center;  /* Center them within the .content box */
  margin-top: 1rem;          /* Add spacing from elements above */
}

.booking-buttons button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  flex: 1 1 auto;            /* Optional: allow flexible button widths */
  max-width: 100%;           /* Prevent overflow */
}

.booking-buttons button:hover {
  background-color: #0056b3;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #eee;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer-links {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
  cursor: pointer;
  max-height: fit-content;
  max-width: fit-content;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:active {
  color: #2f1444;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--hover-bg);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}
.info-box {
  padding: 2rem;
  border: 1px solid #ddd;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  box-sizing: border-box;
  margin-top: 2rem;
}

.about-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #ccc;
}

.info-box h3 {
  margin-top: 1.5rem;
  color: #2f1444;
}

.info-box ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
/* === Hamburger Button Styling === */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  background: none;
  border: none;
  color: #2f1444;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hamburger:hover {
  background-color: #2f1444;
  color: white;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    width: 100%;
  }

  nav.open {
    max-height: 500px; /* adjust if needed */
    padding-bottom: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    margin: 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }

  header {
    flex-wrap: wrap;
  }
}
.footer-contact-form {
  flex: 1 1 225px;               /* 75% of 300px */
  max-width: 337.5px;            /* 75% of 450px */
  background: transparent;
  padding: 0;
}

.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  margin-bottom: 7.5px;          /* 75% of 10px */
  padding: 7.5px;                /* 75% of 10px */
  font-size: 10.5px;             /* 75% of 14px */
  border: 1px solid #ccc;
  border-radius: 4px;
}

.footer-contact-form button {
  font-family: "Times New Roman", Times, serif;
  width: 100%;
  padding: 7.5px;                /* 75% of 10px */
  background-color: #341f53;
  color: white;
  border: none;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
}

.footer-contact-form button:hover {
  background-color: #27163e;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
  padding: 2em;
  background: #f4f4f4;
}

.footer-links {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    width: 100%;
    max-width: 500px;
    align-items: center;
    text-align: center;
  }

  .footer-contact-form {
    width: 100%;
    max-width: 375px; /* 75% of 500px */
  }
}
@media (min-width: 769px) {
  .footer-contact-form {
    margin-right: 80px; /* or 120px depending on how far you want it */
  }
}
.footer-payment-icons {
  display: flex;
  gap: 12px;
  font-size: 28px;
  justify-content: center;
  margin-top: 20px;
}

.footer-payment-icons i {
  color: #444;
}


/* Preloader covers entire screen */
#site-preloader {
  position: fixed;
  inset: 0;
  background-color: #edf8f1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}

#site-preloader.visible {
  opacity: 1;
  pointer-events: all;
}

/* Fade-out transition */
#site-preloader.hidden{
  opacity: 0;
  pointer-events: none;
}

/* Spinner container */
.preloader-spinner-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
}

/* Spinner animation */
.custom-spinner div {
  animation: spin 1s linear infinite;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  box-shadow: 0 4px 0 0 #2e1b41;
  position: absolute;
  top: 20px;
  left: 20px;
  transform-origin: 50% 50%;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Centered logo inside spinner */
.preloader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

/* 🌐 Mobile optimization */
@media (max-width: 600px) {
  .preloader-spinner-wrapper {
    width: 100px;
    height: 100px;
  }

  .custom-spinner div {
    width: 70px;
    height: 70px;
    top: 15px;
    left: 15px;
  }

  .preloader-logo {
    width: 60px;
    height: 60px;
  }
}
.refund-policy {
  max-width: 800px;
  padding: 24px;
  font-family: "Times New Roman", Times, serif;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.refund-policy h2 {
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
  color: #222;
}

.refund-policy h3 {
  margin-top: 30px;
  font-size: 22px;
  border-left: 4px solid #4CAF50;
  padding-left: 12px;
  color: #222;
}

.refund-policy p,
.refund-policy li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.refund-policy ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.refund-policy ul li {
  list-style-type: disc;
}

.refund-policy a {
  color: #4CAF50;
  font-weight: bold;
  text-decoration: none;
}

.refund-policy a:hover {
  text-decoration: underline;
}
/* ✅ Mobile Optimization */
@media (max-width: 600px) {
  .refund-policy {
    padding: 16px;
    font-size: 15px;
  }

  .refund-policy h2 {
    font-size: 24px;
  }

  .refund-policy h3 {
    font-size: 20px;
  }
}
/* Carousel Container and Scroll Area */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 3rem 3.5rem 3rem;
  box-sizing: border-box;
  overflow: visible;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background-color: #2f1444;
  transform: scale(1.2);
}

/* Carousel Scroll Area */
.pricing-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding-left: 50%;
  scroll-padding-right: 50%;
  padding: 0 1rem;
  gap: 1.5rem;
  position: relative;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2f1444;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-arrow:hover {
  background-color: #452363;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-arrow.left {
  left: -5px;
}

.carousel-arrow.right {
  right: -5px;
}

/* Pricing Cards Container */
.pricing-cards {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding-bottom: 1rem;
}

/* Individual Pricing Card */
.pricing-card {
  flex: 0 0 300px;
  max-width: 300px;
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  scroll-snap-align: center;
  opacity: 0.4;
  transform: scale(0.92);
  margin-top: 1.5rem;
}

.pricing-card:hover {
  border-color: #2f1444;
  transform: scale(0.95);
  opacity: 0.6;
}

.pricing-card.selected {
  border-color: #2f1444;
  background-color: #f8f6fc;
  box-shadow: 0 0 0 3px #2f1444;
  opacity: 1;
  transform: scale(1);
  z-index: 5;
}

/* Recommendation Badge */
.recommended {
  border: 3px solid #2f1444;
  background-color: #f8f6fc;
}

.ribbon {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2f1444;
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 5px;
  z-index: 20;
}

/* Checkbox & Label */
.pricing-card input[type="checkbox"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.subscribe-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: bold;
  justify-content: center;
  margin: 1rem 0 0.75rem;
  color: #2f1444;
}

/* Select Button */
.select-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  background-color: #2f1444;
  color: white;
  border: none;
  cursor: pointer;
  width: 80%;
  max-width: 220px;
  height: 44px;
  margin: 1rem auto 0 auto;
  line-height: 1;
  transition: background-color 0.3s ease, transform 0.2s ease;
  overflow: visible;
  box-sizing: border-box;
}

.select-btn:hover {
  background-color: #48286e;
  transform: scale(1.02);
}

.select-btn .select-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.select-btn .checkmark-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 24px;
  height: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1;
}

.select-btn .checkmark {
  width: 100%;
  height: 100%;
  stroke: white;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.select-btn .checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.select-btn .checkmark-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
}

.pricing-card.selected .select-btn .checkmark-wrapper {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pricing-card.selected .select-btn .checkmark-check {
  animation: drawCheck 0.3s 0.2s ease-out forwards;
}

.pricing-card.selected .select-btn .checkmark-circle {
  animation: drawCircle 0.4s ease-out forwards;
}

.pricing-card.selected .select-btn .select-label {
  opacity: 0;
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}
/* Responsive Tweaks */
@media (max-width: 768px) {
  .carousel-container {
    padding: 2rem 1rem 3rem;
    overflow: visible;
  }

  .pricing-carousel {
    padding: 0 2rem;
    scroll-padding-left: 50%;
    scroll-padding-right: 50%;
    gap: 1rem;
  }

  .pricing-cards {
    padding: 0 0 2rem;
    display: flex;
    gap: 1rem;
  }

  .pricing-card {
    flex: 0 0 50%;
    max-width: 35%;
    margin: 1rem 0;
    padding: 1.25rem 1rem 2rem;
    box-sizing: border-box;
  }

  .ribbon {
    top: -20px;
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  .carousel-arrow {
    font-size: 1.4rem;
    padding: 0.4rem 0.6rem;
    top: 48%;
  }

  .select-btn {
    font-size: 1rem;
    height: 44px;
  }

  .subscribe-label {
    font-size: 0.92rem;
    margin-top: 1rem;
  }

  /* Fix cutoff on right side by padding the end */
  .pricing-cards::after {
    content: "";
    flex: 0 0 10%;
  }
}
#submit-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically */
  gap: 8px;                  /* space between text and spinner */
  padding: 8px 16px;         /* some padding */
  min-width: 150px;          /* optional, for consistent button size */
  font-size: 16px;
  cursor: pointer;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: #fff;    /* spinner color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner.active {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.carousel-dot:hover {
  transform: scale(1.4);
  background-color: #2E1443; /* or any highlight color */
}

.carousel-dot.active {
  background-color: #2E1443; /* active dot color */
  transform: scale(1.2);
}
/* --- Additions for package points styling --- */
.package-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0.5rem 0;
  text-align: left;
  font-size: 1rem;
}

.package-points li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.4em;
  color: #341f53;
  font-weight: 500;
}

.pricing-card .package-points li i {
  color: #7fc571;
  font-size: 1.1em;
  min-width: 1.5em;
  text-align: center;
}
/* Responsive: shrink points font on mobile */
@media (max-width: 768px) {
  .package-points {
    font-size: 0.95rem;
  }
}
/* --- Keep Carousel Arrows INSIDE the .content container even at small screen sizes --- */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 3rem 3.5rem 3rem;
  box-sizing: border-box;
  overflow: visible;
  /* Use flex layout to help arrow alignment if needed */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Use absolute positioning, but clamp the arrows to the container with pointer-events: none for the container and pointer-events: auto for the arrows if needed. */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2f1444;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px #0001;
}
.carousel-arrow.left {
  left: 0;
  /* No negative margin, this keeps arrow *inside* content container */
}
.carousel-arrow.right {
  right: 0;
}
@media (max-width: 900px) {
  .carousel-arrow.left,
  .carousel-arrow.right {
    left: unset;
    right: unset;
  }
  .carousel-arrow.left {
    left: 0;
  }
  .carousel-arrow.right {
    right: 0;
  }
}
@media (max-width: 600px) {
  .carousel-container {
    padding: 1.25rem 0.5rem 2.5rem 0.5rem;
  }
  .carousel-arrow {
    font-size: 1.4rem;
    padding: 0.25rem 0.65rem;
    left: 0;
    right: 0;
    margin: 0;
  }
  .carousel-arrow.left {
    left: 0;
  }
  .carousel-arrow.right {
    right: 0;
  }
}

/* --- Fancy Checkbox Animation: Draw Border + Animated Checkmark --- */
.subscribe-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-weight: bold;
  justify-content: center;
  margin: 1rem 0 0.75rem;
  color: #2f1444;
  user-select: none;
}

/* Hide native checkbox, use a custom SVG-based style */
.subscribe-label input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 0.6em;
}

/* SVG Checkbox box and checkmark animations */
.custom-checkbox svg {
  display: block;
  width: 100%;
  height: 100%;
}

.checkbox-box {
  stroke: #2f1444;
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 84; /* 4 * 20 + 4 * 1 = 84 for 20x20px box */
  stroke-dashoffset: 84;
  transition: stroke 0.22s, stroke-dashoffset 0.25s cubic-bezier(.42,0,.58,1);
}

input[type="checkbox"]:checked ~ .custom-checkbox svg .checkbox-box {
  stroke-dashoffset: 0;
  stroke: #7fc571;
  transition: stroke 0.22s, stroke-dashoffset 0.28s cubic-bezier(.42,0,.58,1);
}

.checkbox-check {
  stroke: #7fc571;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  transition: stroke-dashoffset 0.23s cubic-bezier(.22,.61,.36,1), stroke 0.18s;
}

input[type="checkbox"]:checked ~ .custom-checkbox svg .checkbox-check {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.23s 0.14s cubic-bezier(.22,.61,.36,1), stroke 0.18s;
}

/* Accessibility focus highlight for the custom checkbox */
input[type="checkbox"]:focus ~ .custom-checkbox svg .checkbox-box {
  stroke: #7fc571;
  filter: drop-shadow(0 0 2px #7fc57188);
}

.subscribe-label .custom-checkbox:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}

/* Animate label color on check */
.subscribe-label input[type="checkbox"]:checked ~ span,
.subscribe-label input[type="checkbox"]:checked + span {
  color: #7fc571;
}

/* Responsive: shrink points font on mobile */
@media (max-width: 768px) {
  .package-points {
    font-size: 0.95rem;
  }
  .custom-checkbox {
    width: 20px;
    height: 20px;
  }
}
/* --- Custom Checkbox: Always Show Outline, Animate Drawing and Checkmark --- */
.custom-checkbox {
  width: 22px;
  height: 22px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 0.6em;
}
.custom-checkbox svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* Always show the faint outline */
.checkbox-outline {
  stroke: #c6bdd7;
  stroke-width: 2.5;
  fill: none;
  pointer-events: none;
}
.checkbox-box {
  stroke: #2f1444;
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 84;
  stroke-dashoffset: 84;
  opacity: 1;
  transition: stroke 0.22s, stroke-dashoffset 0.25s cubic-bezier(.42,0,.58,1), opacity 0.18s;
  pointer-events: none;
}
input[type="checkbox"]:checked ~ .custom-checkbox svg .checkbox-box {
  stroke-dashoffset: 0;
  stroke: #7fc571;
  opacity: 1;
  transition: stroke 0.22s, stroke-dashoffset 0.28s cubic-bezier(.42,0,.58,1), opacity 0.18s;
}
.checkbox-check {
  stroke: #7fc571;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  opacity: 1;
  transition: stroke-dashoffset 0.23s cubic-bezier(.22,.61,.36,1), stroke 0.18s;
  pointer-events: none;
}
input[type="checkbox"]:checked ~ .custom-checkbox svg .checkbox-check {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.23s 0.14s cubic-bezier(.22,.61,.36,1), stroke 0.18s;
}

/* Hide native checkbox */
.subscribe-label input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

/* Focus ring for accessibility */
input[type="checkbox"]:focus ~ .custom-checkbox svg .checkbox-outline,
input[type="checkbox"]:focus ~ .custom-checkbox svg .checkbox-box {
  stroke: #7fc571;
  filter: drop-shadow(0 0 2px #7fc57188);
}
.subscribe-label .custom-checkbox:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}
/* Animate label color on check */
.subscribe-label input[type="checkbox"]:checked ~ span,
.subscribe-label input[type="checkbox"]:checked + span {
  color: #7fc571;
}